X-mas Trees Problems dissapear after rr

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
jamaica
Posts: 288
Joined: Sat Jan 24, 2009 5:44 pm

X-mas Trees Problems dissapear after rr

Post by jamaica »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

hey guys...idk if u have this problem but i notice a little problem with x-mass trees i spawn some like npc and also i bought some like item so i can spawn em, i puted few in towns and after rr they disapear, where the hell its the problem?
Everybody L.I.E.S
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: X-mas Trees Problems dissapear after rr

Post by jurchiks »

afaik they aren't saved like spawns, they are like dropped items... I think GMs could pick them up, but I might be wrong.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
jamaica
Posts: 288
Joined: Sat Jan 24, 2009 5:44 pm

Re: X-mas Trees Problems dissapear after rr

Post by jamaica »

on prev revs works like npcs in gracia 2 kamael etc uff any ideea how can i spawn em like npcs or someting wich cant delete em at every rr? u see winter holly days its close and i try to make everything so players can feel the spirit :P u know what i mean, ty
Everybody L.I.E.S
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: X-mas Trees Problems dissapear after rr

Post by jurchiks »

so you're spawning ID 13006/7 and they don't stay after respawn?
you can always insert them manually in the database like this:

Code: Select all

INSERT INTO spawnlist (location,count,npc_templateid,locx,locy,locz,randomx,randomy,heading,respawn_delay,loc_id,periodOfDay) VALUES('XMASTREE',1,13006,1,1,1,0,0,0,60,0,0),('XMASTREE2',1,13007,1,1,1,0,0,0,60,0,0);
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
jamaica
Posts: 288
Joined: Sat Jan 24, 2009 5:44 pm

Re: X-mas Trees Problems dissapear after rr

Post by jamaica »

tyvm i`ll try this tomorrow and i`ll come back with a comment if its working or not, ty again
Everybody L.I.E.S
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: X-mas Trees Problems dissapear after rr

Post by jurchiks »

don't forget to change the xyz coordinates, the three values after npcId
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: X-mas Trees Problems dissapear after rr

Post by _DS_ »

Use custom spawnlist !
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: X-mas Trees Problems dissapear after rr

Post by jurchiks »

oops, my bad...
well, that was just an example anyway.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Post Reply