|
kah // User Search
kah // User Search
May 27, 2001, 12:50pm
I sayd it was QuickStart/QuickStop (this is AwSdkOcx specific)! I'm sure
it'll work if you do it the complete way (login with sdk.AwCreate,
sdk.AwEnter, etc, and logout with sdk.AwDestroy), because I had the exact
same problem when I was new to SDK programming and tryed to use
QuickStart/QuickStop. it should work after using the full process, at least
it did for me.
KAH
[View Quote]xelag wrote in message <3b106ab9$1 at server1.Activeworlds.com>...
>I have been reading the answers to moria's question., and I am puzzeled.
Not
>one of the answers has anything to do with his/her question. I myself
don't
>know the answer, but if no-one else knows it, why carry on a thread? Is
>this an disease, like mouth and foot?
>
>XelaG
>
>"moria" <moria at colony.co.uk> wrote in message
>news:3b0e042a$1 at server1.Activeworlds.com...
>I'm
>manages
>end
>when
>appear
>first
>you
>crashes
>?
>
>
|
May 27, 2001, 12:51pm
and for the record: Moria wasn't stupid at all, MS are the stupid ones cuzz
they've made some kind of weird error in the OCX stuff (and yes I know that
it's MrGrimm that makes the VB wrapper, but he gave the QuickStart code once
because of a similar problem) ;-))
KAH
[View Quote]xelag wrote in message <3b106ab9$1 at server1.Activeworlds.com>...
>I have been reading the answers to moria's question., and I am puzzeled.
Not
>one of the answers has anything to do with his/her question. I myself
don't
>know the answer, but if no-one else knows it, why carry on a thread? Is
>this an disease, like mouth and foot?
>
>XelaG
>
>"moria" <moria at colony.co.uk> wrote in message
>news:3b0e042a$1 at server1.Activeworlds.com...
>I'm
>manages
>end
>when
>appear
>first
>you
>crashes
>?
>
>
|
May 28, 2001, 7:03pm
if you'd like to read the rest of the thread containing why your philisophy
won't work before posting...and there should be more than 3 messages there
now...
KAH
[View Quote]m a k a v e l i wrote in message <3b11ddf5 at server1.Activeworlds.com>...
>Give up, no one posts there so why should anyone try to get help there?
>Only 3 posts.
>
>"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
>| >
>| >
>| >
>|
>|
>
>
|
Jun 7, 2001, 6:40pm
also, commands like tporting ppl and URL sending should be accesible trough
the right-click menu
KAH
[View Quote]"eep" <eep at tnlc.com> wrote in message news:3B1FD93B.C9DAC2C2 at tnlc.com...
> I would hope so. I tire of having to rely on bots for more and more
functionality that SHOULD be (and should HAVE been) implemented into AW
itself in the first place.
>
> brandon wrote:
>
>
>
because
>
|
Jul 3, 2001, 11:44am
part 7???? what are you talking about?
KAH
[View Quote]"felix2001" <homeworkkid at msn.com> wrote in message
news:3b4142f9$1 at server1.Activeworlds.com...
> Multimedia Fusion is the program I use for making programs. I imported the
> AW SDK's ActiveX control, and in "Part #7" and above (SetAwCitizenName and
> below), there are errors, such as actions turning into events... like rc.
> I'm not sure if anyone can help me with this, but I would like it if they
> could. Thanks
>
>
|
Jul 4, 2001, 11:57am
I used to use Games Factory, the stuff before MMF... could you explain a bit
more in-detail how it functions? feel free to send e-mail to kah at kahbot.com
:-))
KAH
[View Quote]"felix2001" <homeworkkid at msn.com> wrote in message
news:3b42223f at server1.Activeworlds.com...
> That's why I put ( )'s ... it's something MMF uses for advanced ActiveX
> controls. I meant all of the commands below SetAwCitizenName and itself
have
> errors. I think it has to do with MMF itself. Sorry to bother anyone
> "kah" <kah at kahbot.com> wrote in message
> news:3b41cc3a at server1.Activeworlds.com...
> the
> and
> rc.
> they
>
>
|
Jul 14, 2001, 11:02am
for MS ActiveX controls, you've got a great tool: the MSDN (Microsoft
Developer Network) Library. http://msdn.microsoft.com
KAH
PS. look in the AW.Programming NG on news://andras.net where Baron gave me
some source code to define the selected text, wich allows you to edit the
Sel[something] params, like SelColor, SelBold, etc
[View Quote]"gamer" <Gamer at active-worlds.co.uk> wrote in message
news:3b4490d2 at server1.Activeworlds.com...
> Hi Guys,
>
> I want to cteate a chat bot like ImaBot's but I would like it to mimic the
> AW Chat box completely, as in tab spaces, colors and italics and bold.
>
> To achieve this I need to get the hang of the Ric htext box and its
> features, coz thats what AW use in the borwser...I've spent the last few
> days searching, does anyone know any links or anytihng to pages with a
list
> of commands or could list them here?
>
> I would appreciate it, thanks :)
>
> -Gamer
>
>
|
Dec 27, 2000, 10:37am
Well, I would guess you could make one that used CGI. Or maybe just use a
librarye that makes it compatible with SQL...
KAH (same as in VS)
[View Quote]lord vector wrote in message <3a492da5 at server1.Activeworlds.com>...
>Does anyone know of a bot that can parse data to and from a database via a
>world. Preferably a Microsoft SQL database or Microsoft Access Database. I
>am looking for a bot that can read, write, modify and if at all posible
>create new data directly to a database rather than a text file.
>
>
|
Jul 14, 2001, 11:13am
forget about INIs in VB, use the registry instead... even if it SHOULDN'T be
that way, it is: MS have done editing registry entries for your app
supereasy, use the SaveSetting, GetSetting and DeleteSetting statements to
use it (alltought the entries are layed in HKEY_CURRENT_USER\Software\VB and
VBA Program Settings\[AppName param]\[Categoryorwhateveritis param])
KAH
Jul 31, 2001, 9:39pm
no, he's just moody...
KAH
[View Quote]"mike zimmer" <zimmer at pitnet.net> wrote in message
news:3b672dea at server1.Activeworlds.com...
> .. you post in the Community NG twit..
>
> Looks like we have a little Eeps on our hands here :-)
>
> lanezeri <Lanezeri at yahoo.com> wrote in message
> news:3b671b08 at server1.Activeworlds.com...
> has
>
>
|
Aug 2, 2001, 12:21pm
uh... I think I posted that before I asked you LOL, and you're just playing
hard to get anyway... and it's not illegal, but I guess there's no point in
trying to tell you that...
KAH
[View Quote]"lanezeri" <Lanezeri at yahoo.com> wrote in message
news:3b6893bb at server1.Activeworlds.com...
> You say I'm moody just because I won't send you InoculateIT PE Setup.. you
> shouldn't ask me illegal things.. I could report you.. your lucky I'm
nice..
>
> "kah" <kah at kahbot.com> wrote in message
> news:3b674197$1 at server1.Activeworlds.com...
> this
>
>
|
Jul 21, 2001, 9:03am
I tryed to compile a slightly modified HamBot sourcecode with it (first I
had to get all kinds of MFC libraries, etc) and when it was nearly done it
sayd that it had found an unknown bug, and that I was to e-mail the
authors...
KAH
PS. maybe it's better to get Borland stuff?
[View Quote]"tony m" <tony at triton-dynamics.iwarp.com> wrote in message
news:3b58ece6 at server1.Activeworlds.com...
> Whenever my brother tries to compile an AW SDK bot in Dev-C++, it gives
> the error "undefined functions in aw.h".
>
> Anyone wanna try to help?
>
>
|
Jul 22, 2001, 7:02pm
I'm currently working on a bot that searches an area for music objects
(objects with trigger + "sound" in the action field). But I have a weird
problem: it reports an object as a music object (i.e. it had a trigger and
"sound" in it's action field, but when it's supposed to post the actual
action field, it returns a blank... here's the result of a query in my town:
(22:47:20) Starting to query area...
Found music object! (location: -2217.713N/S -2145.348W/E -.02a.) action
field: (owner of object: KAH)
Found music object! (location: -2217.713N/S -2145.348W/E -.02a.) action
field: (owner of object: KAH)
Found music object! (location: -2213.104N/S -2143.331W/E -.02a.) action
field: create sound http://real-virtuality.com/midi/pa12.mid (owner of
object: Neo15)
and here is my code (triggered by AW_EVENT_CELL_OBJECT):
If sdk.AwObjectAction Like "*create sound*" Then
sdk.AwCitizenAttributesByNumber sdk.AwObjectOwner
QueryConsole "Found music object! (location: " & Str((sdk.AwObjectZ /
1000)) & "N/S " & Str((sdk.AwObjectX / 1000)) & "W/E " & Str((sdk.AwObjectY
/ 1000)) & "a.) action field: " & sdk.AwObjectAction & " (owner of object: "
& sdk.AwCitizenName & ")"
ElseIf sdk.AwObjectAction Like "*activate sound*" Then
sdk.AwCitizenAttributesByNumber sdk.AwObjectOwner
QueryConsole "Found music object! (location: " & Str((sdk.AwObjectZ /
1000)) & "N/S " & Str((sdk.AwObjectX / 1000)) & "W/E " & Str((sdk.AwObjectY
/ 1000)) & "a.) action field: " & sdk.AwObjectAction & " (owner of object: "
& sdk.AwCitizenName & ")"
ElseIf sdk.AwObjectAction Like "*bump sound*" Then
sdk.AwCitizenAttributesByNumber sdk.AwObjectOwner
QueryConsole "Found music object! (location: " & Str((sdk.AwObjectZ /
1000)) & "N/S " & Str((sdk.AwObjectX / 1000)) & "W/E " & Str((sdk.AwObjectY
/ 1000)) & "a.) action field: " & sdk.AwObjectAction & " (owner of object: "
& sdk.AwCitizenName & ")"
ElseIf sdk.AwObjectAction Like "*adone sound*" Then
sdk.AwCitizenAttributesByNumber sdk.AwObjectOwner
QueryConsole "Found music object! (location: " & Str((sdk.AwObjectZ /
1000)) & "N/S " & Str((sdk.AwObjectX / 1000)) & "W/E " & Str((sdk.AwObjectY
/ 1000)) & "a.) action field: " & sdk.AwObjectAction & " (owner of object: "
& sdk.AwCitizenName & ")"
End If
sorry, this looks a bit messy in the post, but if you know VB you'll
understand how it's supposed to be... does anyone know why the
sdk.AwObjectAction value suddently disapeares?
KAH
PS. don't ask me why I'm making such a bot :-))
Jul 22, 2001, 8:16pm
like is for comparing stuff, roughly, it enables to use wildcards, so the
action can have anything before create sound (including nothing) and
anything after it. anyways, I'm kinda comfused, because the objects it
reported just didn't exist... and also, the sector it selects to query
varies, and it only queries that sector, doesn't query the others... this
seems weird, as I used the example code provided on the VB SDK help pages to
query...
KAH
[View Quote]"ananas" <vha at oct31.de> wrote in message news:3B5B4371.E55C435 at oct31.de...
> hm, maybe I have an idea what it could be, an empty
> action field could be "like" any string, that's how
> Clipper handled it, not sure about VB but maybe.
>
> That would mean already the first condition would
> always be true and you had to do something like
>
>
> if ( (sdk.AwObjectAction <> "") and
> ( (sdk.AwObjectAction Like "*create sound*") or
> (sdk.AwObjectAction Like "*activate sound*") or
> (sdk.AwObjectAction Like "*bump sound*") or
> (sdk.AwObjectAction Like "*adone sound*") ) ) then
>
> sdk.AwCitizenAttributesByNumber sdk.AwObjectOwner
>
> QueryConsole "Found music object! (location: " & Str((sdk.AwObjectZ
> / 1000)) & "N/S " & Str((sdk.AwObjectX / 1000)) & "W/E " &
> Str((sdk.AwObjectY
> / 1000)) & "a.) action field: " & sdk.AwObjectAction & " (owner
> of object: "
> & sdk.AwCitizenName & ")"
> End If
>
> --
> "_
> |
> /\
> \ /
> __/ /_
|
Jul 22, 2001, 8:30pm
I think this has to do with VB's poor ability to handle great quantities of
data, as it also confuses citnums, etc
KAH
[View Quote]"kah" <kah at kahbot.com> wrote in message
news:3b5b50b5 at server1.Activeworlds.com...
> like is for comparing stuff, roughly, it enables to use wildcards, so the
> action can have anything before create sound (including nothing) and
> anything after it. anyways, I'm kinda comfused, because the objects it
> reported just didn't exist... and also, the sector it selects to query
> varies, and it only queries that sector, doesn't query the others... this
> seems weird, as I used the example code provided on the VB SDK help pages
to
> query...
>
> KAH
>
> "ananas" <vha at oct31.de> wrote in message news:3B5B4371.E55C435 at oct31.de...
>
>
|
Jul 30, 2001, 7:19pm
no, I think you misunderstood... he HAS a good newsreader... I see you use
OE 5.5, but you should know that it's OE that's a bad newsreader (ok, so I
use OE, but that's cuzz I'm too lazy to download anything else... I never
upgraded my IE stuff, I allways used what crap Windows preinstalled for
me...). It makes you think that news is compatible with HTML and everything,
but actually, NNTP was never meant to transport HTML content. There's a
reason OE allways prints the ID stuff at the beginning of the HTML, you
know...
KAH
[View Quote]"brandon" <brandon at my.activeworlds.com> wrote in message
news:3b65b6e8$1 at server1.Activeworlds.com...
> maybe get a better newsreader then heh
>
> "tony m" <tony at triton-dynamics.iwarp.com> wrote in message
> news:3b65857d.112417307 at news.activeworlds.com...
annoying
you
> go
>
>
|
Jul 23, 2001, 4:22pm
you can get it from http://www.canopus.org
KAH
[View Quote]"nightwalker" <bjarte at development-net.com> wrote in message
news:3b5c52cc at server1.Activeworlds.com...
> Could someone please send me Delphi SKD
> Thanks
>
> - NW
>
>
|
Aug 28, 2001, 10:04am
Stuff-X is a good company, they offer quality services...
KAH
[View Quote]"trekkerx" <troop2 at empirenet.com> wrote in message
news:3B8AF4EC.E3893852 at empirenet.com...
> huh? That makes no sence once so ever. I said I will icnore his e-mail.;
> To me.
> And I cant beleve that you themask would go over to the dark side
> (stuff-x).
>
> themask wrote:
>
>
|
Aug 28, 2001, 8:00pm
I must say that they certainly don't act as if they're better than everyone
else! Builderz is very nice and polite, and his company provides high
quality services, even though I've got nothing to do with Stuff-X I must say
that you are being plain rude and wrong now!
KAH
[View Quote]"trekkerx" <troop2 at empirenet.com> wrote in message
news:3B8BDCA0.B666DBAE at empirenet.com...
> No duh. Haven't you ever called someone a name? I don't like stuff-x,
cuz
> there evil
> Saying there evil isn't bad, don't tell me your prefect ether. Your always
going
> on how only certain people cant. That's what I don't like about stuff-x.
Is
> there attitude. There always acting better than everyone else, and pretend
there
> superior to everyone else.
>
> Especially you Lanezeri. Your always bagging on people who make
programs, or
> write them. Especially ones that just started programming, and aren't your
> friends. Also people who put out programs, (Like me) you start trashing
them
> EVEN IF YOU HAVENT USED IT. You automaticly assume because its not yours
it just
> happend to be a bad program.
>
> lanezeri wrote:
>
someone,
there is
another
>
|
Aug 28, 2001, 8:06pm
? I didn't critisize you...
KAH
[View Quote]"themask" <Rat09 at aol.com> wrote in message
news:3b8c12d9 at server1.Activeworlds.com...
> Well exuse me.. it was kinda my fault.. i replyed to trekker x's new bot,
> ZeeBot.. and then he replyed back and then (sorry lane) lane replyed
> back...and on.. so really it was my fault...
> Sorry.
> --
> TheMask
> Leader of Texture Designing
> http://aw.stuff-x.com/
> TheMask at stuff-x.com
>
>
|
Aug 11, 2001, 6:46pm
if you want to use JS scripts, download the JKMT Bot Tool (source and
compiled version available from a URL I can't remember, look in the VB SDK
forum on grimmsoft.com, in a post by Sado). anyway, I'd recommend
programming with a compiler instead of some dodgy MS crap.
KAH
[View Quote]"raven shadow" <ravenshadow001 at hotmail.com> wrote in message
news:3b6f6a1d$1 at server1.Activeworlds.com...
> I appologize , I didn't have enough time to be more specific (and I made a
> few typos), So I will try now.
>
> What I'm looking for is a version of the sdk compiled into a Window's
> Scripting Host scriptable object .
> A scriptable .exe , that , when run independantly it just pops up an
"About"
> box , then shutsdown , would be better then a .ocx or .com object that to
be
> registered.
> Run Wscript.exe for an example of this.
>
> The Windows Scripting Host provides a way to run *.js & *.vb script files
> outside of a web page , but can be used in *.hta files.
> It provides access to the file system , registry , running executables ,
> etc.
> The above functionality is gained by loading wscript.exe as an activex
> object (a.k.a. an Automation object ) and accessing it's funcutions and
> methods via jscripts,vbscript or javascript , using the following method:
> // jscript example
>
> var newObject = new ActiveXObject(servername.typename[, location])
> used as
>
> var newObject = new ActiveXObject("WScript.shell")
>
> at which point you'd have an object pointer that can be used to access
> wscript.exe's methods and functions .
> examples:
> WScript.Echo ("Hello World!")
> WScript.Sleep(100);
> var ScriptVer = WScript.Version;
> etc.
>
> What I was hoping for was a way to load a version of the sdk as an activex
> (Automation) object and access it's methods/functions in a similar way, to
> create
> a jscript base hta bot.
>
>
>
>
|
Aug 18, 2001, 10:19am
this is how you do it for diff. forms: if your main form is called mainFrm
and your SDK is put on that form, you'll do this to acces the SDK from
another form (if the sdk object is called sdk): mainFrm.sdk.AwSay "hi"
KAH
[View Quote]"brandon" <brandon at my.activeworlds.com> wrote in message
news:3b7de905$1 at server1.Activeworlds.com...
> umm in my bot i have many diferent forms for the dierent things the bot
does
> and a menu bar at the top, really no main window except for the menu bar
> that is always showing....but the diferent forms will be usign the sdk not
> the menu bar.....and i guess i have to put the sdk and timer on each
> form.... will this screw the bot up with multiple things of these?
>
> --
> - Brandon
> (website coming soon)
> World: A'Dude
> Co-owned world: Safira
>
>
|
Aug 18, 2001, 10:29am
I suggest you read some code first... I'll post the stuff I allways use for
login:
Dim rc As Integer, world As String
Dim unihost As String
Dim uniport As String
On Error Resume Next
unihost = txtUniHost.Text 'these two settings allow for login to other
universes
uniport = txtUniPort.Text
rc = sdk.AwCreate(unihost, uniport)
If rc Then
MsgBox "Unable to create a bot (reason " & rc & ")"
Exit Sub
End If
sdk.AwLoginOwner = txtOwner.Text
sdk.AwLoginPrivilegePassword = txtPassword.Text
sdk.AwLoginName = txtBotName.Text
sdk.AwLoginApplication = "MBE/KAHBOT MusicSearcher Bot" 'change this to
whatever your bot is called
rc = sdk.AwLogin
If rc Then
MsgBox "Unable to login (reason " & rc & ")"
Exit Sub
End If
world = txtWorld.Text
rc = sdk.AwEnter(world)
If rc Then
MsgBox "Unable to enter " & world & " (reason " & rc & ")"
Exit Sub
End If
sdk.AwMyX = Val(txtMyX.Text) * 1000 'this might've been your error... if you
enter 10 for the west/east coords 'without multiplying by 1000 the bot will
enter at 0.01w same applicies to all position values
sdk.AwMyZ = Val(txtMyZ.Text) * 1000 'this is north/south, *NOT* west/east
position!
sdk.AwMyY = Val(txtMyY.Text) * 1000
sdk.AwMyYaw = 0 'makes the av face north
sdk.AwMyType = txtMyType.Text 'av number
rc = sdk.AwStateChange 'this *MUST* be called
If rc Then
MsgBox "Unable to change state (reason " & rc & ")"
Exit Sub
Else
MsgBox "Login succesfull! Yay!" 'have something like
'this to see if the bot did everything it was told to do
'note that if you gave it wrong params this won't show
End If
to use that code you need to have all the textboxes with those names present
on the same form as the SDK... hope it will help...
KAH
Aug 18, 2001, 2:03pm
yes, but you obviously didn't log them in correctly in the first place... to
teleport, or change stuff like avs, set the new value of something like
sdk.AwMyX then call sdk.AwStateChange.
KAH
[View Quote]"brandon" <brandon at my.activeworlds.com> wrote in message
news:3b7e90f7$1 at server1.Activeworlds.com...
> oh i was wondoring how to teleport them
|
Aug 20, 2001, 10:24am
start by using others' bots so you get a clue of how bots work at all... or
I doubt you'll ever make much of a bot...
KAH
[View Quote]"icydee" <docherty-group at panlok.com> wrote in message
news:3B802B24.786DEBEF at panlok.com...
> OK.
>
> I finally got around the problem of using developer studio 97 (I created
> my own lib file) and I ran the demo bot.
>
> I now get error "unable to login, reason code 43 " which is because I am
> using my ordinary password.
>
> What is, and how do I get, an AW_LOGIN_PRIVILEGE_PASSWORD
>
> I want to be able to run a bot in AlphaWorld. Am I going to be able to
> do this?
>
> IcyDee
>
>
|
Aug 20, 2001, 6:36pm
it is help to give advices... I adviced him to actually *USE* bots before he
started programming them, so that he gets an understanding of how they
work...
KAH
[View Quote]"lanezeri" <Lanezeri at stuff-x.com> wrote in message
news:3b816d06$1 at server1.Activeworlds.com...
> Why not supply helpful information? I've learned it's easier to help by
> typing a few lines than to dog them in several lines. So next time don't
> say anything pud!
>
> "kah" <kah at kahbot.com> wrote in message
> news:3b81017d at server1.Activeworlds.com...
> or
created
am
>
>
|
Aug 20, 2001, 8:12pm
all about aw_query, zones, sectors, cells, anything about property is in the
property section of the SDK website :-)) a cell is 1 coord x 1 coord (1
coord = 10m), and all coords are given in cm (you simply multiply the values
by 1000 to get the AW coord)
KAH
PS. also, you might want to check out the Xelagot
(http://www.imatowns.com/xelagot/), it's a rather powerfull bot, use it a
bit and you'll understand much of how bots work in general, and you'll find
it easier to program it.
[View Quote]"icydee" <docherty-group at panlok.com> wrote in message
news:3B8176FF.2114B612 at panlok.com...
> Kah
>
> thanks for that advice, it is true that looking at other peoples code is
> useful. Where do you suggest I obtain simple source code from. I only have
the
> samples in the help files to go on so far.
>
> I have written my first bot, a build bot that spirals out from a start
location
> and tiles the area fully to 'reserve' the land. (Of course respecting the
1km
> by 1km limit!)
>
> Now I am working on understanding the aw_query command to determine what
> objects are currently on the land so that I can 'survey' for suitable
building
> land.
>
> Problem now is the various co-ordinate systems which I don't think I have
> straight in my mind yet.
>
> AW_OBJECT_X/Z is the co-ordinate in meters from ground zero
> Teleport co-ordinate system is in cells (10m by 10m)
> aw_query is in sectors? (80m by 80m)
> A zone is determined by the co-ordinate of it's middle sector?
>
> Is this right?
>
> IcyDee
>
> kah wrote:
>
or
>
|
Dec 29, 2000, 1:03pm
well, there's Brant's AW utility, I've never tryed it, but it has a
Seekerbot that searches for ppl in a world. Maybe it will work on names too
and maybe a bot that recognizes names too.
http://www.shoemakervillage.com (in the software section)
KAH
[View Quote]twisted horizon wrote in message <3a4c8587$1 at server1.Activeworlds.com>...
>That has the same probablility of working as a property search, except that
>people can go off-line or move around (not good)
>-Twist
>tony56 wrote in message <3a4c58b4$1 at server1.Activeworlds.com>...
>
>
|
Dec 29, 2000, 6:17pm
DOH! did I? well it's http://www.shoemakervillage.org, sorry. LOL, 2 hours
for 2 ppl!
KAH
[View Quote]tony56 wrote in message <3a4ce96f at server1.Activeworlds.com>...
>Or rather, perhaps you meant '.org' and not '.com'
>
>--
>- Tony56 (chandler56 at mail.com)
>"Freedom: That's What The Government Wants You To Believe!"
>____________________________________________________________
>tony56 <chandler56 at mail.com> wrote in message
>news:3a4ce89e at server1.Activeworlds.com...
>
>
|
Aug 22, 2001, 9:13am
you post too many posts, try to combine them into fewer, it's really
confusing... just try this code (note that it's case-sensitive, I think The
Derek's code isn't).
Private Sub sdk_EventChat()
'place the textbox txtIC on the SAME form as the SDK
txtIC.Text = txtIC.Text & vbNewLine & sdk.AwChatMessage
'that code was to see if any chat is received at all, so if nothing
'appears in the textbox when there's chat, your bot ain't receiving
'anything. oh, and set the textbox's multiline property to true.
'this if block will check for any special words and handle them
If sdk.AwChatMessage = sdk.AwLoginName & " owner" Then
> sdk.AwWhisper sdk.AwChatSession, "My owner's " &
sdk.AwLoginPrivilegeName & " (cit# " & sdk.AwLoginOwner & ")." 'this will
give the name and cit# of the owner, note that the privilegename property IS
NOT THE PPW!!!
ElseIf sdk.AwChatMessage = sdk.AwLoginName & " version" Then
> sdk.AwWhisper sdk.AwChatSession, "I'm [nameofbotapp] version
[botversion]. Copyright © yyyy [author]" 'fill in the blanks...
End If
End Sub
KAH
|