Thread

world List (Sdk)

world List // Sdk

1  |  

the derek

Aug 21, 2002, 11:22pm
in VB, how do you get all the worlds from the Aw_World_List method?

strike rapier

Aug 21, 2002, 11:24pm
www.grimmsoft.com and look at the sdk section,
-mark
[View Quote]

the derek

Aug 21, 2002, 11:28pm
you should know by now he never updates that...

doing a while command in vb wil lock the bot up, so what else could you do
to call aw_world_list when it still needs more?
[View Quote]

strike rapier

Aug 21, 2002, 11:36pm
are you sure your using the while right? :)
-mark
[View Quote]

the derek

Aug 21, 2002, 11:42pm
nm i got it... i didnt realize the world list callback was when the current
call was done and not each world... i was supposed to put the code there
lol. stupid aw making everything confusing :P
[View Quote]

strike rapier

Aug 21, 2002, 11:46pm
I had that problem 2 at first :)


[View Quote]

the derek

Aug 21, 2002, 11:53pm
ok well is there a way to update the users in a world without logging the
world out and back in?

apparently once the list is ocmplete no other calls will work.

[View Quote]

strike rapier

Aug 22, 2002, 12:07am
call the update, you will only receieve the worlds that have changed, hence you must keep track of all worlds and alter them only if they have changed...

Type AwWorld
Name as string
Users as integerer
end type

global worlds(1500) as AwWvbBlack
Display "Total Found: " & ocount, vbBlack
End If
'Do stuff here
End Sub

For each updated object.... you do this..

for i = 0 to 1500
if worlds(i).name = AwWorldName then
worlds(i).users = awworldusers
end if
next i
[View Quote]

the derek

Aug 22, 2002, 12:19am
ok i got it but it still sometimes doesnt get a world but says its
complete.... wth?
[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