Since the patch I've been looking into the new zone command.. this is what i have so far:
The OLD zone function is at: 0x47DEE1.
The new function has 7 params instead of 8 and when you die it seems to skip this function all together. There are at least 2 ways to zone now.
Param1: Zone ID
Param2: Target Zone Y
Param3: Target Zone X
Param4: Target Zone Z
Param5: Heading?
Param6: Unknown
Param7: Reason?
0x49DE8 replaces the OLD zone call functions in at least one spot (death) maybe more. The OLD zone calls 0x49DE8 after setting a bunch of variables.
Here are places where it may skip the OLD zone function (not sure if they all used to use the OLD function.)
The OLD zone function is at: 0x47DEE1.
The new function has 7 params instead of 8 and when you die it seems to skip this function all together. There are at least 2 ways to zone now.
Param1: Zone ID
Param2: Target Zone Y
Param3: Target Zone X
Param4: Target Zone Z
Param5: Heading?
Param6: Unknown
Param7: Reason?
0x49DE8 replaces the OLD zone call functions in at least one spot (death) maybe more. The OLD zone calls 0x49DE8 after setting a bunch of variables.
Rich (BB code):
.text:0047E04A fstp [esp+58h+var_58]
.text:0047E04D push [ebp+arg_18]
.text:0047E050 push ebx
.text:0047E051 push [ebp+arg_14]
.text:0047E054 push [ebp+arg_0]
.text:0047E057 call sub_49DE8F
Here are places where it may skip the OLD zone function (not sure if they all used to use the OLD function.)
Rich (BB code):
.text:0041A6AC push edi
.text:0041A6AD push offset aPortalSpell ; "portal spell"
.text:0041A6B2 push eax
.text:0041A6B3 call sub_49DE8
.text:0045B0F6 push offset aResurrectPlaye ; "resurrect player"
.text:0045B0FB push ecx
.text:0045B0FC mov ecx, dword_989650
.text:0045B102 call sub_49DE8F
.text:0045B107 jmp short loc_45B121
.text:0045AD45 push offset aZoneCommand ; "zone command"
.text:0045AD4A push esi
.text:0045AD4B
.text:0045AD4B loc_45AD4B: ; CODE XREF: sub_45A9D3+202j
.text:0045AD4B mov ecx, dword_989650
.text:0045AD51 call sub_49DE8F
.text:0045F90C push 1
.text:0045F90E push offset aRepopToHomeAtD ; "repop to home at death"
.text:0045F913 push dword ptr [ebp-24h]
.text:0045F916 call sub_49DE8F



