(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
[WORLDCHAR c_bullfrog]
CREATE=030063
SERIAL=029ba
TIMER=00
rescold=00
resenergy=00
resfire=00
respoison=00
NPC=01
HOMEDIST=03
P=2042,935
DIR=02
FLAGS=030000000
ACTION=067
HOME=1066,2187,1
OSTR=064
OINT=016
ODEX=015
OFAME=0350
MAXHITS=035
MAXSTAM=018
MAXMANA=013
HITS=035
STAM=018
MANA=013
FOOD=00
MagicResistance=0349
Tactics=0509
Taming=0205
Wrestling=0575
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)