|
m a k a v e l i // User Search
m a k a v e l i // User Search
May 22, 2001, 7:25pm
I am assuming this was a error with your newsreader? Posting an empty post
on purpose would be dumb and we know no one in this NG is dumb *shakes head*
this post is about 3 or 4 months old.
[View Quote]"dalf" <adjih at crepuscule.com> wrote in message
news:3b097529 at server1.Activeworlds.com...
|
|
|
|
May 23, 2001, 6:08pm
*chuckle* good luck on your bankbot *chuckles again*
[View Quote]"barbarossa" <empbarbarossa at excite.com> wrote in message
news:3b0c1618 at server1.Activeworlds.com...
| To: All Avid Users Of Aw,
| How do you find the name of an avatar in a database?
| I am using data controls, & my bankbot can add accounts, but not find
| accounts. Data1.Recordset.FindFirst "Both = 'sdk.awAvatarName'"
| Does not work, for I get a NoMatch=True vairable, so it returns the first
| record in the database. If I take away the the quotes, I get a Jet error.
I
| know how to do this in SQL, but how can I utilize SQL with the data
control?
| ANY RELEVANT SUGGESTIONS WELCOME!
|
| Sincerly,
| Barbarossa (315942)
|
| P.S. To everone that despises programmers like myself (makaveli,grimble),
I
| take it as my responsablity to duly inform you that I have created my
first
| bot, so this will be my second. Want It? Telegram me.
|
|
|
May 28, 2001, 3:11am
Give up, no one posts there so why should anyone try to get help there?
Only 3 posts.
[View Quote]"kah" <kah at kahbot.com> wrote in message
news:3b0e12af$1 at server1.Activeworlds.com...
| hint: news://kahnews.cjb.net/prog.VB
|
| KAH
|
| moria wrote in message <3b0e042a$1 at server1.Activeworlds.com>...
| >Problem time...
| >
| >This is a VB problem, actually its a getting my head sorted problem but
I'm
| >using VB.
| >
| >I have a bot program, with a master bot and sub bots program. The master
| >bot does all the main control.. keeps the log of whos in the world and
| >where, gets the details from previous visits, does the queries and
| manages
| >the worlds objects and the individual bots information etc etc. On the
| >control panel/form for the master bot there are buttons for starting the
| >other bots and ending the other bots.. which work fine. I can start and
| end
| >the other bots add infinitum by clicking on the buttons on the form.
| >
| >The master bot also tracks where people are, and adds them into seperate
| >list box if they go into certain areas and removesthem from those lists
| when
| >theyleave, so for example, if someone walks into a certain area, they
| appear
| >in the list for that area as well as the main in world list.
| >
| >okay.. now I was running out of my bot limit, so decided that rather than
| >start all the bots, if someone walked into the area that is already
| >monitored, the bot would then be started automaticallyif they were the
| first
| >person into that area, and when they left the area it would be ended
| >automatically if no-one was left in that area and based it from the code
| >that the master bot uses to determine whos where...
| >
| >Still with me so far?? (grin)
| >
| >I added a single line of code to start the bot of..
| >
| >command14_click when the list got an entry and voila the bot loaded
| >fine.
| >
| >I then went to delete the bot when they left the area
| >
| >I added a couple of lines of code to end the bot
| >
| >command15_click when the list became empty
| >
| >inother words using the existing code that works fine for a shutdown if
you
| >use the buttons on the form.
| >
| >(Bots are excluded from appearing on the lists using a block on thechar
| > for first char)
| >
| >Problem is, that when the bot leaves automatically the whole program
| crashes
| >with..
| >
| >sdk automation error. I think the number is 10001.
| >
| >anyone got any ideas, it confusing the heck outta me cause I see no
| >difference between clicking the button and having the program doing it :)
?
| >
| >Moria
| >
| >
| >
|
|
|
May 28, 2001, 3:24pm
Private Sub sdk_EventAvatarChange()
AvName = sdk.AwAvatarName
AvX = sdk.AwAvatarX
AvY = sdk.AwAvatarY
AvZ = sdk.AwAvatarZ
End Sub
Works for me at least.
[View Quote]"gamer" <Gamer at active-worlds.co.uk> wrote in message
news:3b10cf00$1 at server1.Activeworlds.com...
| I would like to create a simple bot that keeps track of peoples exact
| co-ordinates in my world, soon I'll then hope to create a larger program
| using serveral bots to cover larger worlds...
|
| Can anyone point in the right direction or supply some code? thanks...
|
| -Gamer
|
|
|
May 28, 2001, 8:42pm
Ok, if I get what your saying, it is just like I said, only under
sdk_EventAvatarAdd Sub too.
Also, if someone leaves, their session is still in the library, then you
have coords to an avatar that isn't there, what is the main purpose for this
anyway? All you need to do is record everything in a (dreaded) database or
the (stupid) registry or in a .txt or .ini file and the call it from there.
[View Quote]"trekkerx" <troop2 at empirenet.com> wrote in message
news:3B129BFF.9B6D0C39 at empirenet.com...
| That just gets the person that last moved. Try to make a libary, and then
when
| a person enters, add there session number to it, and cords. then when it
| changes, have it look up the session of the avatar that moved, and have it
| edit that session. Then you got a libary of accurate locations. then if
you
| need the cords of a certan session later, you can look it up
|
| m a k a v e l i wrote:
|
| > Private Sub sdk_EventAvatarChange()
| > AvName = sdk.AwAvatarName
| > AvX = sdk.AwAvatarX
| > AvY = sdk.AwAvatarY
| > AvZ = sdk.AwAvatarZ
| > End Sub
| >
| > Works for me at least.
| >
| > "gamer" <Gamer at active-worlds.co.uk> wrote in message
| > news:3b10cf00$1 at server1.Activeworlds.com...
| > | I would like to create a simple bot that keeps track of peoples exact
| > | co-ordinates in my world, soon I'll then hope to create a larger
program
| > | using serveral bots to cover larger worlds...
| > |
| > | Can anyone point in the right direction or supply some code? thanks...
| > |
| > | -Gamer
| > |
| > |
|
|
Mar 28, 2001, 10:33pm
I was looking for a Bank Bot. I saw something from the citizen "Lanezeri"
but he seems to not be a part of AW anymore. Does anyone know where I can
get one? UEAK RaptorFox has one but it seems to be a community type project
that you have to join and I dont want to join anything right now.
Apr 2, 2001, 1:54am
That would make it case sensitive.. better to do
Message = sdk.awchatmessage
If Message = "hello" then
sdk.awsay "HI!"
end if
[View Quote]"hal9000" <wampa1 at qwest.net> wrote in message
news:3ac7cb07$1 at server1.Activeworlds.com...
| set up an event for the chat
| sdk.AwEventSet AW_EVENT_CHAT
| then in your SDK_event_chat() function
| if SDK.awchatmessage = "hello bot" then
| SDK.awsay "Hello " & SDK.awavatarname
| end if
|
| --
| -=Hal9000=- world:Discover
| --==~~out~~==--
| --== http://hal9000.xoasis.com
|
|
| "trekkerx" <troop2 at empirenet.com> wrote in message
| news:3AC7A7D3.CAE785E6 at empirenet.com...
| | Dose anyone know how to make a bot respond to someting a person says in
| | VB? Cuz i just made one and it just sits there doing nothing... Cuz i
| | want to add like, when u say the bots name to make it say version, Oh
| | yea, can someone make a example of aa bot that u can fill out info on
| | where it is and stuff? and make it into a script and post it?
| |
| |
|
|
|
Apr 2, 2001, 9:35am
Oh my! I came in late last night, sorry about that.
[View Quote]"grimble" <grimble2000 at btinternet.com> wrote in message
news:3ac85b99$1 at server1.Activeworlds.com...
| Oops ... I guess you meant something like
|
| If UCase(Message) = "HELLO" Then
|
| ... or ...
|
| If LCase(Message) = "hello" Then
|
| Grims
|
|
| "m a k a v e l i" <tupacisdabest at aol.com> wrote in message
| news:3ac7f80b$1 at server1.Activeworlds.com...
| > That would make it case sensitive.. better to do
| >
| > Message = sdk.awchatmessage
| > If Message = "hello" then
| > sdk.awsay "HI!"
| > end if
| >
| > "hal9000" <wampa1 at qwest.net> wrote in message
| > news:3ac7cb07$1 at server1.Activeworlds.com...
| > | set up an event for the chat
| > | sdk.AwEventSet AW_EVENT_CHAT
| > | then in your SDK_event_chat() function
| > | if SDK.awchatmessage = "hello bot" then
| > | SDK.awsay "Hello " & SDK.awavatarname
| > | end if
| > |
| > | --
| > | -=Hal9000=- world:Discover
| > | --==~~out~~==--
| > | --== http://hal9000.xoasis.com
| > |
| > |
| > | "trekkerx" <troop2 at empirenet.com> wrote in message
| > | news:3AC7A7D3.CAE785E6 at empirenet.com...
| > | | Dose anyone know how to make a bot respond to someting a person says
| in
| > | | VB? Cuz i just made one and it just sits there doing nothing... Cuz
i
| > | | want to add like, when u say the bots name to make it say version,
Oh
| > | | yea, can someone make a example of aa bot that u can fill out info
on
| > | | where it is and stuff? and make it into a script and post it?
| > | |
| > | |
| > |
| > |
| >
| >
|
|
|
Apr 3, 2001, 12:17am
Make it like this Trekker:
Private Sub sdk_EventChat()
Message = LCase(sdk.AwChatMessage)
If Message = "hello" Then
sdk.AwSay "Hello " & sdk.AwAvatarName
End If
End Sub
Also, does anyone know what the interval on a timer needs to be multiplied
by to equal 1 second?
Apr 3, 2001, 5:55pm
Thanks XelaG! Now I may be able to do something lol.
[View Quote]"xelag" <xelag at 3dee.nl> wrote in message
news:3ac98039 at server1.Activeworlds.com...
| 1000
|
| "m a k a v e l i" <tupacisdabest at aol.com> wrote in message
| news:3ac932b9$1 at server1.Activeworlds.com...
| > Make it like this Trekker:
| >
| > Private Sub sdk_EventChat()
| > Message = LCase(sdk.AwChatMessage)
| > If Message = "hello" Then
| > sdk.AwSay "Hello " & sdk.AwAvatarName
| > End If
| > End Sub
| >
| > Also, does anyone know what the interval on a timer needs to be
multiplied
| > by to equal 1 second?
| >
| >
|
|
|
Apr 3, 2001, 9:27pm
Nope, because it changes all the characters to lowercase and then judges,
but you cant say
If Message = "HELLO" Then
because it throws off the whole purpose, it has to be
If Message = "hello" then
: )
[View Quote]"trekkerx" <troop2 at empirenet.com> wrote in message
news:3ACA5512.7A6C692 at empirenet.com...
| And it wont be Case Sentive?
|
| m a k a v e l i wrote:
|
| > Make it like this Trekker:
| >
| > Private Sub sdk_EventChat()
| > Message = LCase(sdk.AwChatMessage)
| > If Message = "hello" Then
| > sdk.AwSay "Hello " & sdk.AwAvatarName
| > End If
| > End Sub
| >
| > Also, does anyone know what the interval on a timer needs to be
multiplied
| > by to equal 1 second?
|
|
Apr 5, 2001, 8:35pm
You missed the point.
Message = LCase(sdk.AwChatMessage)
that makes what the person said lowercase
If Message = "whatever" Then
That checks to see if the lowercased message is the same.
Apr 5, 2001, 9:49pm
Oh my! Listen, say I was in your world and I said "HeLlO AlL"
and your bot is set to do the following:
Message = LCase(Sdk.AwChatMessage)
If Message = "hello all" Then
It would take "HeLlO AlL" and make it "hello all" and Message is "hello all"
then whatever code you have under the If statement is what the bot would do.
Apr 5, 2001, 10:55pm
No Problem.
Apr 3, 2001, 12:24am
I plan to screw around with a banking system, it will be very simple but I
haven't found one that is worth trying yet so I plan to make one. Hopefully
it will be good enought to release to the public.
Apr 3, 2001, 9:28pm
I am looking for a world to test and keep my bot since I dont have one. The
first person to reply wanting to test it is who I go with.
Apr 3, 2001, 9:37pm
Thank you, If you dont mind I will use Techno if it is open to public that
way it is tested by many users instead of one. As of now it lets people
join, check balances, transfer money, and gives loans. Anything else they
can do? Please let me know.
[View Quote]"builderz" <sawran at yahoo.com> wrote in message
news:3ACA5BAB.B2E51B0B at yahoo.com...
| Makaveli, you may use either the world Techno or my own personal world
| Intrepid (currently closed to the public) to test your banking bot if
| you'd like.
|
| Builderz
| Stuff-X - Bot & World Hosting Services
| http://www.stuffx.com/aw/
|
| m a k a v e l i wrote:
| >
| > I am looking for a world to test and keep my bot since I dont have one.
The
| > first person to reply wanting to test it is who I go with.
|
Apr 3, 2001, 10:32pm
Thanks again Builderz for letting me use Techno as the test world. If
anyone would like to test out my bot it should be online in Techno starting
tonight at 12:00 VRT (In about 1½ hrs.) till it is updated.
Apr 4, 2001, 12:45am
http://makaveli71.freeservers.com/
Apr 4, 2001, 12:46am
That is the URL to the bot help page, having small problems with code that I
will fix tomorrow.
Apr 5, 2001, 9:25pm
I am bored as usual, and since no one seems to care if my Bank Bot gets
finished or not I plan to start a bot that lets you play slots :)
Apr 5, 2001, 10:54pm
Well, I plan it let people join the playing activity, and leave it, and then
it will call three random numbers, then it will define them. Very simple
really lol.
Apr 6, 2001, 1:16am
I dont want to make it survey that would be too complicating.
Apr 6, 2001, 10:57pm
I was kind of wondering the same thing Grimble. I am not a new programmer
and I was going to try to make a very cool Slot Bot and maybe go farther to
make some different ones (Ex: Roulette (sp?), Black Jack.)
Apr 7, 2001, 3:21pm
I just want to say thank you to all of you who support me :) I am going to
make the bot and hopefully finish the base coding this coming week, then
debug it in the next lol. I will release a "Beta" to the public that does
mostly the basics, then I will add more features and give you a link to
download it.
Apr 15, 2001, 7:25pm
I cancelled this b/c I lost interest.
Apr 5, 2001, 11:16pm
I was looking through old messages and I came across a couple from
"Lanezeri" and I went to his bot place and I saw "Backwards Bot" and I
thought I would ruin his bots and give the source to one of them. (Not
Exact code but it does the exact same thing.)
Dim Phrase As String
Phrase = AwSdkOcx.AwChatMessage
Phrase = StrReverse(Phrase)
AwSdkOcx.AwSay Phrase
That reverses the message and repeats it to the public. Very simple bot I
just wish he could have put some more thought into it.
Apr 7, 2001, 3:16pm
heh, It was pretty hard.
Apr 9, 2001, 8:01pm
Brant is the only one I have seen pull that off, in his Paintball Bot. It
is a very complicating scheme to do.
|