Page 26 of 33

Springie on Ubuntu

Posted: 15 Nov 2008, 17:00
by racoon97
I use Springie on Ubuntu Hardy, it seems to work but when I start it :

Code: Select all

mono springie.exe
I got this message (in a small window) : spring-dedicated.exe not found.
Spring can't work without this file or I need it ? If yes, where can I found it ?

And Licho... thanks a lot for you work and portage on linux. :-)

Re: Springie the AutoHost

Posted: 15 Nov 2008, 17:20
by racoon97
Ok I found it here : http://spring.jobjol.nl/show_file.php?id=1516
But my question stay : need it or not need it ?

Re: Springie the AutoHost

Posted: 15 Nov 2008, 17:30
by racoon97
Unfortunately after few seconds connection, Springie crash with this fatal error (last lines logs):

Code: Select all

Thread 1 (Thread 0xb7c8a6d0 (LWP 19908)):
#0  0xb7f17410 in __kernel_vsyscall ()
#1  0xb7d7fc07 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb549c654 in ?? ()
#3  0xb549bec7 in ?? ()
#4  0xb56f6afb in ?? ()
#5  0xb56f91a0 in ?? ()
#6  0xb56fcca2 in ?? ()
#7  0xb5e8808f in ?? ()
#8  0xb5e875b5 in ?? ()
#9  0xb5e8732b in ?? ()
#10 0xb787740b in ?? ()
#11 0xb78721c3 in ?? ()
#12 0x0809c63b in mono_runtime_exec_main ()
#13 0x0809c933 in mono_runtime_run_main ()
#14 0x0805acd9 in mono_main ()
#15 0x0805a122 in ?? ()
#16 0xb7cc9450 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#17 0x0805a091 in ?? ()
#0  0xb7f17410 in __kernel_vsyscall ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Abandon
:cry:

Re: Springie the AutoHost

Posted: 15 Nov 2008, 17:35
by det
You have to configure Springie to use /usr/games/spring-dedicated.
You can find the setting in main.xml:

Code: Select all

<ExecutableName>/usr/games/spring-dedicated</ExecutableName>

Re: Springie the AutoHost

Posted: 15 Nov 2008, 21:45
by racoon97
Thank you soo much det.

Re: Springie the AutoHost

Posted: 21 Nov 2008, 12:28
by Licho
springie 34b fixes potential crash epxloit of dedicated server.

Re: Springie the AutoHost

Posted: 25 Nov 2008, 14:46
by andre
can you please re-enable that everything what's going on with springie is sent to stdout (chatmesseages, !-commands, game starts, balance, etc)? i always used it to log everything but this isn't possible anymore now. (or atleast add some cli-arg that it can be enabled on demand.)

Re: Springie the AutoHost

Posted: 05 Dec 2008, 05:31
by TitanTree
hi,
Thanks for the springie host. I've been attempting to set it up on a windows PC (winxp and vista). Has anyone got a working install on windows?

My problem is:

* I can run springie and join one of its hosted games
* I can send commands like, !start
* When I start the round, the battle locks and the connected clients load spring and sit on the connection to server screen. This is where the clients stay, waiting for springie to host.
* I ALT-TAB to check springie, and find it locked, then unlocked the game straight away.

[15:29:19] <TitanTree> !start
[15:29:19] <AI01_TitanTree> please wait, game is about to start
[15:29:21] <AI01_TitanTree> game locked
[15:29:22] <AI01_TitanTree> game unlocked

* All clients return to battle room after they time out... or esc.
* We could try again, but same result.

I don't think its related to the firewall or anything because I can host manually with no problems.

I've turned springie into debug mode, msg box etc and no outputs so could this be a spring-dedicated.exe issue and not springie? Any debug ideas?

Thanks

Re: Springie the AutoHost

Posted: 05 Dec 2008, 13:25
by Licho
Check log file, it probably cannot find dedicated server. Also make sure you have latest dedicated server compatible with 77b5

Re: Springie the AutoHost

Posted: 14 Dec 2008, 08:41
by TitanTree
Hi thanks for the reply.

