Jump to content
  • 0

[HELP-JAVA]kenourgio type of character.


Question

Posted

tha ithela kanena guide plz an iparxei gia to pws dimiourgoume ena kenourgio tipo apo pekti..oxi race kai tetia. gia paradigma na dimiourgisw ena type me name: heroic.(mono na iparxei pos na to pw , onomastika) . auto zitaw mono apo esas...

gia na to epeksergasto tha to kanw monos m . gia paradigma thelw na kanw ena type heroic kai meta na pw gia paradigam:

if (activeChar.getPvpKills() == 200)

{

activeChar.setHeroic(true);

}

 

ala tora gia paradigma to Heroic to bgazei kokino giati dn iparxei.

[move]HELP PLZ[/move]

Recommended Posts

  • 0
Posted

if (activeChar.getPvpKills() == 200)

{

activeChar.setHero())

return; true

}

 

Esu agorina m ktlves ti sou eipe to paidi?telos pantwn 8a sou dixw poso apla ginete mia methodos

 

prwta apo ola ka8e methodos hero noble kai auta einai dhlomena boolean sto l2pcisntance

paradeigma

 

private boolean _maxcheaters = false;

 

meta i sunexeia 8a einai

public boolean isdonator() 
{ 
return_donator; 
}

 

  • 0
Posted

Esu agorina m ktlves ti sou eipe to paidi?telos pantwn 8a sou dixw poso apla ginete mia methodos

 

prwta apo ola ka8e methodos hero noble kai auta einai dhlomena boolean sto l2pcisntance

paradeigma

 

private boolean _maxcheaters = false;

 

meta i sunexeia 8a einai

public boolean isdonator() 
{ 
return_donator; 
}

 

erotisis:1)sti periptosi s ekanes to isDonator. omos to gia paradigma setDonator? tha iparxei otan kaneis to isDonator?

2)boolean _maxcheaters edw sto maxcheaters enoeis to donator?

  • 0
Posted

ti akiro itan auto more? diavase prin peis eleos

aa sry

import.net.sf.l2j.gameserver.model.instance.L2PCInstance

import.net.sf.l2j.gameserver.clientpackets.EnterWorld

import.net.sf.l2j.gameserver.model.L2Character

import.net.sf.l2j.gameserver.Heroic

 

public class Heroic;

 

{

if (activeChar.getPvpKills() == 200)

{

activeChar.setHeroic())

return; true

    }

}

 

 

isws doulepsi tr dn t dokimasa etc tr m vgike'

 

(Mpori n theli k alla imports dn exw katalavi ti akrivos thes n kanei t heroic ti ine? thes n tn kanei hero? apla valto allou opos sto edwsa gt gemizis m new java files t pack s?)

  • 0
Posted

sorry gia to doulbe post alla dn exw edit kai dn egrapsa oti h8ela sto prwto

 

ti akiro itan auto more? diavase prin peis eleos

Esu agorina m ktlves ti sou eipe to paidi?telos pantwn 8a sou dixw poso apla ginete mia methodos

 

prwta apo ola ka8e methodos hero noble kai auta einai dhlomena boolean sto l2pcisntance

paradeigma

 

private boolean _maxcheaters = false;

 

 

meta i sunexeia 8a einai

 

public static boolean ismaxcheaters()
{
    return _donator;
}

auto einai paradeigma na koitaei an einai donator

twra auto gia na kaneis set donator to method einai

public void setmaxcheaters(boolean maxcheaters)
{
donator = _donator;
}

einai polu aplo kai sto ka8e action apla 8a xrhsimopoieis tin methodo.

 

public void setmaxcheaters(boolean maxcheaters)
{
donator = _donator;
}

and change the

donator = _donator;

 

to

 

maxcheaters = _maxcheaters;

  • 0
Posted

aa sry

import.net.sf.l2j.gameserver.model.instance.L2PCInstance

import.net.sf.l2j.gameserver.clientpackets.EnterWorld

import.net.sf.l2j.gameserver.model.L2Character

import.net.sf.l2j.gameserver.Heroic

 

public class Heroic;

 

{

if (activeChar.getPvpKills() == 200)

{

activeChar.setHeroic())

return; true

    }

}

 

 

isws doulepsi tr dn t dokimasa etc tr m vgike'

 

(Mpori n theli k alla imports dn exw katalavi ti akrivos thes n kanei t heroic ti ine? thes n tn kanei hero? apla valto allou opos sto edwsa gt gemizis m new java files t pack s?)

pali den katalaves..tcpa asto
  • 0
Posted

aa sry

import.net.sf.l2j.gameserver.model.instance.L2PCInstance

import.net.sf.l2j.gameserver.clientpackets.EnterWorld

import.net.sf.l2j.gameserver.model.L2Character

import.net.sf.l2j.gameserver.Heroic

 

public class Heroic;

 

{

if (activeChar.getPvpKills() == 200)

{

activeChar.setHeroic())

return; true

    }

}

 

 

isws doulepsi tr dn t dokimasa etc tr m vgike'

 

(Mpori n theli k alla imports dn exw katalavi ti akrivos thes n kanei t heroic ti ine? thes n tn kanei hero? apla valto allou opos sto edwsa gt gemizis m new java files t pack s?)

agori m ktlveneis oti to paidi zhtaei na ma8e pios ftiaxneis mia methodo?esu tou dineis ena kainourgio class to opio dn uparxei kan esu ftiaxneis apla ena arxeio kai petas mesa auto pou 8es? epishs to return ; true dn uparxei exw bare8ei na blepw apo olous na grafoun mlkies kai oti tous katebei nai dn lew 8es na boh8hseis alla me auton ton tropo dn boh8as.
  • 0
Posted

agori m ktlveneis oti to paidi zhtaei na ma8e pios ftiaxneis mia methodo?esu tou dineis ena kainourgio class to opio dn uparxei kan esu ftiaxneis apla ena arxeio kai petas mesa auto pou 8es? epishs to return ; true dn uparxei exw bare8ei na blepw apo olous na grafoun mlkies kai oti tous katebei nai dn lew 8es na boh8hseis alla me auton ton tropo dn boh8as.

 

kala r mia idea edwsa dn ine tropos aytos ok ekana 1 lathaki dn iparxi (t exw xrisimopoiisi s dika m mods k litourgise tr ti n pw tecpa) dn ine anagki n nevriazis dn poli katalava

  • 0
Posted

krash euxaristw re file ilikrina ;). kai gia na min se prizw gia 1 method san auto pou 8elw egw (idos char) prepei na kanw mono auta ta 3 methods?dld:

isHeroic,setHeroic,kai to boolean?

  • 0
Posted

kala r mia idea edwsa dn ine tropos aytos ok ekana 1 lathaki dn iparxi (t exw xrisimopoiisi s dika m mods k litourgise tr ti n pw tecpa) dn ine anagki n nevriazis dn poli katalava

Ema dn neuriazw alla exakolou8eis na les pragmata pou dn ginontai.
  • 0
Posted

krash euxaristw re file ilikrina ;). kai gia na min se prizw gia 1 method san auto pou 8elw egw (idos char) prepei na kanw mono auta ta 3 methods?dld:

isHeroic,setHeroic,kai to boolean?

 

private boolean _heroic = false;

 

public static boolean isheroic()
{
     return _heroic;
}

 

public void setheroic(boolean heroic)
{
heroic = _heroic;
}

Auta monaxa.

Guest
This topic is now closed to further replies.


  • Posts

    • - New Features in Anosim https://anosim.net -   You can now share your numbers with others via a unique link - no need to give them access to your account! How to Share Number https://prnt.sc/K83lxOjS-Fyb   How to Revoke Accsess: https://prnt.sc/jkVIQS2lhxvA   --- --- --- --- --- --- --- New OTP / SMS Activation Locations: - USA  - Australia - Honduras - Kenia
    • How to Create Multi-Accounts For TikTok, Youtube, Gmail....   Short Guide to Managing Multiple TikTok Accounts TikTok's anti-spam systems detect duplicate accounts via device IDs, IP addresses, and behavior. To avoid bans, follow these methods. 1. For 3-5 Accounts (Easiest) Use TikTok's built-in feature to add accounts in your app settings. Limitation: Frequent switching on the same device/IP can still trigger restrictions. 2. For Bulk Accounts (Safest) To make each account appear unique, you need to mask your digital footprint. Unique Emails & Proxies: Use a separate email and a residential/mobile proxy (e.g., MoMoProxy) for each account. Avoid free proxies. Anti-Detect Browsers: Use tools like AdsPower or Multilogin to create unique browser profiles, each with its own proxy and randomized digital fingerprint.   MoMoProxy Integrate with Adspower Browser   Process: In each unique browser profile, log into a separate Gmail and then create the TikTok account. 3. For One Device (Limited Use) Use app cloners like Parallel Space (Android) or Dual Space (iOS). Limitation: Not foolproof, as TikTok can sometimes detect cloned apps. Key Best Practices to Avoid Bans: Isolation: Use one proxy and one device/browser profile per account. Warm-Up: Act organically—watch videos, like, and comment—before posting content. Appear Unique: Use different usernames, bios, and profile pictures for each account. Avoid VPNs: Standard VPN IPs are often detected and flagged.   Youtube Video On How to Create TikTok Accounts  https://youtu.be/ZUihXj7BO4M  
    • How to Create Multi-Accounts For TikTok, Youtube, Gmail....   Short Guide to Managing Multiple TikTok Accounts TikTok's anti-spam systems detect duplicate accounts via device IDs, IP addresses, and behavior. To avoid bans, follow these methods. 1. For 3-5 Accounts (Easiest) Use TikTok's built-in feature to add accounts in your app settings. Limitation: Frequent switching on the same device/IP can still trigger restrictions. 2. For Bulk Accounts (Safest) To make each account appear unique, you need to mask your digital footprint. Unique Emails & Proxies: Use a separate email and a residential/mobile proxy (e.g., MoMoProxy) for each account. Avoid free proxies. Anti-Detect Browsers: Use tools like AdsPower or Multilogin to create unique browser profiles, each with its own proxy and randomized digital fingerprint.   MoMoProxy Integrate with Adspower Browser   Process: In each unique browser profile, log into a separate Gmail and then create the TikTok account. 3. For One Device (Limited Use) Use app cloners like Parallel Space (Android) or Dual Space (iOS). Limitation: Not foolproof, as TikTok can sometimes detect cloned apps. Key Best Practices to Avoid Bans: Isolation: Use one proxy and one device/browser profile per account. Warm-Up: Act organically—watch videos, like, and comment—before posting content. Appear Unique: Use different usernames, bios, and profile pictures for each account. Avoid VPNs: Standard VPN IPs are often detected and flagged.   Youtube Video On How to Create TikTok Accounts  https://youtu.be/ZUihXj7BO4M        
    • If you created it yourself for the first races just duplicate it in the same way for the other races (that is make the animations for the other races as well) and everything will work
    • OpenCV bot working for all l2 clients... but need special set for each server
  • Topics

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