Valhalla Legends Archive

Member Forums => Spht's Forum => Topic started by: themaker on March 12, 2005, 08:58 AM

Title: EternalChat SpHt's look here
Post by: themaker on March 12, 2005, 08:58 AM
If Eternalchat not going to be update, Spht's Can you please let us Hex it to work on JBLS r to use other servers?? IM ask PLEASE PLEASE So many of us need this bot for clan stuff. Dam i got like 20 of them on my comp.
Btw I can't Hex it Im kinda new at that stuff ,but i know ppl who can so Please ?
Title: Re: EternalChat SpHt's look here
Post by: Spht on March 12, 2005, 09:58 AM
Quote from: themaker on March 12, 2005, 08:58 AM
If Eternalchat not going to be update, Spht's Can you please let us Hex it to work on JBLS r to use other servers?? IM ask PLEASE PLEASE So many of us need this bot for clan stuff. Dam i got like 20 of them on my comp.
Btw I can't Hex it Im kinda new at that stuff ,but i know ppl who can so Please ?

There will not be any more updates for EternalChat.  The BNLS connectivity issue will be resolved soon.
Title: Re: EternalChat SpHt's look here
Post by: QwertyMonster on March 12, 2005, 11:15 AM
Lets all go Hex EternalChat and make it work? 8)

Hex Editor: www.pianka.net -> Downloads -> Software OR warez, i forgot.

Its there! Have fun.
Title: Re: EternalChat SpHt's look here
Post by: Spht on March 12, 2005, 02:31 PM
You don't need to edit EternalChat to make it connect.  Just point bnls.valhallalegends.com to a reachable server.

The change has been made on the server, and should be effective in a couple hours when your DNS records are updated.
Title: Re: EternalChat SpHt's look here
Post by: QwertyMonster on March 12, 2005, 05:37 PM
Quote from: Spht on March 12, 2005, 02:31 PM
You don't need to edit EternalChat to make it connect.  Just point bnls.valhallalegends.com to a reachable server.

The change has been made on the server, and should be effective in a couple hours when your DNS records are updated.

Bah you didnt tell him that did you :P.. until now ;D

Well anyway, theres the link to the hex editor if anybody wants to have fun! :P
Title: Re: EternalChat SpHt's look here
Post by: themaker on March 12, 2005, 10:00 PM
You don't need to edit EternalChat to make it connect.  Just point bnls.valhallalegends.com to a reachable server.

