Client crashing on connect

All other Source.Python topics and issues.
User avatar
EmilioK
Junior Member
Posts: 1
Joined: Wed Apr 26, 2017 12:20 pm
Location: Valencia, Spain
Contact:

Client crashing on connect

Postby EmilioK » Thu May 04, 2017 4:08 pm

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
User avatar
PhantomDancer
Member
Posts: 42
Joined: Wed Mar 15, 2017 10:39 am
Location: The Great Arctic Hemispheres

Re: Client crashing on connect

Postby PhantomDancer » Thu May 04, 2017 4:26 pm

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/
User avatar
PhantomDancer
Member
Posts: 42
Joined: Wed Mar 15, 2017 10:39 am
Location: The Great Arctic Hemispheres

Re: Client crashing on connect

Postby PhantomDancer » Thu May 04, 2017 4:36 pm

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
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: Client crashing on connect

Postby iPlayer » Thu May 04, 2017 4:45 pm

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.
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: Client crashing on connect

Postby iPlayer » Fri May 05, 2017 3:09 pm

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
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
PhantomDancer
Member
Posts: 42
Joined: Wed Mar 15, 2017 10:39 am
Location: The Great Arctic Hemispheres

Re: Client crashing on connect

Postby PhantomDancer » Fri May 05, 2017 5:41 pm

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 ;)
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: Client crashing on connect

Postby iPlayer » Fri May 05, 2017 5:47 pm

not post anything, anymore

Why don't you stick to what you said? ;) ?
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
PhantomDancer
Member
Posts: 42
Joined: Wed Mar 15, 2017 10:39 am
Location: The Great Arctic Hemispheres

Re: Client crashing on connect

Postby PhantomDancer » Fri May 05, 2017 10:21 pm

do i have to?

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 28 guests