-
Posts
322 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by UnixCode
-
stile olokliro to error, den mporei na ine mono auto
-
bump
-
PSAXNO GIA PC KITAXTE
UnixCode replied to arisPlC's question in Request Server Development Help [Greek]
na aniksoume server eime enas kalos developer. An isoun kalos, de tha ixes kanena problem. -
Super Haste level 3. Anchor (+9 default). Group heal(best heal i think, no need target your self) . Class: SpellSinger. Prize:75 Euros to me , 50 Euros to GM (to change the password or to transfer donates to other character) . Default Prize by donate: 500 Euros ( i know its fail xD, but that's the cost, log in and see) Contact: pm me here.
-
done, this guy is trusted,worked with him. pm me here for description
-
Critical error help
UnixCode replied to rareswega's question in Request Server Development Help [L2J]
Maybe any of your npc has the template of a raid boss,a boss or something like that? Usually this is a reason for critical errors -
pm me here for what you want, then maybe we contact.
-
Sigoura ine DDOS file? ala na me peis gia na erikse kai alous servers an alitheuei oti les , tha ine DDOS, anyway den mporeis na kaneis kati idika an ise apo spiti.An ise apo eteria , an o server s ine se dedicate tha prepei i na agoraseis DDOS protection ,(arketa akrivo ) kai plironeis miniaia i na kaneis auto pou se ipe o flash.
-
wow, trusted + skilled, GL
-
up
-
Ligi voithia me ena instance pou thelo.
UnixCode replied to CaLeSty's question in Request Server Development Help [Greek]
vasika ti akrivos theleis? gia na tou perni kapio item ...as pume ena item (id:3481) px 5 tetia ...to eksis pisteuw arkei sto instance: if(player.getInventory().getItemByItemId(3481) == null || player.getInventory().getItemByItemId(3481).getCount() < 5 { player.sendMessage("You dont have blabla"); return; } player.getInventory().destroItemByItemId("destroy",3481,5,player,null); Ola auta stin onBypassFeedback methodo tou instance sou enoeite. -
up
-
Εταιρια για στησιμο σερβερ
UnixCode replied to BlackDevilDev's question in Request Server Development Help [Greek]
I Hetzner ine mia xara file mou, den katalaveno ti den se aresei Dld? -
kala sou lei..
-
PMED,bump
-
Welcome HTML [Help][GR]
UnixCode replied to Ring's question in Request Server Development Help [Greek]
dkane auto pou se ipe o fighterboss, ala ine playername oxi sketo name. -
Fisika oti ginete se command ginete kai se npc, ala den tha postarw tora to npc.... Tha pw ton tropo vevea: Xriazete new instance , sti method onbypassfeedback dimiourgite commands gia kathe poli , se kathe poli to ksexoristo code.Sto html tou npc kanete bypass ta koumpia me ta commands oste na emfanistoun ta apotelesmata....oso gia to code koita pos ine sto command kai epeksergasou ta.
-
[Help] Clan Reputation
UnixCode replied to MasterJinz's question in Request Server Development Help [L2J]
so go there , and change the method to public. -
Sorry gia to double post, Finito για αυτο που ειπες ισως ενας τροπος να ειναι αυτος /* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package net.sf.l2j.gameserver.handler.voicedcommandhandlers; import java.util.Collection; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; import net.sf.l2j.gameserver.model.L2Character; import net.sf.l2j.gameserver.model.L2Object; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2WarehouseInstance; import net.sf.l2j.gameserver.model.zone.type.L2TownZone; /** * * @author Codex */ public class onlinetowns implements IVoicedCommandHandler { public static String[] VOICED_COMMANDS = {"nearme"}; private int near = 0; public boolean useVoicedCommand(String command, L2PcInstance activeChar,String target) { if(command.equalsIgnoreCase("nearme")){ if(activeChar == null) return false; Collection<L2Character> knowns = activeChar.getKnownList().getKnownCharactersInRadius(400); for (L2Object p : knowns) { if(p instanceof L2PcInstance) { near++; } } activeChar.sendMessage(near+""); near = 0; } return true; } /** * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#getVoicedCommandList() */ public String[] getVoicedCommandList() { return VOICED_COMMANDS; } }
-
Γεια σας, ειχα μια απορια .....πως να κανω command για παραδειγμα .giranonline που να δειχνει ποσα ατομα ειναι στην Giran.Το εψαξα λιγο και βρηκα 2 τροπους να το κανω, ο ενας ειναι βασισμενος στα town ids, και ο αλλος στα names.Εγω θα σας πω για τα names καλυτερα, γιατι τα ids δεν τα βρηκα. Στο παραδειγμα μας θα κανουμε ενα command .giranonline που θα δειχνει ποσα ατομα ειναι στην Giran. Καταρχας, ο τροπος που σκεφτηκα ειναι ο εξης:Οταν ενα ατομο μπενει σε μια συγεκριμενη πολη , ας παρουμε την Giran για παραδειγμα, μια μεταβλητη που ειναι 0 αυξανετε κατα 1.Οταν βγενει μειωνετε.Αρα λοιπον παμε sto net.sf.l2j.gameserver.model.zone.type.L2TownZone.java. Βρισκουμε αυτι τη γραμμη if (character instanceof L2PcInstance) και κατω απο αυτη τη γραμμη βαλτε: if(_townName.equals("Giran Castle Town")) { giranOnline++; } Μετα βρειτε αυτη τη γραμμη: if (!_noPeace) character.setInsideZone(L2Character.ZONE_PEACE, false); και βαλτε κατω απο αυτη: if(_townName.equals("Giran Castle Town")) { giranOnline--; } Μετα κατω απο αυτο : private int[] _spawnLoc; Βαλτε: public static int giranOnline = 0; Αποθηκευστε και κλειστε το αρχειο.Τωρα πηγαιντε στο net.sf.l2j.gameserver.handler.voicedcommandhandlers και κανετε ενα αρχειο καινουργιο με ονομα onlinetowns.java Μετα βαλτε το πολυ απλο code μεσα: /* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package net.sf.l2j.gameserver.handler.voicedcommandhandlers; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.zone.type.L2TownZone; /** * * @author Codex */ public class onlinetowns implements IVoicedCommandHandler { public static String[] VOICED_COMMANDS = {"giranonline"}; public boolean useVoicedCommand(String command, L2PcInstance activeChar,String target) { if(command.equalsIgnoreCase("giranonline")){ if(activeChar == null) return false; activeChar.sendMessage("In Giran there are "+L2TownZone.giranOnline+" players at the moment"); } return true; } /** * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#getVoicedCommandList() */ public String[] getVoicedCommandList() { return VOICED_COMMANDS; } } Τωρα καντε regist το command σας στο gameserver.java και ειστε ετοιμοι για την Giran.Οπως ειπα ηταν ενα παραδειγμα, παντως ειναι αρκετα ευκολο πιστευω, αλλα δεν το εχω ξαναδει εδω μεσα. Αποτελεσμα: Τωρα για να κανετε για αλλες πολεις, απλα κοιταξτε το τροπο που το εκανα εγω, για να δειτε τι name να βαλετε ακριβως, μπορειτε να τα βρειτε οταν μπενετε στεις towns το λεει πανω πανω.Πρεπει να γραψετε ακριβως το ιδιο,ολοιδιο.
-
[Help] Clan Reputation
UnixCode replied to MasterJinz's question in Request Server Development Help [L2J]
well i think it's easy.. in l2pcinstance: setPvpKills(getPvpKills() + 1); find this, and paste this under...: if(getClan() != null) { getClan().setReputationScore(getClan().getReputationScore() + 500, true); } ofc you can make it more advanced by adding and some messages etc..also..where 500 add how many clan rep you want to add every pvp kill