It is currently Fri 24. May 2013, 01:48

All times are UTC + 1 hour




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sat 21. Apr 2012, 19:53 
Offline
NewPaddy
NewPaddy

Joined: Sat 21. Jan 2006, 03:17
Posts: 15
(Sorry if this is off topic, please move it in that case)

I've released a new version of Monster Browser. It's updated to work with the custom master server that WOP now uses.

MB lets you browse the server list, see players and cvars, launch the game, send rcon commands, etc. It has less features than many other server browsers, but it starts up very quickly and is very simple to use. It's implemented as a frontend for Qstat.

Screenshot

I hope someone will find this little tool useful :)


Top
 Profile  
 
PostPosted: Sat 21. Apr 2012, 20:47 
Offline
PadMember
PadMember
User avatar

Joined: Sun 25. Sep 2005, 22:08
Posts: 296
Hi torhu, thanks for including WoP in your tool.


Top
 Profile  
 
PostPosted: Sat 21. Apr 2012, 20:50 
Offline
PadMember
PadMember
User avatar

Joined: Mon 5. Sep 2005, 16:17
Posts: 1946
Images: 0
Location: Stuttgart, Germany
Hey, great little tool.

I used Game Scanner before but there was no update for a long time. Ah, I see they have also an update out now Game Scanner v.2.0.28 but at a closer look the config file for World of Padman is completely outdated. They still check protocol 68. Even when I update the entry to 71 in the config it still shows no servers. Don't know why this happens.

But as long as your GUI works wit qstat it's fine for me. thanks a lot for supporting WoP. This is worth a news item I think.

_________________
Image


Top
 Profile  
 
PostPosted: Sat 21. Apr 2012, 21:06 
Offline
PadMember
PadMember
User avatar

Joined: Thu 10. May 2007, 17:00
Posts: 3078
Images: 30
Location: /dev/sda1
World of Padman does not use a custom masterserver. It uses the native dpmaster queries, which will be standard for future IPv6-only queries as well as any recent ioquake3 forks.
Your code does not seem to work with IPv6 addresses by the way.

You are not explicitly listing qstat under the Credits section ;)

MonsterBrowser does not work in Wine
Quote:
LOG: Getting new server list for World of Padman...
LOG: Executing 'qstat -cfg worldofpadman.cfg -worldofpadmanm,71,outfile master.worldofpadman.com:27955,-'.
LOG: messageBox (Error): Unable to retrieve a server list from master.worldofpadman.com.
"Unknown Qstat error"

Executing the qstat query manually using either the native qstat or qstat.exe with Wine works fine however.

_________________
Image


Top
 Profile Personal album  
 
PostPosted: Sat 21. Apr 2012, 22:20 
Offline
NewPaddy
NewPaddy

Joined: Sat 21. Jan 2006, 03:17
Posts: 15
Thanks for the feedback, guys :)

The Brain wrote:
World of Padman does not use a custom masterserver. It uses the native dpmaster queries, which will be standard for future IPv6-only queries as well as any recent ioquake3 forks.
Your code does not seem to work with IPv6 addresses by the way.
I had to use a custom Qstat config file to get it to work:
Code:
gametype WORLDOFPADMANM new extend Q3M
    master packet = \377\377\377\377getservers WorldofPadman %s %s
end
I found this info somewhere on this forum. None of the other master servers I've tried requires this.

I think I'll worry about IPv6 when people start using it. It will probably require some internal changes to Monster Browser. And Qstat needs to support it, of course. Haven't really looked into it yet.


The Brain wrote:
You are not explicitly listing qstat under the Credits section ;)
Oops, I'll add that for the next release.

The Brain wrote:
MonsterBrowser does not work in Wine
Hm, that's strange. Is it only Padman that doesn't work, or are none of the games working? I know it used to work in Wine, and I don't think I've changed anything that should break it.


Top
 Profile  
 
PostPosted: Sat 21. Apr 2012, 22:32 
Offline
PadMember
PadMember
User avatar

Joined: Thu 10. May 2007, 17:00
Posts: 3078
Images: 30
Location: /dev/sda1
torhu wrote:
I had to use a custom Qstat config file to get it to work. I found this info somewhere on this forum. None of the other master servers I've tried requires this.

It was probably me posting this :) Currently WoP is one of the few games that already make use of this not-so-new feature in ioquake3. Expect others like OpenArena to follow soon.

torhu wrote:
I think I'll worry about IPv6 when people start using it. It will probably require some internal changes to Monster Browser. And Qstat needs to support it, of course. Haven't really looked into it yet.

That's a vicious circle. If there is no code which works with IPv6, why use it? If there is no hardware, why write code?
As far as I know qstat is dead. Unless there is some hidden and active fork that I am not aware of.

torhu wrote:
Hm, that's strange. Is it only Padman that doesn't work, or are none of the games working? I know it used to work in Wine, and I don't think I've changed anything that should break it.

All games fail with the same error, as posted above. Is there any further debug info I could provide?

_________________
Image


Top
 Profile Personal album  
 
PostPosted: Sat 21. Apr 2012, 23:27 
Offline
NewPaddy
NewPaddy

