UnityLobby
Moderator: Moderators
Ok, here's a link to my personal, very free and very limited webspace where you can find yourself a unitsync.so. I'm banking on the bet that not many people out there need it. I compiled this on Ubuntu 6.06, using (as of last week) the latest spring svn. I have ABSOLUTELY NO garuntee that it will work on anybody else's computer but my own.
http://ggleague.tripod.com/unitsync.so
http://ggleague.tripod.com/unitsync.so
just tested out 3.08, everything looks good at first glance (after one full skirmish). the graphics seem fine (even on Castle) and I can play as arm or core (no hardcoding). Sorry I didn't notice that earlier; I never play Core...
Let me know if there are any other features you want me to bash out for you.
Oh one thing, the Name and Sound Volume settings don't seem to have any usibility (no buttons associated with them) but I think you already know this.
Let me know if there are any other features you want me to bash out for you.
Oh one thing, the Name and Sound Volume settings don't seem to have any usibility (no buttons associated with them) but I think you already know this.
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
New error, i have the unitsync supplied by keithjr
liam@ubuntu:~$ /home/liam/spring-gui-3.08/main.py
Traceback (most recent call last):
File "/home/liam/spring-gui-3.08/main.py", line 195, in ?
if Config.get_option(ini, 'MAIN', 'STARTUP', '0') == '1':
File "/home/liam/spring-gui-3.08/config.py", line 102, in get_option
set_option(src,section,option,default_value)
File "/home/liam/spring-gui-3.08/config.py", line 114, in set_option
config.set(section,option,value)
File "/usr/lib/python2.4/ConfigParser.py", line 358, in set
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'MAIN'
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
More than likey a typo in GLOBAL.py.
i.e
Make sure u got it set right
Also if u find the typo u will need to nuke below before u try again. As script doesnt check for a failed setup
i.e
Or join irc
irc server = irc.freenode.net
channel = #taspring
i.e
Code: Select all
SPRING_GUI_INSTALL = '/home/deco/spring-config/spring-gui-3.08'
Also if u find the typo u will need to nuke below before u try again. As script doesnt check for a failed setup
i.e
Code: Select all
rm -rv /home/liam/.springdir/localhost:0.0/spring-gui
irc server = irc.freenode.net
channel = #taspring
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Cant atm....
To sunny in ireland atm to be motivated to code much atm.
Only 3 things really need to be done to get it to run on windows atm.
Once i get script to work i post a thread for it in General Discussion.
Atm i am just adding team options to skirmish WIP
Player name & sound volume already added to options menu DONE
Bear in mind all AI is broken for me atm under linux (even if i try a old svn checkout). Might be cause of glibc update is to blame, but cant exactly downgrade glibc without breaking everything. And i dont feel like doing a reinstall
Lastly need to find out what compiler is used to make spring releases, since will need to package unitsync.dll along with script for windows
To sunny in ireland atm to be motivated to code much atm.
Only 3 things really need to be done to get it to run on windows atm.
Once i get script to work i post a thread for it in General Discussion.
- Need to add code to save config values to windows registery (already a standard python module to save to registry just need to find out where in registry the config options for spring are saved )
Also need to do minor changes to os.path.join so its not assuming \ / (only take a few minutes to this one)
Add platform detect to script (already tested it out & simple enough only a few minutes to code aswell)
Atm i am just adding team options to skirmish WIP
Player name & sound volume already added to options menu DONE
Bear in mind all AI is broken for me atm under linux (even if i try a old svn checkout). Might be cause of glibc update is to blame, but cant exactly downgrade glibc without breaking everything. And i dont feel like doing a reinstall
Lastly need to find out what compiler is used to make spring releases, since will need to package unitsync.dll along with script for windows
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
Well my only problems right now, i get no picture of the chosen map come up and when i lick ok to start a skirmish, nothing happens.
And about the weather, gosh, where did those clouds come from!
I am slowly getting more motivation to do stuff, and if it is rainy tomorrow as it is supposed to be i should be able to help you test.
Also have you tried the new AAI? They have just released a new vrrsion for windows and linux.
And about the weather, gosh, where did those clouds come from!
I am slowly getting more motivation to do stuff, and if it is rainy tomorrow as it is supposed to be i should be able to help you test.
Also have you tried the new AAI? They have just released a new vrrsion for windows and linux.
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
For future reference to everyone.
If script doesnt work
PM me your (or pastebin.ca & post a link to it)
GLOBAL.py
AND
(non debspring peep) ~/spring-gui/setup.ini
(debspring peep) ~/.springdir/localhost:0.0/spring-gui/setup.ini
Nothing worse than peep that something is wrong & then dont send the files i ask for.
I ask for those 2 files for the following
To check u edited GLOBAL.py right (its only 3 lines) and setup.ini is to check script got setup alright.
I do know this release works for debspring users as it works for atleast 1 peep (peep had 1 typo in GLOBAL.py. after that was fixed it worked properbly)
If script doesnt work
PM me your (or pastebin.ca & post a link to it)
GLOBAL.py
AND
(non debspring peep) ~/spring-gui/setup.ini
(debspring peep) ~/.springdir/localhost:0.0/spring-gui/setup.ini
Nothing worse than peep that something is wrong & then dont send the files i ask for.
I ask for those 2 files for the following
To check u edited GLOBAL.py right (its only 3 lines) and setup.ini is to check script got setup alright.
I do know this release works for debspring users as it works for atleast 1 peep (peep had 1 typo in GLOBAL.py. after that was fixed it worked properbly)
SVN wotn work with AI's for me using VS 2003 to compile so it isnt a glibc compile, I am not aware fo anyone who has managed to get a post 0.72b1 svn build to play NTai effectively, and submarine cant get AAI 0.7 workign with the latest svn build either.
svn + ai == nightmare
Python bindings for UnitSync wont compile under MS VS 2003 either, when i tried I got "errors exceeded 100 aborting".
Other than that maybe setting it to run settings.exe isntead of modifying the registry would be better.
It sitn too high a priority, I need to replace Spring SP for the next version though as it cant use the sm3 format and I cant compile it and android_x has dissapeared. So if you manage to create a .exe bianry that doesnt require python at all that'd be good.
svn + ai == nightmare
Python bindings for UnitSync wont compile under MS VS 2003 either, when i tried I got "errors exceeded 100 aborting".
Other than that maybe setting it to run settings.exe isntead of modifying the registry would be better.
It sitn too high a priority, I need to replace Spring SP for the next version though as it cant use the sm3 format and I cant compile it and android_x has dissapeared. So if you manage to create a .exe bianry that doesnt require python at all that'd be good.
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
@ AF
Regrading AI
I used an old svn check revision & (old NTAI 7.5 & JCAI) ai's worked for me
I use the same revision now & ai's = messed up (i.e cant build anything but workers = weird). Only thing i can think of is glibc update that could be cause of it. (Think i need a reinstall
using stable branch of gentoo to avoid it)
As for script (gonna try hardest to get unitsync to compile somehow).
Need unitsync for map previews & sides info atm.
As for registry found out where it is kept, did search using regedit
Plus script config / skirmish = slightly linked together. Rather get windows reg support added, then support to different branchs for script
Regrading AI
I used an old svn check revision & (old NTAI 7.5 & JCAI) ai's worked for me
I use the same revision now & ai's = messed up (i.e cant build anything but workers = weird). Only thing i can think of is glibc update that could be cause of it. (Think i need a reinstall

