|
Title: CS:GO Post by: saintk on June 05, 2012, 12:16:37 PM Hi,
I am attempting to get war3source working on CS:GO (Linux), however, I run into quite some errors and a crash as soon as someone joins the game. Does it serve any purpose yet to post these errors and bugs? Cheers, Saint K. Title: Re: CS:GO Post by: Revan on June 05, 2012, 01:37:29 PM Show errors.
you need to recompile everything from svn in order to get war3source working for cs:go Title: Re: CS:GO Post by: saintk on June 05, 2012, 02:01:37 PM Show errors. you need to recompile everything from svn in order to get war3source working for cs:go I have recompiled everything from the SVN :) SM info: SourceMod Version: 1.5.0-dev SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.5.0-dev) SourcePawn API: v1 = 4, v2 = 3 Compiled on: Jun 2 2012 09:51:08 Build ID: 3550:d1e4c942dc35-dev I 'solved' the crash. I didn't notice at first that War3Source_Extension_Helper wasn't compiling (had to remove that line which tells you not to compile it ;) ) Errors: 06/05/2012 - 21:22:50: SourceMod error session started L 06/05/2012 - 21:22:50: Info (map "de_dust2") (file "errors_20120605.log") L 06/05/2012 - 21:22:50: [SM] Plugin encountered error 8: Not enough space on the stack L 06/05/2012 - 21:22:50: [SM] Displaying call stack trace for plugin "wc3mod/War3Source_Engine_RaceClass.smx": L 06/05/2012 - 21:22:50: [SM]
L 06/05/2012 - 21:22:50: [SM] [2] Line 996, War3Source_Engine_RaceClass.sp::MergeSort() L 06/05/2012 - 21:22:50: [SM] [3] Line 996, War3Source_Engine_RaceClass.sp::MergeSort() L 06/05/2012 - 21:22:50: [SM] [4] Line 996, War3Source_Engine_RaceClass.sp::MergeSort() (this message is repeated 1024 times) L 06/05/2012 - 21:22:50: [SM] Plugin encountered error 8: Not enough space on the stack L 06/05/2012 - 21:22:50: [SM] Native "W3GetRaceList" reported: Error encountered while processing a dynamic native L 06/05/2012 - 21:22:50: [SM] Displaying call stack trace for plugin "wc3mod/War3Source_Engine_MenuChangerace.smx": L 06/05/2012 - 21:22:50: [SM]
Cheers, Title: Re: CS:GO Post by: Revan on June 05, 2012, 03:26:09 PM Show errors. you need to recompile everything from svn in order to get war3source working for cs:go I have recompiled everything from the SVN :) SM info: SourceMod Version: 1.5.0-dev SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.5.0-dev) SourcePawn API: v1 = 4, v2 = 3 Compiled on: Jun 2 2012 09:51:08 Build ID: 3550:d1e4c942dc35-dev I 'solved' the crash. I didn't notice at first that War3Source_Extension_Helper wasn't compiling (had to remove that line which tells you not to compile it ;) ) Errors: 06/05/2012 - 21:22:50: SourceMod error session started L 06/05/2012 - 21:22:50: Info (map "de_dust2") (file "errors_20120605.log") L 06/05/2012 - 21:22:50: [SM] Plugin encountered error 8: Not enough space on the stack L 06/05/2012 - 21:22:50: [SM] Displaying call stack trace for plugin "wc3mod/War3Source_Engine_RaceClass.smx": L 06/05/2012 - 21:22:50: [SM]
L 06/05/2012 - 21:22:50: [SM] [2] Line 996, War3Source_Engine_RaceClass.sp::MergeSort() L 06/05/2012 - 21:22:50: [SM] [3] Line 996, War3Source_Engine_RaceClass.sp::MergeSort() L 06/05/2012 - 21:22:50: [SM] [4] Line 996, War3Source_Engine_RaceClass.sp::MergeSort() (this message is repeated 1024 times) L 06/05/2012 - 21:22:50: [SM] Plugin encountered error 8: Not enough space on the stack L 06/05/2012 - 21:22:50: [SM] Native "W3GetRaceList" reported: Error encountered while processing a dynamic native L 06/05/2012 - 21:22:50: [SM] Displaying call stack trace for plugin "wc3mod/War3Source_Engine_MenuChangerace.smx": L 06/05/2012 - 21:22:50: [SM]
Cheers, thoose errors will occur if something is wrong with ur races(ex. Translations missing) they're very unlikely to be mod dependend. And lol just Don't compile ext. Helper(that's Why there's such a don't-compile-me-thingy)! just remove that plugin+ext from your Server till ownz releases a new version crashes probably occur cuz extension could not register helper plugin(wrong hashsum), so just remove them for now. You can also try changing that hashsum if u know enough. I've tried that but i can't realy get trough ownz code Title: Re: CS:GO Post by: saintk on June 05, 2012, 11:22:33 PM Excluding that plugin makes the server crash on join. The file says to use the old version, however, that won't load cause cs:go isn't supported there :)
I have included all translation files provided. Title: Re: CS:GO Post by: Revan on June 06, 2012, 02:19:12 AM you should remove the plugin AND extension(war3dll)
are you only using stock races? Title: Re: CS:GO Post by: saintk on June 06, 2012, 02:41:55 AM you should remove the plugin AND extension(war3dll) are you only using stock races? Just to clarify, the server is correctly booting and war3source seems to work correctly (accept for the known bugs as menu key 0, custom sounds and effects). I am using whatever comes from the SVN, accept for the SH mod part. So I guess that classifies as "stock" races. It stikes me as odd to remove the plugin and extention, aren't they part of the war3core functionallity? cheers, Title: Re: CS:GO Post by: Grinlock on June 06, 2012, 09:02:23 AM I'll install CS:GO onto on of my dedi servers and have a look sometime soon(with-in fortnight), see what I can do, or find and share all fixes, tweaks. So can work smoothly for you.
Title: Re: CS:GO Post by: Revan on June 06, 2012, 12:00:40 PM you should remove the plugin AND extension(war3dll) are you only using stock races? Just to clarify, the server is correctly booting and war3source seems to work correctly (accept for the known bugs as menu key 0, custom sounds and effects). I am using whatever comes from the SVN, accept for the SH mod part. So I guess that classifies as "stock" races. It stikes me as odd to remove the plugin and extention, aren't they part of the war3core functionallity? cheers, basicly yes but using that ext + helper plugin will just cause more issues than you already have. Just wait till ownz releases a new ext+helper plugin and you'll be fine(btw. cs:go isn't official supported by war3 it's still in development stages so use it at at your own risk!) I already experienced some crashes while playing around(round_start, player_death) I've fixed that player_death crash(it was more or less a issue caused by me). Oh and please post all stuff you do when porting plugins/races/stuff to CS:GO so we can make a wiki article about it to make porting easier :) but if you've decided to use war3 in cs:go keep reporting crashes in this thread so we can track 'em down! Title: Re: CS:GO Post by: Ownz on June 06, 2012, 02:17:35 PM no effects, but does skills work?
Title: Re: CS:GO Post by: Revan on June 07, 2012, 12:57:52 AM Effects are working, just much materials are missing for cs:go.
I didn't tested all races but Orc runs just fine(respawn works, Crit nade/strike works and ulti works) Title: Re: CS:GO Post by: Revan on June 07, 2012, 07:24:47 AM So.. I've got that server crash on client connection too.
I attached gdb to the process which showed me that the crash is regarding to sounds Code: Client "DonRevan" connected (79.210.244.22:27005). soundscape.cpp:152 (http://hg.alliedmods.net/hl2sdks/hl2sdk-csgo/file/50343fcd06fd/game/server/soundscape.cpp#l150)[War3Source] Loading race map config file...(de_dust.cfg) [New Thread 0xee050b70 (LWP 30288)] String Table dictionary for downloadables should be rebuilt, only found 42 of 92 strings in dictionary String Table dictionary for modelprecache should be rebuilt, only found 198 of 247 strings in dictionary adding faction: Undead adding faction: Humans Program received signal SIGSEGV, Segmentation fault. 0xf4637baf in CEnvSoundscape::IsEnabled (this=0xb753da0, update=...) at /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/game/server/./soundscape.cpp:152 152 /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/game/server/./soundscape.cpp: No such file or directory. in /home/buildbot/buildslave_hpath/csgo_pcbeta_linux/build/src/game/server/./soundscape.cpp after struggling around with that issue I've found out that the issue is regarding to a race. Server runs fine when just using Undead. I'll look further to this but I need to make a break cuz of a invasion of rl. idk if this is the same reason why your server crashes but is definately possible EDIT: it seems to be relating to cd Title: Re: CS:GO Post by: saintk on June 07, 2012, 08:54:50 AM Interesting is that the crash isn't present when you compile the plugin that shouldn't be compiled =)
Title: Re: CS:GO Post by: Revan on June 07, 2012, 09:58:05 AM Heh... because the server doesn't "crashes" on player join rather than on GameFrame which actually makes SourceMod timers alive!
the war3dll extension creates a timer which checks for the extension helper, if it fails to find 'em it will do: Code: for(int i=0;i<100;i++){ what means: spam "helper plugin not registered" and quit server with exitcode 0g_pSM->LogError(myself,"ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED. War3Source_Extension_Helper.smx REQUIRED"); } exit(0); when compiling that helper plugin you're "bypassing" that check so it won't error :D idk if that war3 extensions still uses that hash check mechanism EDIT: i've fixed that crash Title: Re: CS:GO Post by: stinkyfax on June 07, 2012, 03:21:17 PM Heh... because the server doesn't "crashes" on player join rather than on GameFrame which actually makes SourceMod timers alive! I have to admit this code is slightly inhuman and not in the style of SM communitythe war3dll extension creates a timer which checks for the extension helper, if it fails to find 'em it will do: Code: for(int i=0;i<100;i++){ what means: spam "helper plugin not registered" and quit server with exitcode 0g_pSM->LogError(myself,"ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED. War3Source_Extension_Helper.smx REQUIRED"); } exit(0); when compiling that helper plugin you're "bypassing" that check so it won't error :D idk if that war3 extensions still uses that hash check mechanism EDIT: i've fixed that crash Title: Re: CS:GO Post by: saintk on June 08, 2012, 02:05:41 AM So... With the latest SVN downloads, do I exclude War3Source_Extension_Helper from compiling?
Title: Re: CS:GO Post by: Ownz on June 08, 2012, 11:51:20 AM u dont, just dont upload the extension and dont upload the helper
|