I confirmed no errors were in the springie_errors.txt file.
I have also confirmed I'm running the latest version of the spring-dedicated.exe.

I then checked the infolog.txt for where my spring-dedicated.exe file is running, it appears to just stall.

This is all infolog.txt has in it... no errors, is this spring-dedicated.exe having problems?
---
Using read-write data directory: c:\program files\spring2\
Scanning: c:\program files\spring2\maps
Scanning: c:\program files\spring2\base
Scanning: c:\program files\spring2\mods
---

I join from spring installed at c:\program files\spring\ But run spring-dedicated.exe from c:\program files\spring2\

Thanks for any advice.
TT

Re: Springie the AutoHost

Posted: 16 Dec 2008, 06:37
by momfreeek
same issue here on xp.

If I run springie form my normal spring folder and use the spring.exe it works fine, if I use spring-dedicated.exe no-one can connect. infolog just has those 3 lines, no springie errors.

Does anyone have the dedicated exe working on xp?

Re: Springie the AutoHost

Posted: 16 Dec 2008, 13:15
by Licho
Make sure you have latest build of it. Grab the one from jobjol, that should work. If not ask other people who have it running under windows.
I have only custom modified dedicated with bugfixes needed for planetwars.

Re: Springie the AutoHost

Posted: 16 Dec 2008, 13:26
by Licho
Best way to test dedicated is to start it with commandline and give it path to strartup script as parameter (generated by springie for example springie8452.txt).

You should then see what is the problem.

Re: Springie the AutoHost

Posted: 17 Dec 2008, 11:05
by marcel.lowrie
I'm interested in using this for a small project. I've been reading a good bit, but im finding it hard to get a clear set of instructions on how to get this working.

I got the source and the binaries, both of which i have working. It's confusing me a bit by requiring a log in?

Hoping someone can clarify this for me, if its not too much trouble.

Re: Springie the AutoHost

Posted: 17 Dec 2008, 13:40
by Licho
It needs spring lobby account.. give it some..

Re: Springie the AutoHost

Posted: 26 Dec 2008, 14:28
by Pithikos
Same problem here :/

Tryied rapidly to host but only made it to the screen where it says "connecting.."

I am able to host from lobby though :?

Re: Springie the AutoHost

Posted: 29 Dec 2008, 20:33
by [mft]Rrrr
have some problems on linux (ubuntu 8.04 HH) when trying to start ModInfoBuilder or Springie.

Code: Select all

~/spring$ mono ModInfoBuilder.exe
Needs path to spring
~/spring/infolog.txt contain

Code: Select all

using configuration source "/home/zzzzzzz/.springrc"
OS: Linux
Using read-write data directory: /home/zzzzzzz/spring/
Using read-only  data directory: /home/zzzzzzz/.spring/
Using read-only  data directory: /usr/share/games/spring/
...
so i am frustrated which path to use. looks like all this folders contain unique data (maps, mods, etc. some are empty).
any help or suggestion? (which files/pathes Springie and ModInfoBuilder needs?)

ps: thanks for Springie!

Re: Springie the AutoHost

Posted: 29 Dec 2008, 20:49
by Licho
Ahh right i never tested builder on linux, im using windows. It needs spring path and assumes mods are in "mods" subfolder and maps in "maps".
Its probably best to ask someone to generate those files on windows and just copy them.

Re: Springie the AutoHost

Posted: 29 Dec 2008, 20:49
by Licho
Oh wait nm, it should need path to unitsync.so

Re: Springie the AutoHost

Posted: 01 Jan 2009, 14:41
by zerver
Hi!

I suggest a better votekick/voteban system, where you can vote even if there are other ongoing votes.

Basically, anyone should be able to type !votekick username at any time and if enough people do so, the kick/ban is executed.

The purpose is to eliminate the problem with morons that start votes for other things just to avoid getting kicked themselves.

In addition to this, it might be good if votekick always implies 1 minute ban, because the morons tend to come right back in after getting kicked.

What do you think?