New lobby client "framework" is done - Page 4

New lobby client "framework" is done

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

It should be fixed now...I forgot to add that file to the repository.... :o
User avatar
Cheery
Posts: 129
Joined: 09 May 2005, 10:30

Error in testing!

Post by Cheery »

Your thing causes program error when it exits, I gues something is not right now. :-/

When I get in and out, it says Python.exe program error.
It must have been from some the new code because it has not been happened before.

I wish it's my computer.
User avatar
dotnetnoobie
Posts: 3
Joined: 27 Jun 2005, 08:13

the python client

Post by dotnetnoobie »

:shock: do u need to download all the files and compile it or somthing like that?

I have downloaded the phython stuff and installed it

but i can only really see that i could download all the files one but one then try to compoile it somthow...

i have never use any python stuff before, so i really don't know wot i am doing...

could someone plaese provide some Noobie Phython instructions for us PythonNoobies ?
User avatar
Cheery
Posts: 129
Joined: 09 May 2005, 10:30

Post by Cheery »

Heh, install python, from python.org.
Then install pythonwidgets, from wxpython.org.
After this all, run Springclient.py.
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Re: the python client

Post by Ace07 »

dotnetnoobie wrote::shock: do u need to download all the files and compile it or somthing like that?

I have downloaded the phython stuff and installed it

but i can only really see that i could download all the files one but one then try to compoile it somthow...

i have never use any python stuff before, so i really don't know wot i am doing...

could someone plaese provide some Noobie Phython instructions for us PythonNoobies ?
http://taspring.clan-sy.com/phpbb/viewt ... 8396#18396

Download this, it should save you time. Then look at the first post in the thread on how to install python properly...it isn't too hard. Most of it is point and click. =)

@Cheery: The latest version should fix the crashing problem.
Last edited by Ace07 on 03 Jul 2005, 04:09, edited 2 times in total.
User avatar
Cheery
Posts: 129
Joined: 09 May 2005, 10:30

Post by Cheery »

Code: Select all

F:\SprintLobbyInterface>SpringClient.py
Traceback (most recent call last):
  File "F:\SprintLobbyInterface\SpringClient.py", line 34, in ?
    from gui_lobby import gui_lobby
  File "F:\SprintLobbyInterface\gui_lobby.py", line 554
    _icon.CopyFromBitmap(wx.Bitmap(os.path.join("resource/xpm/","spring-redlogo.
xpm"), wx.BITMAP_TYPE_XPM))
    ^
There you go another one after this day's test.
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

Damn...Indentation really matters in python. If you notice carefully, there is a space in front of that particular line.... :?

Fixed now though...
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

.

.. I ran it and the only message I got is displayed in the Dos
dialog box.

Image


I'm not sure what this error message means. Also, I got a system
error message.
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

That error is meaningless....

It doesn't affect anything as far as I am concerned...
User avatar
[K.B.] Napalm Cobra
Posts: 1222
Joined: 16 Aug 2004, 06:15

Post by [K.B.] Napalm Cobra »

He's included old stuff thats not being used by the looks of it.
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

The one thing that is bothering me more than that silly error is the fact that the icon doesn't work in Windows! For some reason the function to create the icon fails for some ghey reason... :S
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

I managed to get icons to work in windows....but I had to use an ICO file.... :?

The repository is updated, and you can download the tarball here.
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

NOTE: I am just going to keep bumping this when I release a new build if that is ok...

The newest release has some commandline-like behavior. You can print internal variables straight to the window and set the variables too. My favorite is being able to open windows even with parts of the program disabled...

/open gui_units
/open gui_host

:wink:

Look here to find the information on how to download it!
Torrasque
Posts: 1022
Joined: 05 Oct 2004, 23:55

Post by Torrasque »

Does that mean we can use the lobby and the battle room sepparately?
I'm on vacation and I can't stand to play lan games with friend ;)
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

Torrasque wrote:Does that mean we can use the lobby and the battle room sepparately?
I'm on vacation and I can't stand to play lan games with friend ;)
Still no netcode yet, because we are working on a netcode system that isn't just a patch job. =)
Post Reply

Return to “Engine”