Tremulous Forum

Mods => Mod Releases => Tools and Utilities => Topic started by: Foe of Eternity on March 08, 2011, 04:13:35 am

Title: Tremulous Server Search
Post by: Foe of Eternity on March 08, 2011, 04:13:35 am
Hey everyone, got really bored and decided to code a server searcher

it's basically the tremulous' built in server viewer, except this one is outside trem

So enjoy this pointless, yet interesting program

PS: since i was bored, i packed it with as much anti-cracking as i could (some antiviruses pick up a false positive although most major virus scanners show clean)

i prefer you download the first one for stability testing, but if you'd rather have an unobfuscated version, click the second link
Download: http://www.mediafire.com/?usl2et3v5l6c7wx (http://www.mediafire.com/?usl2et3v5l6c7wx)
No Obfuscation, etc: http://www.mediafire.com/?ag1l071djveibbj (http://www.mediafire.com/?ag1l071djveibbj)

Once again, this is kinda pointless but fun to mess with when you're bored

(let me know if you find any bugs)

Edit:
Source: Tremulous-Server-Search - Github (https://github.com/Foe-of-Eternity/Tremulous-Server-Search)
Title: Re: Tremulous Server Search
Post by: Demolution on March 08, 2011, 04:50:54 am
Ah the good old days of TSB.
Title: Re: Tremulous Server Search
Post by: DraZiLoX on March 08, 2011, 11:02:33 am
Got this when i clicked some server.
Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'index'.
Parameter name: index
   at System.Windows.Forms.ListView.SelectedListViewItemCollection.get_Item(Int32 index)
   at †††
†††††‹.†††
†††††Š.†††
††††‡˜(Object , Int32 )
   at †††
†††††‹.†††
†††††Š.†††
†††††(Object , EventArgs )
   at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
   at System.Windows.Forms.ListView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Tremulous Server Search
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Home/User/Desktop/Tremulous%20Server%20Search.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
15339528-2290-423d-9e34-c3c441d71231
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Home/User/Desktop/Tremulous%20Server%20Search.exe
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Otherwise, cool.
Title: Re: Tremulous Server Search
Post by: Foe of Eternity on March 08, 2011, 11:20:53 am
Thx, was able to replicate the error and working on fixing it (apparently the listbox deselects everything when the index changes and then selects the next item when selectedindexchanged is finished running >.<)
Updated the link so that it doesn't crash when the error occurs
Title: Re: Tremulous Server Search
Post by: Tremulant on March 08, 2011, 12:02:18 pm
since i was bored, i packed it with as much anti-cracking as i could (some antiviruses pick up a false positive although most major virus scanners show clean)
What does this mean?
Title: Re: Tremulous Server Search
Post by: Demolution on March 08, 2011, 03:41:33 pm
Does one have to sign in to download the file or id you fudge the link?

Also what Tremulant asked.
Title: Re: Tremulous Server Search
Post by: Foe of Eternity on March 08, 2011, 11:55:26 pm
link works without signing in

as for anti-cracking...
it has stuff that prevents it from being opened in a debugger (without some extra steps)
and if you manage to open it in the debugger, it has anti-debugging stuff so it crashes when u try to debug it
and if you manage to get past that, all the code is obfuscated and encrypted
and if you manage to get past that, it has a bunch of checksumming to prevent modification
and if you get past all of the above, then you're one good reverse engineerer ;)

a good example is in the error report:
Quote
Parameter name: index
   at System.Windows.Forms.ListView.SelectedListViewIte mCollection.get_Item(Int32 index)
   at    
     ‹.   
      .   
    ‡˜(Object , Int32 )
   at    
     ‹.   
      .   
     (Object , EventArgs )
   at System.Windows.Forms.ListView.OnSelectedIndexChan ged(EventArgs e)Parameter name: index
   at System.Windows.Forms.ListView.SelectedListViewIte mCollection.get_Item(Int32 index)
   at    
     ‹.   
      .   
    ‡˜(Object , Int32 )
   at    
     ‹.   
      .   
     (Object , EventArgs )
   at System.Windows.Forms.ListView.OnSelectedIndexChan ged(EventArgs e)

the reason why it has all those  's and such is because of name obfuscation that uses unprintable/untypable characters
Title: Re: Tremulous Server Search
Post by: SlackerLinux on March 09, 2011, 12:32:02 am
Wall of text

why would you bother would just make tracking down bugs next to impossible
Title: Re: Tremulous Server Search
Post by: OhaiReapd on March 09, 2011, 01:05:04 am
Wall of text

why would you bother would just make tracking down bugs next to impossible

Why not?
Title: Re: Tremulous Server Search
Post by: your face on March 09, 2011, 01:16:00 am
Ah the good old days of TSB.

Still the good days of TSB for some people. :D
Title: Re: Tremulous Server Search
Post by: Demolution on March 09, 2011, 01:48:41 am
Ah the good old days of TSB.

Still the good days of TSB for some people. :D

Wait, didn't someone modify the old one to work with GPP?? :O
Title: Re: Tremulous Server Search
Post by: F50 on March 09, 2011, 03:48:28 am
Hey everyone, got really bored and decided to code a server searcher

it's basically the tremulous' built in server viewer, except this one is outside trem

Is any of the source code in this server browser derived from the in-game server browser code?
Title: Re: Tremulous Server Search
Post by: your face on March 09, 2011, 05:25:40 am
Wait, didn't someone modify the old one to work with GPP?? :O
kevlarman did but now it stopped working again. :(

The serverlist works for viewing but you just can't join from it any more.
Title: Re: Tremulous Server Search
Post by: Tremulant on March 09, 2011, 02:10:01 pm
as for anti-cracking...
*i'm severely retarded*
Thanks for clearing that one up, the only thing i love more than running apps from people i don't know is running heavily obfuscated apps from people i don't know, gj.
Title: Re: Tremulous Server Search
Post by: Foe of Eternity on March 11, 2011, 02:46:41 am
as for anti-cracking...
*i'm severely retarded*
Thanks for clearing that one up, the only thing i love more than running apps from people i don't know is running heavily obfuscated apps from people i don't know, gj.
that's quite uncalled for
if you don't trust it, don't download it...flaming is pointless and unproductive
Title: Re: Tremulous Server Search
Post by: F50 on March 11, 2011, 08:22:13 am
Flaming is unproductive, but I think tremulant has the right idea, unless of course the source code can be examined and proven to be harmless.
Title: Re: Tremulous Server Search
Post by: Tremulant on March 11, 2011, 08:39:27 am
that's quite uncalled for
No, quite uncalled for is going to the trouble of obfuscating some silly little server browser, it gives people every reason to be suspicious.
if you don't trust it, don't download it...
Good advice for the internet as a whole. Not that it matters, as the link appears to have died again.
Title: Re: Tremulous Server Search
Post by: Foe of Eternity on March 11, 2011, 08:10:40 pm
that's quite uncalled for
No, quite uncalled for is going to the trouble of obfuscating some silly little server browser, it gives people every reason to be suspicious.
if you don't trust it, don't download it...
Good advice for the internet as a whole. Not that it matters, as the link appears to have died again.

link fixed, thx for that

but i obfuscated it for stability testing...not so much to protect the source...i'll add a link to one that's not obfuscated if you want...
Title: Re: Tremulous Server Search
Post by: Foe of Eternity on July 20, 2014, 12:01:33 am
Hey, so I was looking through old posts and found this one.

I would like to apologize for any mistrust in the release.  Unfortunately I could not find the original source, but I re-created it as close as possible and posted on github under GPL v2.  It can be found in the original post, or here (https://github.com/Foe-of-Eternity/Tremulous-Server-Search).