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

SDK Hooks 2.1 - Updated 2011-9-10


Post New Thread Closed Thread   
 
Thread Tools Display Modes
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 06-01-2012 , 18:45   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1851

Quote:
Originally Posted by DarthNinja View Post
Update your gamedata.

Also, are you really running a map named "$2000$"?
$2000$ is actually a pretty common map in CSS. A small aim-like map.
minimoney1 is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 06-01-2012 , 20:21   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1852

Dollar signs in a map filename make me cringe.
__________________
DarthNinja is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-02-2012 , 17:19   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1853

Short and lazy version:
New 2.2b4 available
http://users.alliedmods.net/~psychon.../sdkhooks/2.2/

New since last beta:
CS:GO support.
Fixed GroundEntChanged gamedata lookup.
Fixed one potential crash when bad or missing gamedata.
Improved error messages.

Known quirks:
For bots joining server, OnEntityCreated fires before SM thinks that the bot's client index is a valid entity. I haven't decided on the best way to fix this yet.

If no issues, I'll soon make this the official release as 2.1 is aging badly on some games.

Last edited by psychonic; 06-02-2012 at 17:20.
psychonic is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-02-2012 , 17:40   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1854

nice - can't wait to try it out

Goes w/o saying, but thank you
__________________
View my Plugins | Donate

Last edited by TnTSCS; 06-02-2012 at 17:41.
TnTSCS is offline
Panzerhandschuh
Junior Member
Join Date: Oct 2011
Old 06-02-2012 , 20:42   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1855

My server gets stuck on changing maps to de_dust after it restarts. I can easily fix this by overriding the sdkhooks.games folder in gamedata with the original sdkhooks.games from the download. Other than that, sdkhooks seems to be working fine.

Last edited by Panzerhandschuh; 06-02-2012 at 22:04.
Panzerhandschuh is offline
Mata Patos
Senior Member
Join Date: Jul 2011
Old 06-03-2012 , 08:03   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1856

Hi,

One Question .
The "sdkhooks-2.1.0-dev-hg183-linux.tar.gz"
The "sdkhooks-2.2.0-dev-hg185-linux.tar.gz"

Both are compatible with CSS ?
Mata Patos is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-03-2012 , 11:20   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1857

Yes.
psychonic is offline
Stinkyfax
BANNED
Join Date: Aug 2007
Old 06-05-2012 , 07:12   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1858

crashes on server start up. Strange thing that it was working, then i restarted server and issue came.
(CS:GO, sdk hooks 2.2)
Code:
Program received signal SIGSEGV, Segmentation fault.
0xece3111c in SDKHooks::SDK_OnLoad(char*, unsigned int, bool) () from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/extensions/sdkhooks.ext.2.csgo.so
(gdb) bt
#0  0xece3111c in SDKHooks::SDK_OnLoad(char*, unsigned int, bool) () from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/extensions/sdkhooks.ext.2.csgo.so
#1  0xece3bd0c in SDKExtension::OnExtensionLoad(SourceMod::IExtension*, SourceMod::IShareSys*, char*, unsigned int, bool) ()
   from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/extensions/sdkhooks.ext.2.csgo.so
#2  0xef74f7f6 in CExtension::Load(char*, unsigned int) () from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/bin/sourcemod.2.csgo.so
#3  0xef750158 in CLocalExtension::Load(char*, unsigned int) () from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/bin/sourcemod.2.csgo.so
#4  0xef7525aa in CExtensionManager::LoadAutoExtension(char const*, bool) () from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/bin/sourcemod.2.csgo.so
#5  0xef797deb in CPluginManager::LoadOrRequireExtensions(CPlugin*, unsigned int, char*, unsigned int) ()
   from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/bin/sourcemod.2.csgo.so
#6  0xef79b82a in CPluginManager::_LoadPlugin(CPlugin**, char const*, bool, SourceMod::PluginType, char*, unsigned int) ()
   from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/bin/sourcemod.2.csgo.so
#7  0xef79b952 in CPluginManager::LoadAutoPlugin(char const*) () from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/bin/sourcemod.2.csgo.so
#8  0xef79bc7c in CPluginManager::LoadPluginsFromDir(char const*, char const*) () from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/bin/sourcemod.2.csgo.so
#9  0xef79bdc5 in CPluginManager::LoadAll_FirstPass(char const*, char const*) () from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/bin/sourcemod.2.csgo.so
#10 0xef77207b in SourceModBase::DoGlobalPluginLoads() () from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/bin/sourcemod.2.csgo.so
#11 0xef772633 in SourceModBase::LevelInit(char const*, char const*, char const*, char const*, bool, bool) ()
   from /home/stinkyfax/servers/srcds_go/csgo/addons/sourcemod/bin/sourcemod.2.csgo.so
#12 0xf32c523e in __SourceHook_MFHCls_SGD_LevelInit::Func(char const*, char const*, char const*, char const*, bool, bool) ()
   from /home/stinkyfax/servers/srcds_go/csgo/../csgo/addons/metamod/bin/metamod.2.csgo.so
#13 0xf763f85c in CServerPlugin::LevelInit (this=0xf77db1c0, pMapName=0xf77b12e0 "de_dust", 
    pMapEntities=0x883c3b8 "{\n\"world_maxs\" \"3527 4480 1273\"\n\"world_mins\" \"-3098 -2535 -240\"\n\"spawnflags\" \"0\"\n\"skyname\" \"sky_dust\"\n\"musicpostfix\" \"Waterfront\"\n\"MaxRange\" \"8000\"\n\"maxpropscreenwidth\" \"-1\"\n\"light\" \"0\"\n\"detailvbsp\" \""..., pOldLevel=0x0, pLandmarkName=0x0, loadGame=<value optimized out>, 
    background=<value optimized out>) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/engine/./sv_plugin.cpp:379
