How to fix WSARecv() 10038 error

Results 1 to 2 of 2
  1. #1
    Member Imma is offline
    MemberRank
    Sep 2008 Join Date
    LondonLocation
    66Posts

    big grin How to fix WSARecv() 10038 error

    I had this error recently and spent ages trying to fix it (and could not find the solution anywhere). Now that I've fixed it, I would like to post a guide for those as unfortunate and unlucky as me who get this error message.

    This is a rare error that happens when your commonserver.cfg file isn't configured properly, although sometimes it can be your OS that's the problem (so I've heard). So it may not work for you but it will work in the majority of cases.

    The problem: when you attack certain monsters ingame (particularly the Golden Budge Dragon or similar) you will be disconnected after a short period of time.
    When you look in your game server log, you will see the WSARecv() 10038 error, or something similar.

    The solution: open your commonserver.cfg file and scroll down to the 'Hack Detection Settings'. Delete what is there and then paste the following to replace:

    ;Hack Detection Settings
    AttackSpeedTimeLimit = 100000
    IsIgnorePacketHackDetect = 0
    HackCheckCount = 1000000
    MinimumAttackSpeedTime = 200
    DecTimePerAttackSpeed = 100000

    Now scroll down to the 'SpeedHackPenalty' settings and replace with the following:

    ;SpeedHackPenalty Settings
    SpeedHackPenalty = 3 ; SPEED HACK PENALTY
    DetectedHackKickCount = 1000000 ; HACK CHECK COUNT
    IsKickDetecHackCountLimit = 100000 ; HACK CHECK COUNT

    Scroll back to the top and make sure the SpeedHackPlayerBlock = 0

    This should solve that annoying error and you will no longer get disconnected, yay! You can experiment with this and change the numbers if you want (if you still get disconnected after a period of time) to something like 99999999 but generally this should work the way it is.

    I hope this helped those who are experiencing this error. If it doesn't work then it may be your OS, but I don't know... sorry

    Hope I helped guys
    Last edited by Imma; 12-01-10 at 09:36 AM.


  2. #2
    Enthusiast sshalva is offline
    MemberRank
    Aug 2011 Join Date
    49Posts

    Re: How to fix WSARecv() 10038 error

    thanks



Advertisement