SphereCommunity
Make static from sphereworld: best program? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: General Discussion (/Forum-General-Discussion)
+--- Forum: UOP/Mul Editing (/Forum-UOP-Mul-Editing)
+--- Thread: Make static from sphereworld: best program? (/Thread-Make-static-from-sphereworld-best-program)

Pages: 1 2


Make static from sphereworld: best program? - Rizz - 02-27-2013 10:26 AM

Some years ago i used the old axis (i don't remember the version) but axis2 does not have the possibility to make static.
Whic one program should i use?
Which is the best?


RE: Make static from sphereworld: best program? - Mordaunt - 02-27-2013 11:06 AM

Centred from what I understand though I have never used it myself.

Think it's time people started to bug Valios to make something to do it Wink


RE: Make static from sphereworld: best program? - Rizz - 02-27-2013 11:39 AM

Centred can load a sphereworld.scp?


RE: Make static from sphereworld: best program? - darksun84 - 02-28-2013 01:20 AM

i think mulpatcher can do that, it should be under features -> worldeditor


RE: Make static from sphereworld: best program? - Rizz - 02-28-2013 07:12 AM

Mulpatcher crash when i try to open that tab.
I found no one program that allow to make static on map2.
How to do!?
Tell me how the static files work and i'll try to make a custom application lol.
I need


RE: Make static from sphereworld: best program? - sco - 02-28-2013 09:34 AM

Hi there.


http://uo-elantharil.de/SphereStatica.zip


It's a Java Programm doing the statics on my shard. I included the sources in this jar-file. You might get along with just editing two parts:


FreezeStatica.java:
the value for MAX_BLOCK - i included some hints for setting the right value.


mapStaticCoreUtils.BlockCalculator.java:
Set Y_SECTOR_COUNT according to your map (cells in y-direction / 8).


Recompile it, start the class SphereStaticaGuid and it might do what you need. Or not, never tried to edit map2


RE: Make static from sphereworld: best program? - Rizz - 02-28-2013 11:35 AM

(02-28-2013 09:34 AM)sco Wrote:  Hi there.


http://uo-elantharil.de/SphereStatica.zip


It's a Java Programm doing the statics on my shard. I included the sources in this jar-file. You might get along with just editing two parts:


FreezeStatica.java:
the value for MAX_BLOCK - i included some hints for setting the right value.


mapStaticCoreUtils.BlockCalculator.java:
Set Y_SECTOR_COUNT according to your map (cells in y-direction / 8).


Recompile it, start the class SphereStaticaGuid and it might do what you need. Or not, never tried to edit map2

Thx a lot!
No problem for editing but i don't know how to compile it... noob on java.
Which compiler you use? How to import the project correctly?

Using netbeans i can run (without compile) che application and the process seems to go succesful... but the old and new statics are the same lol...

you said that you never tried on map2; maybe the problem consist in the coordinate format:

for map 1:
P=x,y,z

for map 2:
P=x,y,z,m

maybe i should to remove the ",m" from every items...


RE: Make static from sphereworld: best program? - sco - 02-28-2013 07:14 PM

Ah, yeah.

Try to use a .wsc file. Create it with serv.export on your map2.


RE: Make static from sphereworld: best program? - Rizz - 02-28-2013 09:44 PM

I create a wsc file from map2 and then i tried with and withoud take any change on P but noway to works...
Here the last wsc without ",m" coord

PHP Code:
[WI i_gold]
SERIAL=04003f44e
DISPID
=0eef
ATTR
=011
P
=1178,1098,-25

[WI 0bad]
SERIAL=040041566
DISPID
=0bae
ATTR
=010
P
=1188,1107,-25

[WI 0ba1]
SERIAL=040043874
DISPID
=0ba2
ATTR
=010
P
=1188,1107,-25

[WI 0b3f]
SERIAL=040044a8a
ATTR
=010
P
=1180,1097,-25

[WI i_chair_wood_cushion]
SERIAL=040044ba3
ATTR
=010
P
=1179,1097,-25

[WI i_plant_hedge_1]
SERIAL=04004676e
ATTR
=010
P
=1168,1127,-25

[WI i_flower_white]
SERIAL=04002ea39
ATTR
=010
P
=1169,1088,-25 

Sphere statica says that everything goes well but it does not write anything inside the file.


RE: Make static from sphereworld: best program? - sco - 03-01-2013 12:50 AM

Ok, i see.

I have an older version of sphere. I use this command:

.serv.export export.wsc 1 7000

and it give me a file like this:

Code:
SECTION WORLDITEM 0
{
SERIAL 1073753440
NAME marble wall
ID 698
X 2268
Y 1471
Z 70
CONT -1
TYPE 172
AMOUNT 1
COLOR 0
}

SECTION WORLDITEM 1
{
SERIAL 1073753431
NAME marble wall
ID 698
X 2269
Y 1471
Z 70
CONT -1
TYPE 172
AMOUNT 1
COLOR 0
}

SECTION WORLDITEM 2
{
SERIAL 1073753223
NAME marble wall
ID 698
X 2267
Y 1471
Z 70
CONT -1
TYPE 172
AMOUNT 1
COLOR 0
}


You could try the command like this, but there is a chance something changed with serv.export and the file format changed. So my "parser" fails now[/align] and does not find any item to move to statics.