kah // User Search

kah // User Search

1  ...  5  6  7  8  9  10  ...  78  |  

Why won't the build 24 SDK convert properly using dlltool? [~74KB attachments] - 2 attachments

Jun 3, 2002, 6:07pm
Actually, it was all due to my stupidity lol, I had forgotten to update the
files in the include path (had some 2 year old files for build 17 heh),
sorry for that and thanks for the help anyway :-)) *ashamed*

KAH

Terrain texturing warning!

Jun 4, 2002, 3:25pm
"carlbanks" <Virtualcarlbanks at hotmail.com> wrote in
news:3cfbd263$1 at server1.Activeworlds.com:

> Texture 63 crashes browser. AHHHHHHHH

That's what he said lol :-))

KAH

World List in VB

Feb 19, 2001, 4:15pm
LOL

KAH
[View Quote]

something strange about the SDK

Jun 12, 2002, 1:52pm
"o0oiiijoshiiio0o" <joshua_trask at capecod.com> wrote in
news:3d074310$1 at server1.Activeworlds.com:

> blah. the sdk is loaded with strange stuff. keep in mind that we have
> the bot telegram stuff and it's just not turned on? i believe luke
> knew how to get access to all that stuff...

I guess the SDK is used internally for lots of admin apps, maybe to help
with development too. I don't think AW would know what to do with a
telegram sent from a bot, so even if you managed to get the telegram
functions working you'd have a hard time. Plus the AWC might detect it (if
they read logs or have log analysing apps) and get angry at you (Robbie
will tell you about that ;-)) ).

KAH

something strange about the SDK

Jun 12, 2002, 1:53pm
"ananas" <vha at oct31.de> wrote in news:3CFCFEBF.F3E9BC92 at oct31.de:

> I haven't used the new SDK yet, but I'm curious :
>
>
> 1. the Aw_static.lib seems to reference WS2_32.dll
> (guess : WS stands for wsock?)

I think that it's pretty much always referenced Winsock 2 (yes, it is the
Winsock 2 DLL). At least the last few years.

KAH

Movement and Wheater

Jun 7, 2002, 1:20pm
"edubacon2" <chokamir at plugnation.com> wrote in news:3d00c493
at server1.Activeworlds.com:

> Heyz
>
> I'm kinda new here can someone give me some source code of:
> how to move a bot
> how to change the weather
> how to make a bot for EduVerse
>
> Thx ChoKamir

I'm assuming you know how to set SDK variables:

To move a bot, you set AW_MY_X, AW_MY_Y, AW_MY_Z and AW_MY_YAW (rotation)
and call aw_state_change() (in C++, in VB it's very similar).

To change the weather (there's no weather feature in AW, I guess you mean
changing the skybox and lighting), set the world attributes you use to
make a weather effect and call aw_world_attributes_change().

To login to the EduVerse, you must change the parameters of aw_create():
aw_create ("edu.activeworlds.com", 0, 0). Find connection info for other
universes on Mauz's great site (http://mauz.info).

Look in the SDK docs for complete documentation.

KAH

Worldserver(?) bug with global mode + invisible bots

Jun 17, 2002, 3:20pm
"percipient" <percipient at percipients.com> wrote in
news:3d0d64dd at server1.Activeworlds.com:

> Err, sorry. I didn't mean your bot. I was refering to the newsgroup. I
> posted two messages and they showed up backwards. Sorted by date, I
> guess. One post was an amendment to the other.

*NOT* the newsgroup, your newsreader did that :-)) The news server doesn't
sort messages (off course, it could, but it wouldn't matter because most
newsreaders sort messages themselfes). Yes, I know I'm freaky for insisting
on this stuff all the time lol ;-))

KAH

encraoches when object change

Jun 9, 2002, 11:28am
"the derek" <imthederek at yahoo.com> wrote in
news:3d02c766 at server1.Activeworlds.com:

> when i do aw_object_change it says its encroaching. im 100% SURE its
> not encroaching so dont ask if i checked to see if its building on
> someone elses property. i dont know why its doing this

I've had some weird trouble with updating objects (in VB, I don't know if
this is a VB wrapper related thing) if I don't set all the object values
again, instead of just changing the one I want to change, it has fun
changing citnum to the citnum of objects nearby, model, etc, etc. Have you
set all the object properties (especially the position/rotation, model and
owner properites)?

KAH

New BoneClient, Bone SDK, and VB Bone SDK Wrapper released :)

Jun 16, 2002, 9:02am
It just means that you can't mail Ima Genius about your problems with it,
not that it isn't documented. It works almost *exactly* the same way as the
C++ SDK, same function names, etc.

KAH

New BoneClient, Bone SDK, and VB Bone SDK Wrapper released :)

