Instance Question

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
mgbhard
Posts: 228
Joined: Mon May 05, 2008 10:34 pm

Instance Question

Post by mgbhard »

Hi, i've created a custom instance, and i want to set it so players can enter only once a day, is there any way? its something with the "timeDelay", i saw it's commented on model/entity/Instance.java, is there any other way to make it work?

Thx, any help will be appreciate.

Marcelo
Image
Nik
L2j Veteran
L2j Veteran
Posts: 629
Joined: Fri Apr 18, 2008 9:09 pm

Re: Instance Question

Post by Nik »

create a new xml file in gameserver\data\instances... use the demo.xml as example
Playing a game where you know how every single mechanism works is quite satisfying.
Its the main perk that a gamer-developer has :D
mgbhard
Posts: 228
Joined: Mon May 05, 2008 10:34 pm

Re: Instance Question

Post by mgbhard »

Sorry i forgot to update this topic.
As timeDelay is not working right now, i finally make it so when the players enters the instance, a new qs is created as Completed, and every night an automatic sql query delete all the quests of my instance so players can enter again.

It's really not the best way to do it, but it's the best i acomplish.

If anyone can give me an advice it will be appreciate.

Sorry about the lame english

Marcelo
Image
Post Reply