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?
X-mas Trees Problems dissapear after rr
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 288
- Joined: Sat Jan 24, 2009 5:44 pm
X-mas Trees Problems dissapear after rr
Everybody L.I.E.S
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: X-mas Trees Problems dissapear after rr
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 288
- Joined: Sat Jan 24, 2009 5:44 pm
Re: X-mas Trees Problems dissapear after rr
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
u know what i mean, ty

Everybody L.I.E.S
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: X-mas Trees Problems dissapear after rr
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:
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 288
- Joined: Sat Jan 24, 2009 5:44 pm
Re: X-mas Trees Problems dissapear after rr
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
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: X-mas Trees Problems dissapear after rr
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: X-mas Trees Problems dissapear after rr
Use custom spawnlist !
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: X-mas Trees Problems dissapear after rr
oops, my bad...
well, that was just an example anyway.
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.