Page 1 of 1

Client crashing on connect

Posted: Thu May 04, 2017 4:08 pm
by EmilioK
Hi, I'm developing a plugin for CSGO and I do the testing on a local server. Since Wednesday (before the CSGO updates this week) I'm having an issue when I try to connect to the server. I was in a long coding rush and suddenly the test server crashed my client every time I tried to connect. I already reverted the changes I made in the code but the error continues persisting. If I connect with the plugin unloaded it works. I assume SP is not the problem. If I'm on the server and I load the plugin the game crashes and sends me to the main menu, showing this error message in console: Host_Error: CL_ReadPreserveEnt: u.m_nNewEntity == MAX_EDICTS.

Any suggestions or ideas?

Thanks in advance.
EmilioK

Re: Client crashing on connect

Posted: Thu May 04, 2017 4:26 pm
by PhantomDancer
hhehehehe i had this error for weeks and the only help here i got was learning to not post anything, anymore.i learned that i was ONLY demanding help and asking wrongly or that this is the wrong forum.... but guess what, this is the right forum, it is a serveradministration forum, unlike some people might thinks is a user bash forum. good thing is, i figured out the error you have and know how to fix it and will be glad to help you. feel free to add me in steam. http://steamcommunity.com/profiles/76561197962679520/

Re: Client crashing on connect

Posted: Thu May 04, 2017 4:36 pm
by PhantomDancer
and dont worry, im NOT gonna backdoor, hack, exploit, boot or root you. and im NOT a game or system hacker. i despise hackers. just mentioning this, because "some people" think this is what all strangers do

Re: Client crashing on connect

Posted: Thu May 04, 2017 4:45 pm
by iPlayer
Try adding GoTV on your server. Add this to your launch line:

Code: Select all

+tv_enable 1 +tv_maxclients 0 +tv_allow_camera_man 0 +tv_allow_static_shots 0


This problem has been following many SM scripters, as well. GoTV seems to fix the issue.

Re: Client crashing on connect

Posted: Fri May 05, 2017 3:09 pm
by iPlayer
Okay, we've narrowed down the issue and the reason for the error (in this particular case) was the SetTransmit hook.
See also: https://forums.sourcepython.com/viewtopic.php?p=10273#p10273

Re: Client crashing on connect

Posted: Fri May 05, 2017 5:41 pm
by PhantomDancer
yeah i told him, that your solution was not a fix for this issue, but only a workaround. glad my advice pushed him into the right direction. btw you can also set edict flags as this is a networking issue ;)

Re: Client crashing on connect

Posted: Fri May 05, 2017 5:47 pm
by iPlayer
not post anything, anymore

Why don't you stick to what you said? ;) ?

Re: Client crashing on connect

Posted: Fri May 05, 2017 10:21 pm
by PhantomDancer
do i have to?