someone told me i dont need a botid for use of bnls, so i just writed smthing like asdf and a similar password,
but it returns me this:
Quote[18:12:30]** BNLS: Connecting.
[18:12:30]** BNLS: Connected.
[18:12:30]** BNLS: Error - your BotID wasnt accepted.
[18:12:30]** BNet: Connecting.
[18:12:30]** BNet: Connected.
[18:12:30]** BNet: Checking CD Key...
i added 'BNet: Checking CD Key...' in code where it says its connected to BNet, but it dsnt come to checking version.
so, will some1 tell me what should i do plz
EDIT - Quote fix :P
don't add it at all.
i receive same msg :(
here goes when you click on start testing on menu:
Private Sub mnuCon_Click()
AddChat vbWhite, "[" + Str(Time) + "]", vbCyan, "** ", vbGreen, "Testing for ", vbRed, StrReverse(ProductID), vbGreen, " has started!"
z = 2
tmrTest.Enabled = True
End Sub
and here is the activated timer:
Private Sub tmrTest_Timer()
'timer interval is 3000 (3 seconds)
If ProductID = "3RAW" Then
If z = 2 Then
If EOF(1) = False Then
z = 1
Input #1, nCDKey
'CleanSlateBot1.BNLSBotID = ""
'CleanSlateBot1.BNLSBotPassword = ""
CleanSlateBot1.CDKey = nCDKey
CleanSlateBot1.Product = ProductID
CleanSlateBot1.HomeChannel = frmConfig.txtChan.Text
CleanSlateBot1.Password = frmConfig.txtPass.Text
CleanSlateBot1.Username = frmConfig.txtUser.Text
CleanSlateBot1.NewPassword = "looza"
CleanSlateBot1.ChangePassword = False
CleanSlateBot1.Server = nServer
CleanSlateBot1.Accept = -65
CleanSlateBot1.Connect
End If
End If
End If
End Sub
note: the value of variable 'z' is 2 when it checks cd key
Your accept value is wrong.
it was written in a tutorial on how to use a csb.ocx
the tut is written by cuphead and zorm so....
N O T M Y F A U L T ! ! ! ======P
edit - forgot to ask... =P
what is the real value
579728
even if it is, it dsnt work. it dsnt even try to cnnect if i set cleanslatebot1.accept=579728
well, maybe its my ocx wrong for it. plz give me link to the cleanslatebot.ocx for which you told me the real value.
it may be a farsa but it is worth a try. btw, my cleanslatebot.ocx has 140kb
Are you using Cleanslatebot, or Cleanslatebot2?
cleanslatebot
Than it's old and outdated, and no longer supported. I would advise getting Cleanslatebot2.ocx if you plan on using csb, which does not support WC3.
I give him credit for using CleanSlateBot and not ripping sources. :D
if i understanded u correctly, csb2 does NOT support wc3???
CSB is outdated, and noone has bothered to update it for some time now. CSB does not support any of the WC3 clients.
well, how can i edit an existing ocx control?
I think someone should make a cleanslatebot3.ocx, even if it isn't CupHead.
Quote from: Yegg on August 03, 2005, 06:45 PM
I think someone should make a cleanslatebot3.ocx, even if it isn't CupHead.
200 look-a-like bots will be "coded" in 2006 alone.
I happen to have an older copy of the source code if anyone feels the need to make something like CleanSlateBot3.ocx
/me makes everyone mad
I'll do it!
Quote from: SkullzeD on August 03, 2005, 11:41 AM
well, how can i edit an existing ocx control?
The source was released a while ago, it's probably somewhere on the internet.
Please, There is no need for it. If it is made, we all know there will be hundreds of people out there with no idea what there doing flooding this forum looking for help on something a 5yr old could do with a few good notes and a quick 5 min lesson.
Why dont you jsut make the new CSB a packet buffer With a sub that splits up the packets and calls the RecivedPacket(ID, BodyData).
Honestly, A lot of people get stumped at simply splitting hte packets apart :/
There's enuf information out there that akll you need to know is how to manipulate strings and you can make a bot winthin the day. It's pathetic that people need a thing like CSB.
~-~(HDX)~-~
IIRC, That was OLD OLD Myria icon? *shrug*
Quote from: Warrior on August 03, 2005, 08:38 PM
/me makes everyone mad
I'll do it!
Please don't. If people are struggling with CSB as is, they should just be wiped off the face of the planet, seeing as to how CSB is already beyond simplicity.
I think a CleanSlateBot3 should be developed. I'll consider creating a CleanSlateBot3.dll.
Yes its the icon from DPBot.
Its funny how you guys aren't willing to provide a chance for new people to come into the bot development scene. The needed information to connect as a game client to a battle.net server has been publicly available for many years to the disgust of some(*cough*Skywing*cough*). Making the connection is not the hard part, its unlikely that people will use a bot just because it can connect.
The real challenge is in making the GUI and other features that people want to use. CSB allows people to focus in on those goals and not have to worry about dealing with the connection. This is something that raihan said a few years back, I didn't believe him then but looking back I see that he was right.
I actually don't care if Cleanslatebot3 is out or not, and if people are using it or not. All I know is i'm not using it so I don't care.
CSB gave me a kickstart into programming and it was some of the limitations it provided that made me want to learn to write a Binary Bot on my own and partly because I always wonder how things work. I'd call it a better alternative as opposed to leeching code.
http://www.zeroforce.net/pafiledb/pafiledb.php?action=file&id=205
Quote from: Tazo on August 04, 2005, 01:32 AMDoes anyone know where Messiah or Atom are?!
Mesiah is on AIM. =)
Quote from: ColT on August 04, 2005, 05:04 PM
I actually don't care if Cleanslatebot3 is out or not, and if people are using it or not. All I know is i'm not using it so I don't care.
Does that contribute to the topic in any way? If your post isn't going to do anything for anyone, nobody wants to see it.
Those of you who find that CSB is a bot development programmer's worst enemy, do you think that the fake programmers currently who are copying and pasting your code right now are any better the those CSB users? I have more respect for a person who is using CSB then a person who is copying and pasting open source code and taking the credit. At least we know they're learning and making an attempt, opposed to the leechers. I see nothing wrong with CSB, if you're afraid to help "newbies" in bot development then don't, I see no difference in posts then what we may already get such as "I want to make a bot where do I start", we'll simply now get "I am stuck on CSB, how do I do such and such", and we point them to a thread like usual.
Also are there not ALREADY 200 look-a-like bots? My conclusion is, CSB cuts down leeching, and provides people a start into not only bot development but into programming. If you don't support it don't use, if hate helping people, don't, just keep in mind that we were all newbies once. I believe CSB distinguishes the new bot dev programmers from the refined unlike what's going on now.
I remember someone releasing a csb-type ocx that does wc3 already..
I just searched and found it http://forum.valhallalegends.com/phpbbs/index.php?topic=8185.0 but its no longer on the site. Ohh well.
I remember that program. I didn't like it too much. But I agree with Networks. CSB could help cut down on source stealing if it were even more updated. Perhaps if it supports all clients? Cdkey and non-cdkey clients?
Quote from: Blaze on August 05, 2005, 01:44 PM
I remember someone releasing a csb-type ocx that does wc3 already..
I just searched and found it http://forum.valhallalegends.com/phpbbs/index.php?topic=8185.0 but its no longer on the site. Ohh well.
I've got a copy of this OCX if anyone is interested in it. It's just the OCX, no documentation or anything but it seems like it would be pretty self-explanatory. If you want it, let me know and I can email it to your or something.
Do you have the source to it? Seeing as how you mentioned you don't have any documentation for it, we'll need it to utilize the functions.
No source either. To find out the functions you'd need to utilize, I'd recommend you pick yourself up a type library viewer. But, if your too lazy to do that, then look below for a complete listing of members in the OCX.
TypeInfos:
BNLSLogon
Members:
Event BNETConnected
Event BNETConnecting
Event BNETDisconnected
Event BNETError (Number As Integer, Description As String)
Event BNLSConnected
Event BNLSConnecting
Event BNLSDisconnected
Event BNSLError (Number As String, Description As String)
Event Broadcast (Message As String)
Event ChangePasswordProofResult (Result As Boolean, Message As String)
Event ChangePasswordResult (Result As Boolean, Message As String)
Event CheckRevisionResult (Result As Boolean, ErrorNumber As String, ErrorMessage As String)
Event CreateAccountResult (Result As Boolean, Message As String)
Event FlagsUpdate (Username As String, Ping As Long, flags As Long, Message As String, statsString
As String)
Event HandlePackets (Data As String)
Event JoinedChannel (Channel As String, flags As Long)
Event LoggedOn (UserName As String, Message As String, statsString As String)
Event PasswordHashResult (Result As Boolean, Message As String)
Event PasswordProof (Result As Boolean, Message As String)
Event ReceivedChannels (ChannelList As String)
Event ServerError (Message As String)
Event ServerInfo (Message As String)
Event UserEmote (Username As String, flags As Long, Message As String)
Event UserInChannel (Username As String, Ping As Long, flags As Long, Product As String, Message
As String, statstring As String)
Event UserJoined (Username As String, Ping As Long, flags As Long, Product As String, Message As
String, statstring As String)
Event UserLeave (Username As String, Ping As Long, flags As Long)
Event UserTalks (Username As String, Ping As Long, flags As Long, Message As String)
Event WhisperFrom (Username As String, flags As Long, Message As String)
Event WhisperTo (Username As String, Message As String)
Property CDKey As String
Property CDKey2 As String
Property CDKeyOwner As String
Property ChangePassword As Boolean
Property HomeChannel As String
Property NewPassword As String
Property Password As String
Property Product As String
Property Server As String
Property Use0msPing As Boolean
Property UsePlug As Boolean
Property Username As String
Sub Connect
Sub ConstructPacket (DataType As String, Data As String)
Sub Disconnect
Sub Send (Data As String)
Sub SendConstructedPacket (PacketID As Byte)
Sub strcpy (Source As String, ByVal nText As String)
Quote from: rabbit on August 05, 2005, 04:54 PM
Quote from: Networks on August 05, 2005, 10:10 AM
Those of you who find that CSB is a bot development programmer's worst enemy, do you think that the fake programmers currently who are copying and pasting your code right now are any better the those CSB users? I have more respect for a person who is using CSB then a person who is copying and pasting open source code and taking the credit. At least we know they're learning and making an attempt, opposed to the leechers. I see nothing wrong with CSB, if you're afraid to help "newbies" in bot development then don't, I see no difference in posts then what we may already get such as "I want to make a bot where do I start", we'll simply now get "I am stuck on CSB, how do I do such and such", and we point them to a thread like usual.
Also are there not ALREADY 200 look-a-like bots? My conclusion is, CSB cuts down leeching, and provides people a start into not only bot development but into programming. If you don't support it don't use, if hate helping people, don't, just keep in mind that we were all newbies once. I believe CSB distinguishes the new bot dev programmers from the refined unlike what's going on now.
While I agree that CSB > Leech, CSB gives the impression to people that they can make a bot and be famous with little work and little knowledge in VB. This leads to numerous "wtfomghelpidunnowhatimdoing" type threads, which are really spam. If anyone who downloads VB/VS from the internet and gets a copy of CSB, you'd think they'd at least have some knowledge of the "Search" button, but sadly most do not. I dislike the majority of people CSB has brought to these forums (2 post members, newbies who can't work the '.' key, and people who don't understand the concept of the "Search" feature).
While all that is true in some respects, many of the leechers are the same exact way and I see no difference other then respecting the CSB users much more. Most people don't learn about the search button until the next time around honestly...
Well, I dunno why, but about lil less then half a year ago, I found a somthing that said "Cuphead" made a CleanSlateBot3 But he never got to release public, but Denial had the source, so Denial let it out to the public because Cuphead went to Jail? or somthing? ive looked through the source it self, not to bad.. supported every thing i could see at the moment, but was it made by Cuphead? i might still have the source on a CD somewhere, I'll look into finding it and maybe post it here.
It was fully commented, and yes i am sure it wasnt CleanSlateBot2
Wasn't that his "New CSB"?
Quote from: Yegg on August 08, 2005, 08:15 AM
Wasn't that his "New CSB"?
That was the supposed to be CSBv3 and he was working with Zorm on it however Zorm wasn't, I guess as ethusiastic to work on it so the project stopped and Cuphead had his own issues to attend to.
MyStiCaL: Forged already posted the link back on page 2.
i support open source programs, because ive learned much with them. when i made a crappy game 3 years ago(i was 10 then =P) i started vb, and copy-pasted parts of different open sources and slightly modified them. but i didnt add a credit to anyone except me. well, after that game i stopped vb and only played war3. one guy made a map, and someone changed it and didnt gave him credit. he was so mad at him that in the next ver of his map he wrote: that bitchass faggot called <name> stole my map! dont play his map it sux.... well, there i realised he was wrong for writing that. he could write smthin like: NOTE: there is another version of this map, named <mapname> by <name>. was that hard? for him, yes.
you may think this babbling i wrote is useless. trust me, it isnt.
2 years after that (i was 12) i modded few td-s. i did that because i loved them so much i wanted to improve them. those who made em had vision, they knew what they wanted to do. sadly, they didnt had skill, and i opened them in map editor to see the source. it was noobish, and i improved all of it, made it easyer to change, added comments.... after i did that, i changed intro screen a lil. at the bottom of the text, i added: 'nerfed by skullzed'. and yes, the version was 1.12 and i made the modded map to be 1.12b. and thats it!
you may now wonder why did i wrote all this.
i wrote it because there are lots of ppl like this mapmaker, and this 'stealer', but not much ppl like i am.
im maybe not the smartest kid in the universe, but i know that if you dnt want to make money with the program/game you make you should make it open-source so others can learn from it. here are few tips if youre making a open source (this tips could be usefull even if youre not making open source cause then it will be harder for you to get lost in your code):
1. Comment
a. write why you made that part of code.
b. write what the code is doing
c. comment variables, for what they are for
2. Learn to work with arrays, so you can escape things like bunny1, bunny2, bunny3. with an array it would look like bunny(1). it also allows you much easier coding.
3. Try not to use commands like goto
4. name variables like life or health if it is a life value of a unit or smthin. NEVER name variables like a, b, c...
5. use sub procedures, it makes your life easier.
i know this post is off-topic, but im working with vb for a year, and i learned some things.
hope it will prove usefull for you all.
btw,
NEVER steal some1's code. LEARN from it, and write it with your own hands, on your own way.
Quote from: Mr. Neo on August 05, 2005, 03:10 PM
Quote from: Blaze on August 05, 2005, 01:44 PM
I remember someone releasing a csb-type ocx that does wc3 already..
I just searched and found it http://forum.valhallalegends.com/phpbbs/index.php?topic=8185.0 but its no longer on the site. Ohh well.
I've got a copy of this OCX if anyone is interested in it. It's just the OCX, no documentation or anything but it seems like it would be pretty self-explanatory. If you want it, let me know and I can email it to your or something.
I think this aocx uses chronic's bnls id and pass as there is no option to set the id, and for some reason or another I can't seem to get past Connecting to BNLS
Quote from: SkullzeD on August 12, 2005, 11:55 AM
1. Comment
a. write why you made that part of code.
b. write what the code is doing
c. comment variables, for what they are for
4. name variables like life or health if it is a life value of a unit or smthin. NEVER name variables like a, b, c...
Interesting post in general. Not going to say you're wrong, but I wanted to point out my disagreement with 2 of your 3 points of contention with comments.
Writing
why you wrote a particular piece of code is worthwhile. However, writing
what a code snippet does is not necessary for several reasons. Writing what code does 1.) can change as the code is updated, and 2.) a competent programmer should be able to understand what each line of it does. The *why* should be the bigger purpose comment (for example, "This part of the subroutine updates the state of the object to ensure concurrency with the GUI"), whereas the "This line updates the object state value to match the GUI" is redundant and can be outdated if you come up with a better way to do things. Finally, commenting variables as they are declared can also be redundant, provided that you used good naming techniques (your #4 note).
Otherwise generally good advice.