Respawn time & instant suicide @ Phoenix's files

Results 1 to 3 of 3
  1. #1
    Novice ysoelite is offline
    MemberRank
    Jun 2010 Join Date
    2Posts

    Respawn time & instant suicide @ Phoenix's files

    Hello everyone.
    I would like to know how can I possibly remove the instant suicide feature (what shall I replace in the ASM for example ?) and to make the respawn time for 5 seconds, like in the official.

    I'm noob at asm, but still I managed to change the respawn time by doing this : (since Phoenix shows the ASM codes used at http://forum.ragezone.com/f245/gunz-...client-692325/ (though I'm using the repack 3)

    Spoiler:
    Respawn in 3 seconds:
    Client:
    00403F32 83F8 03 CMP EAX,3
    004B4009 3D 88130000 CMP EAX,1388
    004B4010 B8 88130000 MOV EAX,1388
    004B4015 B9 6F170000 MOV ECX,176F
    004B4372 3D 88130000 CMP EAX,1388


    And I edited CMP EAX,3 to CMP EAX,5 and then it shows 5 seconds. But as I can see on the asm codes (http://forum.ragezone.com/f245/gunz-...client-692325/), there is also a respawn time defined in the match server.exe, so what I did isn't correct ?. I also couldn't figure how to remove the instant suicide in the match server.exe aswell.

    Here are the codes to avoid clicking in the link :
    Spoiler:

    Server Side part for 3 sec respawn:

    0043399A 3D 94110000 CMP EAX,1194
    00449F78 3D B80B0000 CMP EAX,0BB8

    /suicide 0sec :
    00456E68 . EB 1D JMP SHORT 00456E87
    00456E9D . EB 03 JMP SHORT 00456EA2
    00456E9F 90 NOP
    00456EA0 90 NOP
    00456EA1 90 NOP


    Can someone help me please ?
    Sorry for my bad english :<


  2. #2
    Ā  Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Respawn time & instant suicide @ Phoenix's files

    Go to the same addresses in the original client / server and get the code from them and replace them in the Repack's files.

  3. #3
    Novice ysoelite is offline
    MemberRank
    Jun 2010 Join Date
    2Posts

    Re: Respawn time & instant suicide @ Phoenix's files

    Done, it works fine. Thank you very much Phoenix :>



Advertisement