mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04: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:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user