Page 25 of 41

Posted: 23 Dec 2006, 16:49
by duncs
CompWiz wrote:i cant wait for this this
the main reason i use windows is for spring...
agreed. I'm switching back to linux when this works :D

Posted: 23 Dec 2006, 18:13
by hollowsoul
Still working away...
Made nice progress on Wizard for setting up spring atm.
Taking small break, while Gentoo is fixing itself so can upload screenshots.

Basicly simply dialog to ask user for following in 3 steps
Profile Name
Spring Binary
Spring Datadir

It checks for file or directory if it exists, u are allowed onto next step. So should avoid peep having problems getting UnityLobby Setup.
Will have it commited to later tonight.

Also hoping to get remembering window sizes & package maintainer support for automatic user setup for UnityLobby done aswell.

Will upload some screen of simply wizard in awhile

Posted: 24 Dec 2006, 09:39
by hollowsoul
Small update...
Added GUI wizard for UnityLobby Setup with simple error checking.
Should be easier now to setup UnityLobby

Will post screenshots when i get gimp compiled.
Anyway back to working on UnityLobby

note:- If someone is bored, i can added Images to wizard for the side or header. So if u got some images to add would be nice

Posted: 24 Dec 2006, 10:15
by hollowsoul
GUI Wizard Screenshots

Profile
Image

Spring Binary <user typo == no file @ location, faded out button>
Image

Spring Binary <correct location == a file, user able to go to next step>
Image

Spring Datadir
Image

Auther Notes
Image

Next todo today is to
  • add window size saving support
    add support for automatic setup for package maintainers, so user doesnt need to go through the setup wizard

Posted: 24 Dec 2006, 12:01
by BvDorp
Wow, some nice work being done here!

How far till the multiplayer actually works? I can see loads of ppl switch :) This will get u a userbase and loads of support, so bughunting will be much faster!

Posted: 24 Dec 2006, 12:14
by hollowsoul
Hoping to get it working in under 24 hours.
Be nice to have basic multi player working tonight / tomorrow.

Another 2 commits
  • Anyway more changes are code cleanup of Battle.py
    Switched to SPE python ide so thus the reason of some code clean ups

    Also added support for saving Battle Window sizes

Posted: 24 Dec 2006, 12:51
by own3d
From the point of view of the wizzard a "browse" button would be very useful in getting the right directory. Its looking good so far keep it up.

Keep us updated on the status of multiplayer support we're keen to know when its up and running :)

Posted: 24 Dec 2006, 13:03
by hollowsoul
Tried before tryin to get a browse view for picking directory, but couldnt figure out an easy way without writting a widget using gdk from scratch basicly.

To much time to implentment it, got more thinks to code that require less work.

But gonna to work on finish code for auto configuring for package maintainers.

i.e in Gentoo case
the ebuild will add its own file when it installs UnityLobby

Which will contain a default
  • Profile Name
    Location of Spring Binary
    Location of Spring Datadir
So when UnityLobby is launched when profiles == 0 will check if this file exists. If it does will read file settings & setup profile automaticly with no user input. User wont see the Setup Dialog, UnityLobby will just startup

Posted: 24 Dec 2006, 14:06
by hollowsoul
Keeping sending in bug report people. I coding away with little time for proper testing to make my deadline.

Also found a nice tool that got installed alongside SPE my new IDE tool i using.
PYCHECKER http://pychecker.sourceforge.net

Already found a few bugs & some imports i didnt need anymore :)

Another commit
  • Anyway more code cleanup in GUI_Lobby.py
    Fixed some Lobby bugs
    Add support for saving Lobby window size

Posted: 24 Dec 2006, 14:43
by Rudirogdt
cant compile the lobby i used the how to of the other thread

scons omni etc...

Code: Select all

.spring/spring-gui-3.12$ scons omni

scons: *** No SConstruct file found.
File "/usr/lib/scons/SCons/Script/Main.py", line 1023, in _main

Posted: 24 Dec 2006, 14:56
by Icebird
actually you must type 'scons omni' in the main spring folder, not in the Unity one

Posted: 24 Dec 2006, 14:59
by hollowsoul
edit nm looks like u grabbed older spring-gui.

Posted: 24 Dec 2006, 15:52
by Rudirogdt
spring-gui-3.12a.tar.bz2 ?!?

hmm well in the main dir i get the same error...

where have the files exactly to be?

the readme link isnt up to date

Posted: 24 Dec 2006, 16:00
by hollowsoul
Spring-GUI is much older version of UnityLobby.
Just basic single player & options. Will only work with older version of spring 71 (maybe 72 aswell) due to changes with unitsync.

When u are compiling spring
u also type scons omni doesnt matter when u type it or even after u built spring

then look inside omni directory u will see a file called unitsync.so
U grab that file & put into spring-gui directory.
U will also need to edit GLOBAL.py i believe to configure spring-gui


Basicly UnityLobby is newer version after overhaul.
It has higher requirements
  • pygtk 2.10
    gtk 2.10
    python imaging library (PIL)
    python 2.4
but it works with newer spring releases.

Posted: 24 Dec 2006, 16:06
by hollowsoul
Another UnityLobby commit
  • Fixed 2 bugs, 1 in Lobby Color 1 in Setup Wizard
    Changed to saving Lobby Colors in profile. And not per lobby server config.
    Added Support for saving Lobby Preferences Window Size
note:- had to beef up config version again due to changes. So will need to go through GUI Wizard again

Posted: 24 Dec 2006, 16:06
by Rudirogdt
and where do i get it ?

Posted: 24 Dec 2006, 16:09
by hollowsoul
UnityLobby is in spring svn
If u grabbed spring from svn. U should see it in trunk/UnityLobby
Double check u used right subversion repo as it was changed a couple of months ago & post might be outof data

Subversion repository:
https://taspring.clan-sy.com/svn/spring/trunk/

Websvn
https://taspring.clan-sy.com/wsvn/listi ... rev=0&sc=0

Posted: 24 Dec 2006, 16:17
by imbaczek
If it's compatible with 0.74b1, could you please release a tarball only with the important stuff? That is, compiled unitsync (and whatever else needs to be) and required Python source?

Posted: 24 Dec 2006, 16:45
by Rudirogdt
hmmm ok seems to be that there is no gtk2.10.0 for my system out (kanotix/debian) so i have to wait
:/

Posted: 24 Dec 2006, 17:41
by hollowsoul
Another small commit to svn
  • UnityLobby:- Added displaying Lobby Preferences -> Add Lobby Server.
    When user tries to connect to lobby server & doesnt have lobby server
    account setup
Ok think that clears know issues for now. Back to working on Battle Protocol