Thread

what the hell is with the new sdk? (Sdk)

what the hell is with the new sdk? // Sdk

1  |  

the derek

Feb 7, 2001, 1:20am
i have probem after problem with the new sdk (not
3.1) in VB
first attributes couldnt be set... now it cant
connect
the servers are running and older sdk works fine
whats wrong with this damn thing

the derek

Feb 7, 2001, 1:24am
ok i take that back NIETHER one is working now....

[View Quote] > i have probem after problem with the new sdk (not
> 3.1) in VB
> first attributes couldnt be set... now it cant
> connect
> the servers are running and older sdk works fine
> whats wrong with this damn thing

kah

Feb 7, 2001, 4:00pm
well, I actually have a problem too. I guess that it's the same thing...the
bot compiles without any problems, but the bot doesn't seem to log in. I get
the problem using both versions of AwSdkOcx

KAH
[View Quote]

kah

Feb 10, 2001, 5:10pm
worked fine now...

KAH
[View Quote]

brant

Feb 10, 2001, 10:55pm
There seems to be a problem with the Quickstart routine of the VB SDK. For
example, when I use QuickStart, IP querying a person returns 0.0.0.0 every
time. However, when I log in the bot the traditional way, the AwAddress
function works fine.

My suggestion: avoid the QuickStart and QuickStop functions and log in the
bot using AW's functions - maybe it will fix the problem.

[View Quote]

the derek

Feb 11, 2001, 4:21am
i know that- i dont use the quick start

[View Quote] > There seems to be a problem with the Quickstart routine of the VB SDK. For
> example, when I use QuickStart, IP querying a person returns 0.0.0.0 every
> time. However, when I log in the bot the traditional way, the AwAddress
> function works fine.
>
> My suggestion: avoid the QuickStart and QuickStop functions and log in the
> bot using AW's functions - maybe it will fix the problem.
>
[View Quote]

mrgrimm

Feb 11, 2001, 9:41am
The QuickStart function is equivalent to:

Public Function QuickStart(Owner As Long, Password As String, Botname As
String, _
Application As String, World As String, _
X As Long, Y As Long, Z As Long, Yaw As Long, lType As Long)
As Long

Dim rc As Long

rc = awSDK.AwCreate("", 0)
If rc Then
awSDK.AwDestroy
QuickStart = rc
Exit Function
End If

awSDK.EnableDefaultEvents
awSDK.EnableDefaultCallbacks

awSDK.AwLoginOwner = Owner
awSDK.AwLoginPrivilegePassword = Password
awSDK.AwLoginName = Botname
awSDK.AwLoginApplication = Application

rc = awSDK.AwLogin
If rc Then
awSDK.AwDestroy
QuickStart = rc
Exit Function
End If

rc = awSDK.AwEnter(World, 0)
If rc Then
awSDK.AwDestroy
QuickStart = rc
Exit Function
End If

awSDK.AwMyX = X
awSDK.AwMyY = Y
awSDK.AwMyZ = Z
awSDK.AwMyYaw = Yaw
awSDK.AwMyType = lType

rc = awSDK.AwStateChange
If rc Then
awSDK.AwDestroy
QuickStart = rc
Exit Function
End If

QuickStart = 0
End Function

'///////////////////////////////////////////////////////////
QuickStop is equivalent to:

Public Sub QuickStop()
awSDK.AwDestroy
End Sub

-MrGrimm

[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