SphereCommunity
worldgem producing to much worldchars - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: worldgem producing to much worldchars (/Thread-worldgem-producing-to-much-worldchars)

Pages: 1 2 3 4


RE: worldgem producing to much worldchars - Berkley - 11-05-2015 03:17 AM

Sad bad luck.

after correcting all worldgems a lot of AMOUNT entries gone away automatically after saving the world. Then the error appears again and the gems are crowding my world.
I have no idea, what is causing this.


RE: worldgem producing to much worldchars - Berkley - 11-05-2015 04:19 AM

(11-02-2015 02:14 PM)Kanibal Wrote:  You can remove bad spawns.
Code:
[FUNCTION f_remove_bad_spawns]
FORITEMS 6144
    IF (<TYPE> == T_SPAWN_CHAR && !<AMOUNT>)
        REMOVE
    ENDIF
ENDFOR
...

Is it possible to create a function, that deletes all [Worldchars] which SERIAL=ID has no "married" [worldgem] with the same ID in "ADDOBJ="?


best regards, Lars
[/quote]


RE: worldgem producing to much worldchars - Kanibal - 11-05-2015 02:41 PM

(11-05-2015 04:19 AM)Berkley Wrote:  which SERIAL=ID has no "married" [worldgem] with the same ID in "ADDOBJ="?



RE: worldgem producing to much worldchars - Berkley - 11-05-2015 06:04 PM

(11-05-2015 02:41 PM)Kanibal Wrote:  
(11-05-2015 04:19 AM)Berkley Wrote:  which SERIAL=ID has no "married" [worldgem] with the same ID in "ADDOBJ="?

well, the healthy way a worldgem is producing a worldchar is like this:
(if i understand right):


[WORLDITEM i_worldgem_bit]
...
AMOUNT=1
MORE2=01
ADDOBJ=03925
...
seems to be bound with (sorry for using the metaphoric married)
[WORLDCHAR c_bullfrog]
...
SERIAL=03925
...

ADDOBJ=SERIAL (03925=03925)


now after a while my worldgem produces more and more "wild" worldchars like this
and deletes the "AMOUNT=1" automatically:

 
[WORLDITEM i_worldgem_bit]
...
MORE2=01
ADDOBJ=03925
...
seems not to be bound with
[WORLDCHAR c_bullfrog]
...
SERIAL=0a92a
...

ADDOBJ≠SERIAL (03925≠029ba)

Is the creation of a function possible, that deletes all that "wild" worldchars?

best regards, Lars
(and sorry about my english, i'm not an english native speaker)


RE: worldgem producing to much worldchars - Kanibal - 11-05-2015 06:20 PM

Sorry, I'm not using nightly builds, so I haven't "ADDOBJ" or "married worldgem's".

You can also try this tool tot delete bad spawn's:


RE: worldgem producing to much worldchars - XuN - 11-05-2015 09:27 PM

Resuming: sometimes the AMOUNT property is not working as it should and spawns generates aditional monsters, right? I'll take a look in a few hours in the source.


RE: worldgem producing to much worldchars - x77x - 11-05-2015 10:03 PM

my npc spawns keep coming up with the wrong color and wrong items

sometimes they work, sometimes they dont...

i need to learn to stop using the nightlys... everytime it breaks more than it fixes


RE: worldgem producing to much worldchars - XuN - 11-05-2015 10:16 PM

Then stop using them, it's boring seeing you all the time flaming here, seriously.

You might try something: do something on the source in your free time and then let is flame what you did. If you want to have something bug-free go to official servers of any game (oh wait, they also have bugs).

EDIT: At least use the correct post, this one is related to another thing. Does anyone else have this problem with last nightly? I cannot replicate it since the fix was sent.


RE: worldgem producing to much worldchars - x77x - 11-06-2015 01:09 AM

quit making nightlys, and make it monthlys like i suggested years ago...

you leave stuff unfinished for too long =)


worldgem producing to much worldchars - roberpot - 11-06-2015 02:04 AM

Nightlys are for testing. If you want a stable and free-of-bugs release you can try the last release or... clone the code and help sphereserver!