Thread

If a greeterbot is alone does it still greet? (Sdk)

If a greeterbot is alone does it still greet? // Sdk

1  |  

byte me

Sep 7, 1998, 1:27am
If a greeterbot is alone does it still greet? :)

andon coleman

Sep 7, 1998, 2:41pm
Man, I hate these gay questions, here's your 'scientific answer'... Yes and
No, Yes it still has the ability to, but no, there's no one there for it to
greet, therefore it doesn't greet... Get my drift? It's neutral ground... Of
course it doesn't greet anything...

byte me

Sep 7, 1998, 5:21pm
Was only a joke was checking to see if anyone was posting to this ng :)

[View Quote]

strike rapier

Feb 21, 2002, 4:23pm
Actually, a greeterbot uses the aw_avatar_add stuff dont it :P so it only
greets on that server command. To recieve that server command someone must
be there, so it must be heard to be greeting.

- SR
*Sayer of many interesting things*

[View Quote]

foxmccloud

Feb 21, 2002, 7:33pm
Try to read the date of a post before replying, that post is 3 years, 5 months and 14 days old.

Fox Mc Cloud

"strike rapier" <strike at rapiercom.freeserve.co.uk> a écrit dans le message news: 3c753b19 at server1.Activeworlds.com...
> Actually, a greeterbot uses the aw_avatar_add stuff dont it :P so it only
> greets on that server command. To recieve that server command someone must
> be there, so it must be heard to be greeting.
>
> - SR
> *Sayer of many interesting things*

strike rapier

Feb 22, 2002, 4:20pm
*LOL*

I know, I just felt like replying to it to see if anyone would still reply
after all this time. :P
And you did!

Question:
If a VB greeterbot is missing both sdk.awsay and sdk.awwhisper commands will
it still greet?

Answer:
Erm... No... *sigh* always check you have included the correct speach
commands in your functions....

- SR
*He who replies to rearllly old posts*

dion

Feb 22, 2002, 7:21pm
how useless...

[View Quote]

strike rapier

Feb 22, 2002, 7:25pm
yeah, but actually it proves that you cant have real world situational
questions in Active Worlds all the time :P

[View Quote]

dion

Feb 22, 2002, 7:30pm
Um.... ok? *LOST*

[View Quote]

strike rapier

Feb 22, 2002, 7:34pm
lol,

It just means that in the world, things are allot more upto the mind, the
origional question was 1 meant to confuse the mind, yet in AW where
everything runs on code, there is no middle answer, everything is always a
full answer.. do does it greet if no-one can hear it? Of course it dont, it
only greets IF somone is there presuming they used AW_Avatar_Add

:P
*SR - Bringing conversations back to life*

[View Quote]

dion

Feb 22, 2002, 7:39pm
Bringing philosophy to the SDK ng, eh? :-P

It was still useless, LOL :-)
[View Quote]

strike rapier

Feb 22, 2002, 7:58pm
lol, yeah, maybe someone should make a philosophy bot that can tell you the
purpose of ur life.

E N Z O: What is the meaning of my life?
[Philosophy]: To obey Strike Rapier
E N Z O: It shall be so!
[Philosophy]: I was hoping you would say that! :P

[View Quote]

strike rapier

Feb 22, 2002, 8:04pm
lol, anyway, to be quite honest, i actually messed up Outlook express.

I took off the posting data display, and accidently fliiped the date , so
what i thought was recent was old *sigh* shouldent have done em offline
[View Quote]

dion

Feb 22, 2002, 8:04pm
LOL, nutcase :-P Go ahead, make one ;-) hehe, it wouldn't be that tough.
[View Quote]

strike rapier

Feb 22, 2002, 8:15pm
Returning to the SDK topic, here is just a little VB code that does just
that :)

Private Sub cmdLogin1_Click()
'Create Bot instance
rc = sdk.AwCreate(0, 0)
If rc Then
MsgBox "Unable to create a bot (reason " & rc & ")"
Exit Sub
Else
txtcol = vbRed
PrimaryColor (RTBPrimaryConsole.text & "<SYSTEM> " & Chr(9) &
"Sucessfully created instance")
End If
'Gain Values From TXT Boxes
sdk.AwLoginOwner = txtCitnum1.text
sdk.AwLoginPrivilegePassword = txtPPW1.text
sdk.AwLoginName = txtBotName1.text
sdk.AwLoginApplication = "FireStorm Systems"
'Attempt to log into universe
rc = sdk.AwLogin
If rc Then
MsgBox "Unable to initiate API (Reason " & rc & ")"
Exit Sub
Else
txtcol = vbRed
PrimaryColor (RTBPrimaryConsole.text & "<SYSTEM> " & Chr(9) &
"Sucessfully logged into Active Worlds Universe")
End If
'Bot Enters the world
rc = sdk.AwEnter(txtWorld1.text)
If rc Then
MsgBox "Unable to enter world (Reason " & rc & ")"
Exit Sub
Else
txtcol = vbRed
PrimaryColor (RTBPrimaryConsole.text & "<SYSTEM> " & Chr(9) &
"Sucessfully enteres world " & txtWorld1.text & " targeted at " &
txtCoords1.text)
End If
'Location
coordinates (txtCoords1.text)
sdk.AwMyX = Xcoord 'East / West Axis (-East / +West)
sdk.AwMyZ = Zcoord 'North / South Axis (-South / +North)
sdk.AwMyY = Ycoord 'Elevation Data
sdk.AwMyYaw = YAWcoord 'YAW Data (0 = North, 900 = West 1800 = South,
2700 = East)
sdk.AwMyType = txtBotAvatar1.text 'AvatarData
'Change State to Enter Coordinates
rc = sdk.AwStateChange
If rc Then
MsgBox "Unable to change state (Reason " & rc & ")"
Exit Sub
Else
txtcol = vbRed
PrimaryColor (RTBPrimaryConsole.text & "<SYSTEM> " & Chr(9) &
txtBotName1.text & " has sucessfully entered the world " & txtWorld1.text &
" at the location " & txtCoords1.text)
PrimaryColor (RTBPrimaryConsole.text & "<SYSTEM> " & Chr(9) &
"Ready")
End If
End Sub

Private Sub sdk_EventChat()
If sdk.awchatmessage = "What is the meaning of my life?" then
sdk.awsay sdk.awavatarname ", The purpose of your life is to obey Strike
Rapier
End if

Private Sub cmdCancel1_Click()
sdk.AwDestroy
End Sub

dion

Feb 22, 2002, 8:17pm
VB 5uc|<s0rZ!!
C is better (even though I don't know C... yet! :-))
[View Quote]

strike rapier

Feb 22, 2002, 8:26pm
Allthough VB does have a few weaknesses, it is a very good system for making
single bots in, ive been informed it cant handle large 100 player RPG's, but
you can do a fair bit in it. Its also a easy language to learn, allthough
learning C is reccomended.


[View Quote]

dion

Feb 22, 2002, 8:30pm
I know QBasic (dad recommended to learn that as a starter language) and now
I'm learning a little PHP on the side and soon I'll dive straight into ANSI
C!
[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