Jump to content
  • 0

[help]Hero 4 ever donate


Question

Posted

loipon 8a 8ela an gnt  na ftiaksoume ena code na kanei ton alon hero for ever mia kali idea einai na ftiaksoume ena new char type kai sto l2pcinstance na baloume

if (!isPermaHero)
        {
        activeChar.setHero(true);
        }

 

ala to 8ema einai pws na ftiaksoume afto to type  kai pws na kanoume ton char PermaHero?

an gnt  kapios  na boithisi plz :)

 

L2J CT2.3

13 answers to this question

Recommended Posts

  • 0
Posted

if (activeChar.isDonator() && !activeChar.isHero())

{

activeChar.setHero(true);

}

 

enterworld.java

To 8ema einai pws 8a ftia3ei to isDonator class....

 

Kai pes pws enas einai kai hero kai donate..... tote den 8a einai hero me auto to code....

  • 0
Posted

Ουδέν σχόλιο..

xaxa nai soz mlkia auto pou ipa.... xD twra pou to 3anaskeftome :P  an 8elei kaneis delete auto to post.. aplos den einia spam xD

  • 0
Posted

if (activeChar.isDonator() && !activeChar.isHero())

{

activeChar.setHero(true);

}

 

enterworld.java

pws 8a kanoume ton char donator omws?:)

 

kai esi file ekanes copy to post tou seteck (i opws ton lene :p ) gt sou zitisa PermaHero anw esi mou les gia donator kai Hero

  • 0
Posted

Me ena private final int alla pos theleis na ginete ?b Ti na exei kanei aytos o char gia na einai herro for ever ?

8elei na to kanei  molis kapios kanei Donate na ginete kai hero.... Dld molis pernei to Donate class na ginete Hero...

  • 0
Posted

re file koita  exw  sto server  m Hero For ever donate  e 8elw na ftiaksw  mia entoli pou na ton kanei  hero 4 ever px //permahero

kai sto pcinstance i sto enterworld 8a eiparxei afto :

 

if (activeChar.isPermaHero())

{

activeChar.setHero(true);

 

 

to 8ema  einai pws 8a ftiaksw  to Type: Permahero kai pws 8a ftiaksw to command

 

  • 0
Posted

ok to eftiaksa :)

 

eftiaksa ena  field  sto Characters me name "hero" me epiloges 1 & 0 to ekana  reg sto l2pcinstance

se  afti edw tin line :

 

private static final String RESTORE_CHARACTER

 

kai meta  katw apo afto edw :

 

player.setNoble(rset.getInt("nobless")==1);

 

bazw afto:

 

player.setHero(rset.getInt("hero")==1);

 

dld an o character exei to field  1  einai hero :)

 

 

 

episis  an  8elete  etoimo command xriazontas  mono mia line  anti gia :

 

player.setHero(rset.getInt("hero")==1);

 

 

bazete :

 

player.setHero(rset.getInt("accesslevel")==5);

 

 

ala sto "access_levels"  sto  sto access  level 5 ekei pou leei isgm bazete 0 kai patate sto game  //changelvl 5

 

tixeo? de nomizw :P

 

 

 

LOCKED :)

Guest
This topic is now closed to further replies.


×
×
  • Create New...