Raised This Month: $51 Target: $400
 12% 

New CSGO update broke my server


Post New Thread Reply   
 
Thread Tools Display Modes
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 08-19-2017 , 05:26   Re: New CSGO update broke my server
Reply With Quote #271

Hi guys
I can not run two csgo servers together.
i updated sourcemod but dont fix problem me.


Is my problem because of the new csgo update?

Last edited by Dr.Mohammad; 08-19-2017 at 05:29.
Dr.Mohammad is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 08-19-2017 , 05:31   Re: New CSGO update broke my server
Reply With Quote #272

what with CreateEntityByName forward? Starts to crush server when tried to create a weapon, ak or glock.. etc.
ZASTRELIS is offline
Rodya
Senior Member
Join Date: Mar 2017
Location: Russia
Old 08-19-2017 , 05:53   Re: New CSGO update broke my server
Reply With Quote #273

Quote:
Originally Posted by Enki_hardwar View Post
Works for me:
"sourcemod_version" = "1.8.0.6015"
"metamod_version" = "1.11.0-dev+1097V"

with this engine: https://github.com/alliedmodders/sou...ngine.csgo.txt

Linux server, Centos7
yep) same.
Rodya is offline
root88
Senior Member
Join Date: May 2016
Old 08-19-2017 , 06:05   Re: New CSGO update broke my server
Reply With Quote #274

Gamedata and/or signature for CCSPlayerInventoryOffset / HandleCommand_Buy_Internal are wrong. My servers are crashing with plugin using for example "CS_OnBuyCommand".
I'm using latest gamedata (linux):
Code:
"CCSPlayerInventoryOffset"
			{
				"windows"	"60"
				"linux"		"97"
				"mac"		"109"
			}

"HandleCommand_Buy_Internal"
			{
				"library"		"server"
				"windows"		"\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x0C\x53\x56\x57\x6A\x01"
				"linux"			"\x2A\x2A\x2A\x2A\x2A\x2A\x0F\xB6\x55\x14\x89\x75\xF8\x8B\x75\x08"
			}
__________________
root88 is offline
AghaArshia
BANNED
Join Date: Jun 2017
Location: Iran
Old 08-19-2017 , 06:18   Re: New CSGO update broke my server
Reply With Quote #275

I think we should wait for update sourcemod ....
AghaArshia is offline
JAA
Member
Join Date: Sep 2011
Old 08-19-2017 , 06:22   Re: New CSGO update broke my server
Reply With Quote #276

Quote:
Originally Posted by Kailo View Post
My Hide'n'Seek Crash with this log: 3V55-FMBC-W3WY
Comparing IDA of dll and last so with symbols i find this names
Code:
0	server.dll + 0x1b3c2e
1	server.dll + 0x1b2c2f // CBaseCombatWeapon::CreateWeaponWorldModel
2	server.dll + 0x1b35b6 // CBaseCombatWeapon::Spawn
3	server.dll + 0x4a7d1e // CWeaponCSBase::Spawn
4	server.dll + 0x38075b // DispatchSpawn
5	server.dll + 0x53220b // CServerTools::DispatchSpawn
6	sdktools.ext.2.csgo.dll!DispatchSpawn [vnatives.cpp:977 + 0xc] 
7	sourcepawn.jit.x86.dll!sp::Environment::Invoke(sp::PluginRuntime *,sp::CompiledFunction *,int *) [environment.cpp:235 + 0x15] 
8	sourcepawn.jit.x86.dll!sp::PluginContext::Invoke(unsigned int,int const *,unsigned int,int *) [plugin-context.cpp:476 + 0x13] 
9	sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Invoke(int *) [scripted-invoker.cpp:296 + 0x1c] 
10	sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Execute(int *) [scripted-invoker.cpp:190 + 0x13] 
11	sourcemod.logic.dll!CForward::Execute(int *,SourceMod::IForwardFilter *) [ForwardSys.cpp:306 + 0xe] 
12	sourcemod.2.csgo.dll!PlayerManager::OnServerActivate(edict_t *,int,int) [PlayerManager.cpp:319 + 0xc] 
13	sourcemod.2.csgo.dll!__SourceHook_FHCls_IServerGameDLLServerActivate0::Func(edict_t *,int,int) [PlayerManager.cpp:83 + 0xe3]
But last 1 not point to 0. At +0x1b2c2f calling of sub_101B27B0 (CBaseWeaponWorldModel::SetOwningWeapon) but, +0x1b3c2e inside sub_101B3BF0.
Is this CS:GO fault?