As for script (gonna try hardest to get unitsync to compile somehow).
Need unitsync for map previews & sides info atm.
As for registry found out where it is kept, did search using regedit

Plus script config / skirmish = slightly linked together. Rather get windows reg support added, then support to different branchs for script
Last edited by hollowsoul on 19 Jul 2006, 23:41, edited 1 time in total.
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
The whole point in asking, was to see if anyone said yes dont need a response sayin no point from everyone possible, just to see if 1 peep said yes i would add it.
Only a few lines of code (just dont wont to add unnessary stuff to UI if noone is gonna use it)
And u already mentioned twice unitsync wouldnt compile for u. On this page. Still doesnt stop me from tryin to fix the problem.
Only a few lines of code (just dont wont to add unnessary stuff to UI if noone is gonna use it)
And u already mentioned twice unitsync wouldnt compile for u. On this page. Still doesnt stop me from tryin to fix the problem.
Yes, I'd love that. My AI doesn't do anything besides build some buildings right now, so don't hold your breath on that front. Right now I'm just using .cheat .spectator, which works well enough, but getting it to just make me a spectator and separate from the AIs would be nice.hollowsoul wrote:Outof curiosty any ai dev's interested in a spectator option for skirmish ?
i.e so u can use pygtk to setup match etc & then watch it play out versus other bots.
If not guess no point adding it in atm
Tim
I'm sorry to hear about everybody's SVN and AI problems. Since I've been running with debspring, I haven't been playing with svn and so I can still get a working game and everything. I really really don't have a lot of free time but what little I have I can still use to try to help test changes if you are unable to.
I've found a strange behavior, not sure if it is spring-gui, spring in general, or just me...
If I try to start a game without a Player, as in, let's say, NTAI Arm vs NTAI Core on any map, the program gets a Segmentation Fault before the splash screen.
If, however, I rearrange it so that there is a Player on the list but the Player isn't first (say, NTAI Core then Player Arm), I get this message, also before the splash screen comes up
Just chiming in.
If I try to start a game without a Player, as in, let's say, NTAI Arm vs NTAI Core on any map, the program gets a Segmentation Fault before the splash screen.
If, however, I rearrange it so that there is a Player on the list but the Player isn't first (say, NTAI Core then Player Arm), I get this message, also before the splash screen comes up
Code: Select all
Info: SHUTDOWN ERROR
Error sending data. 22
Just chiming in.