andras // User Search

andras // User Search

1  2  3  4  5  6  ...  35  |  

Session Numbers

Jan 31, 2001, 10:56am
They are unique within the Universe (The universe server assigns it at login)
Andras


[View Quote]

instances

Feb 6, 2001, 11:10am
void *instance[64]; // is a good example of the array of the pointers.
Andras


[View Quote]

instances

Feb 7, 2001, 8:49am
WHAT errors did you get??
Andras


[View Quote]

Can a bot let someone join him??

Feb 8, 2001, 3:01pm
Just to make it clear - the hearing range is 200m (20 coords in each directions) 120m is the max visibility range.
Andrsa


[View Quote]

Need Help..

Feb 9, 2001, 8:12pm
First you have to query the world so the bot will get the message (it is enough to query the close vicinity of the bot). Then you should keep track of the objects (or those you are interested) in a kind of database.
Install your callback to the AW_EVENT_OBJECT_CLICK . The clicked object is uniquely identified by AW_CELL_X, AW_CELL_Z,
and AW_OBJECT_NUMBER at the callback. Do a lookup in your database for the particular object and act as you planned if you got a match.

HTH
Andras


[View Quote]

a few more compiler errors...

Feb 13, 2001, 11:23pm
Try to declare the function prototypes before you are referencing it.
Andras


[View Quote]

VB: Identifying objects

Feb 19, 2001, 4:53pm
You get it when you do the query.
Excerpt from the API help:

AW_EVENT_CELL_OBJECT

DESCRIPTION

Describes a single object in response to aw_query or aw_cell_next.

NOTES

This event is triggered in response to a call to aw_query or to
aw_cell_next. This event sets the following attributes:

AW_OBJECT_NUMBER
AW_OBJECT_OWNER
AW_OBJECT_BUILD_TIMESTAMP
AW_OBJECT_X,
AW_OBJECT_Y
AW_OBJECT_Z
AW_OBJECT_YAW
AW_OBJECT_MODEL
AW_OBJECT_DESCRIPTION
AW_OBJECT_ACTION

See Property for a description of the property query mechanism.


[View Quote]

VB: Identifying objects

Feb 19, 2001, 7:14pm
Sorry Ananas, you are wrong. The object click event is described in the help as :

AW_EVENT_OBJECT_CLICK

DESCRIPTION

Event called when a user left-clicks on an object in your area.

<snip>

This event is triggered whenever a nearby user left-clicks with the
mouse on an object. It will also be triggered if another nearby SDK
application calls aw_object_click. During this event, the following
attributes are defined:

AW_AVATAR_SESSION
AW_AVATAR_NAME
AW_CELL_X
AW_CELL_Z
AW_OBJECT_NUMBER

AW_AVATAR_SESSION and AW_AVATAR_NAME indicate the user
that clicked on the object. The clicked object is uniquely identified
by AW_CELL_X, AW_CELL_Z, and AW_OBJECT_NUMBER.


[View Quote]

aw_query

Feb 19, 2001, 6:33pm
Didn't you get the answer in my newsgroup?
Andras


[View Quote]

please

Feb 28, 2001, 5:09am
[View Quote] > -John Viper

Need Help..

Mar 17, 2001, 5:45pm
[View Quote]

Build 20 for Borland C++

Apr 4, 2001, 10:05pm
http://andras.net/tools/aw20.lib

Andras

Making a Bot Join a Person

Apr 14, 2001, 12:27pm
[View Quote] kkhhmmmm kkhhmmmm rather use cos(x)=sin(x+90)

>
> Grims/
<snip>

Learn to program bots!

Apr 16, 2001, 5:24am
[View Quote] Why do you post in HTML?
Andras

Learn to program bots!

Apr 16, 2001, 5:27am
Set your world wrap enable in your browser and STOP post in HTML!
Andras

Learn to program bots!

