Springie the AutoHost - Page 29

Springie the AutoHost

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

hmm thats strnage..
basically springie uses 2 things- it uses hashes from mapinfo.dat and then updates them from springdownloader system.
If SD system contains incorrect hash for given map, springie will host this incorrect one.
You might be experiencing stuff like this.
fischkopf01
Posts: 22
Joined: 04 Jun 2008, 15:48

Re: Springie the AutoHost

Post by fischkopf01 »

well that map/unsync issue is not a problem, its just strange

i figured out how to get springie running and configured (on the eeebox of a mate via vnc) and so im happy now

i guess the best advice u gave me was to "read more" but i was just too nerved at that moment :oops:

is there a way to remove mods from springie because now there are like hundreds of ca versions in it now and i have to scroll for half an hour to find the mod i wanna play :roll:
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

You can add filtering in the settings.
Also if you genereate modinfo without CA there wont be any CA versions.
fischkopf01
Posts: 22
Joined: 04 Jun 2008, 15:48

Re: Springie the AutoHost

Post by fischkopf01 »

You can add filtering in the settings.
i cant find "filter" option are u talking about the "limitmods" setting ?
Also if you genereate modinfo without CA there wont be any CA versions.
the spring installation i executed modinfobuilder/generated modinfo.txt in has 2 mods in the mods folder ba6.81 and BAChickens154 not one single ca file...

p.s. its funny now im synced instantly when i join *confused*

anyway it runs now so its good
fischkopf01
Posts: 22
Joined: 04 Jun 2008, 15:48

Re: Springie the AutoHost

Post by fischkopf01 »

springie runs fine

id just like to say that it would be a good thing to put into the readme.txt that if u have springie running on a server and not ur home pc u should create the modinfo.dat and the mapinfo.dat in the spring folder on ur pc and then upload them to the spring folder on the server to have all ur maps and mods in springie from the start

i also wonder why its not mentioned anywhere that u have to put all springie files direcly into the spring folder, because otherwise it wont work

if u put all the needed info in the readme this thread wouldnt be that long i guess

greetings and thx for making springie

fish
User avatar
momfreeek
Posts: 625
Joined: 29 Apr 2008, 16:50

Re: Springie the AutoHost

Post by momfreeek »

After running modinfobuilder my unitsync.log has a bunch of errors at the end. Does this matter?

Code: Select all

...
unitsync: syncer: get full unit 367 name
unitsync: error: GetOptionStringMaxLen: wrong option type
unitsync: error: GetOptionNumberMin: wrong option type
unitsync: error: GetOptionNumberMax: wrong option type
unitsync: error: GetOptionStringMaxLen: wrong option type
unitsync: error: GetOptionNumberMin: wrong option type
unitsync: error: GetOptionNumberMax: wrong option type
unitsync: error: GetOptionListCount: wrong option type
...
> 100 lines of errors

I've tried NOTA 1.54 and BA 6.81 with a cross section of dedicated exes from here: http://planetspring.free.fr/spring/dedicated/, all the same.
I don't understand the difference between the executables (tdm/caii prefixes are foreign) so I tried loads.

I've read and tested enough and I fell pretty sure I'm doing everything I'm supposed to, but the host always exits before giving a chance to connect, same thing from the command line.
Licho wrote:There are enough autohosts. Its not meant for ordinary users. Its meant for experts.
That means for people, who can follow simple instructions in the first post or find some of the recent posts helpfull.
Fair point... but not for all mods. THere hasn't been a NOTA autohost for a few days and its much missed. I've just got a second computer and I'd really like to get one up and running. Any help would be much appreciated

windows XP
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

Does it work still? Perhaps get latest zip with springie, it contains my modinfo - with most mods.
User avatar
momfreeek
Posts: 625
Joined: 29 Apr 2008, 16:50

Re: Springie the AutoHost

Post by momfreeek »

I downloaded from the link on first post today, thats the latest?

So I can skip modinfobuilder if the mod is already on the list? Thats one less thing that could be the problem, its hard to tell whats wrong with the lack of output.

What should the exe do when started from the command line? No output but the process stays running? I got that a few times but it would still always close immediately when running from springie.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

I have no idea if its latest, i doubt it. ..

Regarding exe what do you mean?
What exe do you mean?
User avatar
momfreeek
Posts: 625
Joined: 29 Apr 2008, 16:50

Re: Springie the AutoHost

Post by momfreeek »

I downloaded from:
http://springie.licho.eu/springie.zip
last modified: 07-Mar-2009 apparently

