Valhalla Legends Forums Archive | Battle.net Bot Development | Ethbot and 1.10?

AuthorMessageTime
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?
April 30, 2003, 11:11 PM
DarkOne
Change the verByte from 0xC5 to 0xC7 :\
April 30, 2003, 11:31 PM
Slugger69
Which section is it in? ( class modules, modules, or forms) and which 1(s) if u know?
May 1, 2003, 12:54 AM
______
changing just the verbyte to c7 wont make ethbot connect...
May 1, 2003, 12:58 AM
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.
May 1, 2003, 1:42 AM
Eternal
You need to change the Module ModEBBot - notice the changes here for STAR and SEXP.

[code]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 [/code]
May 1, 2003, 6:43 AM
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.
May 1, 2003, 12:55 PM
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?
May 2, 2003, 2:44 AM
tA-Kane
[quote author=Slugger69 link=board=17;threadid=1195;start=0#msg8887 date=1051753377]I have no clue what im doing[/quote]At least you're honest... ;)

[quote author=Slugger69 link=board=17;threadid=1195;start=0#msg8973 date=1051843470]it says CheckRevision() Failed[/quote]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.
May 2, 2003, 9:55 PM
laurion
Maybe you don't have hash.dll ?
May 3, 2003, 11:40 AM
Slugger69
I fixed it i had deleted a Winsocks control bit thingy and my friend told me what it should look like.
May 4, 2003, 5:10 AM
Eternal
*wonders how he managed to delete it without realising*.... ::)

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

May 4, 2003, 7:36 AM

Search