Jump to content
  • 0

[HELP-JAVA]kenourgio type of character.


Cracker™

Question

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]

Link to comment
Share on other sites

Recommended Posts

  • 0

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; 
}

 

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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?)

Link to comment
Share on other sites

  • 0

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;

Link to comment
Share on other sites

  • 0

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

  • 0

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

  • 0

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

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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

  • 0

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • I can use this folder system for High Five offline server?   The folder does not have a l2.exe file.   Thank you very much if anyone can help me.   https://drive.google.com/file/d/13kU-g_4JJ-sP-kg2F7pqkUOVKmQdubFm/view
    • I know, but...every time I have problem with IP address setup 😞
    • ENGLISH As you know, we have always profiled in the development of Java emulators, we continue to do our favorite thing, and now we have the opportunity to provide you with services in the field of private development of L2 assemblies Essence, Classic and High Five, which we have been doing in recent years, we have not been working on basic builds for a long time and work only on contracts for the world's best projects. These are the best builds we can offer, we have test servers and we can show them to you on the test, and if you are very good at gameplay, you will see a big difference in the quality and detail of the official content compared to the basic builds. These are the best top solutions in the world, which are currently used to implement the largest projects in the world. We guarantee 100% implementation of all official content. If you have any questions about testing, discussions, etc., please contact our studio and we will discuss everything. At the moment, you can get acquainted with the preliminary information and prices for Private L2 contracts here: Private Server packs L2 Essence 464, 447, 388, 362, 286 protocols Private server packs L2Classic Private server pack High Five РУССКИЙ --------------------------------------------- Как вы знаете мы всегда профилировались на разработке в сфере Java эмуляторов, мы продолжаем заниматься своим любимым делом, и сейчас у нас появилась возможность предоставлять вам услуги в сфере приватных разработок L2 сборок Essence, Classic и High Five, которыми мы занимаемся последние годы, мы уже давно не работаем над базовыми сборками и работаем только на контрактах для лучших мировых проектов. Это лучшие сборки, которые мы можем предложить, у нас есть тестовые сервера, и мы можем показать их вам на тесте, и если вы очень хорошо разбираетесь в игровом процессе, вы увидите большую разницу в качестве и детализации официального контента по сравнению с базовыми сборками. Это лучшие топовые решения в мире, которые на данный момент используются для реализации крупнейших проектов в мире. Мы даем гарантии - 100% реализации всего официального контента. По вопросам тестирования, обсуждений и тд - пишите по контактам нашей студии и мы все обсудим. На данный момент вы можете ознакомиться с предварительной информацией и ценами на Приватные контракты L2 тут: Приватные Сборки L2 Essence 464, 447, 388, 362, 286 protocols Приватные Сборки L2Classic Приватная Сборка High Five -------------------------------------------------------------- Contacts: Telegram: https://t.me/L2scripts Whatsapp, Viber: +1 (916) 226 1910 С уважением, Администрация !
    • I can sell it. If you are interested just pm.
  • Topics

×
×
  • Create New...