#14 0xf75974ac in Host_NewGame (mapName=0xf77b12e0 "de_dust", mapGroupName=0xf77b13e0 "mg_allclassic", loadGame=false, bBackgroundLevel=false, bSplitScreenConnect=false, 
    pszOldMap=0x0, pszLandmark=0x0) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/engine/./host.cpp:5593
#15 0xf75a1462 in CHostState::State_NewGame (this=0xf77b12c0) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/engine/./host_state.cpp:420
#16 0xf75a1529 in CHostState::FrameUpdate (this=0xf77b12c0, time=0.00592300016) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/engine/./host_state.cpp:751
#17 0xf75a177d in HostState_Frame (time=0.00592300016) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/engine/./host_state.cpp:128
#18 0xf76556c4 in CEngine::Frame (this=0xf77dec40) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/engine/./sys_engine.cpp:472
#19 0xf76514d5 in CDedicatedServerAPI::RunFrame (this=0xf77de8e0) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/engine/./sys_dll2.cpp:2676
#20 0xf785c542 in RunServer (bSupressStdIOBecauseWeAreAForkedChild=false) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/dedicated/sys_ded.cpp:249
#21 0xf785b9bb in CDedicatedExports::RunServer (this=0xf78dc92c) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/dedicated/sys_common.cpp:198
#22 0xf7651b69 in CModAppSystemGroup::Main (this=0x80f7390) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/engine/./sys_dll2.cpp:2246
#23 0xf767266e in CAppSystemGroup::Run (this=0x80f7390) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/appframework/AppSystemGroup.cpp:777
#24 0xf7653189 in CDedicatedServerAPI::ModInit (this=0xf77de8e0, info=...) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/engine/./sys_dll2.cpp:2640
#25 0xf785c494 in CDedicatedAppSystemGroup::Main (this=0xffffa8fc) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/dedicated/sys_ded.cpp:437
#26 0xf78631de in CAppSystemGroup::Run (this=0xffffa8fc) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/appframework/AppSystemGroup.cpp:777
#27 0xf786512a in CSteamApplication::Main (this=0xffffab6c) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/appframework/WinApp.cpp:209
#28 0xf78631de in CAppSystemGroup::Run (this=0xffffab6c) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/appframework/AppSystemGroup.cpp:777
#29 0xf785c9ae in main (argc=27, argv=0xffffcd04) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/dedicated/sys_ded.cpp:642
#30 0xf785e006 in DedicatedMain (argc=27, argv=0xffffcd04) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/dedicated/sys_linux.cpp:310
#31 0x080488ec in main (argc=27, argv=0xffffcd04) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/dedicated_main/main.cpp:175
Stinkyfax is offline
TheAvengers2
BANNED
Join Date: Jul 2011
Old 06-05-2012 , 07:17   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1859

The latest build seems to randomly crash my linux CSS servers. This generally occurs minutes after players join and play, however, one time it went a few map changes without crashing. The exact same crashing happened with hg166 as well. Did anyone else experience this problem? Anyway, I'll be sticking with the stable release for now.

Edit: maybe these users were also having problems?
http://forums.alliedmods.net/showthr...?p=1697490#405 -> http://forums.alliedmods.net/showthr...72&page=41#410 (card = map)
&
http://forums.alliedmods.net/showthr...=175242&page=2 (some say working, some say broken? maybe linux problem?)


Edit2:
I've isolated two of the crashes as specific to my test server, and unlikely related to sdkhooks. The first crash seems to have been caused by my evildeagle-remake plugin which I had been working on. I removed it and the crashes seemed to subside. I, however, can't for the life of me, figure out why anything in that plugin is causing crashes at random intervals.

The second crash seems to have been caused by a map (zm_neko_abura_v2) being test on. Apparently, the the crash only occurs when bots are present, and I was using bots for the tests.
Spoiler

I don't normally test things this thoroughly or long, but prior sdkhooks snapshots tended to be a problematic experience. The last few times I used them without testing, I ran into a lot of weird issues which were primarily due to faulty gamedata, such as players seemingly getting m4s out of nowhere, or cts being able to pick up the bomb, plant it, and then defuse it.

I'll continue testing to see whether I run into anymore crashes. Any idea for a good way to log the crash message in the server's console? Crash messages don't seem to show up in any of the available logs, and what is available in logs, tends to be a bit behind the server's console, making this guess and check debugging a bit more difficult. The only way I can think of is via > console.log, but the file gets pretty enormous before long.

Last edited by TheAvengers2; 06-09-2012 at 20:35.
TheAvengers2 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-05-2012 , 10:05   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1860

For crashing on CS:GO, two issues have now been resolved.

The gamedata updater was overwriting master.games.txt with one that did not have the csgo-specific gamedata, causing it to crash when using the EntityListeners gamedata from other games. This is what caused the fine-first-time-but-crash-after-server-restart. The updater has now been sorted to give out the new master.games.txt, along with engine.csgo.txt.

In addition, the linux offset for PostThink was incorrect. This has also now been updated. A new build has been posted, but the updater should take care of it, serving a new engine.csgo.txt.
psychonic is offline
Closed Thread



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:35.


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