Raised This Month: $ Target: $400
 0% 

New CSGO update broke my server


Post New Thread Reply   
 
Thread Tools Display Modes
Rodya
Senior Member
Join Date: Mar 2017
Location: Russia
Old 08-19-2017 , 07:25   Re: New CSGO update broke my server
Reply With Quote #281

6022 work in linux?
Rodya is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 08-19-2017 , 07:35   Re: New CSGO update broke my server
Reply With Quote #282

Quote:
Originally Posted by flexcop View Post
Some servers work Not affected from update How does this happen?
Some server dont use hooks on the game-data that updated.
__________________
Neuro Toxin is offline
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 08-19-2017 , 07:48   Re: New CSGO update broke my server
Reply With Quote #283

Quote:
Originally Posted by Domino_ View Post
I've managed to fix this crash by removing the code you quoted from OnMapStart() and adding this
PHP Code:
if(!g_iaGrenadeOffsets[0]) {
    
int end sizeof(g_saGrenadeWeaponNames);
    for (
int i=0i<endi++) {
        
int entindex GivePlayerItem(iClientg_saGrenadeWeaponNames[i]);
        
g_iaGrenadeOffsets[i] = GetEntProp(entindexProp_Send"m_iPrimaryAmmoType");
        
AcceptEntityInput(entindex"Kill");
    }

to line 1242 (inside OnPlayerSpawn) and it seems to be working. It's not a very nice way of doing it, but it seems creating a weapon entity after the update causes an instant crash (going ent_create weapon_flashbang for example).

Full OnPlayerSpawn
Spoiler
I already solve this problem with direct getting ammo type.
Kailo is offline
Rodya
Senior Member
Join Date: Mar 2017
Location: Russia
Old 08-19-2017 , 07:56   Re: New CSGO update broke my server
Reply With Quote #284

guys try this
https://drive.google.com/open?id=0B3...mQ5RlNRTmx3V00
Rodya is offline
Michauux
Member
Join Date: Nov 2015
Old 08-19-2017 , 08:11   Re: New CSGO update broke my server
Reply With Quote #285

Quote:
Originally Posted by Rodya View Post

Not working
Michauux is offline
Rodya
Senior Member
Join Date: Mar 2017
Location: Russia
Old 08-19-2017 , 08:12   Re: New CSGO update broke my server
Reply With Quote #286

Quote:
Originally Posted by Michauux View Post
Not working
linux?
Rodya is offline
Wacci
AlliedModders Donor
Join Date: May 2017
Location: Hungary
Old 08-19-2017 , 08:12   Re: New CSGO update broke my server
Reply With Quote #287

Quote:
Originally Posted by Wacci View Post
Instant crash, if I using a Clantag modifier. exp:AdminClanTag
Win2008R2, SM6022

Does anyone have this idea?
Does not anyone have a similar error?
Wacci is offline
Michauux
Member
Join Date: Nov 2015
Old 08-19-2017 , 08:12   Re: New CSGO update broke my server
Reply With Quote #288

Quote:
Originally Posted by Rodya View Post
linux?
Yes use stable sourcemod 6022
Michauux is offline
Rodya
Senior Member
Join Date: Mar 2017
Location: Russia
Old 08-19-2017 , 08:14   Re: New CSGO update broke my server
Reply With Quote #289

Quote:
Originally Posted by Michauux View Post
Yes use stable sourcemod 6022
same. Nice work in 4 servers:C
Rodya is offline
th7nder
Senior Member
Join Date: Oct 2014
Old 08-19-2017 , 09:08   Re: New CSGO update broke my server
Reply With Quote #290

CS_OnBuyCommand doesn't pass string, so we cannot recognize what weapon is being bought
th7nder is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode