|
Global Mode (Bots)
Global Mode // Bots
Oct 3, 2002, 12:21am
I'm having a problem getting global mode to work on my bot? Can anyone help?
Private Sub Form_load()
sdk.AwBoolSet AW_GLOBAL_ENTER, 1
sdk.AwEnterGlobal = True
sdk.AwWait 100
sdk.AwInit AW_BUILD
sdk.QuickStart CitizenNumber, Password, BotName, Application, World, 0,
1000, 0, 0, 0
timAwWait.Interval = 1000
timAwWait.Enabled = True
sdk.AwEventSet AW_EVENT_CHAT
sdk.AwWorldTitle = "Taz! - Dumbot Online! Welcome to Taz! :) You are"
sdk.AwWorldAttributesChange
End Sub
Oct 3, 2002, 12:49am
and yes I do have CT in the world for those of you that think it's funny to
ask stupid questions...
Oct 3, 2002, 12:03pm
You don't need both
sdk.AwBoolSet AW_GLOBAL_ENTER, 1
sdk.AwEnterGlobal = True
Just the top one will work fine. If 1 doesnt work, then try 0. I forgot which one was true and which one was false again :-/
[View Quote]"sk8man1" <Gzanone at optonline.net> wrote in message news:3d9ba9c0$1 at server1.Activeworlds.com...
> I'm having a problem getting global mode to work on my bot? Can anyone help?
>
> Private Sub Form_load()
> sdk.AwBoolSet AW_GLOBAL_ENTER, 1
> sdk.AwEnterGlobal = True
> sdk.AwWait 100
> sdk.AwInit AW_BUILD
> sdk.QuickStart CitizenNumber, Password, BotName, Application, World, 0,
> 1000, 0, 0, 0
> timAwWait.Interval = 1000
> timAwWait.Enabled = True
> sdk.AwEventSet AW_EVENT_CHAT
> sdk.AwWorldTitle = "Taz! - Dumbot Online! Welcome to Taz! :) You are"
> sdk.AwWorldAttributesChange
> End Sub
>
>
|
Oct 3, 2002, 12:06pm
1's always been true hasn't it? If it isn't in VB I'm seriously going to go ape on
Microsoft for being silly.
--Bowen--
If he has both... it's going to work anyways.
> Just the top one will work fine. If 1 doesnt work, then try 0. I forgot which one
was true and which one was false again :-/
Oct 3, 2002, 12:25pm
LOL
True=-1
False=0
Leo :)
the silly dweebs lol
[View Quote]"bowen" <thisguyrules at 7k2.4mg.com> wrote in message news:3d9c4ee8 at server1.Activeworlds.com...
> 1's always been true hasn't it? If it isn't in VB I'm seriously going to go ape on
> Microsoft for being silly.
>
> --Bowen--
> If he has both... it's going to work anyways.
>
> was true and which one was false again :-/
>
>
>
|
Oct 3, 2002, 12:28pm
And i think technically a False is 0 and a True is any "non zero".... so a 1 should work as a True also...:) My previous post was strickly "by the book" :)
Leo :)
[View Quote]"binarybud" <leom at knorrinteractive.com> wrote in message news:3d9c536a$1 at server1.Activeworlds.com...
> LOL
> True=-1
> False=0
>
> Leo :)
>
> the silly dweebs lol
>
>
> "bowen" <thisguyrules at 7k2.4mg.com> wrote in message news:3d9c4ee8 at server1.Activeworlds.com...
>
>
|
Oct 3, 2002, 12:33pm
Erm, I didn't think you could use anything "non zero" for true. It was either 1 or
0. o_O
*burns microsucks* How dare you do the negative of what's common.
--Bowen--
[View Quote]"binarybud" <leom at knorrinteractive.com> wrote in message
news:3d9c5422 at server1.Activeworlds.com...
> And i think technically a False is 0 and a True is any "non zero".... so a 1 should
work as a True also...:) My previous post was strickly "by the book" :)
>
> Leo :)
>
>
>
>
> "binarybud" <leom at knorrinteractive.com> wrote in message
news:3d9c536a$1 at server1.Activeworlds.com...
news:3d9c4ee8 at server1.Activeworlds.com...
ape on
one
>
>
|
Oct 3, 2002, 1:59pm
Well since it's not the actual boolean value from the language, they can make it equal whatever they want. If they wanted it to be the same as the language's definition of true and false, they'd just use that.
Anyway, I hardly think we should trust the opinion of someone who replaces the name of a company with rude insults for no good reason.
-Agent1
[View Quote]bowen wrote:
> Erm, I didn't think you could use anything "non zero" for true. It was either 1 or 0. o_O
> *burns microsucks* How dare you do the negative of what's common.
>
> "binarybud" <leom at knorrinteractive.com> wrote in message news:3d9c5422 at server1.Activeworlds.com...
|
Oct 3, 2002, 2:13pm
> Anyway, I hardly think we should trust the opinion of someone who replaces the name
of a company with rude insults for no good reason.
I hardly think we should trust the opinion of someone who uses rude insults in
example tags.
--Bowen--
Oct 3, 2002, 4:11pm
Who YOU choose to trust is none of OUR business.....Let us build our OWN "trust database", minus the trolling comments.
Leo :)
[View Quote]"agent1" <webmaster at shatteredplattersDOTcom> wrote in message news:3d9c696a at server1.Activeworlds.com...
> Well since it's not the actual boolean value from the language, they can make it equal whatever they want. If they wanted it to be the same as the language's definition of true and false, they'd just use that.
>
> Anyway, I hardly think we should trust the opinion of someone who replaces the name of a company with rude insults for no good reason.
>
>
> -Agent1
>
> bowen wrote:
>
|
Oct 3, 2002, 7:05pm
I'm not sure, but you might want to try using:
AW_ENTER_GLOBAL
I'm not using the VB sdk, so I couldn't tell you if the attribute constant
is different there, but in the aw.h file it is defined as it is above.
[View Quote]"sk8man1" <Gzanone at optonline.net> wrote in message
news:3d9ba9c0$1 at server1.Activeworlds.com...
> I'm having a problem getting global mode to work on my bot? Can anyone
help?
>
> Private Sub Form_load()
> sdk.AwBoolSet AW_GLOBAL_ENTER, 1
> sdk.AwEnterGlobal = True
> sdk.AwWait 100
> sdk.AwInit AW_BUILD
> sdk.QuickStart CitizenNumber, Password, BotName, Application, World,
0,
> 1000, 0, 0, 0
> timAwWait.Interval = 1000
> timAwWait.Enabled = True
> sdk.AwEventSet AW_EVENT_CHAT
> sdk.AwWorldTitle = "Taz! - Dumbot Online! Welcome to Taz! :) You are"
> sdk.AwWorldAttributesChange
> End Sub
>
>
|
Oct 3, 2002, 7:20pm
You didn't specify whether you use ocx or dll; in the readme.txt that comes with the dll "Global mode can be set with QuickStartGlobal" is mentioned, I assume the same should apply to the ocx too. I never understood why ppl prefer QuickStart than the proper SDK login procedures where things are pretty simple since you have full control and you can set something like:
SDK.aw_bool_set (AW_ENTER_GLOBAL), True
-Baron
[View Quote]"sk8man1" <Gzanone at optonline.net> wrote in message news:3d9ba9c0$1 at server1.Activeworlds.com...
> I'm having a problem getting global mode to work on my bot? Can anyone help?
>
> Private Sub Form_load()
> sdk.AwBoolSet AW_GLOBAL_ENTER, 1
> sdk.AwEnterGlobal = True
> sdk.AwWait 100
> sdk.AwInit AW_BUILD
> sdk.QuickStart CitizenNumber, Password, BotName, Application, World, 0, 1000, 0, 0, 0
> timAwWait.Interval = 1000
> timAwWait.Enabled = True
> sdk.AwEventSet AW_EVENT_CHAT
> sdk.AwWorldTitle = "Taz! - Dumbot Online! Welcome to Taz! :) You are"
> sdk.AwWorldAttributesChange
> End Sub
>
>
|
Oct 3, 2002, 11:04pm
I'm using the OCX sorry for not specifying that :)
Oct 3, 2002, 11:14pm
HAHAHAH figured it out with some help from a forum that I posted on like
half a year ago but forgot to check -_- <--- *STUPID* here it is it doesn't
seem to like listening to written commands, but it logs into Global Mode (I
know because it consoles me when I'm far away):
Private Sub Form_load()
sdk.AwInit AW_BUILD
sdk.AwCreate "auth.activeworlds.com", 5670
sdk.AwEventSet AW_EVENT_AVATAR_ADD
sdk.AwEventSet AW_EVENT_AVATAR_CHANGE
sdk.AwEventSet AW_EVENT_AVATAR_DELETE
sdk.AwEventSet AW_EVENT_CHAT
sdk.AwEventSet AW_EVENT_OBJECT_CLICK
sdk.AwLoginName = "Botname"
sdk.AwLoginOwner = Citnum
sdk.AwLoginPrivilegePassword = "PPW"
sdk.AwLoginApplication = "Blah"
sdk.AwEnterGlobal = True
sdk.AwLogin
sdk.AwEnter "WorldHere"
sdk.AwWait 0
sdk.AwStateChange
End Sub
[View Quote]"sk8man1" <Gzanone at optonline.net> wrote in message
news:3d9ba9c0$1 at server1.Activeworlds.com...
> I'm having a problem getting global mode to work on my bot? Can anyone
help?
>
> Private Sub Form_load()
> sdk.AwBoolSet AW_GLOBAL_ENTER, 1
> sdk.AwEnterGlobal = True
> sdk.AwWait 100
> sdk.AwInit AW_BUILD
> sdk.QuickStart CitizenNumber, Password, BotName, Application, World,
0,
> 1000, 0, 0, 0
> timAwWait.Interval = 1000
> timAwWait.Enabled = True
> sdk.AwEventSet AW_EVENT_CHAT
> sdk.AwWorldTitle = "Taz! - Dumbot Online! Welcome to Taz! :) You are"
> sdk.AwWorldAttributesChange
> End Sub
>
>
|
Oct 4, 2002, 12:53am
Console messages don't depend on global mode :).
-Joe
[View Quote]"sk8man1" <Gzanone at optonline.net> wrote in message
news:3d9ceb66$1 at server1.Activeworlds.com...
> HAHAHAH figured it out with some help from a forum that I posted on like
> half a year ago but forgot to check -_- <--- *STUPID* here it is it
doesn't
> seem to like listening to written commands, but it logs into Global Mode
(I
> know because it consoles me when I'm far away):
>
> Private Sub Form_load()
> sdk.AwInit AW_BUILD
> sdk.AwCreate "auth.activeworlds.com", 5670
>
> sdk.AwEventSet AW_EVENT_AVATAR_ADD
> sdk.AwEventSet AW_EVENT_AVATAR_CHANGE
> sdk.AwEventSet AW_EVENT_AVATAR_DELETE
> sdk.AwEventSet AW_EVENT_CHAT
> sdk.AwEventSet AW_EVENT_OBJECT_CLICK
>
>
> sdk.AwLoginName = "Botname"
> sdk.AwLoginOwner = Citnum
> sdk.AwLoginPrivilegePassword = "PPW"
> sdk.AwLoginApplication = "Blah"
> sdk.AwEnterGlobal = True
> sdk.AwLogin
> sdk.AwEnter "WorldHere"
> sdk.AwWait 0
> sdk.AwStateChange
> End Sub
>
> "sk8man1" <Gzanone at optonline.net> wrote in message
> news:3d9ba9c0$1 at server1.Activeworlds.com...
> help?
> 0,
are"
>
>
|
Oct 4, 2002, 12:40pm
But the picking up of Avatar Add events from outside the hearing radius
does. It consoles him when he enters the world far away from the bot's
location.
Grims
[View Quote]"joeman" <joeman at bootdown.com> wrote in message
news:3d9d0297 at server1.Activeworlds.com...
> Console messages don't depend on global mode :).
>
> -Joe
>
> "sk8man1" <Gzanone at optonline.net> wrote in message
> news:3d9ceb66$1 at server1.Activeworlds.com...
> doesn't
> (I
World,
> are"
>
>
|
Oct 8, 2002, 7:27pm
False = 0
True = -1?
I think
- Mark
[View Quote]"binarybud" <leom at knorrinteractive.com> wrote in message news:3d9c536a$1 at server1.Activeworlds.com...
> LOL
> True=-1
> False=0
>
> Leo :)
>
> the silly dweebs lol
>
>
> "bowen" <thisguyrules at 7k2.4mg.com> wrote in message news:3d9c4ee8 at server1.Activeworlds.com...
>
>
|
Oct 8, 2002, 7:30pm
I think the property sdk.quickstartglobal sets the flag for the API code that IS the full version in the bot, its like I have my own equivilent of quicklogin in a module, but its the full version, but its quick because its all set in arguments and it dosent need to be copied into the main part of the program.
And there is nothing in quickstart you cannot change, such as event unset AW_EVENT_AVATAR_ADD
- Mark
[View Quote]"baron" <pk39srt at hotmail.com> wrote in message news:3d9cb4b7 at server1.Activeworlds.com...
> You didn't specify whether you use ocx or dll; in the readme.txt that comes with the dll "Global mode can be set with QuickStartGlobal" is mentioned, I assume the same should apply to the ocx too. I never understood why ppl prefer QuickStart than the proper SDK login procedures where things are pretty simple since you have full control and you can set something like:
> SDK.aw_bool_set (AW_ENTER_GLOBAL), True
>
> -Baron
>
>
> "sk8man1" <Gzanone at optonline.net> wrote in message news:3d9ba9c0$1 at server1.Activeworlds.com...
>
>
>
>
>
|
Oct 8, 2002, 9:46pm
Thats the same thing he said...
--
-Miek Zimmer
*Mike
[View Quote]"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message
news:3da34dbb at server1.Activeworlds.com...
False = 0
True = -1?
|
I think
- Mark
[View Quote]"binarybud" <leom at knorrinteractive.com> wrote in message
news:3d9c536a$1 at server1.Activeworlds.com...
> LOL
> True=-1
> False=0
>
> Leo :)
|
Oct 9, 2002, 12:09pm
sheeesh Strike your a hoot. "I think" hehehehehe you need to do it more often!
Leo :)
[View Quote]"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message news:3da34dbb at server1.Activeworlds.com...
> False = 0
> True = -1?
>
> I think
>
> - Mark
> "binarybud" <leom at knorrinteractive.com> wrote in message news:3d9c536a$1 at server1.Activeworlds.com...
>
>
|
Oct 9, 2002, 4:10pm
I dont need to, things magically pop into my head without needing to think :)
Like antineutrinos, sometimes they just apear out of nowhere.
- Mark
[View Quote]"binarybud" <leom at knorrinteractive.com> wrote in message news:3da438a2$1 at server1.Activeworlds.com...
> sheeesh Strike your a hoot. "I think" hehehehehe you need to do it more often!
>
> Leo :)
>
> "strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message news:3da34dbb at server1.Activeworlds.com...
>
>
|
|