-
Posts
716 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by A√imas†i©™
-
Provlima me login
A√imas†i©™ replied to SocialKiller's question in Request Server Development Help [Greek]
+1 Egw nomizw oti dn exeis ani3ei ta port apo to rooter... kai tsekare mhpws ta mplokarei kai kanena antivirus tpt tetoio... oso gia to anti DDos einai gia mostra :P apla gia na to vlepeis :P -
Kalhspera exw ftia3ei mia farming zone alla einai sto Hellbound kai ama kanei kaneis teleport pou den exei kanei to quest ton petaei westerlands ... pws mporw na to vgalw auto? na mporoun na mpoun kai xwris to quest....
-
[HELP] Setekh's Avanced Hitman System
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
i cant find some codes... to paste this code :/ i have l2j ... what happened? -
[HELP] Setekh's Avanced Hitman System
A√imas†i©™ posted a question in Request Server Development Help [Greek]
have someone this code for freya? or if someone can make it for freya :) http://maxcheaters.com/forum/index.php?topic=190897.0 -
yes the link its ok i can download it too...
-
thanks is awesome :)
-
can i put it to freya? i tryed but i cant find some codes in the pcinstance to paste the code for botreport... :/
-
kalhspera 8a h8ela na ma8w pou mporw na vrw ena l2dc pack kai peripou an kserei kaneis poso kostizei...
-
eisai sigouros oti to evales sto sosto meros? psa3e kai vres auto player.onTransactionRequest(partner); kai vale apo pano ton allon kodika dld 8a einai kapws etc... + if (partner.getAllowTrade() == false) + { + player.sendMessage("Target is not allowed to receive more than one trade request at the same time."); + return; + } + partner.setAllowTrade(false); + player.setAllowTrade(false); player.onTransactionRequest(partner); kai meta vgazeis ta +
-
[HELP] Java code Freya!!
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
dn iksera ti akrivos bug :P alla 8a to ftia3w kai auto :) to threadsleep dn to kserw na s pw thn alh8eia... flood protection exw... -
[HELP] Java code Freya!!
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
sigoura? giati akousa oti uparxei bug ... kai mono me freeze mporeis na to fixareis.. :/ btw to eftia3a ok :) a kai kati allo... to change sub pws legete mesa sto pcinstance.java? -
paides ligo help... vazw auton ton kodika... startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1); setIsParalyzed(true); sendMessage("You are paralized untill your subclass load."); alla mou vgazei error sto build sto startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1); kapoios help na to perasw... exw l2j freya
-
[HELP]NPC Template
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
gia freya to 8elw... thanks :) kane lock to topic -
Kalhspera 8a h8ela na kanw mia erwtish.. to exw dei se diaforous servers edw k kairo... alla dn to eixa vrei... 8a h8ela na ma8w pws ginete na kanw ena npc pou na einai san char... px Dark elf h Human ktlp... uparxei kanena topic?
-
[HELP] Java codes Freya!!
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
na auton edw eida px... Index: /trunk/L2J-Game/config/main/custom.properties =================================================================== --- /trunk/L2J-Game/config/main/custom.properties (revision 1639) +++ /trunk/L2J-Game/config/main/custom.properties (revision 1680) @@ -266,2 +266,9 @@ PvpRewardItemName = Adena PvpRewardAmmount = 100 + +# Allow custom starter items? +AllowCustomStarterItems = false + +# You must allow custom starter items! +# Usage: id,count;id,count; +CustomStarterItems = 57,1000; Index: /trunk/L2J-Game/src/main/java/net/l2jserver/gameserver/network/clientpackets/CharacterCreate.java =================================================================== --- /trunk/L2J-Game/src/main/java/net/l2jserver/gameserver/network/clientpackets/CharacterCreate.java (revision 1634) +++ /trunk/L2J-Game/src/main/java/net/l2jserver/gameserver/network/clientpackets/CharacterCreate.java (revision 1680) @@ -19,4 +19,5 @@ import net.sf.l2j.gameserver.datatables.CharNameTable; import net.sf.l2j.gameserver.datatables.CharTemplateTable; +import net.sf.l2j.gameserver.datatables.ItemTable; import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.datatables.SkillTreeTable; @@ -29,4 +30,5 @@ import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; +import net.sf.l2j.gameserver.model.itemcontainer.PcInventory; import net.sf.l2j.gameserver.model.quest.Quest; import net.sf.l2j.gameserver.model.quest.QuestState; @@ -154,4 +156,27 @@ if (Config.STARTING_AA > 0) newChar.addAncientAdena("Init", Config.STARTING_AA, null, false); + + // L2EMU_CUSTOM - START + for (int[] startingItems : Config.CUSTOM_STARTER_ITEMS) + { + if (newChar == null) + { + continue; + } + PcInventory inv = newChar.getInventory(); + if (ItemTable.getInstance().createDummyItem(startingItems[0]).isStackable()) + { + inv.addItem("Starter Items", startingItems[0], startingItems[1], newChar, null); + } + else + { + for (int i = 0; i < startingItems[1]; i++) + { + inv.addItem("Starter Items", startingItems[0], 1, newChar, null); + } + } + } + // L2EMU_CUSTOM - END + //L2EMU_ADD newChar.getPosition().setXYZInvisible(template.getSpawnX(), template.getSpawnY(), template.getSpawnZ()); Index: /trunk/L2J-Game/src/main/java/net/l2jserver/Config.java =================================================================== --- /trunk/L2J-Game/src/main/java/net/l2jserver/Config.java (revision 1664) +++ /trunk/L2J-Game/src/main/java/net/l2jserver/Config.java (revision 1680) @@ -25,4 +25,5 @@ import java.math.BigInteger; import java.util.ArrayList; +import java.util.List; import java.util.Map; import java.util.Properties; @@ -867,4 +868,7 @@ public static String PVP_REWARD_ITEM_NAME; public static int PVP_REWARD_ITEM_AMMOUNT; + + public static boolean ALLOW_CUSTOM_STARTER_ITEMS; + public static List<int[]> CUSTOM_STARTER_ITEMS = new FastList<int[]>(); //********************************************************* @@ -940,4 +944,36 @@ PVP_REWARD_ITEM_NAME = customSettings.getProperty("PvpRewardItemName", "Adena"); PVP_REWARD_ITEM_AMMOUNT = Integer.parseInt(customSettings.getProperty("PvpRewardAmmount", "100")); + ALLOW_CUSTOM_STARTER_ITEMS = Boolean.parseBoolean(customSettings.getProperty("AllowCustomStarterItems", "false")); + + + if (ALLOW_CUSTOM_STARTER_ITEMS) + { + String[] propertySplit = customSettings.getProperty("CustomStarterItems", "0,0").split(";"); + for (String starteritems : propertySplit) + { + String[] starteritemsSplit = starteritems.split(","); + if (starteritemsSplit.length != 2) + { + ALLOW_CUSTOM_STARTER_ITEMS = false; + System.out.println("StarterItems[Config.load()]: invalid config property -> starter items \""+ starteritems + "\""); + } + else + { + try + { + CUSTOM_STARTER_ITEMS.add(new int[] { Integer.valueOf(starteritemsSplit[0]), Integer.valueOf(starteritemsSplit[1]) }); + } + catch (NumberFormatException nfe) + { + if (!starteritems.equals("")) + { + ALLOW_CUSTOM_STARTER_ITEMS = false; + System.out.println("StarterItems[Config.load()]: invalid config property -> starter items \"" + starteritems + "\""); + } + } + } + } + } + } catch (Exception e) lol vasika dn to eixa dei... to exei idi mesa h l2j gia na grafei pios killare poion sta system message... :) -
[HELP] Java codes Freya!!
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
vsk dn exw katalavei kati... vriskw enan kodika ... alla dn exw katalavei auto edw ti einai? --- /trunk/L2J-Game/src/main/java/net/l2jserver/gameserver/network/clientpackets/CharacterCreate.java (revision 1634) +++ /trunk/L2J-Game/src/main/java/net/l2jserver/gameserver/network/clientpackets/CharacterCreate.java (revision 1680) na alaksw revision? an nai pws? -
[HELP] Java codes Freya!!
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
nai auto h8ela na pw oti an mporw na ta valw... dn alazei tpt allo e? ola java na m peis einai... idia glossa.. mono ta imports .. comple :) alla polla apo auta ta exoun valei sto freya pack ths l2j swsta? ksereis esu kapou pou 8a vrw tous kodikes pou zitaw? gia vote reward kai gia ta kill? ama parw auto ton kodika pou exei ta ta kill kai to leei sta announcements mporw na to kanw edit gia na to valw na to leei sto system message? -
kalhspera 8a h8ela na rwtisw kt epeidh 8elw na ftia3w twra ena pack... epsa3a gia java codes... kai vrika tou coyote... http://www.maxcheaters.com/forum/index.php?topic=105735.0 kai 8a h8ela na rwtisw autoi oi kodikes einai gia freya? an oxi oloi peripou pioi? 8elw na vrw kalous kodikes gia freya...(epeidh akoma eimai new sta java kai dn mporw na ftia3w diko m kodika akoma) 8elw na vrw pou otan kaneis vote hopzone sou dinei reward... h ka8e kaposa votes px 20 dinei reward se olous tous online players... episeis 8elw an kserete ena pou s dixnei otan killarei kapoios kapoion alla oxi sto announcement.... sta system messages me ta gri grammata... kai diafora usefull kai wraia codes... an kserete kati please help... mporw na ta vrw auta? h oso kai na psa3w dn paizei na ta exoun kanei share kai 8a prepei na katsw na ma8w kala java kai meta na arxisw na ftiaxnw ta dika m codes?
-
[HELP] Etairia
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
ok 8a thn dw kai auth... alla 8elw kati gia ta ddos... giati akousa oti sta linux uparxoun pio liges pi8anothtes gia ddos attack... ti mporw na kanw gia ta doss attack ? ti 8a htan kalhtero... ? exw vrei ena site gia doss protection alla 8elei polu xrima... http://www.dosfilter.com/?gclid=COTlna6F5acCFRRC4QodhDaX9Q -
[HELP] Etairia
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
pes m kamia etairia me anti -ddos ... alla skeutomai na valw linux(sta linux pianoun ddos attacks?)... sthn hetzer... -
[HELP] Etairia
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
a ok tote afou mporw na hostarw to site apo to machine.... :) (dld ginete na sindesw to domain me to machine.... me ta name servers apo to domain...swsta?) -
[HELP] Etairia
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
nai ontws twra pou to epsa3a kalhtera einai kai h pio kalh se xaraktiristika sto machine kai pio f8inh.... opote mallon gia ekei me kovw... :D 3ereis an mou parexei domain? h an oxi an uparxei kati pou na sikonw to site apo to machine? gia na valw kai server statistics? (katalaves ti enow?) -
Kalhspera 8a h8ela na kanw mia erwtish.... psaxnw mia kalh etairia gia na hostarw ton server m... kai vrika auth edw.... einai kalh??? http://www.giga-hosting.biz/ exw akousei kai gia thn http://www.hetzner.de/ kai http://www.worldstream.nl/ kai gia thn http://www.hostgator.com alla h hostgator mou fenete pl akrivh... tespa ti pistevete eseis gia autes pou evala? kai an exete kamia akomh na mou protinete peite m.... EDIT: vrika kai auth edw.... dn thn kserw ka8olou.... alla peite m thn gnomh sas ean thn kserete.... http://hostzealot.com/
-
[HELP] ERROR GAMESERVER
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
re c mazi to eixame ftia3ei apla to eixame sto mashine kai katala8os eixe diagrapsei ta source o alos... kai kleisame to mashine kai twra dn mporw na mpw sta java gia na to fix... kai psaxnw na vrw mhpws mporw na to apenergopihsw kapws aliws.... ktlves? to kserw oti ta preconfig exoun apagoreftei!! apla exoume ri3ei pl douleia se auto to pack ... mlkia 3ana apo thn arxh ola... -
[HELP] ERROR GAMESERVER
A√imas†i©™ replied to A√imas†i©™'s question in Request Server Development Help [Greek]
vsk akyro re c epeidh to pack to pira apo ena filo eixe valei phoenix-engine http://www.phoenix-engine.net gia event kai sthn ip m dn einai pliromeno... kai giauto mou vgazei etc.. oso gia na to fix dn exw ta source.... 8a to psa3w shmera kalhtera....