Apr 19, 2001, 2:02pm
[View Quote] You both wrong! CP/M is rules!!!! No keyboard bottleneck, no task switching overhead - not to mention it runs on a Z80!
Andras

Learn to program bots!

Apr 20, 2001, 7:31am
[View Quote] I still can act as a disassembler when it comes to Z80 or 8085 binary code :)
Andras

Learn to program bots!

Apr 20, 2001, 7:34am
[View Quote] I had 2 40 meg NEC SCSI winchester. We set up as a file/application server around several Z80s using SDLC protocol on out proprietary network. 20 Z80s were hooked up running CP/M!
Andras
P.S. Follow-up set to community

Wisper targets

May 14, 2001, 5:05am
[View Quote] Clues are all over the place if you read the documentation but just in a few words:
Keep a list of all of your avatars (AW_EVENT_AVATAR_ADD and AW_EVENT_AVATAR_DELETE events) with the proper callback functions where each avatar is uniquely distinguished by the session number (AW_AVATAR_SESSION) (as M a k .. tried to explain). Pick the proper session for the whisper target and call the aw_whisper(session,message) function (I'm not a VB guy but I'm sure the wrapper has such a function).

Andras

Wisper targets

May 14, 2001, 2:23pm
You won't get such information. Whispers between visitors are not accessible by the bot or any other tool. The only info youi can have (from the world server's log) that "Bill whispered to Ben" nothing more!


Andras

[View Quote]

okay this has to be me being stupid I guess:)

May 25, 2001, 4:44pm
[View Quote]
The more the lame groups - less the ppl post. Don't forget - to open an NG you have to offer something the other (existing) groups doesn't offer. It took me some time to establish my server by offering no moderation but no flaming too. Flames have their own group :)
Anyway - it is your call.
Andras

MS Source Code

Jul 5, 2001, 11:02pm
[View Quote] It DOES!! I discovered that one line is missing!

#include <aw_hell.hpp>
And he forgot to link the aw_evil.lib to his program! Shoot - what a newbie :((

Andras

A nice simple INI Module!!!

Jul 8, 2001, 9:10pm
Does that mean that stupid Micro$lop opens the ini file for EACH parameter access?? Yuck!!! At least in Borland you pass an open stream parameter to the retrieval/write function.

Andras

[View Quote]

A nice simple INI Module!!!

Jul 9, 2001, 10:52am
That is not an excuse to go through all the file locate/open/seek operation.
Andras

[View Quote]

WHAT THE HECK IS WRONG WITH THIS

Oct 3, 2001, 2:54am
[View Quote] HTH,
Andras

Programing Eroor c++

Oct 3, 2001, 6:16pm
[View Quote] I think HenrikG's response is the closest to your problem. AW.LIB created under MSC 6.0 or higher. 5.0 is just no compatible with it. Try to find a more up to date version of that damned MSC ++ :(((

Andras

Using Borland C++Bulder 5

Oct 26, 2001, 8:19am
[View Quote] There is no static version for Borland C++. SDK's libraries are created under MS VC and there is no compatible version for Borland. Use the libraries I created ( http://andras.net/tools.html#dlls ) or run implib on the aw.dll - works like charm for me.
Andras

Vanishing Instances

Oct 31, 2001, 12:40pm
[View Quote] Ananas is correct. Drag a TTimer to your form, set ti time period to 100 ms and within it's timer routine call aw_wait(1)

void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
if (BotIsRunning) aw_wait(1); // just have 100 msec polling with 1 ms wait
// do other stuff in every 100 ms
}

Andras

Vanishing Instances

Nov 1, 2001, 11:27am
Session numbers/instances has nothing to do with aw_wait(). I never set it and sometimes I have 30+ bots running at once.
Andras

[View Quote]

Vanishing Instances

Nov 1, 2001, 4:41pm
Don't call aw_wait() with a long time period - it is just a waste of CPU cycles and it will slow down your program. The value given in the parameter is simply a forced idle period - nothing will happen during that time.

Andras


[View Quote]

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