Jun 17, 2002, 3:51pm
"jackbnimble" <privacy at plz.com> wrote in news:3C7765CF.2060901 at plz.com:

> One thing i dont understand about bone: WHATS THE POINT? Its supposed
> to be BOt NEtwork, but i dont see how bots are supposed to communicate
> with it. I understand programming with it, but i dont get how it is to
> be used in practical sdk purposes...

Say Bot1 is in WorldA running on Machine1 and Bot2 is in WorldB running on
Machine1. Say both bots are relaying bots that relay the chat from other
places. But how are they going to transfer the chat between them? They need
a communication channel outside of AW. That's what BONE is. See the purpose
now? :-))

KAH

Compilers

Jun 16, 2002, 9:05am
"jackbnimble" <privacy at plz.com> wrote in news:3C75EE3A.2010908 at plz.com:

> From what ive read in the newsgroups, some c++ compilers have problems
> using the sdk. Does anyone know a compiler that will use the sdk without
> a problem?
>

I use MingW, it has no problems with it, but you have to convert the DLL to
a .a library for it to work (easy process really).

KAH

Compilers

Jun 17, 2002, 3:54pm
"jackbnimble" <privacy at plz.com> wrote in news:3C7769BB.4020801 at plz.com:

> Would you better descrivbe this process plz?

You must run AW.DLL through a tool that comes with MingW called dlltool,
only thing is that it needs a file listing all the functions in the DLL,
you can either do it manually or use an app like pexports like I do (see
the MingW site for a link). To catch the output of pexports I wrote a dead
simple PHP script, I could send it to you if you want it (you'll need to
have PHP installed on your machine though). Dlltool generates a library
file, aw.a, that you reference to when you compile the app :-))

KAH

Idea for a bot..

Jun 25, 2002, 10:09am
"bowen" <thisguyisashimmyritzer at 7k2.4mg.com> wrote in
news:3d17b37e$1 at server1.Activeworlds.com:

> Oh yeah, and when I do finish it.. it's going to be using AM/PM time..
> until I get my butt around to adding in 24 hour time support.

Give the code to ÜberKAH and let him fix it for you ;-))

KAH

Simple ChatBot - not a copy of the one in bots

Jul 3, 2002, 11:12pm
Hi, on request I wrote a simple chatbot in VB as an example. I quite like
the outcome, so I decided I'd release it to the public. You can download it
from http://kahnews.cjb.net/bots/. There is also a binary version with an
installer available from the same location :-))

KAH

Simple ChatBot - not a copy of the one in bots

Jul 5, 2002, 9:51am
"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in
news:3d24910c at server1.Activeworlds.com:

> 5 Points to Kah :)

Five out of five I expect? ;-)) Thanks Strike and Dion! :-))

KAH

Simple ChatBot - not a copy of the one in bots

Jul 9, 2002, 9:58pm
"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in
news:3d263c5e at server1.Activeworlds.com:

> Nah, out of 6 cause u didnt include a listbox showing all the AV's
> directly present other than the whisper box =p

I was mimicking the AW chat interface heh (well sort of, only one textbox
is a lot tidier heh)

KAH

Local Console Messages?

Aug 22, 2002, 6:40am
"chiklit" <chiklit at funetwork.net> wrote in
news:Xns9271C878DFFABchiklitfunetworknet at 64.94.241.201:

> What I use in my bot is an invisible list box. on the
> aw_event_avatar_add it adds the session number to the invisible one and
> the name to the visable one.

That's the newbie-ish uncorrect way. The most common correct way is to use
an array. With an array you can also skip having any listboxes at all:
<code language="VB">
Private Type AwUser
AwName As String
AwSession As Long
End Type

Dim AwUsers() As AwUser
Dim AUIdx As Long 'this one should be set to -1 at init

Private Sub sdk_EventAvatarAdd()
AUIdx = AUIdx + 1
AwUsers(AUIdx).AwName = sdk.AwAvatarName
AwUsers(AUIdx).AwSession = sdk.AwAvatarSession
End Sub
</code>

KAH

Local Console Messages?

Aug 22, 2002, 2:59pm
"bluemoon8963" <bluemoon8963 at hotmail.com> wrote in
news:3d64ec46$1 at server1.Activeworlds.com:

> If it's uncorrect then why does it work? :)

By uncorrect I didn't say it wasn't working, but it's not the way it should
be done, it's not a very good solution to the problem. :-))

KAH

Evil Killer Bots

Aug 21, 2002, 12:39pm
"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in
news:3d62e070 at server1.Activeworlds.com:

