Jump to content

Question

Posted (edited)

Geia sas thelw mia mikri voitheia giati den mporw na thimithw. Thelw kathe character pou xrisimopoioi ena hero coin me to restart pou tha kanei na tou feugei kai na anangazete na xrisimopoioisei allo hero coin.. apo auto to config ti akrivos alaza gia na ginei auto pou thelw giati den mporw na thimithw.. mporei kapoios na me voithisei? Euxaristw..

 

# Hero Custom Item Configuration -
# -----------------------------------------------------
# When ActiveChar will use this item will gain Hero Status.
EnableHeroCustomItem = True
# Id Itemn Need's
HeroCustomItemId = 3481
# Hero for X days, 0 forever.
HeroCustomDay = 0

 

i cant remember plz any help?

 

 

Edited by Theocolis

5 answers to this question

Recommended Posts

  • 0
Posted
4 hours ago, Theocolis said:

Geia sas thelw mia mikri voitheia giati den mporw na thimithw. Thelw kathe character pou xrisimopoioi ena hero coin me to restart pou tha kanei na tou feugei kai na anangazete na xrisimopoioisei allo hero coin.. apo auto to config ti akrivos alaza gia na ginei auto pou thelw giati den mporw na thimithw.. mporei kapoios na me voithisei? Euxaristw..

 

# Hero Custom Item Configuration -
# -----------------------------------------------------
# When ActiveChar will use this item will gain Hero Status.
EnableHeroCustomItem = True
# Id Itemn Need's
HeroCustomItemId = 3481
# Hero for X days, 0 forever.
HeroCustomDay = 0

 

 

 

 

 

  • 0
Posted
3 minutes ago, m0a said:

 

gameserver/handler/itemhandler/HeroCustomItem.java

Σβήσε αυτό.

                updateDatabase(activeChar, Config.HERO_CUSTOM_DAY * 24L * 60L * 60L * 1000L);

  • 0
Posted (edited)

regarding to baggos answer, you can add check like that:

if (Config.HERO_CUSTOM_DAY != -1)
	updateDatabase(activeChar, Config.HERO_CUSTOM_DAY * 24L * 60L * 60L * 1000L);

 

now, when you set HeroCustomDay to -1 will be until restart

Edited by melron
  • 0
Posted (edited)
6 hours ago, melron said:

regarding to baggos answer, you can add check like that:


if (Config.HERO_CUSTOM_DAY != -1)
	updateDatabase(activeChar, Config.HERO_CUSTOM_DAY * 24L * 60L * 60L * 1000L);

 

now, when you set HeroCustomDay to -1 will be until restart

That's better yes.. :P He can keep the config.

Edited by 'Baggos'

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock