Author | Message | Time |
---|---|---|
Dayclone | Hello, I don't know exactly how to do this but. WHne i try connecting my bot it Connects then Disconnects does anyone know what mgiht cause this problem? and I'm using hashes. Too complicated to work with BNLS. Please help thanks. | February 12, 2004, 10:29 PM |
Null | Im so good at solving unspecific problems , let me just load up my ESP dude show some code , tell us whats going on when you are trying to connect , what your sending etc. | February 12, 2004, 10:30 PM |
Dayclone | What kinda coding you want lol I got lots theirs packetclass gameclass config classs and loginclass and a public module. | February 13, 2004, 12:17 AM |
Null | The code that is revolving around where you are getting your area? How long into your connection till u get an error? w What are you doing when you get the error? What are you sending to battle.net when you get the error? What are you receiving from battle.net when you get the error? | February 13, 2004, 12:26 AM |
Dayclone | Well I dunno what i'm sending or reciving but I can show you my codes to everything if you want and it's like instantly when i connect the bot. | February 13, 2004, 12:37 AM |
UserLoser. | [quote author=Dayclone link=board=17;threadid=5252;start=0#msg43927 date=1076632667] Well I dunno what i'm sending or reciving but I can show you my codes to everything if you want and it's like instantly when i connect the bot. [/quote] Then it's not your code Try using a packet logger, and see everything that's being sent between the connection | February 13, 2004, 12:41 AM |
Dayclone | I can show you everything in my coding if you want but it's gonna be long. | February 13, 2004, 12:42 AM |
Null | Add some error handling to your code and pin-point exactly where your bot stops then post up that code segment if you cant figure it out yourself. | February 13, 2004, 12:42 AM |
Dayclone | See if you look under my name it says i'm a newbie, I hope you don't mind helping me out. How do i add a error handler to it? | February 13, 2004, 12:47 AM |
Null | I dont mind helping you out otherwise i wouldnt of posted at all. I sometimes just add stuff to my RTB so i can pinpoint where / what is getting done. eg When an event fires off just add Addchat "EventName Fired now" , vbred etc , you could use a number of things to accomplish this task. So on your Socket.Connect event , Output something thats says you have successfully connected , when ever you send or receieve something add it to your RTB and so forth. This way you can pin-point shit happening in Real Time. | February 13, 2004, 12:51 AM |
Dayclone | RTB? Ok I get the connected message then this is the coding for what apperas next [code]Private Sub Socket_Close(Index As Integer) Socket(Index).Close Display OutputText(Index), True, True, vbRed, "Disconnected" End Sub[/code] | February 13, 2004, 12:54 AM |
Newby | [quote author=Dayclone link=board=17;threadid=5252;start=0#msg43927 date=1076632667] Well I dunno what i'm sending or reciving but I can show you my codes to everything if you want and it's like instantly when i connect the bot. [/quote] I guess you found Shadowbot? Show us some CODING On what happens on connect What header you send / what packet you send. Debug.Print is very good too. | February 13, 2004, 1:00 AM |
Null | your RichTextBox that isnt the cause of your problem thought , something is causing that to fire. If you are using the binary interface then possibly your version byte? there could be a number of things a miss , and its kind of hard for me to even speculate without getting some decent feedback. | February 13, 2004, 1:02 AM |
Dayclone | No it's a winbot lol here's the coding. [code]Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByRef Destination As Any, ByRef Source As Any, ByVal numbytes As Long) Private Buffer As String Public Function InsertDWORD(Data As Long) Buffer = Buffer & MakeDWORD(Data) End Function Public Function InsertWORD(Data As Integer) Buffer = Buffer & MakeWORD(Data) End Function Public Function InsertBYTE(Data As Integer) Buffer = Buffer & Chr(Data) End Function Public Function InsertNTString(Data As String) Buffer = Buffer & Data & Chr(0) End Function Public Function InsertNonNTString(Data As String) Buffer = Buffer & Data End Function Function MakeDWORD(Value As Long) As String Dim Result As String * 4 CopyMemory ByVal Result, Value, 4 MakeDWORD = Result End Function Function MakeWORD(Value As Integer) As String Dim Result As String * 2 CopyMemory ByVal Result, Value, 2 MakeWORD = Result End Function Public Function Clear() Buffer = "" End Function Public Function SendPacket(Index As Integer, PacketID As Byte) If MainForm.Socket(Index).State <> sckConnected Then: Exit Function MainForm.Socket(Index).SendData Chr(&HFF) & Chr(PacketID) & MakeWORD(Len(Buffer) + 4) & Buffer Clear End Function Public Function SendAuthPacket(PacketID As Byte) If MainForm.AuthSocket.State <> sckConnected Then: Exit Function MainForm.AuthSocket.SendData Chr(PacketID) & Buffer Clear End Function [/code] This is all the packetsclass | February 13, 2004, 1:03 AM |
Eli_1 | ...Useless :-\ | February 13, 2004, 8:27 PM |
Fr0z3N | Sad to say but that coding is stolen from TCP Winbot aka GamerBot by Networkz or Barumonk. | February 13, 2004, 9:20 PM |
Spht | [quote author=Fr0z3N link=board=17;threadid=5252;start=15#msg44085 date=1076707209] Sad to say but that coding is stolen from TCP Winbot aka GamerBot by Networkz or Barumonk. [/quote] Actually, it looks much like the public packet buffer class that DarkMinion wrote, which many Visual Basic bots use. | February 13, 2004, 9:43 PM |
Fr0z3N | [quote author=Dayclone link=board=17;threadid=5252;start=0#msg43936 date=1076633657] [code]Private Sub Socket_Close(Index As Integer) Socket(Index).Close Display OutputText(Index), True, True, vbRed, "Disconnected" End Sub[/code] [/quote] Is by Networkz/Barumonk. | February 14, 2004, 1:20 PM |
Soul Taker | Do you work for SCO? | February 14, 2004, 3:07 PM |
Spht | [quote author=Soul Taker link=board=17;threadid=5252;start=15#msg44246 date=1076771263] Do you work for SCO? [/quote] Does your bot use the Close method to close sockets? If so, you must be using Networkz's code! | February 14, 2004, 3:10 PM |
Dayclone | I don't work for anyone, and Fr0z3N is right the coding is done by Daneil ( Gamerbot ). I have gave him credit for it too. I fixed this problem but I have appeared with another problem with his coding. When I log on and everything it creates game and the other one joins but nothing happens. Would anyone like to see the gameclass coding? | February 14, 2004, 4:17 PM |
LoRd | [quote]I don't work for anyone, and Fr0z3N is right the coding is done by Daneil ( Gamerbot ).[/quote] Denial* didn't code anything in that bot except for the Me.Caption = "Gamer Bot v1.0 By Denial" [quote]Well I dunno what i'm sending or reciving but I can show you my codes to everything if you want and it's like instantly when i connect the bot.[/quote] Usally people on this forum are reluctant to help copy/paste coders. | February 14, 2004, 5:39 PM |
Fr0z3N | [quote author=Dayclone link=board=17;threadid=5252;start=15#msg44257 date=1076775451] I don't work for anyone, and Fr0z3N is right the coding is done by Daneil ( Gamerbot ). I have gave him credit for it too. I fixed this problem but I have appeared with another problem with his coding. When I log on and everything it creates game and the other one joins but nothing happens. Would anyone like to see the gameclass coding? [/quote] Spht... ;D | February 14, 2004, 6:13 PM |
Dayclone | Waht's that suppsoed to mean? | February 14, 2004, 8:18 PM |
Dyndrilliac | [quote author=Fr0z3N link=board=17;threadid=5252;start=15#msg44286 date=1076782395] [quote author=Dayclone link=board=17;threadid=5252;start=15#msg44257 date=1076775451] I don't work for anyone, and Fr0z3N is right the coding is done by Daneil ( Gamerbot ). I have gave him credit for it too. I fixed this problem but I have appeared with another problem with his coding. When I log on and everything it creates game and the other one joins but nothing happens. Would anyone like to see the gameclass coding? [/quote] Spht... ;D [/quote] You missed the point entirely, just because That is the method in which was used for that author doesn't mean in every instance you see that code that he infact wrote it. | February 14, 2004, 8:52 PM |
Spht | [quote author=Fr0z3N link=board=17;threadid=5252;start=15#msg44286 date=1076782395] [quote author=Dayclone link=board=17;threadid=5252;start=15#msg44257 date=1076775451] I don't work for anyone, and Fr0z3N is right the coding is done by Daneil ( Gamerbot ). I have gave him credit for it too. I fixed this problem but I have appeared with another problem with his coding. When I log on and everything it creates game and the other one joins but nothing happens. Would anyone like to see the gameclass coding? [/quote] Spht... ;D [/quote] I hereby copyright AddChat vbRed, "Disconnected" as my code. No one's allowed to use it! (It's not worth your while to point out that someone's using the same method of closing a socket and telling the user. I'm sure there a many programs which load a form and update its caption the same way -- no one cares.) | February 14, 2004, 9:56 PM |
Newby | [quote author=Spht link=board=17;threadid=5252;start=15#msg44334 date=1076795774] [quote author=Fr0z3N link=board=17;threadid=5252;start=15#msg44286 date=1076782395] [quote author=Dayclone link=board=17;threadid=5252;start=15#msg44257 date=1076775451] I don't work for anyone, and Fr0z3N is right the coding is done by Daneil ( Gamerbot ). I have gave him credit for it too. I fixed this problem but I have appeared with another problem with his coding. When I log on and everything it creates game and the other one joins but nothing happens. Would anyone like to see the gameclass coding? [/quote] Spht... ;D [/quote] I hereby copyright AddChat vbRed, "Disconnected" as my code. No one's allowed to use it! (It's not worth your while to point out that someone's using the same method of closing a socket and telling the user. I'm sure there a many programs which load a form and update its caption the same way -- no one cares.) [/quote] So, can I still go AddChat vbGreen, "Disconnected" ? :) :P | February 14, 2004, 10:15 PM |
Spht | [quote author=Newby link=board=17;threadid=5252;start=15#msg44335 date=1076796948] [quote author=Spht link=board=17;threadid=5252;start=15#msg44334 date=1076795774] [quote author=Fr0z3N link=board=17;threadid=5252;start=15#msg44286 date=1076782395] [quote author=Dayclone link=board=17;threadid=5252;start=15#msg44257 date=1076775451] I don't work for anyone, and Fr0z3N is right the coding is done by Daneil ( Gamerbot ). I have gave him credit for it too. I fixed this problem but I have appeared with another problem with his coding. When I log on and everything it creates game and the other one joins but nothing happens. Would anyone like to see the gameclass coding? [/quote] Spht... ;D [/quote] I hereby copyright AddChat vbRed, "Disconnected" as my code. No one's allowed to use it! (It's not worth your while to point out that someone's using the same method of closing a socket and telling the user. I'm sure there a many programs which load a form and update its caption the same way -- no one cares.) [/quote] So, can I still go AddChat vbGreen, "Disconnected" ? :) :P [/quote] Sure, Mr. Positive. | February 14, 2004, 10:37 PM |
Dayclone | Eh heh sorry for the ocmotion i've cause, but I jsut need help with the game sequence. This is not my coding either you can help me do the right thing and help me write my own or soem pointers in what to change. I did change what Spht had origianlly created instead of Red I put it a different color. | February 14, 2004, 10:39 PM |
Spht | [quote author=Dayclone link=board=17;threadid=5252;start=15#msg44339 date=1076798352] I did change what Spht had origianlly created instead of Red I put it a different color. [/quote] It was a joke. | February 14, 2004, 10:50 PM |
Networks | [quote]Denial* didn't code anything in that bot except for the Me.Caption = "Gamer Bot v1.0 By Denial"[/quote] ^ thats the funniest shit i've ever heard... | February 15, 2004, 12:09 AM |
hismajesty | [quote author=Fr0z3N link=board=17;threadid=5252;start=15#msg44085 date=1076707209] Sad to say but that coding is stolen [/quote] You have NO room to talk when it comes to issues of stealing coding. To whoever started this topic: www.vbtutor.net | February 15, 2004, 12:26 AM |
Hamtaro | [quote author=hismajesty link=board=17;threadid=5252;start=30#msg44351 date=1076804785] [quote author=Fr0z3N link=board=17;threadid=5252;start=15#msg44085 date=1076707209] Sad to say but that coding is stolen [/quote] You have NO room to talk when it comes to issues of stealing coding. To whoever started this topic: www.vbtutor.net [/quote] ooh is there one of those for c++? | February 15, 2004, 1:02 AM |
hismajesty | I'm sure there is, just use google. I've never looked for one really since I usually just use my C++ book when I need to look something up. =\ | February 15, 2004, 4:56 AM |
Dayclone | =/ I'll see what I can do about my limited VB skills. | February 15, 2004, 3:53 PM |
Grok | [quote author=Spht link=board=17;threadid=5252;start=15#msg44334 date=1076795774]I hereby copyright AddChat vbRed, "Disconnected" as my code. No one's allowed to use it![/quote] Hey!!! :p | February 16, 2004, 5:17 PM |
K | [quote author=Spht link=board=17;threadid=5252;start=15#msg44334 date=1076795774] I hereby copyright AddChat vbRed, "Disconnected" as my code. No one's allowed to use it! [/quote] Uhoh -- Now that I've seen your copyrighted code, any similar code I write will be an infringment. [code]this->AppendText(Color("Disconnected.", "#FF0000"), true);[/code]DAMN. [code]this.WriteTextF(Color.Red, "Disconnected.");[/code]DAMN. | February 16, 2004, 9:37 PM |
MrRaza | [quote author=iago link=board=17;threadid=5226;start=0#msg43655 date=1076509680] Get a game and a packetsniffer (hint: www.ethereal.com) and a compiler (VS6, VS.net, gcc, dev-c++, etc). Get a disassembler/debugger (IDA, W32Dasm, Softice, windbg, even VS or gdb). That's all you need. Use your packetsniffer to watch the game connect. Do this a few times, and find out what changes. Try changing your password and connecting again, see what changes. Try connecting from your friends computer, or with a different cdkey. Send various chat messages in the channel and see what happens. After that, you should be able to tell the basic protocol of the game. Then take your debugger, and find where data is send and recieved (send() and recv()). From there, look for where the sent data is created, or where the recieved data is processed. One you've found that, use your disassembler to go through the create/process functions and find out how they work, and, eventually, write your own software to imitate them. That's all it takes!! Of course, there's the option of using other people's work, like BNLS or CSB, but that's not fun. What you need to know: - some language, your choice. You also need to know sockets programming. - assembly That's it! [/quote] Iago said it perfectly. Starting a project like this isn't good, you won't complete because you don't know how. This has been said many times before, all you have to do is learn the language, try some simple projects out that you can add to your bot when you've learned everything, and see where you are from there. | February 21, 2004, 11:01 PM |