Joined: Sat 21. Jan 2006, 03:17
Posts: 15
The code that fails is here. Not the most robust code ever, I know. Looks like it fails because Qstat's first line of output doesn't start with "ADDRESS". Other than that, I don't have any ideas. Something's different on Linux than Windows, I suppose.


Top
 Profile  
 
PostPosted: Sun 22. Apr 2012, 01:27 
Offline
PadMember
PadMember
User avatar

Joined: Thu 10. May 2007, 17:00
Posts: 3078
Images: 30
Location: /dev/sda1
If I invoke either the native qstat or qstat.exe via Wine with the command printed on the log, I do get proper output, starting with "ADDRESS".
Code:
$ wine ./qstat.exe -q3m,68,outfile master.smokin-guns.org,-
ADDRESS           PLAYERS      MAP   RESPONSE TIME    NAME
q3s 208.43.15.162:27960
q3s 91.121.39.115:27979
[..]

_________________
Image


Top
 Profile Personal album  
 
PostPosted: Sun 22. Apr 2012, 04:14 
Offline
NewPaddy
NewPaddy

Joined: Sat 21. Jan 2006, 03:17
Posts: 15
Ok, thanks. I was going to do some testing, but I'm not able to install Wine in my VirtualBox Ubuntu 9.04 installation. I suppose it's too old. I'll see what I can come up with instead.


Top
 Profile  
 
PostPosted: Mon 30. Apr 2012, 03:13 
Offline
NewPaddy
NewPaddy

Joined: Sat 21. Jan 2006, 03:17
Posts: 15
I fixed the bug, new build here :)

The GUI doesn't display properly for me, though. I have to select a server to see all the information. Maybe you'll have better luck, as I think it used to work in the past.


Top
 Profile  
 
PostPosted: Mon 30. Apr 2012, 10:41 
Offline
PadMember
PadMember
User avatar

Joined: Thu 10. May 2007, 17:00
Posts: 3078
Images: 30
Location: /dev/sda1
Should I use some bugtracker, instead of posting here?

Your winefix works partially. I do now get a list of servers, but if I select another game, MonsterBrowser just closes. I can not reproduce this all the time, it seems like the crash occurs more often when I select another game while MB is still retrieving servers for the previous one.

I also have the problem you mentioned; except for "Name" and "PW" all columns are empty, until you select a row.

_________________
Image


Top
 Profile Personal album  
 
PostPosted: Mon 30. Apr 2012, 11:49 
Offline
NewPaddy
NewPaddy

Joined: Sat 21. Jan 2006, 03:17
Posts: 15
Okay, thanks for the feedback. Not much point in using the bugtracker, as I am the only developer. And fixing stuff on Linux is a bit like pulling teeth for a Windows guy like me :I=I:

Was there any useful info in LOG.TXT about the crashes? The debug build dumps a stack trace to the log, but unfortunately that doesn't work in Wine. So I just gave you a release build, which is less noisy on the command line.


Top
 Profile  
 
PostPosted: Mon 30. Apr 2012, 13:31 
Offline
PadMember
PadMember
User avatar

Joined: Thu 10. May 2007, 17:00
Posts: 3078
Images: 30
Location: /dev/sda1
It looks like there is no output related to the crash, since most output was printed before. The "fixme unimplemented"s are from Wine itself.

Code:
$ wine ./MonsterBrowser.exe
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER: unimplemented ConnectEx
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER: unimplemented AcceptEx
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER: unimplemented TransmitFile
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 108c wp=00000001 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 108c wp=00000001 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 108c wp=00000001 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 10ae wp=00000000 lp=00000000

If you feel like fixing a Windows app for Wine is a waste of time, just say so. To be honest, I'd rather use XQF on my Linux box anyways :)

On a sidenote; whenever I restart MB after such a crash, it tells me that "The game configuration was updated", even though I didn't change any settings myself, just selected another game from the dropdown list in the game selection.

What's the problem with LOG.TXT not working in Wine?

Would you like to have a chat session instead? I'll be online lateron today. Just drop me a PM to exchange addresses (Jabber, Skype, MSN, AIM, ICQ, IRC etc.).

_________________
Image


Top
 Profile Personal album  
 
PostPosted: Wed 2. May 2012, 22:07 
Offline
NewPaddy
NewPaddy

Joined: Sat 21. Jan 2006, 03:17
Posts: 15
The Brain wrote:
If you feel like fixing a Windows app for Wine is a waste of time, just say so. To be honest, I'd rather use XQF on my Linux box anyways :)
Not a waste of time, but maybe too much trouble. It looks like I would have to debug and fix the GUI library to get it working properly on Wine. With Windows tools running under Wine. I can only imagine how much fun that would be :\Y/:

The GUI library is crossplatform, though. Monster Browser builds and starts up on Linux, but then it hangs. I suspect it's a bug in the Linux version of the GUI library, but I didn't confirm it. In any case I gave up on the port.

Well, thanks for the help anyway :)


Top
 Profile  
 
PostPosted: Sat 5. May 2012, 09:40 
Offline
NewPaddy
NewPaddy

Joined: Sat 21. Jan 2006, 03:17
Posts: 15
Something else: This is the list of game types that the current version of MB uses:

Code:
FFA 1 2 SyC LPS TDM CtL SyCT BB

Is it correct? 1 and 2 means that I didn't find that those game types were actually used in wop.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group