I'm beginner in jython and I tried some instances script but it never worked.
I want make instance zone for one party and the instace has one boss.
Anyone can help me?
Instance with Interlude
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- theone
- Posts: 1384
- Joined: Tue Aug 12, 2008 2:28 am
- Location: Quebec, Canada
Re: Instance with Interlude
Well, the way the Instances system is made on L2J is not so simple to port to interlude.
In my opinion, if you want such a system for only events and such, you should make one yourself and add it to your core.
It's quite simple actually to make a simple instance system. Everything goes back to the npc,mob,player knownlists.
You just need to set a variable in L2Object.java(because everything gets affected: doors, mobs, npcs, players, etc...) that has the instance ID in it.
Then when you update the knownlist of mobs,npcs,players,etc you only add the objects which have the same instance ID.
Et voila! You've got your very own instance system(well, a simplified version of...).
In my opinion, if you want such a system for only events and such, you should make one yourself and add it to your core.
It's quite simple actually to make a simple instance system. Everything goes back to the npc,mob,player knownlists.
You just need to set a variable in L2Object.java(because everything gets affected: doors, mobs, npcs, players, etc...) that has the instance ID in it.
Then when you update the knownlist of mobs,npcs,players,etc you only add the objects which have the same instance ID.
Et voila! You've got your very own instance system(well, a simplified version of...).

-
- Posts: 77
- Joined: Thu Mar 04, 2010 10:15 pm
Re: Instance with Interlude
is there any guide or just reading other instance etc?