Tremulous Forum

General => General Discussion => Topic started by: gareth on November 15, 2006, 05:21:08 pm

Title: TremSB preview
Post by: gareth on November 15, 2006, 05:21:08 pm
You can download a preview of TremSB, an external server browser for tremulous, that i am making, you can post bugs and stuff here if you like.

windows only atm, requires java 1.4, get the latest version from java.com
download zip here: http://gs.javaunlimited.net/download.php?item=tremsb_win32
Title: TremSB preview
Post by: Mikiupdown2 on November 15, 2006, 05:38:19 pm
Absolutly love it. Works flawlessly. Will definetly be using this from now on  :D
Title: TremSB preview
Post by: Stof on November 15, 2006, 05:43:25 pm
No more "write once run anywere"?
Title: TremSB preview
Post by: pyrax on November 15, 2006, 06:21:08 pm
Quote from: "Stof"
No more "write once run anywere"?
Hasn't been for quite some time now, unfortunately.  I think java's going through a phase like HTML is going through.  This page best viewed in IE!
Title: TremSB preview
Post by: vcxzet on November 15, 2006, 06:26:03 pm
Code: [Select]
<vcxzet> garethn, how can you make platform dependent apps with java? :P
<Lava_Croft> lol vcxzet
<Lava_Croft> i asked him the same thing, lol
<Lava_Croft> heh
<vcxzet> lol
<Lava_Croft> <Lava_Croft> wtf gareth
<Lava_Croft> <Lava_Croft> you code for java
<Lava_Croft> <Lava_Croft> and dont make it portable?
<Lava_Croft> <Lava_Croft> wtf?
<kevlarman> it's easy
<kevlarman> just gcc to native code instead of bytecode

<vcxzet> it is too slow
<vcxzet> still getting the server list
<kevlarman> that has nothing to do with java then
<dromen> HMM
<vcxzet> no refresh button it is refreshing with 30 secs periods
<kevlarman> then it can't get a connection
<vcxzet> 30 seconds adds a new server to the list
<vcxzet> ^after
<kevlarman> hm
<kevlarman> that's a little suspicious
<vcxzet> it takes ages to get all servers
<kevlarman> probably still not java
<kevlarman> programmer error?
<vcxzet> dunno
<kevlarman> wait, did he gcc it?
<vcxzet> garethn, how does it find the server
<vcxzet> lost one more server just showing bricosoft :P
<kevlarman> which java are you using vcxzet?
<vcxzet> 1.508
<kevlarman> sun's?
<vcxzet> yes
Title: TremSB preview
Post by: gareth on November 15, 2006, 06:34:22 pm
Quote from: "Stof"
No more "write once run anywere"?


thats just marketing talk. if you use native libs then u have to include them with you program, i dont have a mac or linux machine handy so i havent tested it with them, hence i havent given any other downloads, i will release linux and mac versions later.
Title: TremSB preview
Post by: Stof on November 15, 2006, 07:21:47 pm
And pray tell me why did you need native libs for? I'm pretty sure you could have done that in pure Java but maybe there's something I'm missing here.
Title: TremSB preview
Post by: rasz_pl on November 16, 2006, 12:12:03 am
Quote from: "Stof"
And pray tell me why did you need native libs for? I'm pretty sure you could have done that in pure Java but maybe there's something I'm missing here.


just be happy he didnt write it in .NET C#/VB !

