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:
Filip Maj 2016-01-28 23:24:20 -05:00
parent 789df97d48
commit 5c8277fbb9
8 changed files with 157 additions and 907 deletions

View file

@ -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++)
{