Thread

Global Mode (Bots)

Global Mode // Bots

1  |  

sk8man1

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

sk8man1

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...

lord fett

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]

bowen

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 :-/

binarybud

Oct 3, 2002, 12:25pm
LOL
True=-1
False=0

Leo :)

the silly dweebs lol


[View Quote]

binarybud

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]

bowen

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]

agent1 webmaster@shatteredplattersdotcom

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

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--

binarybud

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]

frizzle

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]

baron

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]

ncc 72897

Oct 3, 2002, 7:37pm
ROFL

sk8man1

Oct 3, 2002, 11:04pm
I'm using the OCX sorry for not specifying that :)

sk8man1

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]

joeman

Oct 4, 2002, 12:53am
Console messages don't depend on global mode :).

-Joe

[View Quote]

grimble

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]

strike rapier

Oct 8, 2002, 7:27pm
False = 0
True = -1?

I think

- Mark
[View Quote]

strike rapier

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]

mike zimmer

Oct 8, 2002, 9:46pm
Thats the same thing he said...
--
-Miek Zimmer
*Mike

[View Quote] I think

- Mark
[View Quote]

binarybud

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

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]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn