Thread

aw_terrain_load_node (Sdk)

aw_terrain_load_node // Sdk

1  |  

chazrad

Dec 5, 2002, 8:44pm
has anyone any experience with load_node? it's seems to crash the
worldserver at times

Chaz

agent1 webmaster@shatteredplattersdotcom

Dec 6, 2002, 9:32pm
The docs say it's mostly just for the world admin tool so I wouldn't bother using that.

-Agent1

[View Quote]

xelag

Dec 6, 2003, 9:28am
My experience has been very hazardous too, and I've crashed world
servers a few times. It seems that the safest way is to delete all
terrain first, and then start uploading full pages, one at a time, on
an empty database. You can not just create a node, it must be done
according to certain rules when you make a page. It's a bit
complicated:

A node must have EITHER all same textures and heights, OR be the
smallest node (which is 8x8 cells)

The largest node you can have is the size of a page, 128x128 cells. if
this size has either different heights or textures, it must be chopped
into 4 equal nodes of 64x64 cells. If any of these have different
altitudes or textures, chop it again into 4 equal parts (32x32 cells).
carry on doing this until you get to an 8x8 size: this is the smallest
size allowed.

Once you have all the nodes of a page, you can start sending them to
the server, in the correct order, which is from east-to-west (X), send
each 'column' of nodes south-to-north (Z) (east-to-west is the outer
i.e. slower loop).

To modify the terrain partially, you should not use the load_node
method.

Alex

On 5 Dec 2002 17:44:39 -0500, "chazrad" <petrossadeletethis at msn.com>
[View Quote] >has anyone any experience with load_node? it's seems to crash the
>worldserver at times
>
>Chaz

codewarrior

Dec 6, 2003, 7:00pm
:-)
--
Active Worlds Terrain Plugin for Daylon Leveller
by Pete Patterson (a.k.a. Codewarrior)
(c) 2003 Ideajuice all rights reserved
Uploading 9 pages, 1024 nodes... 256 cells E/W, 256 cells N/S
Page 0,0
Page 0,1
Page 0,2
Page 1,0
Page 1,1
Page 1,2
Page 2,0
[Slartibartfast]: Reconnected
Page 2,1
Page 2,2
ETime 92
[Slartibartfast]: My work here is through... I hope you like my fjords


[View Quote] <SNIP>

> To modify the terrain partially, you should not use the load_node
> method.
>
> Alex
>
> On 5 Dec 2002 17:44:39 -0500, "chazrad" <petrossadeletethis at msn.com>
[View Quote]

1  |  
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