Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-09-22 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
September 21, 2012, 09:03:46 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: CS:GO  (Read 489 times)
saintk
Jr. Member
**
Posts: 71


View Profile Email
« 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.
Logged
Revan
Sr. Member
****
Posts: 263



View Profile
« Reply #1 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
Logged

saintk
Jr. Member
**
Posts: 71


View Profile Email
« Reply #2 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 Smiley

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 Wink )

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]   
  •   Line 996, War3Source_Engine_RaceClass.sp::MergeSort()
L 06/05/2012 - 21:22:50: [SM]   [1]  Line 996, War3Source_Engine_RaceClass.sp::MergeSort()
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]   
  •   Line 613, War3Source_Engine_MenuChangerace.sp::refreshCategories()
L 06/05/2012 - 21:22:50: [SM]   [1]  Line 156, War3Source_Engine_MenuChangerace.sp::OnMapStart()

Cheers,
Logged
Revan
Sr. Member
****
Posts: 263



View Profile
« Reply #3 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 Smiley

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 Wink )

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]  
  •  Line 996, War3Source_Engine_RaceClass.sp::MergeSort()
L 06/05/2012 - 21:22:50: [SM]   [1]  Line 996, War3Source_Engine_RaceClass.sp::MergeSort()
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]  
  •  Line 613, War3Source_Engine_MenuChangerace.sp::refreshCategories()
L 06/05/2012 - 21:22:50: [SM]   [1]  Line 156, War3Source_Engine_MenuChangerace.sp::OnMapStart()

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
« Last Edit: June 05, 2012, 03:30:32 PM by Revan » Logged

saintk
Jr. Member
**
Posts: 71


View Profile Email
« Reply #4 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 Smiley

I have included all translation files provided.
Logged
Revan
Sr. Member
****
Posts: 263



View Profile
« Reply #5 on: June 06, 2012, 02:19:12 AM »

you should remove the plugin AND extension(war3dll)

are you only using stock races?
Logged

saintk
Jr. Member
**
Posts: 71


View Profile Email
« Reply #6 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,
Logged
Grinlock
Newbie
*
Posts: 33


View Profile
« Reply #7 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.

Logged
Revan
Sr. Member
****
Posts: 263



View Profile
« Reply #8 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 Smiley

but if you've decided to use war3 in cs:go keep reporting crashes in this thread so we can track 'em down!
« Last Edit: June 06, 2012, 12:02:29 PM by Revan » Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #9 on: June 06, 2012, 02:17:35 PM »

no effects, but does skills work?
Logged

DarkEnergy
Revan
Sr. Member
****
Posts: 263



View Profile
« Reply #10 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)
Logged

Revan
Sr. Member
****
Posts: 263



View Profile
« Reply #11 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).
[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
soundscape.cpp:152

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
« Last Edit: June 07, 2012, 08:11:12 AM by Revan » Logged

saintk
Jr. Member
**
Posts: 71


View Profile Email
« Reply #12 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 =)
Logged
Revan
Sr. Member
****
Posts: 263



View Profile
« Reply #13 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++){
   g_pSM->LogError(myself,"ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED. War3Source_Extension_Helper.smx REQUIRED");
}
exit(0);
what means: spam "helper plugin not registered" and quit server with exitcode 0

when compiling that helper plugin you're "bypassing" that check so it won't error Cheesy
idk if that war3 extensions still uses that hash check mechanism

EDIT: i've fixed that crash
« Last Edit: June 07, 2012, 12:38:26 PM by Revan » Logged

stinkyfax
Full Member
***
Posts: 116


View Profile Email
« Reply #14 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!

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++){
   g_pSM->LogError(myself,"ERROR, HELPER FUNCTION FROM EXTENSION HELPER PLUGIN NOT REGISTERED. War3Source_Extension_Helper.smx REQUIRED");
}
exit(0);
what means: spam "helper plugin not registered" and quit server with exitcode 0

when compiling that helper plugin you're "bypassing" that check so it won't error Cheesy
idk if that war3 extensions still uses that hash check mechanism

EDIT: i've fixed that crash
I have to admit this code is slightly inhuman and not in the style of SM community
Logged

saintk
Jr. Member
**
Posts: 71


View Profile Email
« Reply #15 on: June 08, 2012, 02:05:41 AM »

So... With the latest SVN downloads, do I exclude War3Source_Extension_Helper from compiling?
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #16 on: June 08, 2012, 11:51:20 AM »

u dont, just dont upload the extension and dont upload the helper
Logged

DarkEnergy
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!