mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Ported over all the opening directors and improved the director code a bit more. Also implemented content instances for Grid/Uld.
This commit is contained in:
		| @@ -117,7 +117,7 @@ namespace FFXIVClassic_Map_Server.lua | ||||
|                     Coroutine coroutine = mSleepingOnPlayerEvent[player.actorId]; | ||||
|                     mSleepingOnPlayerEvent.Remove(player.actorId); | ||||
|                     DynValue value = coroutine.Resume(LuaUtils.CreateLuaParamObjectList(args)); | ||||
|                     ResolveResume(null, coroutine, value); | ||||
|                     ResolveResume(player, coroutine, value); | ||||
|                 } | ||||
|                 catch (ScriptRuntimeException e) | ||||
|                 { | ||||
| @@ -384,8 +384,13 @@ namespace FFXIVClassic_Map_Server.lua | ||||
|                     player.EndEvent(); | ||||
|                 }                 | ||||
|             } | ||||
|             else                 | ||||
|                 CallLuaFunction(player, target, "onEventStarted", false, LuaUtils.CreateLuaParamObjectList(lparams)); | ||||
|             else | ||||
|             { | ||||
|                 if (target is Director)                 | ||||
|                     ((Director)target).OnEventStart(player, LuaUtils.CreateLuaParamObjectList(lparams)); | ||||
|                 else | ||||
|                     CallLuaFunction(player, target, "onEventStarted", false, LuaUtils.CreateLuaParamObjectList(lparams)); | ||||
|             }                 | ||||
|         } | ||||
|  | ||||
|         public DynValue ResolveResume(Player player, Coroutine coroutine, DynValue value) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user