Digital Paint Discussion Board
Development => General Development => Topic started by: jitspoe on February 08, 2006, 03:19:42 PM
-
I could have sworn I made a thread about this already, but maybe not. Ah, it must have been this thread (http://dpball.com/forums/index.php?topic=1373.0).
Anyway, I'm making progress on it. I'll probably throw it in with build16.
-
/me hugs jitspoe.
But do we really need to know game through gamedir?
-
Those are just all the server settings. They show up in any browser.
-
Parchance the more important ones (timeelapsed, scores, fraglimit, etc) could be somewhere else, while the less important ones(email, etc) would be in another place.
-
It's still very early in development. Be patient. :)
-
How can we download this utility even if its a beta
-
For now, you can use this:
http://search.hlsw.org/sei/project/index.php?mode=extended&Search_Game=Q2&Search_Mod=pball&action=process&language=en
-
I already know this website but tx
-
The functionality is very minimal, but it should be somewhat usable.
-
Tx for this jitspoe ;)
-
Working fine so far.
I like the "you can read funnames thing" most :)
-
hey could you make it so when you connect to a server it copys the ip to the clipboard?
i find it usefull in ASE
but nice jits
-
It's still very early in development. Be patient. :)
He'll probably do so.So better wait for suggestions till this browser is done :)
-
The functionality is very minimal, but it should be somewhat usable.
So far, I like HLSW. I'll have a look at it, when I'm back home from school.
If there is any possibility to see the funname - names, I'd appreciate it.
It really sucks to see ascii-symbols in HLSW instead of real names.
The screenshot you attached is looking great!! Does the serverlist update/refresh itself, when new servers come along?
-
Not yet, you have to refresh it by yourself on this version.
-
New feature: minimize to tray. Eventually it will auto-refresh servers and check for your favorite maps and/or friends online. I need to make a real icon for this, unless somebody else wants to volunteer.
-
Can we see localhost server in a futur version
-
I do believe there is a major problem in that. When you click on a server, it gives you the info for the server below the one you clicked on.
-
Yes, i wanted to point that out later on...but now its already done :)
-
Argh! It had that problem when you scrolled through it with the arrow keys, so I fixed it for that and now it's broken for the clicking! I'll fix it.
-
Quick fix for the "click bug."
-
Yayz.
-
Rofl- jits, there's another huge bug. It seems to mix up the 2nd and 3rd number in the IP address, making it impossible connect.
Edit for clairification:
The server browser shows that there's a server running at 66.11.93.69. It can't connect to that. When I find that server in the in-game server browser, it sucessfully connects to 66.93.11.69.
-
Details, details. Forgot to convert the value to little endian.
The new, improved, and now functional server browser! (complete with source and right-click/copy kung-fu grip action!)
-
OMG KUNGFU!
Thanks. Hopefully this version WORKS!
-
Does this just do the internet servers or will it do intranet or LAN servers as well? (Since I am behind a proxy on a vlan'ed network, I need to know these sorta things lol . . . jk)
EDIT -
From the source I was able to figure out where the serverlist update source was, but when I changed it to my locally hosted serverlist file (for the intranet paintball2 clients where I am) running on my own webserver, http://(hostname here).dorms.(institution).edu/serverlist.php,
it keeps telling me that it cannot resolve the host address. I have also tried my IP address for the network here and that will not work either.
-
The serverbrowser works good ;)
But, where i must copy the *.exe file, that the serverbrowser said not this error: "Paintball2 installation directory not found." ?
It comes, if i start the programm.
Sorry for my bad englisch, my german is better ;)
-
What version of paintball2 do you have installed? The installer should set the location of the paintball2 directory in the registry, so it doesn't matter where the serverbrowser is located.
-
He probably has an old build.
-
Tiny update to make the list update on startup.
-
No, that is build 15.
What a key i must add in the registry, so that it works?
-
I could have sworn it was in the build 14 installer. The key is in HKCU\Software\Digital Paint\Paintball2\INSTDIR or INSTALLDIR -- can't remember specifically off the top of my head.
-
BIG THX
It works perfect.
I've set INSTALLDIR, but INSTDIR works also.
I think too, it was in the build 14 installer, but my windows is defect. It needs a reinstall ;)
-
Is there any way to point the program to load the serverlist file in the /pball folder?
-
it doesn't show the server i put up on the list, is this meant to be the case?
-
It re-downloads the serverlist whenever you start it up right now, so if you modify the list before starting it, it'll get wiped. You could add it after it's loaded and hit refresh, though. I'll probably add some mechanism for adding servers to the list later on.
-
well, i put up my server, then open the program, then hit refresh, and my server doesn't show up.
-
http://dpball.com/serverlist.php is what it uses for its list. I see your IP on there, so it must be a firewall or router causing the issue.
Edit: Actually, it shows up on the list for me. Looks like it's working just fine. Try using "Update" instead of "Refresh."
-
i can't see it on my own program though. All the other servers are fine and show up, and you say mine shows on others, so any idea why i cant see it on my list?
-
Not sure. Can you connect to it using your external IP? (http://www.ipchicken.com to see your ip.)
-
no i can't :( connect <myip> doesn't work
-
I fixed the problem with copying sometimes not working. I also got rid of the "restore" item in the right click menu. It's pretty pointless since you can just left click on the icon to restore.
-
Rcon tool. like in ASE.
-
no i can't :( connect <myip> doesn't work
I have the same things that lekky so I modified your source jitspoe for see my own server
To resolve the problem I must change my web IP 82.229.229.*** into the templist.txt in 127.0.0.1
-
Rcon tool.
That would be nice and a link showing player IP's along with a full GUI for the admin interface.
-
....no that is way to much. keep it simple!
-
KISS
Keep
It
Simple
Stupid
-
Actually it's KISS
Keep
It
Short and
Simple
;D
-
http://www.acronymfinder.com/af-query.asp?Acronym=KISS&p=dict
-
WERE ALL RIGHT!
-
Have different levels of interface per op level. That is something shortly simple and logical. :)
-
lol my version of KISS is first on the list, OWNAGE!
-
Now highlights missing map files in red.
-
This version have a bug, when you sort the server by ping for exemple the color aren't at the good place
-
Hm, thanks for pointing that out.
/me goes to investigate.
-
no problem
-
Ok, I've fixed the map color issue and also made it grey out the servers that are inactive (not fully tested because I didn't have any servers go down while I was testing).
-
You want me to crash a server for ya jits? :P
-
Nah, that's ok. I killed one of my own. :)
-
Now it keeps the serverlist sorted when you refresh the list.
-
Is there any chance that you can make it so that other programs/scripts can connect to the server browser? iTunes for examples saves all your song titles/names and all that junk in an XML file. Could you make it so that when you refresh/update the list it saves it to an xml file?
-
programs/scrips can use the serverlist.php file.
And why? a .txt works fine dosent it? Well, ehh for the external browser jits made it does
-
tom, you can make your own script that interfaces with qstat to parse and create an XML file of the current servers and their players/pings/map/etc....
-
Is it possible to implement some sort of search engine? For instance, suppose you need to find a player for some reason, you just search their name and serverbrowser highlights the server that they're in or something.
-
Once the global stats/login stuff is up you'd be able to see who's on what server via website I'm thinking, sorta like a Qstat page.
-
Update:
Fixed some bugs with it keeping the list sorted while updating the server list (sometimes the server info was going to the wrong server in the list).
-
Update:
When you click on a server, it refreshes the data so you don't have to refresh the whole list.
-
Do you plan to add rcon as an option?
-
I'm trying to keep it as slim and simple as possible, but I might.
-
Can u add the Death to Score and Ping?
Only the Score/Kills isn't the best :P
-
The servers don't currently report that information, so no.
-
Just reposting this since the old attachment was lost.
-
Is this the latest version that shows team colors?
-
I hope so. :) Didn't actually check -- just uploaded the zip with the latest date.
-
Yes, its the last version ;D
-
Do you think you would put a rcon_pass option in it for servers?
-
I'll probably do that at some point. Throw that suggestion in the 2007 feature request thread.
-
I know I mentioned adding recon to the server browser somewhere before the forum crash. :P
-
Scroll up a few posts, Dougie :P
-
Scroll up a few posts, Dougie :P
OOOOPS Where did that come from?? (sarcasm) LOL ;D ;D ;D
-
I think i found a Bug.... With The browser we can bypass the login system.... I just clicked on a game, paintball opened but no password prompt....... And I dunno why but when sum one enter in a game with build 17 there is a Big Lagggg....... Dunno why maybe cuz server are For B16 ????
-
Only one test server(71.75.4.26) was set up that required the login before you could connect. Also, there is a manual setting that admin of servers will have to turn on before logging in is required for you to connect to the server.
sv_login 2 is the setting to require logins on the server.
-
I know this is a little off topic, but what would "sv_login 0" and "sv_login 1" do?
-
In order to use the external server browser, you have to have autologin enabled, otherwise it skips the login completely and if the server you're connecting to requires logins, it will boot you from the game.
Zorch: I believe that's explained in the build 17 pre-release thread. If not, it's in the gamex86 changelog in your docs directory.
-
Zorch: I believe that's explained in the build 17 pre-release thread. If not, it's in the gamex86 changelog in your docs directory.
Wow, I'm blind. :P ... First line of the changelog. Thanks.
-
I have a CVS set up for the serverbrowser now: http://paintball2.cvs.sourceforge.net/paintball2/serverbrowser/
Hmm, I guess the HTTP portion of it hasn't updated yet, but you can still check it out with a CVS client.
-
The CVS is up now. I'm also curious of something, so I made a minor change here to test:
-
Score and time in the statusbar looks nice ;D
gamename only the name und gameversion only the version ? Or both at both ?
EDIT:
Is there a way to display, who is logged in at a server?
Maybe "Level" before the "Name/Score/Ping"
-
There's not currently a way to do that, no. The server doesn't report that information.
-
There's not currently a way to do that, no. The server doesn't report that information.
In the future?
Or need everythink enough votes?
-
There's a bug: Actually someone's playing in the read team but he gets shown as he'd be in the blue one. Even ppl that aren't on the server (maybe are dl-ing) are showed (the one i'm talking about is shown as blue).
-
There's no way for the server browser to tell who is actually in the game and who is just connected to the server (downloading), so it throws the colors off.
-
There's a bug: Actually someone's playing in the read team but (in the serverbrowser) he gets shown as he'd be in the blue one.
Gonna try it again though...
-
A little error :(
It comes since a few hours.
-
i sometimes get that too, comes and goes.
-
Wonder what causes it. Perhaps somebody could run it with a debugger and catch where it pops up? I've never had that happen.
-
I received a runtime error today with the server browser, and I was able to replicate it 5 times.
Can anyone verify that it works for them too?
1. I started it up, let all the servers load.
2. Arrange by ping
3. click on any random server
4. immediately click update
Error happens there, what about for anyone else?
edit: oops, did I break it? It does it everytime it starts up now... :-\
-
Make sure you don't have multiple instances of the server browser running. I have had 2 and 3 instances of this running without knowing it and I have gotten this error.
-
i sometimes get that too, comes and goes.
-
i sometimes get that too, comes and goes.
I saw, but it's not the same error, or, doesn't appear to be.
-
I think vista changed some of the messages.
-
y00tz, I can't get that error. Even with 3 instances open.
-
I imagine it has something to do with multithreading. Two threads trying to manipulate the same data at the same time or something like that. Makes it rather hard to reproduce and pinpoint. You might be able to compile it in debug mode from the source and see if you can catch exactly where it breaks.
-
I think vista changed some of the messages.
XP MCE w/ a Vista Theme.
y00tz, I can't get that error. Even with 3 instances open.
K, thanks for trying Nick.
I imagine it has something to do with multithreading. Two threads trying to manipulate the same data at the same time or something like that. Makes it rather hard to reproduce and pinpoint. You might be able to compile it in debug mode from the source and see if you can catch exactly where it breaks.
I was actually just about to do that :D
-
I've gotten that error, and I just tried it once or twice- I'm pretty sure it had to do with trying to load a specific server's data.
-
Oh, now that I look closer its y00tz' error that i get, still do occasionally for no reason i can identify.
-
I think I've fixed the occasional error some people were experiencing - or at least one of them. It was caused by a blank name. I've attached a new version.
-
I think I've fixed the occasional error some people were experiencing - or at least one of them. It was caused by a blank name. I've attached a new version.
serverbrowser.exe has a modified date of march 9, 2007
serverbrowser.cpp has a modified date of september 25, 2007
-
Thanks for pointing that out. For some reason it was still running in the background and the new exe couldn't get written. This should be the latest and greatest.
-
I've worked on the server browser in the last weeks and now i want to know, what do you think about it.
This is new or changed:
- new: "C" (certificated server; 0: no / 1: yes - comes with the next paintball build. link (http://dplogin.com/dplogin/featurevote/feature.php?id=10215))
- new: "PW" (server is password protected; 0: no / 1: yes)
- new: "GLS" (global login system (sv_login setting); 0: off / 1: on, protects registered names and clans / 2: on, u need a login to connect)
- new: multi language menus (english, german, french, czech, polish, slovak)
- new: website link in the menu
- changed: game name to title
- changed: size of the main window
- changed: complete about window
If exist, it should use the language from ur windows and if the language not exist, it should use english.
Please check the translations or if u want another one, post the language name, the menu words and teh word "serverbrowser" in the new language in this thread.
Download: http://www.otb-server.de/serverbrowser_2009_10_04.exe
TODO:
- change the numbers from C, PW and GLS to icons.
- translate the status messages
-
i like to know ahead of time when i can go into a server with an alias and harass noobers, so thumbs up.
why do you need to make icons for numbers 1-3, dont make it too complicated.
-
Haha, works nice. Even the translation to czech language.
It could be great to make some hints for new players to find this browser.
-
nice :)
-
It looks better now. Good job
-
Cool - are these changes on the SF CVS?
-
Yes.
-
The new icons you have on the CVS - are those GPL compatible?
Edit: Also, now that you have the language specific resource files set up, does that mean I have to add things to every resource file, or does it handle that automatically? I've never done any multi-language windows API stuff.
-
I merged all of the resource files into one, because it was a pain to manage adding/deleting/editing things in every single language. I'm not sure if the language settings are still working because I couldn't seem to get windows to switch languages. I've attached a new EXE for testing. Also has the start of icons for password protected servers. If this works, I'll submit it to the CVS.
-
Doesn't work. At least not on old win 7 build.
(http://img683.imageshack.us/img683/4362/errorh.th.png) (http://img683.imageshack.us/i/errorh.png/)
-
Weird - trying to debug it on my vista laptop now. Thanks for trying. Seems to have something to do with the message handling for drawing the icons, but I'm not sure why it's crashing just in vista/win7...
-
Ok, give this one a try. Need to see if German/Czech/etc. languages show up correctly.
-
(http://img696.imageshack.us/img696/5686/errorn.th.png) (http://img696.imageshack.us/i/errorn.png/)
No language icons. =s
-
There aren't any language icons - it's supposed to use your windows settings.
-
The new icons you have on the CVS - are those GPL compatible?
Edit: Also, now that you have the language specific resource files set up, does that mean I have to add things to every resource file, or does it handle that automatically? I've never done any multi-language windows API stuff.
Yes, but if u have better icons, we can use them too.
Language specific resource files were the easiest option :)
It's better in one file. So u don't need to change the build date x times for example.
The last one works fine and in german.
-
I've submitted the changes. Currently, everything is in one resource file, but there are still separate dialogs for every language. I made all of the icons neutral, though, so at least those don't have to be updated on every resource file. I'm still trying to figure out how to make certain parts of a single dialog localized. Surely there's a way to specify a string from a string table or something. I'm not having much luck finding info on how to do it, though.
-
Cleaned a couple things up - could everybody make sure this works?
-
It works like the other ones ([OTB] Speed isn't in the list, but thats not a serverbrowser bug, right?).
Is there a way to sort the serverlist by passworded servers now?
Btw: I like the dplogo with shadows in the about box more :P
-
It works like the other ones ([OTB] Speed isn't in the list, but thats not a serverbrowser bug, right?).
Is there a way to sort the serverlist by passworded servers now?
Btw: I like the dplogo with shadows in the about box more :P
Was it a 32bit icon or something? It looked all messed up for me, so I cleaned it up. There were specks of different colors and stuff. I have an older version of visual studio, so that might be the issue.
There's not currently a way to sort by icon. I guess we could add an extra column, but it seems kind of weird/cluttered. I think a better solution would be to add filters so you could filter out passworded servers. I don't think people would ever really want to sort by that.
-
OK, sound good.
I've added the old icon.
-
Made another change - If the server browser is already running and you try to run it again, it will bring the existing instance to the foreground instead of opening another window. I found myself repeatedly opening it when the tray icon was hidden.
I've also updated the CVS with VS 2008 express files, as I can't run older versions of visual studio in windows 7. Hopefully this will still run OK and not require weird libraries.
-
Here is another test release:
ftp://otb-server.de/pub/Serverbrowser/Developer/serverbrowser_2010_03_28.exe (ftp://otb-server.de/pub/Serverbrowser/Developer/serverbrowser_2010_03_28.exe)
Changes:
- 3 icons (certificated server-, needpassword-, sv_login- setting)
- renamed the tray icon text
- added website and about to the tray menu
Known issues:
- bad icons
- background from the icons 2+3 is not shown transparent (it is in the icon file)
- all icons will not be updated, if i click on a server (same like the password icon in jitspoe's last release)
- numbers in the first 3 col's visible if the row is marked
- text from the first 3 col's is bad (C, PW, GLS). what could be better there?
- noone knows what the icons mean. maybe make a hover info?
- Incorrect Kill Count (http://dplogin.com/dplogin/featurevote/feature.php?id=10232)
If u read this jitspoe, pls delete this faker clan: http://dplogin.com/index.php?action=viewclan&clanid=12497
-
whats with the globe? orange and green. global login levels?
-
yes.
green = sv_login 2
orange = sv_login 1
-
Two little changes:
- fixed a bug with "Copy Full Server Info"
- added versioninfo
ftp://otb-server.de/pub/Serverbrowser/Developer/serverbrowser_2010_04_02.exe (ftp://otb-server.de/pub/Serverbrowser/Developer/serverbrowser_2010_04_02.exe)
-
New icons break the ability to press a letter and select a server starting with that name. :(