> A quick question, but complex in its entirity.
>
> Is there any way to perform a query, take a registery dump and create
> a 3d view of something (im trying to create a standalone prebuilder)
> such as a OCX control that anyone knows about etc? Language im after
> it for is VB (C++ is taking a break while it recovered from the 12
> errors on 1 line it just had)

Could you rephrase that? :-))

KAH

Evil Killer Bots

Aug 21, 2002, 8:40pm
"deconstructor" <decawn at hotmail.com> wrote in
news:3d63e36f at server1.Activeworlds.com:

> If I think I understand right, you want to display the .rwx models in
> 3d? Well, I'm not sure if there is an OCX or DLL that does this all
> for you, and I'm not too knowledgable on the Renderware specs, but
> you'd have to use the Renderware API itself
> (http://andras.net/rw21docs) or write your own code to parse the
> vertices and such out of a .RWX script file and pass it to some other
> rendering API--either OpenGL or D3D, I.E.:

Using RW to do it isn't such a good idea, since you'd have to use a pre-RW3
version which are crappy (and when AW was converted to RW3 Roland & Co.
started making their own RWX extensions that it wouldn't support anyway).
The OGL or D3D version would probably be best (I daresay using D3D will be
easiest because there are more D3D engines than OGL engines for VB). I
really doubt an OCX/DLL doing exactly this task exists, but a search might
be wise.

KAH

AW_Create

Aug 24, 2002, 11:11am
"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in
news:3d66eb3f at server1.Activeworlds.com:

> Thanks, ive got it sorted.. but now its saying my PPW is invalid, ive
> even hardcoded it to the right 1 with no luck. All my other bots login
> fine, anyone know if there is a problem seen before like this?

Change it to a new one to be 100% sure. And what's your code for setting it
(replace the PPW with something like "secret")?

KAH

[VC++] Enum + Other things

Sep 10, 2002, 4:58pm
"ananas" <vha at oct31.de> wrote in news:3D74F9D6.A0C2177F at oct31.de:

> I don't think something like an enum exists in VB, I'm not
> too familiar with it though. But a control sure could have
> the text representation of the error numbers as a list that
> can be accessed with a method - just I'm not familiar with
> the VB-SDK for AW either :-/

Enums exist in VB too.

KAH

vbsdk com wrapper

Sep 11, 2002, 4:09pm
"robbie" <thetruth at awteen.org> wrote in
news:3d7ee94b at server1.Activeworlds.com:

> sdk.awinit
> sdk.quicklogin 315021, youwish, aw, fredthebot, bot, 10000, 0, 50000, 5
> sdk.say "I like fish."
> sdk.awterm

The COM wrapper uses the same names (pretty much) as in the standard C/C++
SDK, so it's

sdk.aw_init (AW_BUILD)
[login code, and I mean full login, it should always be prefered over
QuickLogin]
sdk.aw_say "I like fish. Yeah, I know, I'm weird."
sdk.aw_term

KAH

login

Oct 1, 2002, 4:09pm
"mayor taz" <eashworth at nc.rr.com> wrote in
news:3d99834e$1 at server1.Activeworlds.com:

> Can someone please tell me how to log in using the vb com sdk? I cant
> figure it out.

rc = sdk.aw_create("auth.activeworlds.com", 5670)
If rc Then
'Could not create a bot instance
Exit Sub
End If

sdk.aw_int_set AW_LOGIN_OWNER, Val(txtOwner.Text)
sdk.aw_string_set AW_LOGIN_PRIVILEGE_PASSWORD, txtPassword.Text
sdk.aw_string_set AW_LOGIN_NAME, txtBotName.Text
sdk.aw_string_set AW_LOGIN_APPLICATION, "blah 1.0.1.356"

rc = sdk.aw_login
If rc Then
ConsoleMsg "Could not enter universe. Reason number " & rc,
MSG_TYPE_ERROR
Exit Sub
End If

rc = sdk.aw_enter(txtWorld.Text)
If rc Then
ConsoleMsg "Could not enter world. Reason number " & rc,
MSG_TYPE_ERROR
Exit Sub
End If

sdk.aw_int_set AW_MY_X, Val(txtMyX.Text) * 1000
sdk.aw_int_set AW_MY_Y, Val(txtMyY.Text) * 1000
sdk.aw_int_set AW_MY_Z, Val(txtMyZ.Text) * 1000
sdk.aw_int_set AW_MY_YAW, Val(txtMyYaw.Text) * 10
sdk.aw_int_set AW_MY_TYPE, Val(txtMyType.Text)

rc = sdk.aw_state_change

New bot site open!

Nov 13, 2002, 3:31pm
Hi all avid bot users and developers!

I'd like to announce the opening of a new AW bot site, targeting both the
user and the developer, powered by a custom, dynamic content system:
http://bots.omegauniverse.com/

There you'll find bot news, bot source code, and compiled bot programs in
three categories:
- C and C++
- Visual Basic
- Misc./Pascal-Delphi

By registering as a member (it's free, fast and completely SPAM free) you
get access to even more features, like submitting your own bots. We'd
appreciate it very much if bot developers submit their bots to the site!

We're constantly working on adding new and cooler features, especially bot
developers can expect some really neat improvements soon...

So check Bowen & KAH's bot site out now:
http://bots.omegauniverse.com/

KAH

[VB] Terrain editing

Nov 14, 2002, 4:05pm
"scuz" <webmaster at awscape.com> wrote in news:3dd335fe$1
at server1.Activeworlds.com:

> how do i have a VB bot edit terrain, is all confuzing!

Maybe this sample code will make it clearer to you:

Public Sub GenerateRandom()
PrevHeight = 0
For i = -50 To 50
For j = -50 To 50
RandomNum = Int((200 - 1 + 1) * Rnd + 1)
If RandomNum <= 20 Then
GoUp = True
ElseIf RandomNum > 20 And RandomNum <= 40 Then
GoUp = False
ElseIf RandomNum > 40 And RandomNum <= 60 Then
GoUp = True
ElseIf RandomNum > 60 And RandomNum <= 80 Then
GoUp = False
ElseIf RandomNum > 80 And RandomNum <= 100 Then
GoUp = True
ElseIf RandomNum > 100 And RandomNum <= 120 Then
GoUp = False
ElseIf RandomNum > 120 And RandomNum <= 140 Then
GoUp = True
ElseIf RandomNum > 140 And RandomNum <= 160 Then
GoUp = False
ElseIf RandomNum > 160 And RandomNum <= 180 Then
GoUp = True
Else
GoUp = False
End If

HeightDifference = Int((250 - 0 + 1) * Rnd + 0)
If GoUp Then
sdk.aw_terrain_heights(0) = PrevHeight + HeightDifference
Else
sdk.aw_terrain_heights(0) = PrevHeight - HeightDifference
End If

sdk.aw_terrain_set i, j, 1, 0

Next j
Next i
End Sub

Edits a 100x100 coord area (centered at 0n 0w).

KAH

SDK COM Wrapper Multiple instances ...

Nov 20, 2002, 8:45pm
"baron" <pk39srt at hotmail.com> wrote in
news:3ddabe5b at server1.Activeworlds.com:

> P.S (OT). If anyone from AWI reads this, Start/run/cmd and type net
> time/? on the news server, or check out
> http://www.microsoft.com/WINDOWS2000/techinfo/howitworks/security/winti
> meserv.asp ...time flies

I think that might be difficult, as the server is probably running some
sort of UNIX variant.

KAH

AW_AVATAR_CITIZEN

Nov 30, 2002, 2:09pm
"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in
news:3de8abd0 at server1.Activeworlds.com:

> I dont see a problem with this, using the privilege to indicate that
> it is a bot is correct. Because the bot actually logs onto the PPW of
> the citizenship, not the citizenship itself. Seems juts logical that
> the citnum for bots should show up as 0

But the docs say it should return the citnum of the owner, so it's not
logical that it doesn't. This has annoyed me too, and I've seen it since
this attribute was added (was it in 3.2? 3.1?).

KAH

Re: Are hambots dead?

Dec 4, 2002, 8:01pm
"vips" <spiv at nowhere.com> wrote in news:qgeruu0l4nmnig5o29dk6fdfvqtb67nksf at
4ax.com:

> Since yesterday, hambots seem to have passed away..... Login
> validation permanently fails. Checking out Hamfon's web page I read
> "The downloadable bots that you found here before are now not
> supported, and officially retired." (http://www.hamfon.com/hamfon.htm)

Something major has changed in the protocol it seems, and after some
digging I found that the real RC returned is 58 RC_MUST_UPGRADE. The HamBot
is compiled for the SDK build 15. Could someone with VC++ please recompile
it for build 24? I can provide the GPL sourcecode.

Developer note:
This is valid for all bots using old SDK builds, so if you wrote a bot long
ago (or perhaps not so long ago? not sure where the limit is) you might
want to recompile it...

KAH

vb terrain edit

Dec 10, 2002, 4:41pm
"technozeus" <TechnoZeus at techie.com> wrote in
news:3df45146$1 at server1.Activeworlds.com:

> In case that is the one, here is the section of code from it...
> streamlined a bit, but functionally equivilent.
><<snipped code>>
> Note: I didn't write this code, or for that matter even check to see
> if it works. I just copied and edited it.

I don't really recommend using it in it's current form, real uneffective
(as you'll discover if you run it).

KAH

1  ...  5  6  7  8  9  10  ...  78  |  
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