mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Added director related code to player and packet processor. Cleaned up some debug messages. Added a flag when a player is "zoning in".
This commit is contained in:
		| @@ -1,5 +1,6 @@ | ||||
| using FFXIVClassic_Lobby_Server; | ||||
| using FFXIVClassic_Lobby_Server.packets; | ||||
| using FFXIVClassic_Map_Server.actors.director; | ||||
| using FFXIVClassic_Map_Server.Actors; | ||||
| using FFXIVClassic_Map_Server.dataobjects; | ||||
| using FFXIVClassic_Map_Server.packets.receive.events; | ||||
| @@ -22,6 +23,7 @@ namespace FFXIVClassic_Map_Server.lua | ||||
|         const string FILEPATH_PLAYER = "./scripts/player.lua"; | ||||
|         const string FILEPATH_ZONE = "./scripts/zones/{0}/zone.lua"; | ||||
|         const string FILEPATH_COMMANDS = "./scripts/commands/{0}.lua"; | ||||
|         const string FILEPATH_DIRECTORS = "./scripts/directors/{0}.lua"; | ||||
|         const string FILEPATH_NPCS = "./scripts/zones/{0}/npcs/{1}.lua"; | ||||
|  | ||||
|         public LuaEngine() | ||||
| @@ -69,6 +71,10 @@ namespace FFXIVClassic_Map_Server.lua | ||||
|             { | ||||
|                 luaPath = String.Format(FILEPATH_COMMANDS, target.getName()); | ||||
|             } | ||||
|             else if (target is Director) | ||||
|             { | ||||
|                 luaPath = String.Format(FILEPATH_DIRECTORS, target.getName()); | ||||
|             } | ||||
|             else  | ||||
|                 luaPath = String.Format(FILEPATH_NPCS, target.zoneId, target.getName()); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user