• Welcome to Valhalla Legends Archive.
 

Ethbot and 1.10?

Started by Slugger69, April 30, 2003, 06:11 PM

Previous topic - Next topic

Slugger69

I was looking at a Sourcecode for ethbot today and tried it out and it wouldnt connect to 1.10. is there a way to make it work on 1.10?

DarkOne

Change the verByte from 0xC5 to 0xC7 :\

Slugger69

Which section is it in? ( class modules, modules, or forms) and which 1(s) if u know?

______

changing just the verbyte to c7 wont make ethbot connect...

Slugger69

I have no clue what im doing and am not trying to say i made this bot (2 newb to make it) just wondering how to get it to connect.

Eternal

You need to change the Module ModEBBot - notice the changes here for STAR and SEXP.

Public Function getProductHash(Product As String) As Long
Select Case UCase(Product)
   Case "DRTL"
       getProductHash = &H2A
   Case "SSHR"
       getProductHash = &HA5
   Case "JSTR"
       getProductHash = &HA9
   Case "W2BN"
       getProductHash = &H4F
   Case "STAR"
       getProductHash = &HC7
   Case "SEXP"
       getProductHash = &HC7
   Case "D2DV"
       getProductHash = &H9
   Case "DSHR"
       getProductHash = &H2A
   Case "D2XP"
       getProductHash = &H9
   Case Else
       getProductHash = &HA5
End Select
End Function
^-----silly Brit
-----------------------------
www.brimd.com

Yoni

By the way: For bots that use BNLS, you may use the BNLS_REQUESTVERSIONBYTE (0x10) message to get the latest version byte. The version bytes known to BNLS are updated by Skywing or me whenever a patch comes out, so this message should always give you the latest one.

Slugger69

ya i tried what u changed and compiled it, added the new 1.10 star hashes and when i connect it still says CheckRevision() Failed and disconnects. Is there something else im supposed to change?

tA-Kane

Quote from: Slugger69 on April 30, 2003, 08:42 PMI have no clue what im doing
At least you're honest... ;)

Quote from: Slugger69 on May 01, 2003, 09:44 PMit says CheckRevision() Failed
That's most likely caused by you passing an incorrect path to a hashfile. Check to make sure that you have the correct hashfiles, and that the pathnames you are passing to CheckRevision() are correct.

Alternatively, some bots display that if CheckRevision itself works fine, but the server is unable to verify your hash versions. Again, this will be a hashfile problem, and you'd need to get the latest hashes.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

Tazo

Maybe you don't have hash.dll ?

Slugger69

I fixed it i had deleted a Winsocks control bit thingy and my friend told me what it should look like.

Eternal

*wonders how he managed to delete it without realising*.... ::)

Form1.caption = "my bot...."

^-----silly Brit
-----------------------------
www.brimd.com