Jump to content
  • 0

i dont remember


Theocolis

Question

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
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
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

 

 

 

 

 

Link to comment
Share on other sites

  • 0
3 minutes ago, m0a said:

 

gameserver/handler/itemhandler/HeroCustomItem.java

Σβήσε αυτό.

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

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0
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'
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...