btw I looked more into trem server browser code .. and I threw up in my mouth a little :(
Il try to start with turning TTF fonts rendering back (Q3 uses some retarded "we are affraid of patents" approach and prerenders few sizez to TGA files, later resizing prerendered letters = dog poo). With proper font rendering implementing GUI will be easy again.
Title: TremSB preview
Post by: Stof on November 16, 2006, 12:16:52 am
Quote from: "rasz_pl"
just be happy he didnt write it in .NET C#/VB !

btw I looked more into trem server browser code .. and I threw up in my mouth a little :(
Il try to start with turning TTF fonts rendering back (Q3 uses some retarded "we are affraid of patents" approach and prerenders few sizez to TGA files, later resizing prerendered letters = dog poo). With proper font rendering implementing GUI will be easy again.

Anything that makes "+" look like a "+" and not a "-" in the console is good :)
Title: TremSB preview
Post by: Lava Croft on November 16, 2006, 02:08:56 am
Garethn, apart from all the flaming, also from a bit from me, I should be as honest to say that your SB works flawlessly on my Tremulous box, which runs WindowsXP. Let everybody here keep on moaning about portable code; screw them hippies.
Title: TremSB preview
Post by: benplaut on November 16, 2006, 02:52:27 am
Quote from: "Lava Croft"
Garethn, apart from all the flaming, also from a bit from me, I should be as honest to say that your SB works flawlessly on my Tremulous box, which runs WindowsXP. Let everybody here keep on moaning about portable code; screw them hippies.


you traitor archie!  :eek:

anyway, i'll wait for a PORTABLE, CROSS PLATFORM version before trying it.

*cough cough cough cough*
Title: TremSB preview
Post by: Lava Croft on November 16, 2006, 04:01:12 am
Quote from: "benplaut"
Quote from: "Lava Croft"
Garethn, apart from all the flaming, also from a bit from me, I should be as honest to say that your SB works flawlessly on my Tremulous box, which runs WindowsXP. Let everybody here keep on moaning about portable code; screw them hippies.


you traitor archie!  :eek:

anyway, i'll wait for a PORTABLE, CROSS PLATFORM version before trying it.

*cough cough cough cough*

Hah, I have always played Tremulous on a Wintoon system! That doesn't say a portable version of your Server Browser would be a lot handier though.
Title: TremSB preview
Post by: Stof on November 16, 2006, 09:26:31 am
Windows users can use Qtracker to find tremulous games.
http://www.qtracker.com/

Unix users can use XQF version 1.0.5. http://www.linux-gamers.net/modules/news/article.php?storyid=1839&referer=rss
Title: TremSB preview
Post by: Lava Croft on November 16, 2006, 12:12:05 pm
Quote from: "Stof"
Windows users can use Qtracker to find tremulous games.
http://www.qtracker.com/

Unix users can use XQF version 1.0.5. http://www.linux-gamers.net/modules/news/article.php?storyid=1839&referer=rss

Too bad both of those programs suck more than Stof himself does.  :roll:
Title: TremSB preview
Post by: gareth on November 17, 2006, 08:02:28 pm
updated version for windows and linux now:

linux

http://www.gs.javaunlimited.net/download.php?item=tremsb_linux

windows

http://www.gs.javaunlimited.net/download.php?item=tremsb_win32
Title: TremSB preview
Post by: benplaut on November 17, 2006, 08:18:38 pm
Code: [Select]
error getting infos list:
java.net.SocketTimeoutException: Receive timed out
        at java.net.PlainDatagramSocketImpl.receive0(Native Method)
        at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
        at java.net.DatagramSocket.receive(DatagramSocket.java:712)
        at com.gareth.tremsb.TremSB.getGameServerIds(TremSB.java:272)
        at com.gareth.tremsb.TremSB$1.run(TremSB.java:157)


hmmm...
seems the network part of things isn't working exactly  8)
Title: TremSB preview
Post by: David on November 17, 2006, 09:01:14 pm
1.7MB???
what the hell is in it?

yeah, it doesnt work, and started off a squence of event that led to me now having nothing on my desktop....
Title: TremSB preview
Post by: Ingar on November 17, 2006, 09:47:21 pm
TremSB runs fine now, thank you for fixing the linux version.
One remark: I think you should add a menu bar. It is the place where people expect actions and options to be. Make the systray menu an option.

Good job.
Title: TremSB preview
Post by: Undeference on November 19, 2006, 02:40:46 am
You and your DOS conventions...
Quote
bash: ./run_linux.sh: /bin/sh^M: bad interpreter: No such file or directory
Title: TremSB preview
Post by: [HUN]Oli on November 19, 2006, 11:39:40 am
ahm, its maybe just me, but why is this software usefull? O_o
Title: TremSB preview
Post by: Stof on November 19, 2006, 11:46:38 am
Quote from: "Undeference"
You and your DOS conventions...
Quote
bash: ./run_linux.sh: /bin/sh^M: bad interpreter: No such file or directory

Use the -a option with unzip to convert DOS format file to proper Unix format files.
Title: TremSB preview
Post by: Undeference on November 19, 2006, 12:36:33 pm
So I'm supposed to add 3 characters to the command line and waste extra processor time because he wasn't considerate enough to use Unix conventions? Bah.
Title: TremSB preview
Post by: durand on November 19, 2006, 02:29:16 pm
Quote from: "benplaut"
Code: [Select]
error getting infos list:
java.net.SocketTimeoutException: Receive timed out
        at java.net.PlainDatagramSocketImpl.receive0(Native Method)
        at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
        at java.net.DatagramSocket.receive(DatagramSocket.java:712)
        at com.gareth.tremsb.TremSB.getGameServerIds(TremSB.java:272)
        at com.gareth.tremsb.TremSB$1.run(TremSB.java:157)


hmmm...
seems the network part of things isn't working exactly  8)


i get the same error. do u think it might be the firewall? can u tell me the ip address it connects to so i can enable connections to it?
good work! linux version works like a charm apart from the fact that i cant see any servers
Title: TremSB preview
Post by: gareth on November 20, 2006, 09:23:37 am
Quote from: "durand"


i get the same error. do u think it might be the firewall? can u tell me the ip address it connects to so i can enable connections to it?
good work! linux version works like a charm apart from the fact that i cant see any servers


well it doesnt do much that the tremulous doesnt do itself.

Quote

ahm, its maybe just me, but why is this software usefull? O_o


well im not trying to say it is  :barricade:
Title: TremSB preview
Post by: durand on November 20, 2006, 04:56:00 pm
i like it, its more useful and has some good features.
Title: TremSB preview
Post by: Somethief on November 20, 2006, 06:34:34 pm
Ok i have to join it too. So iam using KQuery 4 and absolutely love it. Works with a lot of games including Trem.

1. Download: http://www.kquery.com/index.php?page=software_download&id=53
2. Install ofc..
3. Find trem by auto wizard (can't remember if it works, if it does skip the rest)
4. Start it and hit F2 which directs you to options
5. Scroll down to Game Setup
6. Find Tremulous
7. Browse your executeable (tremulous.exe)
8. Hit Close
9. Hit Get servers in main window
10. Scroll down to Tremulous and hit it
11. (OPTIONAL) Choose _Not empty from filters dropdown in main view

And there you go. Got no idea about Linux version but prolly they don't have one  :cry:
Title: TremSB preview
Post by: durand on November 21, 2006, 11:07:16 am
no linux? forget it then  :cry:
Title: TremSB preview
Post by: techhead on November 21, 2006, 08:21:24 pm
I presume no Mac version, either.
Title: TremSB preview
Post by: durand on November 22, 2006, 05:12:41 pm
probably not...
Title: TremSB preview
Post by: gareth on December 26, 2006, 10:09:51 pm
new version: address's some issues, also a bit optimized.

windows: http://gs.javaunlimited.net/download.php?item=tremsb_win32

linux-works sometimes: http://gs.javaunlimited.net/download.php?item=tremsb_linux

mac osx-test: http://gs.javaunlimited.net/download.php?item=tremsb_osx
Title: TremSB preview
Post by: Rprp on December 27, 2006, 02:16:45 am
ricky@ricky-desktop:~/tremie$ sh run*
Unable to load gui config: guiconfig.props (Onbekend bestand of map)
failed loading friends:
java.io.FileNotFoundException: friends.dat (Onbekend bestand of map)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at java.io.FileReader.<init>(FileReader.java:41)
        at com.gareth.tremsb.FriendFinder.load(FriendFinder.java:115)
        at com.gareth.tremsb.TremSBGUI.<init>(TremSBGUI.java:610)
        at com.gareth.tremsb.TremSBGUI.main(TremSBGUI.java:19)
sent serverrequest: com.gareth.tremsb.GameServerIdListRequest@1201a25
failed getting id list: ping timeout
ricky@ricky-desktop:~/tremie$

Also, i dont see any servers...
Whats wrong with it? :F
Title: TremSB preview
Post by: KnightBear on December 27, 2006, 09:29:45 am
wow, this is nice.  

if only someone would do a media player for music.  low level music hightens the senses, and if the volume is low you can still hear dretches (its flame proof)
Title: TremSB preview
Post by: Rprp on December 27, 2006, 12:58:29 pm
hmm, its nice if i get it working! xD
Title: TremSB preview
Post by: durand on December 27, 2006, 01:03:09 pm
i have the same problem as you rprp
Title: TremSB preview
Post by: gareth on December 27, 2006, 05:41:58 pm
Quote from: "Rprp"
ricky@ricky-desktop:~/tremie$ sh run*
Unable to load gui config: guiconfig.props (Onbekend bestand of map)
failed loading friends:
java.io.FileNotFoundException: friends.dat (Onbekend bestand of map)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at java.io.FileReader.<init>(FileReader.java:41)
        at com.gareth.tremsb.FriendFinder.load(FriendFinder.java:115)
        at com.gareth.tremsb.TremSBGUI.<init>(TremSBGUI.java:610)
        at com.gareth.tremsb.TremSBGUI.main(TremSBGUI.java:19)
sent serverrequest: com.gareth.tremsb.GameServerIdListRequest@1201a25
failed getting id list: ping timeout
ricky@ricky-desktop:~/tremie$

Also, i dont see any servers...
Whats wrong with it? :F


your on linux? get any firewalls blocking it?
Title: TremSB preview
Post by: durand on December 28, 2006, 01:00:23 pm
u know, i did post about the firewall thing before. can u please give me the server's ip address so i can allow access?
Title: TremSB preview
Post by: Vector_Matt on December 28, 2006, 01:43:52 pm
Quote from: "durand"
u know, i did post about the firewall thing before. can u please give me the server's ip address so i can allow access?
Can't you just allow Trem access to whatever it wants? Instead of specificaly allowing one ip.
Title: TremSB preview
Post by: durand on December 28, 2006, 03:24:20 pm
the program doesnt show up, just its processes. to make sure, i need to know the ip.
nyway, i dont think its a firewall problem cos it doesnt work with teh firewall off.
Title: TremSB preview
Post by: Vector_Matt on December 28, 2006, 03:38:10 pm
Quote from: "durand"
the program doesnt show up, just its processes. to make sure, i need to know the ip.
The Tremulous.exe process is the program, allowing that should work.

Quote from: "durand"
nyway, i dont think its a firewall problem cos it doesnt work with teh firewall off.
And if it's not a firewall problem, then knowing the ip will not help.
Title: TremSB preview
Post by: durand on December 28, 2006, 04:03:19 pm
im on linux
Title: TremSB preview
Post by: gareth on December 28, 2006, 04:33:32 pm
Ive uploaded a new version, it probly still wont work, but might give me more info as to why.
Title: TremSB preview
Post by: Vector_Matt on December 28, 2006, 04:35:09 pm
Quote from: "durand"
im on linux
My point was that if you allowed the tremulous process access, you would be giving the program access.
Title: TremSB preview
Post by: gareth on December 28, 2006, 05:14:32 pm
i have uploaded a potentially fixed version.

http://gs.javaunlimited.net/download.php?item=tremsb_linux

Quote from: "Vector_Matt"
Quote from: "durand"
im on linux
My point was that if you allowed the tremulous process access, you would be giving the program access.


can you quit hijacking this thread. hes not talking about Tremulous, but TremSB!
Title: TremSB preview
Post by: durand on December 29, 2006, 03:11:30 pm
Quote from: "gareth"
i have uploaded a potentially fixed version.

http://gs.javaunlimited.net/download.php?item=tremsb_linux

Quote from: "Vector_Matt"
Quote from: "durand"
im on linux
My point was that if you allowed the tremulous process access, you would be giving the program access.


can you quit hijacking this thread. hes not talking about Tremulous, but TremSB!


oops, i meant tremsb there.
Title: TremSB preview
Post by: durand on December 29, 2006, 03:19:22 pm
sorry, it doesnt work with the firewall on or off. i still get that same error. btw, in the run_linux.sh script, u should put this:

Code: [Select]
#! /bin/sh

java -Djava.library.path="lib/linux" -classpath "tremsb.jar:lib/linux/swt.jar" com.gareth.tremsb.TremSBGUI


instead of this:

Code: [Select]
#!/bin/sh
java -Djava.library.path="lib/linux" -classpath "tremsb.jar:lib/linux/swt.jar" com.gareth.tremsb.TremSBGUI


That seemed to fix the bad interpreter problem.
Title: TremSB preview
Post by: Rprp on December 29, 2006, 05:22:51 pm
Quote from: "gareth"
Quote from: "Rprp"
ricky@ricky-desktop:~/tremie$ sh run*
Unable to load gui config: guiconfig.props (Onbekend bestand of map)
failed loading friends:
java.io.FileNotFoundException: friends.dat (Onbekend bestand of map)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at java.io.FileReader.<init>(FileReader.java:41)
        at com.gareth.tremsb.FriendFinder.load(FriendFinder.java:115)
        at com.gareth.tremsb.TremSBGUI.<init>(TremSBGUI.java:610)
        at com.gareth.tremsb.TremSBGUI.main(TremSBGUI.java:19)
sent serverrequest: com.gareth.tremsb.GameServerIdListRequest@1201a25
failed getting id list: ping timeout
ricky@ricky-desktop:~/tremie$

Also, i dont see any servers...
Whats wrong with it? :F


your on linux? get any firewalls blocking it?


Im not using a firewall xD (Think so)
Title: TremSB preview
Post by: Rprp on December 29, 2006, 11:02:51 pm
ricky@ricky-desktop:~/tremie$ sh run_linux.sh
Unable to load gui config: guiconfig.props (Onbekend bestand of map)
sent serverrequest: com.gareth.tremsb.GameServerIdListRequest@787171
failed getting id list: ping timeout

... Whats wrong?!
Title: TremSB preview
Post by: durand on December 30, 2006, 01:38:06 pm
yup, i got the identical error.