mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Redid the database, actor_class and npclist was combined. Added commands to the lua engine. Script will default to a PopulaceStandard if no script detected to avoid crashing. Static Actors now loaded from the static actors file.
This commit is contained in:
parent
789df97d48
commit
5c8277fbb9
8 changed files with 157 additions and 907 deletions
|
@ -267,6 +267,11 @@ namespace FFXIVClassic_Map_Server
|
|||
else if (o is int)
|
||||
{
|
||||
luaParams.Add(new LuaParam(0x0, (int)o));
|
||||
}
|
||||
else if (o is double)
|
||||
{
|
||||
if (((double)o) % 1 == 0)
|
||||
luaParams.Add(new LuaParam(0x0, (uint)(double)o));
|
||||
}
|
||||
else if (o is string)
|
||||
{
|
||||
|
@ -302,6 +307,9 @@ namespace FFXIVClassic_Map_Server
|
|||
|
||||
public static string dumpParams(List<LuaParam> lParams)
|
||||
{
|
||||
if (lParams == null)
|
||||
return "Param list was null?";
|
||||
|
||||
string dumpString = "";
|
||||
for (int i = 0; i < lParams.Count; i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue