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.


  • Posts

    • Hello, I'm looking for classic client for l2 gold or l2 gold weapons for classic 166 version
    • Good afternoon   ⚡CAN'T GO TO THE ONLINE STORE? OPEN THE SITE VIA VPN OR TOR BROWSER⚡ ⚡PREMIUM QUALITY ACCOUNTS, INSTANT DELIVERY, FREE CONSULTATIONS, RELIABLE WORK⚡   ✔ Ready accounts ✔   BUSINESS ACCOUNTS ☟ Blackcatcard Business LV, Volet com (AdvCash) Business EU, Xapo Bank Business EU, Finom Business, PayPal Business, Payset Business, Stripe Business, Payoneer Business EU, Wise Business UK/EU, Revolut Business EU/UK, N26 Business DE, Wallester Business EU, Mistertango Business LV   BANKS, NATIONAL BANKS ☟ Ceska Sporitelna, KASIKORNBANK, BBVA, CommerzBank, Santander, Kaspi Bank, AlfaBank, Raiffeisen, mBank, Paribas, Bereke Bank, Freedom Bank   PAYMENT SYSTEMS ☟ Bunq on emulator (DE, NL, FR, ES, IE ibans), Revolut on emulator (UK/EU), ICard, BlackCatCard, Vivid DE, Bankera, Bitsa, Wise EU/UK, N26 DE on emulator, Skrill, Neteller, Trasta, Wirex, Lama, Paysera, 4x4 io, Weststein, Paysafecard, Paysend, Genome, Conotoxia, Mybrocard, Payz Silver, Pockit UK, NagaPay, Volet com, SpectroCoin, SwissMoney, Yuh, Lydia / Sumeria, Ka.App, Wittix, Western Union, MyGuava   CRYPTOEXCHANGE ☟ Poloniex, Bitmart, Kraken, WhiteBit, Quppy, Nexo, Gate, OKX, Paybis, Paxful, Huobi (HTX), xcoins com, Bit2Me, Bybit LVL 2, KuCoin, Binance LVL 2, Mexc, Latoken   Contact via telegram - in the first post of the topic!
    • Sell "Amoral" Classic Armor and Weapon.   Custom "Amoral" Draconic Set YouTube Custom "Amoral" Imperial Set YouTube Custom "Amoral" Dark Crystal Robe YouTube Custom "Amoral" Classic S-Grade Weapon YouTube My Contacts Telegram  
    • Greetings to all! I offer a scope for client modification. What services do I provide: 1) Transfer of any Weapon, Armor, Accessories, from any chronicles to yours. 2) Creating exclusive add-ons. 3) Repainting of Armor, Weapons аnd Accessories. 4) Packing the icons you need and other things. 5) Creating NPCs with and without effects. 6) Create Monsters and Raid bosses, with effects and sounds. 7) HTLM NPC design. Creating Buttons and other things for your project. And much more If you have any questions, write in  Telegram. You can find some of the works here  YouTube
  • Topics

×
×
  • Create New...