SpringLobby - Page 16

SpringLobby

Moderators: Moderators, Lobby Developers

Locked
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

Also, I managed to cause a crash when I tried replying to someone who messaged me after they logged off.
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

YokoZar: Bot's always come last, if not we break TASClient compability. I'm thinking of adding a feature that will send the script from server to all the clients if all clients support it, then the hoster will have full control, maybe even be able to move the startpositions. Also we are going to add real singleplayer soon and then team will be eq. to startpos.

Strange about the offline chat bug, I though I fixed that. Anyway I think I fixed it now in latest svn.

bruno07: Thanks for reporting, it should be fixed now :-) Can you confirm that?
bruno07
Posts: 5
Joined: 26 Jul 2007, 02:37

Call GetMapCount before GetMapName.

Post by bruno07 »

Deleting my config file .SpringLobby and using svn revision 547.

I still get:

Code: Select all

unitsync: Unitsync assertion failed: tools/unitsync/unitsync.cpp:313: Array index out of bounds. Call GetMapCount before GetMapName.
Segmentation fault
Editing a working configfile so the LastMap line points to a map that doesn't exist also still cause segfault.

/Allan
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

bruno07: Poked around with it a bit more now, might work :-) If not it's probably a more complicated problem.
bruno07
Posts: 5
Joined: 26 Jul 2007, 02:37

LastMap

Post by bruno07 »

I can confirm it now works with no LastMap config. :-)

If i delete the last map hosted from my spring maps dir, the config refer to a non existing file and the lobby segfaults.

/Allan
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Just installed SpringLobby to test it out today and found a few bugs. Sorry if these have been reported, but I dont really have time to read through the thread and all the tickers.

Version: v0.0.1.0547

Click on game which you dont have map gives you mesasage:

"Do you want me to take you to the download page?"

If you click no, springlobby quits with error message;

Code: Select all

 ** JoinBattle(  ): 
** OnJoinedBattle(  ): 
** ChatPanel( wxWindow* parent, Battle& battle ): 
** _CreateControls(  ): 
-- GetMinimap(  ): : Cache lookup failed.
terminate called after throwing an instance of 'std::logic_error'
  what():  Map does not  exist
Aborted (core dumped)
If you click yes; It doesnt bring up UF (I assume this just hasn't been implemented yet, since links dont work too.) EDIT: sometimes it crashes too with :

Code: Select all

** OnJoinedBattle(  ): 
** ChatPanel( wxWindow* parent, Battle& battle ): 
** _CreateControls(  ): 
-- GetMinimap(  ): : Cache lookup failed.
terminate called after throwing an instance of 'std::logic_error'
  what():  Map does not exist
Aborted (core dumped)
Also if internet is down, and you try to connect with springlobby, it just freezes; would probably be useful if it would give an error message.


SpringLobby is shaping up nicely; will be very nice once all features are implemented (sorting, external links etc..)
Last edited by Lippy on 21 Aug 2007, 18:51, edited 1 time in total.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

the map/mod-links not working could mean that you don't have a BROWSER environment variable

try:

Code: Select all

echo $BROWSER
if it outputs nothing, or a wrong program, change it with:

Code: Select all

export BROWSER=/path/to/it
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Brain Damage wrote:the map/mod-links not working could mean that you don't have a BROWSER environment variable

try:

Code: Select all

echo $BROWSER
if it outputs nothing, or a wrong program, change it with:

Code: Select all

export BROWSER=/path/to/it
My env variable is /usr/lib/mozilla-firefox/firefox. Looks fine to me...
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

Lippy wrote:My env variable is /usr/lib/mozilla-firefox/firefox. Looks fine to me...
i don't have firefox installed, but that looks wrong to me

have you tried running that in a console?

i think the correct path should be something like:

Code: Select all

/usr/bin/firefox
or

Code: Select all

/usr/bin/mozilla-firefox
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

Also, let me formally request that you implement handicaps :)
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

Lippy: The crash bug should be fixed now, can you confirm that?
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

tc-, thanks for your amazing work so far. Springlobby really is shaping up.

I want to ask you a personal favor, and it's a big one. Please implement single player fully within a week. That way, I can package up a working single player kernel panic for Ubuntu's next release. New packages are due by August 30th, and it'll probably take me a couple of days to figure it out completely.

Thank you so much.
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

YokoZar: I can try but I can't promise anything. It sounds resonable though, one week should do to get it somewhat stable.

Despite what some people say about single player beeing stupid, a lot of people are asking for it. And I understand them, sometimes I get tired of always getting my ass kicked in online battles :-)
longhair
Posts: 19
Joined: 26 Apr 2006, 00:22

Post by longhair »

Lippy wrote:
My env variable is /usr/lib/mozilla-firefox/firefox. Looks fine to me...


i don't have firefox installed, but that looks wrong to me

have you tried running that in a console?

i think the correct path should be something like:

Code:
/usr/bin/firefox


or

Code:
/usr/bin/mozilla-firefox
I'm guessing that Lippy is using Ubuntu. They've put firefox on that path at least since Dapper Drake. On my machine, (Feisty Fawn) the actual executable is in /usr/lib/firefox/. /usr/bin/firefox is a symlink to /usr/lib/firefox/firefox, and /usr/lib/mozilla-firefox is a symlink to the /usr/lib/firefox directory. I don't know why they do it this way, but there it is.
User avatar
cong06
Posts: 140
Joined: 15 Mar 2007, 22:03

Post by cong06 »

tc_ could you update your initial post with some of the links?

main one that comes to mind is a link for the windows build.

also, I'm a little confused by the build-bot.

maybe I should just leave it alone...
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

you don't need to check the buildbot status; all you need is to follow the install guide
User avatar
cong06
Posts: 140
Joined: 15 Mar 2007, 22:03

Post by cong06 »

ah.

missed the Archive.

my fault.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

By the way, instead of attempting to guess the path of Firefox or whatever you should instead be using the freedesktop.org standard for opening a link with an application.
User avatar
tc-
Lobby Developer
Posts: 152
Joined: 19 Apr 2007, 20:15

Post by tc- »

Offline singleplayer is now possible with SpringLobby :-)

We are nearing the completion of the first milestone. It's just a map browser and some smaller features here and there left to do in it. I look forward to starting second milestone, because there are lots of nice features to implement there too :-)
HeadHunter
Posts: 53
Joined: 15 May 2007, 12:33

Post by HeadHunter »

How do i join your project? I'm no professional in c++ :oops: , still i'd like to improve my skills and help the Spring community=) How should i contact you?
Locked

Return to “SpringLobby Client”