Valhalla Legends Forums Archive | Battle.net Bot Development | Channel + # of people

AuthorMessageTime
TeEhEiMaN
Can someone help me out with showing how many people are in channel, and the current channel the bot is in? Its for cleanslate bot. VB

Thanks
May 26, 2003, 1:43 AM
______
[code]

Private Sub CleanSlateBot1_JoinedChannel(ByVal ChannelName As String, ByVal Flags As Long, SimulatedEvent As Boolean)

txtchannel.text = channelname
txtchannel2.text = channelname 'not visible text box fot later use
End Sub

Private Sub CleanSlateBot1_UserInChannel(ByVal Username As String, ByVal Flags As Long, ByVal Message As String, ByVal Ping As Long, ByVal Product As String, StatUpdate As Boolean, SimulatedEvent As Boolean)



Dim homenum As Integer

For i = 1 To form1.lstchannel.ListItems.Count 'lst channel = your listviewname
homnum = form1.lstchannel.ListItems.Count
Next i

Dim home As String

home = form1.txtchannel2.text


form1.txtchannel.text = ""

form1.txtchannel.text = home & " ( " & homnum & " )"



End Sub
[/code]

and do the same for people leaving and joingin
May 26, 2003, 2:34 AM
TheMinistered
Teeheiman, I have seen you ask a question for everything that would make up a bot. Visual Basic wasn't renamed to Visual Bot Studio. If you want to make a bot that in the future you can update yourself without relying on others to help you. Then I suggest you learn visual basic, very well. Then try to make a bot.
May 26, 2003, 2:39 AM
OcTaViuS
ministered give him a break. he asked for help not criticism.
May 26, 2003, 2:49 AM
TheMinistered
Octivius, I am giving him the best help he can get. It is better to learn something than to wing your way through it. This is exactly what kids today do at school, they wing their way through high school. They make the lowest grades they can possibly make just so they can be lazy. They even have a new saying, "Well, D stands for Diploma!". What do I say that? D stands for Dumb Ass! Learning is better, end of story!
May 26, 2003, 2:53 AM
drivehappy
I agree with you Ministered. I'm graduating this year and I can't tell you how many people have missed weeks of school and cannot pass an eigth-grade math proficiency. Coding yourself forces you to look the stuff up, once you have you either know where to get it or remember it for the next time you use it.
May 26, 2003, 3:03 AM
______
At least hes not asking Can some1 just put up there source on here so i can copy and paste and push connect and boom hes on bnet. With everything else.
May 26, 2003, 3:11 AM
TheMinistered
That is what he is asking, essentially.
May 26, 2003, 4:00 AM
iago
Yes, that's exactly what he's saying, in fact..
May 26, 2003, 6:16 AM
St0rm.iD
high school sucks...my teachers dont know shit
difference here is there's actually something to learn and its actually interesting
May 26, 2003, 2:15 PM
TeEhEiMaN
Well actualy I am learning a lot from you guys, Ive only been useing VB for 2 days, and I could alrdy get most of the commands down, And i am learning a lot from you guys, I just want help, I dont wanna be flamed, But sorry for all the posts but I apprecate all the help.

Thank you,
TeEhEiMaN
May 26, 2003, 6:58 PM
TeEhEiMaN
I installed the script but for some reason i am getting a error on

