mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Fixed crash due to bad constructor for QuestDirectorMan0L001. Unsigned integers will also write out as lua 0-datatype.
This commit is contained in:
		| @@ -32,7 +32,7 @@ namespace FFXIVClassic_Map_Server.actors.director | ||||
|         public override SubPacket createScriptBindPacket(uint playerActorId) | ||||
|         { | ||||
|             List<LuaParam> lParams; | ||||
|             lParams = LuaUtils.createLuaParamList("/Director/Quest/QuestDirectorMan0l001", false, false, false, false, 0x7532); | ||||
|             lParams = LuaUtils.createLuaParamList("/Director/Quest/QuestDirectorMan0l001", false, false, false, false, false, 0x7532); | ||||
|             return ActorInstantiatePacket.buildPacket(actorId, playerActorId, actorName, className, lParams); | ||||
|         } | ||||
|     } | ||||
|   | ||||
| @@ -121,7 +121,11 @@ namespace FFXIVClassic_Map_Server | ||||
|         { | ||||
|             foreach (LuaParam l in luaParams) | ||||
|             {            | ||||
|                 writer.Write((Byte)l.typeID); | ||||
|                 if (l.typeID == 0x1) | ||||
|                     writer.Write((Byte)0); | ||||
|                 else | ||||
|                     writer.Write((Byte)l.typeID); | ||||
|  | ||||
|                 switch (l.typeID) | ||||
|                 { | ||||
|                     case 0x0: //Int32                         | ||||
|   | ||||
		Reference in New Issue
	
	Block a user