Plugin code where crash happen:
PHP Code:
public void OnMapStart()
{
    ...

    if (!
g_iaGrenadeOffsets[0]) {
        
int end sizeof(g_saGrenadeWeaponNames);
        for (
int i=0i<endi++) {
            
int entindex CreateEntityByName(g_saGrenadeWeaponNames[i]);
            
DispatchSpawn(entindex); // Here
            
g_iaGrenadeOffsets[i] = GetEntProp(entindexProp_Send"m_iPrimaryAmmoType");
            
AcceptEntityInput(entindex"Kill");
        }
    }

    ...

https://crash.limetech.org/kgwmgmtmnpdm
https://crash.limetech.org/gxtkscfsevki
https://crash.limetech.org/ecb4pazz2vnc
https://crash.limetech.org/4wn377bk7pam
JAA is offline
deville
AlliedModders Donor
Join Date: Oct 2016
Old 08-19-2017 , 06:26   Re: New CSGO update broke my server
Reply With Quote #277

Linux here. Server is running with latest build but certain plugins crashes/not working. Such as plugins for "anti-backstab" and a knife-attack delay timer.

Maybe I've missed it. But I'd appreciate to know now if there will be further attempts from sourcemod to fix this or if this is in the hands of the plugin devs? Thanks in advance.

.. I'll provide whatever you guys need from my crashes if necessary, just message me.

Last edited by deville; 08-19-2017 at 07:01.
deville is offline
Wacci
AlliedModders Donor
Join Date: May 2017
Location: Hungary
Old 08-19-2017 , 07:02   Re: New CSGO update broke my server
Reply With Quote #278

Instant crash, if I using a Clantag modifier. exp:AdminClanTag
Win2008R2, SM6022

Does anyone have this idea?
Wacci is offline
Domino_
AlliedModders Donor
Join Date: Jul 2016
Old 08-19-2017 , 07:17   Re: New CSGO update broke my server
Reply With Quote #279

Quote:
Originally Posted by Kailo View Post
My Hide'n'Seek Crash with this log: 3V55-FMBC-W3WY
Comparing IDA of dll and last so with symbols i find this names
Code:
0	server.dll + 0x1b3c2e
1	server.dll + 0x1b2c2f // CBaseCombatWeapon::CreateWeaponWorldModel
2	server.dll + 0x1b35b6 // CBaseCombatWeapon::Spawn
3	server.dll + 0x4a7d1e // CWeaponCSBase::Spawn
4	server.dll + 0x38075b // DispatchSpawn
5	server.dll + 0x53220b // CServerTools::DispatchSpawn
6	sdktools.ext.2.csgo.dll!DispatchSpawn [vnatives.cpp:977 + 0xc] 
7	sourcepawn.jit.x86.dll!sp::Environment::Invoke(sp::PluginRuntime *,sp::CompiledFunction *,int *) [environment.cpp:235 + 0x15] 
8	sourcepawn.jit.x86.dll!sp::PluginContext::Invoke(unsigned int,int const *,unsigned int,int *) [plugin-context.cpp:476 + 0x13] 
9	sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Invoke(int *) [scripted-invoker.cpp:296 + 0x1c] 
10	sourcepawn.jit.x86.dll!sp::ScriptedInvoker::Execute(int *) [scripted-invoker.cpp:190 + 0x13] 
11	sourcemod.logic.dll!CForward::Execute(int *,SourceMod::IForwardFilter *) [ForwardSys.cpp:306 + 0xe] 
12	sourcemod.2.csgo.dll!PlayerManager::OnServerActivate(edict_t *,int,int) [PlayerManager.cpp:319 + 0xc] 
13	sourcemod.2.csgo.dll!__SourceHook_FHCls_IServerGameDLLServerActivate0::Func(edict_t *,int,int) [PlayerManager.cpp:83 + 0xe3]
But last 1 not point to 0. At +0x1b2c2f calling of sub_101B27B0 (CBaseWeaponWorldModel::SetOwningWeapon) but, +0x1b3c2e inside sub_101B3BF0.
Is this CS:GO fault?

Plugin code where crash happen:
PHP Code:
public void OnMapStart()
{
    ...

    if (!
g_iaGrenadeOffsets[0]) {
        
int end sizeof(g_saGrenadeWeaponNames);
        for (
int i=0i<endi++) {
            
int entindex CreateEntityByName(g_saGrenadeWeaponNames[i]);
            
DispatchSpawn(entindex); // Here
            
g_iaGrenadeOffsets[i] = GetEntProp(entindexProp_Send"m_iPrimaryAmmoType");
            
AcceptEntityInput(entindex"Kill");
        }
    }

    ...

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
__________________
Domino_ is offline
flexcop
New Member
Join Date: Feb 2017
Old 08-19-2017 , 07:20   Re: New CSGO update broke my server
Reply With Quote #280

Some servers work Not affected from update How does this happen?
flexcop 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 03:58.


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