What do u mean ? where at on the bot do i put this. ANd i dont want anyone to hexedit it without spht say so!!i just want it to connect to something besides vl are there anyway? Well if u mean on Sphtbot i got it to work , BUt this bot dont do what Ethernalchat does im sorry U cant promote or demote r anyting with clan ((.
Title: Re: EternalChat SpHt's look here
Post by: UserLoser. on March 12, 2005, 11:46 PM
Quote from: themaker on March 12, 2005, 10:00 PM
You don't need to edit EternalChat to make it connect.  Just point bnls.valhallalegends.com to a reachable server.

What do u mean ? where at on the bot do i put this. ANd i dont want anyone to hexedit it without spht say so!!i just want it to connect to something besides vl are there anyway? Well if u mean on Sphtbot i got it to work , BUt this bot dont do what Ethernalchat does im sorry U cant promote or demote r anyting with clan ((.

Start > Run > notepad.exe > File > Open > C:\WINDOWS\system32\drivers\etc\hosts

Add the line "63.161.183.205 bnls.valhallalegends.com" (without the quotes)
Title: Re: EternalChat SpHt's look here
Post by: themaker on March 13, 2005, 12:00 AM
Thank you ever so much man. LMAO still cant use JBLS ? SOmeone please help me on this?
Title: Re: EternalChat SpHt's look here
Post by: Spht on March 18, 2005, 12:56 PM
Quote from: themaker on March 13, 2005, 12:00 AM
Thank you ever so much man. LMAO still cant use JBLS ? SOmeone please help me on this?

Not sure what JBLS is, so no.  Post in the appropriate forums.
Title: Re: EternalChat SpHt's look here
Post by: Kp on March 18, 2005, 02:55 PM
Quote from: Spht on March 18, 2005, 12:56 PM
Quote from: themaker on March 13, 2005, 12:00 AM
Thank you ever so much man. LMAO still cant use JBLS ? SOmeone please help me on this?

Not sure what JBLS is, so no.  Post in the appropriate forums.

It's a Java-based BNLS ripoff, except it doesn't work as well.  Some of the messages aren't supported at all, and it's horribly slow on account of it being in Java (and thus lacking the ability to JIT an appropriate checksumming function).
Title: Re: EternalChat SpHt's look here
Post by: Blaze on March 18, 2005, 03:57 PM
You know, you could always add stuff into since it is open source...
Title: Re: EternalChat SpHt's look here
Post by: iago on March 22, 2005, 12:42 PM
Quote from: Kp on March 18, 2005, 02:55 PM
Quote from: Spht on March 18, 2005, 12:56 PM
Quote from: themaker on March 13, 2005, 12:00 AM
Thank you ever so much man. LMAO still cant use JBLS ? SOmeone please help me on this?

Not sure what JBLS is, so no.  Post in the appropriate forums.

It's a Java-based BNLS ripoff, except it doesn't work as well.  Some of the messages aren't supported at all, and it's horribly slow on account of it being in Java (and thus lacking the ability to JIT an appropriate checksumming function).

Java is slightly slower, but not noticably.  The ping time makes up for over 50% of the CheckRevision time still.  In my new code (which isn't implemented in JBLS yet), I cache the CheckRevision response.  It actually has pretty good stats:
--> 248 hits, 535 misses.

That means on about 33% of connections, the CheckRevision time = the ping time.  BNLS does the same thing, but they have tons more traffic which means that their total cache hits will be higher.

Oh, and I've written the code to check the server's signature (does BNLS do that? I don't really know) and to check the server's proof. He just has to implement them :)
Title: Re: EternalChat SpHt's look here
Post by: UserLoser. on March 22, 2005, 01:51 PM
BNLS could check server signature for you, check the proof (assuming you mean the one where if server really knows password or whatever..)
Title: Re: EternalChat SpHt's look here
Post by: iago on March 22, 2005, 02:45 PM
Quote from: UserLoser on March 22, 2005, 01:51 PM
BNLS could check server signature for you, check the proof (assuming you mean the one where if server really knows password or whatever..)

Yes, that's the proof I mean.  The M[2] value, so to speak. 
Title: Re: EternalChat SpHt's look here
Post by: iago on March 26, 2005, 02:46 PM
Quote from: Kp on March 18, 2005, 02:55 PM
Quote from: Spht on March 18, 2005, 12:56 PM
Quote from: themaker on March 13, 2005, 12:00 AM
Thank you ever so much man. LMAO still cant use JBLS ? SOmeone please help me on this?

Not sure what JBLS is, so no.  Post in the appropriate forums.

It's a Java-based BNLS ripoff, except it doesn't work as well.  Some of the messages aren't supported at all, and it's horribly slow on account of it being in Java (and thus lacking the ability to JIT an appropriate checksumming function).

I unrolled the innermost loop in my CheckRevision and got a 220% speed gain (it's basically the same as if it compiled it, using only 3 case statements).  And I added support for the two server verification messages (whatever they are).  So gg. :P
Title: Re: EternalChat SpHt's look here
Post by: Kp on March 26, 2005, 11:09 PM
So how long does it now take to run a CheckRevision, assuming the result isn't available from the cache?  IIRC, the C version with JIT support takes 10ms or less on fairly old processors.
Title: Re: EternalChat SpHt's look here
Post by: iago on March 27, 2005, 02:16 AM
Quote from: Kp on March 26, 2005, 11:09 PM
So how long does it now take to run a CheckRevision, assuming the result isn't available from the cache?  IIRC, the C version with JIT support takes 10ms or less on fairly old processors.

It depends which client and which computer.

Mine takes about 300ms for War3 if it's not cached (<1ms if it is, of course) running on my 1.5ghz laptop.  Although I can't do it properly due to network latency, but on the main server I use for RCRS, it takes about 300ms including network latency.

For the main JBLS server, we're getting about 60% cache hits which reduces the average time significantly. 
Title: Re: EternalChat SpHt's look here
Post by: Kp on March 27, 2005, 01:54 PM
War3 isn't a good test, because its authors were horribly inefficient and created badly bloated files.  Test on something like Starcraft or one of the Diablo series. :)
Title: Re: EternalChat SpHt's look here
Post by: iago on March 27, 2005, 02:40 PM
Quote from: Kp on March 27, 2005, 01:54 PM
War3 isn't a good test, because its authors were horribly inefficient and created badly bloated files.  Test on something like Starcraft or one of the Diablo series. :)

Ok, I tested on Starcraft:
Trials: 14
Cache hits: 0
Average time: 41ms
Std dev: 8ms

So basically, it has a 99.7% change of being between 17ms and 65ms. 

This is on my 1.5ghz laptop.
Title: Re: EternalChat SpHt's look here
Post by: Kp on March 30, 2005, 07:49 PM
OK, yours sucks. :)  IIRC, the versions Skywing and I use take under 10ms very consistently.  His is adapted to Windows, mine to Linux.  Both are compiled to native code, and runtime compile a function specifically for the formula supplied.  Thus, the only branches we need to take are the ones for the "if (!done) continue;" code.