assuming you keep it up to date in that spot, your link in first post is good.

By exe I mean the dedicated-spring.exe

Starting it from the command line with:
spring-dedicated "C:/Program Files/Spring/springie8452.txt"
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

You dont start dedicated - springie does it..
User avatar
momfreeek
Posts: 625
Joined: 29 Apr 2008, 16:50

Re: Springie the AutoHost

Post by momfreeek »

I start springie up. hosting on 8452. BA 6.81 (was already in the mod list with springie).

Then from my other computer on network, I'm joining game and hitting !start

springie does:
-game locked
-game unlocked
before the client has counted to 1.

Am I being really dumb testing with a 1 player game across a lcoal network?

-----------------

spring-dedicated.exe and the .dll are in my spring folder.. if i run:
spring-dedicated "C:/Program Files/Spring/springie8452.txt"
(just the local filename would work i guess.. or must it be local?)

that will test the dedicated-spring right?
different versions give me different results.

-----------------

from: http://planetspring.free.fr/spring/dedicated/?M=A
I'm assuming one of these is right.. the latest builds:

spring_dedicated_0.78.2.1-540-g661b39c.zip --- 08-Mar-2009 15:01 852k
{cmake}spring_dedicated_0.78.2.1-82-gf40756f.zip --- 25-Jan-2009 01:29 923k

but there's also:

tdm.spring_dedicated_0.78.2.1-190-g1dfab28.zip --- 09-Feb-2009 00:36 829k
mingw32.spring_dedicated_0.78.2.1-208-g9c096f6.zip --- 13-Feb-2009 03:43 935k
caiinterface_spring_dedicated_0.78.2.1-372-g75c5cc3.zip --- 13-Feb-2009 12:21 836k

and many more builds of each of those flavors. Builds from months and months ago give me some output (connecting on this port ect....) then time out after a while. Some newer builds start a process fro a while but they don't give me any output and none wait fro connections when started from springie.
User avatar
momfreeek
Posts: 625
Joined: 29 Apr 2008, 16:50

Re: Springie the AutoHost

Post by momfreeek »

oh.. suddenly it works

Is it really cause I moved it from "c:/program files/spring" to "c:/spring"? Not allowed spaces in the file names?

If it helps anyone else, here's what I did (installing on xp):
- Make a copy of spring directory (to somewhere without spaces in the path). remove maps, leave mods you want to host.

- download springie, unzip and paste all the files into the same folder.

- download a dedicated-spring from here:
http://planetspring.free.fr/spring/dedicated
find the latest version that starts with {cmake}. unzip and paste the files alongside springie

- start up springie.exe. fill in details including the path to dedicated-spring.exe. Use springlobby/tasclient to create a new account for the bot. make sure router ports are forwarded.

- If you want to host a mod thats not listed, you'll have to use the modinfobuilder.exe program. Run it from the command line with one parameter: the spring directory thats its sitting in.

- restart springie and test. Then get someone else to join and test of course ;)
one other thing I noticed, Springie was throwing errors at random intervals:

Code: Select all

Exception while dispatching ADDUSER ??? CA 1600
System.ArgumentException: An item with the same key has already been added.
...
This appears to be the same bug that causes tasclient to repeatedly inform me that user <> has joined the server. If you put springie on debug it'll crash every time.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

Yeah its actually spring server bug..
Aegis must fix it.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Springie the AutoHost

Post by Peet »

Tasserver+lanmode bug actually.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

===============================
SPRINGIE 1.35
===============================
* improved !manage
* added planetwars support
* support for team-spectator and backup players (CA)
* better automatic rehost to latest version of mod


(if you have self-updating on, your springie has already updated)
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: Springie the AutoHost

Post by TheFatController »

Licho wrote:* better automatic rehost to latest version of mod
Is this for CA only?

If it also works for BA what protection against fake releases is in place?
User avatar
Otherside
Posts: 2296
Joined: 21 Feb 2006, 14:09

Re: Springie the AutoHost

Post by Otherside »

afaik its for CA only

it uses tracker to know which version is latest i think
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

Its for all mods.
Not just for CA
simply put beggining of mod name to "automatic rehost" and once new version of this mod is registered, it will auto rehost to it.
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: Springie the AutoHost

Post by TheFatController »

Licho wrote:Its for all mods.
Not just for CA
simply put beggining of mod name to "automatic rehost" and once new version of this mod is registered, it will auto rehost to it.
I can guarantee this will be abused by yan or some other fathat for BA /sigh
Post Reply

Return to “General Discussion”