[Help] Server crash when killing Player

Results 1 to 11 of 11
  1. #1
    Sorcerer Supreme AlexRedd is offline
    Member +Rank
    Jan 2014 Join Date
    310Posts

    [Help] Server crash when killing Player

    Hello!
    Please help solve the problem.
    the last update was added trade system.

    logs:
    Code:
    000625.668| AlexRedd killed by AloNe, forced: 0
    000625.668| reward: AloNe got 20xp 0gp 0gd RWD_PlayerKill
    000625.669| obj_Grave 101558B8 created. [0]AlexRedd, 10 mins left
    000625.669| LogInfo: peer00, r:Death , CID:1000020 [AlexRedd], ip:xxx.xxx.xxx.xxx
    000625.670| !!! r3d_assert 'PKT_ID >= r3dNetwork::FIRST_FREE_PACKET_ID && PKT_ID < 0xFF' at z:\C\WarZ\src\eternity\include\r3dNetwork.h line 68
    000625.670| CAsyncApiWorker 0 executing CJobUpdateChar[1000020] 1176CBB8
    000625.670| !!! crashed
    my src: DNC CE
    Last edited by AlexRedd; 11-09-14 at 03:13 PM.


  2. #2
    Grand Master CodexPo is offline
    Grand MasterRank
    May 2013 Join Date
    BilbaoLocation
    574Posts

    Re: [Help] Server crash when killing Player

    this is why you have more of 255 packages, need cut back on p2pmessages.h

  3. #3
    Sorcerer Supreme AlexRedd is offline
    Member +Rank
    Jan 2014 Join Date
    310Posts

    Re: [Help] Server crash when killing Player

    I'm sorry but I do not really understand English.
    that you have a view of (cut back)?

  4. #4
    Grand Master CodexPo is offline
    Grand MasterRank
    May 2013 Join Date
    BilbaoLocation
    574Posts

    Re: [Help] Server crash when killing Player

    my english is very bad, you need reduce packages on p2pmessages.h you have more of 255

  5. #5
    Sorcerer Supreme ItzFdr is offline
    Member +Rank
    May 2013 Join Date
    BrasilLocation
    293Posts

    Re: [Help] Server crash when killing Player

    Quote Originally Posted by CodexPo View Post
    my english is very bad, you need reduce packages on p2pmessages.h you have more of 255
    Its simple, just change this line: #if PKT_LAST_PACKET_ID > 255

    change 255 to your packet's number... or more for exemple 500...

  6. #6
    Grand Master CodexPo is offline
    Grand MasterRank
    May 2013 Join Date
    BilbaoLocation
    574Posts

    Re: [Help] Server crash when killing Player

    this not work, i try many times, if you make this, the client and server crash, need edit more files, not only this number

  7. #7
    Sorcerer Supreme AlexRedd is offline
    Member +Rank
    Jan 2014 Join Date
    310Posts

    Re: [Help] Server crash when killing Player

    Quote Originally Posted by CodexPo View Post
    my english is very bad, you need reduce packages on p2pmessages.h you have more of 255
    Thanks for the help CodexPo, I will check and reply.

  8. #8
    Sorcerer Supreme ItzFdr is offline
    Member +Rank
    May 2013 Join Date
    BrasilLocation
    293Posts

    Re: [Help] Server crash when killing Player

    Quote Originally Posted by CodexPo View Post
    this not work, i try many times, if you make this, the client and server crash, need edit more files, not only this number
    Yes, this code in sync with server and client...

  9. #9
    Sorcerer Supreme AlexRedd is offline
    Member +Rank
    Jan 2014 Join Date
    310Posts

    [Help] Trade System

    .................................
    Last edited by AlexRedd; 13-09-14 at 02:47 PM.

  10. #10
    Sorcerer Supreme AlexRedd is offline
    Member +Rank
    Jan 2014 Join Date
    310Posts

    Re: [Help] Trade System

    Problem solved!
    the whole thing in this PKT_LAST_PACKET_ID > 255

  11. #11
    Sorcerer Supreme AlexRedd is offline
    Member +Rank
    Jan 2014 Join Date
    310Posts

    Re: [Help] Server crash when killing Player

    I changed PKT_LAST_PACKET_ID > 300 and works fine without crash

    Thank for your help guys!

    - - - Updated - - -

    but there was another problem.
    items not removed from backpack after the trade and stak clip. visually items in a backpack.

    - - - Updated - - -

    DoRemoveItems not working..

    - - - Updated - - -

    Problem solved!
    CodexPo was right, need cut back on p2pmessages.h



Advertisement