how to get AIs to work under Debian Lenny

how to get AIs to work under Debian Lenny

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
kaiserbert
Posts: 50
Joined: 21 Jul 2006, 22:11

how to get AIs to work under Debian Lenny

Post by kaiserbert »

Hi All,

i want to get the AIs to work. I installed the spring and springlobby through the ubuntu repository. I didnt find any contents for AIs in my package manager. How to get AIs to work ?

regards bert
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: how to get AIs to work under Debian Lenny

Post by hoijui »

I dont know these packages.. they dont come with any AIs?
usually, the engine package should contian them.
if not, you can bug the package maintainer for debian (dunnu who that is), or compile the AIs yourself. or maybe even easier, get someone with a linux distribution to send them to you (make sure hte uses 32/64bit (the one you have), everything else should not make a difference).
i could send you the 32bit versions only.
kaiserbert
Posts: 50
Joined: 21 Jul 2006, 22:11

Re: how to get AIs to work under Debian Lenny

Post by kaiserbert »

I am not sure what the Problem is, but i installed spring-engine and springlobby, further on i can run springlobby and than start a single player session but without AIs. I get the message that my Springlobby cant find AIs and when i run spring the Game is fast over, because i am the winner, because there is no opponent.

regards bert
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: how to get AIs to work under Debian Lenny

Post by hoijui »

well yeah... i am using ubuntu, and i say the AIs SHOULD be in the engine package. if they are not on debian, then (see previous post).
kaiserbert
Posts: 50
Joined: 21 Jul 2006, 22:11

Re: how to get AIs to work under Debian Lenny

Post by kaiserbert »

hoijui wrote:well yeah... i am using ubuntu, and i say the AIs SHOULD be in the engine package. if they are not on debian, then (see previous post).
Ok i got it. I dont know why it is, but there arer 2 files /usr/lib/libunitsync.so and /usr/lib/spring/unitsync.so. Generally springlobby points to /usr/lib/spring/unitsync.so which seems not to work. The other one lets me show up maps and AIs in springlobby. But when i try to run single player through springlobby i get the message.

Code: Select all

runtime assertion ( src/tasserver.cpp:1698 ): invalid m_battle_id value
What shall this ?

regards bert
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: how to get AIs to work under Debian Lenny

Post by hoijui »

i dont know why you got hte two unitsyncs, guess one is old, the otherone new (maybe from the source install?)
also, you may have an old version of springlobby, please post the version number.
try to contact the debian spring package maintainer too, he might be hte best to help you.
kaiserbert
Posts: 50
Joined: 21 Jul 2006, 22:11

Re: how to get AIs to work under Debian Lenny

Post by kaiserbert »

It is SpringLobby 0.0.1.10446 (Ubuntu Intrepid), so it is a ubuntu package :-)
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: how to get AIs to work under Debian Lenny

Post by koshi »

a)problem could have been averted had you deleted all *unitsync.so prior to installing the package like i suggested in the other thread
b) can you actually start spring now and are only reporting that message as such?
c) bug yokozar or det to update the package current SL is 0.5
kaiserbert
Posts: 50
Joined: 21 Jul 2006, 22:11

Re: how to get AIs to work under Debian Lenny

Post by kaiserbert »

koshi wrote:a)problem could have been averted had you deleted all *unitsync.so prior to installing the package like i suggested in the other thread
b) can you actually start spring now and are only reporting that message as such?
c) bug yokozar or det to update the package current SL is 0.5
a) i uninstalled all '*unitsync*' files, so that i dont find any of this files. find / -name '*unitsync*' find no files anymore of unitsync. After this i installed the ubuntu packages on my debian lenny system.

Then i search for '*unitsync*' again and found,
/usr/lib/libunitsync.so
/usr/lib/spring/unitsync.so


b)Further on there is no error message running spring directly. I can run spring and play single player against AIs by execute spring directly not springlobby.

c)i believe this is not a simple task. My system is debian lenny and i do not want to uprade at this time to a testing system. I will try to get jaunty repository to work, but i think it will not work on debian lenny(stable). There are to many dependency problems.

thanks for your help
regards bert
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: how to get AIs to work under Debian Lenny

Post by Auswaschbar »

kaiserbert wrote:Then i search for '*unitsync*' again and found,
/usr/lib/libunitsync.so
/usr/lib/spring/unitsync.so
There should be only 1 of them installed by the packages. The other one should be removed.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: how to get AIs to work under Debian Lenny

Post by koshi »

https://launchpad.net/~spring/+archive/ppa/+files/spring_0.79.1.2-0ubuntu1~9.04~ppa1.diff.gz wrote:--- spring-0.79.1.2.orig/debian/spring-engine.links
+++ spring-0.79.1.2/debian/spring-engine.links
@@ -0,0 +1 @@
+/usr/lib/libunitsync.so /usr/lib/spring/unitsync.so
it's a symlink
kaiserbert
Posts: 50
Joined: 21 Jul 2006, 22:11

Re: how to get AIs to work under Debian Lenny

Post by kaiserbert »

Sorry i had not checked whether this a symlink or not. It is a symlink. But however it doesnt work in springlobby. :-)
kaiserbert
Posts: 50
Joined: 21 Jul 2006, 22:11

Re: how to get AIs to work under Debian Lenny

Post by kaiserbert »

kaiserbert wrote:The other one lets me show up maps and AIs in springlobby. But when i try to run single player through springlobby i get the message.

Code: Select all

runtime assertion ( src/tasserver.cpp:1698 ): invalid m_battle_id value
What shall this ?
I compiled springlobby manually and tried to run a single player game again and got more information. Springlobby tries to execute /usr/local/games/spring but my spring binary file is located in /usr/games/spring.

Is there a possibility to set up the path to spring ?
I didnt find any thing related to this.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: how to get AIs to work under Debian Lenny

Post by koshi »

open up SpringLobby, goto Options tab -> Spring
Post Reply

Return to “Linux”