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'

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...