Server Help

ASSS Questions - Crashing

BDwinsAlt - Sun Dec 31, 2006 12:08 am
Post subject: Crashing
Dec 30 21:04:28 I <mapdata> {duel} successfully processed map file 'maps/duel.lvl'
Dec 30 21:04:28 W <mapnewsdl> compressed map/lvz is bigger than 256k: arenas/duel/_gfx.lvz
Dec 30 21:04:28 W <mapnewsdl> compressed map/lvz is bigger than 256k: arenas/duel/_sfx.lvz
Dec 30 21:04:28 W <mapnewsdl> compressed map/lvz is bigger than 256k: arenas/(default)/_ships.lvz

that comes up then the zone crashed. It seems to happen when people downlaod. Any fix for this? It only happens sometimes.

I figured maybe since it tried to load an lvz from default it did that but it worked fine when I downloaded it. And I added _ships.lvz to duel now.

asss 1.4.3 built on Jun 8 2006 23:42:12
running on Windows NT Service Pack 1 (version 5.2.3790), host: SSI
BDwinsAlt - Sun Dec 31, 2006 5:20 pm
Post subject:
Nevermind, after I fixed duel I saw there were python errors. I had no idea since this didn't happen during the dev. I added try and except to some parts of some module for now. I'll keep checking logs to see what CB is causing it each time. I thought python would be safe even if it did get an error, seems to be the less python errors the longer the server stays online.
Smong - Mon Jan 01, 2007 3:43 pm
Post subject:
Are you using any custom C modules? For example my damage module had a race condition in the loading code that caused it to crash win asss when you enter an arena, but it was fine on linux. Anyway I've fixed that now.
BDwinsAlt - Mon Jan 01, 2007 10:36 pm
Post subject:
No but it still crashes, no idea why. Linux safer?
Ok I got some help from zim, he says it was probably that python was reading the file while writing to it, using mutex works.
tcsoccerman - Tue Jan 23, 2007 8:37 pm
Post subject: similiar prob.?
This is what my asss.bat said and it seems screwy. any ideas.sometimes it crashes upon me entering zone, my brother who uses same ip and all as i do and sometimes it doesn't. i recently mad a few new modules by other people. here it is dierecltly out of asss.batch:

Code: Show/Hide
I <directory> using 'sscentral.subspacehq.com' at 63.115.6.45 as a directory ser
ver
I <directory> using 'sscentral.subspace.net' at 216.157.150.64 as a directory se
rver
E <pymod> can't import cPickle
E <pymod> can't import cPickle
D <main> entering main loop
D <mapnewsdl> news file 'news.txt' reread
D <billing> trying to connect to user db server at 127.0.0.1:10000
D <chatnet> [pid=0] new connection from 127.0.0.1:4562
D <billing> connected to billing server
D <directory> sending information to directory servers
D <net> [pid=1] new connection from 127.0.0.1:4564
D <core> [pid=1] login request: 'tcsoccerman'
D <core> authenticating with 'auth-ban'
D <billing> user db server not connected; falling back to 'auth-file'
I <core> [tcsoccerman] [pid=1] player logged in
I <arenaman> {0} created arena
W <config> Can't find file for arena '(public)', name 'conf/svs/bots'
W <config> Can't find file for arena '(public)', name 'conf/bdbot2.cfg'
W <config> Can't find file for arena '(public)', name 'stdio.h'
W <config> Can't find file for arena '(public)', name 'asss.h'
I <mapdata> {0} successfully processed map file 'arenas/(default)/public_noeLVL.
lvl'
I <flagcore> {0} setting up flagcore using game pyint-I_FLAGGAME
D <balls> {0} ball 0 is at (4770, 9045)
D <balls> {0} ball 1 is at (8259, 8499)
I <balls> {0} arena has 2 balls
I <arenaman> {0} [tcsoccerman] entering arena


Edit:using backup and couldn't find db??
Smong - Wed Jan 24, 2007 7:15 am
Post subject:
This wont fix it, but there's a bunch of wrong stuff there:
- You don't need to include stdio.h and asss.h into arena.conf.
- Check modules.conf and make sure only one billing module is loaded, not both.
- sscentral.subspacehq.com and sscentral.subspace.net aren't valid directory servers anymore, remove them from global.conf.
tcsoccerman - Wed Jan 24, 2007 12:16 pm
Post subject: ty
thank you, that was very thorough help but i still have some more questions.

1.what server can i use?

2.stdio.h or asss.h aren't in arena.conf, could they be in a #include file though? ty.

Edit:nvm, found some servers
BDwinsAlt - Thu Jan 25, 2007 8:09 am
Post subject:
Arena.conf is not a programming file, so the includes only include flag settings and ballsettings and stuff, its not meant for headers. You aren't trying to compile code.
tcsoccerman - Thu Jan 25, 2007 12:34 pm
Post subject: ok
All right, i'll take out some includes, but what do you mean by "you aren't trying to compile"

ty. btw, i got it to work yesturday with 2 people , but that was just once so we'll see what happens again.
tcsoccerman - Thu Jan 25, 2007 3:35 pm
Post subject: arena being destroyed
I think it's whenever i log out the arena is destroyed. see for yourself:

Code: Show/Hide
<core> [tcsoccerman] [pid=1] player logged in
Jan 25 15:19:02 I <arenaman> {0} created arena
Jan 25 15:19:03 I <mapdata> {0} successfully processed map file 'maps/public_noeLVL.lvl'
Jan 25 15:19:04 I <flagcore> {0} setting up flagcore using game pyint-I_FLAGGAME
Jan 25 15:19:04 I <balls> {0} arena has 2 balls
Jan 25 15:19:04 I <arenaman> {0} [tcsoccerman] entering arena
Jan 25 15:19:07 I <cmdman> {0} [tcsoccerman] command (arena): time
Jan 25 15:19:17 I <cmdman> {0} [tcsoccerman] command (arena): grplogin sysop itunes100
Jan 25 15:19:21 I <cmdman> {0} [tcsoccerman] command (arena): lsmod
Jan 25 15:19:34 I <fake> {0} [<autoturret>] fake player created
Jan 25 15:19:34 I <cmdman> {0} [tcsoccerman] command (arena): dropturret
Jan 25 15:19:49 I <fake> {0} [<autoturret>] fake player destroyed
Jan 25 15:19:59 I <arenaman> {0} [tcsoccerman] leaving arena


after that the arena is destroyed. and now there is something about low memory and then it asks if i would like to reboot it, y or n. something screwy for sure.

p.s. when a fake player is destroyed then it drops too. icon_sad.gif
Animate Dreams - Fri Jan 26, 2007 11:53 am
Post subject:
Um, that isn't bad, it does that so it saves memory. It would take a lot more memory if it kept up an instance of every arena on your server every time the server was started. Now, that reboot thing sounds bad, but arenas being destroyed is normal.
tcsoccerman - Fri Jan 26, 2007 12:19 pm
Post subject: normal?
so whenever anyone else runs as3 and they log out it's normal for the hole zone to be terminated and for as3 to pop up a (asss is having a problem would you like to send a report?). i don't think it is.
Smong - Sat Jan 27, 2007 7:38 am
Post subject:
Low memory eh? Could be not enough ram and free disk space, although unlikely these days.
tcsoccerman - Sat Jan 27, 2007 9:50 am
Post subject: a
yeh, it's not that. yesturday i got it to work correctly about 3 times. i made a auto turret about 5 times too and when he was "destroyed" it didn't crash biggrin.gif . i guess i'll just have to keep trying it.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group