[/CODE]
Private Sub CleanSlateBot1_UserInChannel(ByVal Username As String, ByVal Flags As Long, ByVal Message As String, ByVal Ping As Long, ByVal Product As String, StatUpdate As Boolean, SimulatedEvent As Boolean
[CODE]

what could be wrong?
May 26, 2003, 7:05 PM
Noodlez
2 days? Hi I was just born and I want to walk. No doesn't work. DO NOT make a bot for your first program. You may think you understand everything we are telling you, but you don't. Your just pasting it and knowing that it works so your happy. GO LEARN the language. (The same goes for TRiCK.. he seems to be doing the same thing as teeheiman)
May 26, 2003, 7:08 PM
OcTaViuS
[quote author=TheMinistered link=board=17;threadid=1433;start=0#msg10683 date=1053917598]
Octivius, I am giving him the best help he can get. It is better to learn something than to wing your way through it. This is exactly what kids today do at school, they wing their way through high school. They make the lowest grades they can possibly make just so they can be lazy. They even have a new saying, "Well, D stands for Diploma!". What do I say that? D stands for Dumb Ass! Learning is better, end of story!
[/quote]

ppl can get discouraged if they cant figure the stuff out, thus putting em farther behind then when they started.

I'm probly the perfect example of someone who doesnt learn anything if he/she has to do it thereself, dunno y. its like i memorize the code i see , and what it does, after the first glance and then can bend it around in my head to fit what i need to do.

and be careful what u say man. i just happen to be one of those lazy D students. i can see what ur saying tho, ur doing more work then them yet in the end it doesnt really matter. and most of the time the 'lazy D students' are indeed capable of getting straight A's, they just see the bright side, if ur employer rejects ur job application because of low marks in grade 10, rather then considering reasons y they're low. (like maybe ur too busy with community service - i know in Ontario u need 40 hours of volunteer work to graduate - maybe there low cause u got a part time job, maybe theyre low because ur busy getting different awards and shyt) then screw em they dont deserve ur skills.

example:
for me, by the time im actually searching for a real job, my resume will be backed up with the duke of edinburg awards (bronze, silver, and gold), chief scout award, first class BP award, CPR Certified, First AID Certifed, aswell as an MCP certificate in computer programming. If my employer fails to recognize this and decides to reject me because of a 65% in history, then f*ck em.

anyways i kinda lost my train of thought and forget the whole point i was gonna make, so instead of rambling on i think im gonna shut up now. so tired...
May 26, 2003, 7:27 PM
TheMinistered
That's great... octivius MCP certified... lol
May 26, 2003, 7:33 PM
TeEhEiMaN
thats great, but are you guys gonna help me? :-\
May 26, 2003, 7:47 PM
Eternal
[quote author=TheMinistered link=board=17;threadid=1433;start=0#msg10680 date=1053916771]
Teeheiman, I have seen you ask a question for everything that would make up a bot. Visual Basic wasn't renamed to Visual Bot Studio. If you want to make a bot that in the future you can update yourself without relying on others to help you. Then I suggest you learn visual basic, very well. Then try to make a bot.
[/quote]

It's a fair point. I mean, most people here are happy to help but I think that only carries you so far...
May 26, 2003, 10:25 PM
TeEhEiMaN
yea but I learn by what you guys tell me... :-\
May 26, 2003, 10:49 PM
OcTaViuS
i'd help ya man but i dont know how cleanslatebot works

[quote author=TheMinistered link=board=17;threadid=1433;start=0#msg10787 date=1053977602]
That's great... octivius MCP certified... lol
[/quote]

heh =\ my high school offers a MCP course, spread out over 2 years. cost my parents $500 to pay for the textbooks :|
May 26, 2003, 11:26 PM
tA-Kane
[quote author=TeEhEiMaN link=board=17;threadid=1433;start=15#msg10809 date=1053989397]yea but I learn by what you guys tell me...[/quote]1+1 is not 2. ;)
May 26, 2003, 11:27 PM
OcTaViuS
[quote author=tA-Kane link=board=17;threadid=1433;start=15#msg10818 date=1053991649]
1+1 is not 2. ;)
[/quote]

hate to take the humour out of that but it is true...if ur using binary 1+1=11
May 26, 2003, 11:30 PM
Eibro
[quote author=OcTaViuS link=board=17;threadid=1433;start=15#msg10819 date=1053991854]
[quote author=tA-Kane link=board=17;threadid=1433;start=15#msg10818 date=1053991649]
1+1 is not 2. ;)
[/quote]

hate to take the humour out of that but it is true...if ur using binary 1+1=11
[/quote]No smart guy, 1b + 1b != 11b.
May 26, 2003, 11:33 PM
OcTaViuS
[quote author=Eibro link=board=17;threadid=1433;start=15#msg10820 date=1053992025]
No smart guy, 1b + 1b != 11b.
[/quote]

Is it confuse OcTaViuS week or something?
May 26, 2003, 11:40 PM
tA-Kane
[quote author=Eibro link=board=17;threadid=1433;start=15#msg10820 date=1053992025]No smart guy, 1b + 1b != 11b.[/quote]It is in unary, is it not?
May 26, 2003, 11:44 PM
kamakazie
[quote author=OcTaViuS link=board=17;threadid=1433;start=15#msg10819 date=1053991854]
hate to take the humour out of that but it is true...if ur using binary 1+1=11
[/quote]

I always thought 2 was 10 in binary.
May 27, 2003, 12:05 AM
OcTaViuS
lol ya it is, i was just seeing if anyone would catch that.
May 27, 2003, 1:49 AM
Grok
If the b (in 1b+1b=10b) can be implied, then so can the quotes, and thus: 1 +1 = 11 where + is the string concatenator in VB.
May 27, 2003, 2:01 AM
TheMinistered
Good one Grok! However, I recommend using the + operator for addition operations strictly and the & operator for string concatenation.
May 27, 2003, 2:13 AM
TeEhEiMaN
Umm I thought this was a topic to help me????
May 27, 2003, 2:27 AM
Kp
[quote author=TeEhEiMaN link=board=17;threadid=1433;start=15#msg10838 date=1054002441]
Umm I thought this was a topic to help me????
[/quote]Why would you think that?
May 27, 2003, 3:51 AM
TeEhEiMaN
because i started it to get help :)
May 27, 2003, 4:06 AM

Search