GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

Page 1 of 3 123 LastLast
Results 1 to 25 of 73
  1. #1
    Hybrid Gembrid is offline
    MemberRank
    Mar 2006 Join Date
    1,121Posts

    GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    There are several problems related with IO Completition Port. One of them is that Connect Server has a bug related with IOCP, another problem is that in win2k3 sp2 after some hours GS disconnects all users and noone can enter game, everyone stuck awaiting for Login Results and then get disconnected with error in gs related with response error.

    Let's try to fix first problem related with CS.
    Most of the people who used WebZen CS noticed that after a period of time it logs a error related with connection aborted by local system. Here it is: "The network connection was aborted by the local system", error 1236.
    When this error occurres thread that receives this error just exits. I don't know how much threads CS starts for receiving and parsing data, probably 2*cpus(or cores). So for example if our CS has 2 working threads and if all of them have received this error CS stops parsing received data, because there no more working threads. So you can connect to CS, send data, but it will be in the deaf state.

    But the point is that when using IOCP some of the errors must be ignored and 1236 is one of them, but in CS it's not ignored, that's why it dies.

    take a look in CS code and GS code.
    GS ignores this error. 0x4D4(1236)
    CS:


    GS:



    So the solution is by adding a code that ignores this error.


    1. jump to free space



    2. check for errors, decide ignore or exit thread


    haven't tested it, but it should help.

    Let's talk about GS and win2k3 sp2, i had a possibility to learn why gs disconnects all users and then doesn't allow them to enter. I noticed that when this problem occured Worker Threads were suspended, so like with CS, GS becomes deaf. Then i found that threads exit with error 0x79(121) ERROR_SEM_TIMEOUT, tryed to google it but found nothing, so i decided to add code that ignores this error and continues execution. I had the possibility to test server only 24 hours and it worked without problems.

    So win2k3 sp2 solution is by adding ignore error code 0x79(121) to CS(it also gave this error) and GS like we did for CS.


  2. #2
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    so for gs we must do same as in cs but instead of 0x4D4 put 0x79?
    for cs part 10/10
    thanks

  3. #3
    Hybrid Gembrid is offline
    MemberRank
    Mar 2006 Join Date
    1,121Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Quote Originally Posted by [RCZ]ShadowKing View Post
    so for gs we must do same as in cs but instead of 0x4D4 put 0x79?
    for cs part 10/10
    thanks
    yep, but don't change original 0x4d4 :D + add in CS 1 more ignore for 0x79

  4. #4
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    thanks man,my problem was finally solved(i hope) xD
    PS: the problem dont appear only in win2k3 sp2,i got it in win xp sp2 too

  5. #5
    Hybrid Gembrid is offline
    MemberRank
    Mar 2006 Join Date
    1,121Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Quote Originally Posted by [RCZ]ShadowKing View Post
    thanks man,my problem was finally solved(i hope) xD
    PS: the problem dont appear only in win2k3 sp2,i got it in win xp sp2 too
    i don't know all the parts of this problem, cause i don't have the possibility to learn about it
    for example JS checks only for net name delete 0x40 error, may be it also has threads suspending problem, i noticed only GS and CS errors, so may be all these errors should be also ignored in JS if it will stop receiving data from GS

  6. #6
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Quote Originally Posted by [RCZ]ShadowKing View Post
    thanks man,my problem was finally solved(i hope) xD
    PS: the problem dont appear only in win2k3 sp2,i got it in win xp sp2 too
    that must be because ur OS is windows xp 2003 version with SP2

  7. #7
    Apprentice tompoalx is offline
    MemberRank
    May 2006 Join Date
    Santa Cruz / BoliviaLocation
    10Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    ok parts of this problem, cause i don't have the possibility to learn about it
    for example

  8. #8
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Quote Originally Posted by KREATOR View Post
    that must be because ur OS is windows xp 2003 version with SP2
    is 2002 version,i dont know a newer version of windows xp,if you have send me on pm the torrent or where i can get it

  9. #9
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    i got the windows xp 2003 version 64-bit.. but its genuine.. ^^

  10. #10
    Account Upgraded | Title Enabled! Pinoyrealm is offline
    MemberRank
    Jan 2007 Join Date
    Walter MartLocation
    969Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Sorry for bumping this but is this tutorial really work?... Anyone Tested and have a success story?

  11. #11
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    yes,it work!

  12. #12
    Account Upgraded | Title Enabled! Pinoyrealm is offline
    MemberRank
    Jan 2007 Join Date
    Walter MartLocation
    969Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    so basically if i use other connectserver instead of webzen i wont have this kind of problem? or this guide applies to all connectserver out there? well my question is not a help thing but information on the guide so i think i didnt violate any rules asking much here

  13. #13
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    bor team cs dont have this problems

  14. #14
    Enthusiast sandrox is offline
    MemberRank
    Dec 2004 Join Date
    LimaLocation
    45Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Quote Originally Posted by [RCZ]ShadowKing View Post
    bor team cs dont have this problems
    are you sure? the problem GetQueuedCompletionStatus is only on CS Webzen and no GS?

    if me change mi CS Webzen x CS Borteam , I not will have problems? or need edit the GS?

    plz help me :(

  15. #15
    Account Upgraded | Title Enabled! Pinoyrealm is offline
    MemberRank
    Jan 2007 Join Date
    Walter MartLocation
    969Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Ok this is not help section. The question been answered in good way. Thanks.

  16. #16
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Quote Originally Posted by sandrox View Post
    are you sure? the problem GetQueuedCompletionStatus is only on CS Webzen and no GS?

    if me change mi CS Webzen x CS Borteam , I not will have problems? or need edit the GS?

    plz help me :(
    some gs give this error,if yes apply the guide

  17. #17
    Proficient Member turati is offline
    MemberRank
    Jul 2005 Join Date
    154Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Can someone please put a CS with this fix i cant know use ollydbg. Thks

  18. #18
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Quote Originally Posted by Gembrid View Post
    There are several problems related with IO Completition Port. One of them is that Connect Server has a bug related with IOCP, another problem is that in win2k3 sp2 after some hours GS disconnects all users and noone can enter game, everyone stuck awaiting for Login Results and then get disconnected with error in gs related with response error.

    Let's try to fix first problem related with CS.
    Most of the people who used WebZen CS noticed that after a period of time it logs a error related with connection aborted by local system. Here it is: "The network connection was aborted by the local system", error 1236.
    When this error occurres thread that receives this error just exits. I don't know how much threads CS starts for receiving and parsing data, probably 2*cpus(or cores). So for example if our CS has 2 working threads and if all of them have received this error CS stops parsing received data, because there no more working threads. So you can connect to CS, send data, but it will be in the deaf state.

    But the point is that when using IOCP some of the errors must be ignored and 1236 is one of them, but in CS it's not ignored, that's why it dies.

    take a look in CS code and GS code.
    GS ignores this error. 0x4D4(1236)
    CS:


    GS:



    So the solution is by adding a code that ignores this error.


    1. jump to free space



    2. check for errors, decide ignore or exit thread


    haven't tested it, but it should help.

    Let's talk about GS and win2k3 sp2, i had a possibility to learn why gs disconnects all users and then doesn't allow them to enter. I noticed that when this problem occured Worker Threads were suspended, so like with CS, GS becomes deaf. Then i found that threads exit with error 0x79(121) ERROR_SEM_TIMEOUT, tryed to google it but found nothing, so i decided to add code that ignores this error and continues execution. I had the possibility to test server only 24 hours and it worked without problems.

    So win2k3 sp2 solution is by adding ignore error code 0x79(121) to CS(it also gave this error) and GS like we did for CS.
    how do i find these errors?

  19. #19
    Proficient Member turati is offline
    MemberRank
    Jul 2005 Join Date
    154Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Please, someone can do this in this CS
    http://files.filefront.com/CSzip/;82.../fileinfo.html

    And fix and upload please.

  20. #20
    Hybrid Gembrid is offline
    MemberRank
    Mar 2006 Join Date
    1,121Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Quote Originally Posted by turati View Post
    Please, someone can do this in this CS
    http://files.filefront.com/CSzip/;82.../fileinfo.html

    And fix and upload please.
    fixed webzen cs


    Quote Originally Posted by KREATOR View Post
    how do i find these errors?
    what do you mean? you have to add 0x4D4 and 0x79

  21. #21
    Proficient Member turati is offline
    MemberRank
    Jul 2005 Join Date
    154Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Gembrid Thks for u help, but i have now the client invalid socket error, if u can, please put the code in attachment gameserver...

    thks a lot man.
    Attached Files Attached Files

  22. #22
    Hybrid Gembrid is offline
    MemberRank
    Mar 2006 Join Date
    1,121Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Quote Originally Posted by turati View Post
    Gembrid Thks for u help, but i have now the client invalid socket error, if u can, please put the code in attachment gameserver...

    thks a lot man.
    invalid socket is not the problem, you are using win2k3 sp2? you need to fix gs only if you have "Error Thread" in logs

  23. #23
    Valued Member kriiz is offline
    MemberRank
    Nov 2008 Join Date
    ArgentinaLocation
    126Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    :D nice tut

  24. #24
    Member moles is offline
    MemberRank
    Dec 2007 Join Date
    VenezuelaLocation
    59Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    men u can helpme with my CS damn....i can't edit CS :S

    Download

    my version is 1.02c

    OS vista

  25. #25
    Valued Member EntretenimientO is offline
    MemberRank
    Jun 2008 Join Date
    PanamaLocation
    133Posts

    Re: [Guide] GetQueuedCompletionStatus errors GS, CS + win2k3 sp2 solutions.

    Hi!

    I have this in the GS:


    What need i to do, and how to do it?.

    Please Help me!



Page 1 of 3 123 LastLast

Advertisement