Psych_O
Members-
Posts
1,034 -
Joined
-
Last visited
-
Feedback
100%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Psych_O
-
http://www.coolermaster.co.uk/product.php?category_id=18&product_id=6781 [GR]Μπές εδώ.... http://www.thelab.gr θα σε κατατοπίσουν πλήρως.....
-
borei na3ekinisei apo 50e ka na ftasei 200++ alla kalitera pare ena aplw pack ma8e na kaneis compile na pernas java etc...
-
{GR} ta exw auta ta hxeia k gamane..... papades kanoun....
-
[Help]Npc Make
Psych_O replied to LegendaryBeast's question in Request Server Development Help [Greek]
einai java code auto pou zitatai...... ta npc na fenontai san chars -
http://maxcheaters.com/forum/index.php?topic=202119.0
-
lets see..... EDIT: its fine now
-
and why is that? how can enter in your server??
-
Your connection to this server has been blocked in this server's firewall. You need to contact the server owner for further information. Your blocked IP address is **.***.***.*** This server's hostname is demeter.onebesthosting.net hmmmmm whats wrong?
-
αυτό είναι για ls και attributes..... για trade θα αλλάξεις αυτό που είπες παραπάνω..... <set name="is_tradable" val="true" /> ### AltAllowRefinePVPItem #P L2_GameServer Index: java/com/l2jserver/gameserver/network/clientpackets/AbstractRefinePacket.java =================================================================== --- java/com/l2jserver/gameserver/network/clientpackets/AbstractRefinePacket.java (revision 4420) +++ java/com/l2jserver/gameserver/network/clientpackets/AbstractRefinePacket.java (working copy) @@ -253,7 +253,7 @@ return false; if (item.isWear()) return false; - if (item.isPvp()) + if (item.isPvp() && !Config.ALT_ALLOW_REFINE_PVP_ITEM) return false; if (item.getItem().getCrystalType() < L2Item.CRYSTAL_C) return false; Index: java/com/l2jserver/gameserver/network/clientpackets/RequestConfirmCancelItem.java =================================================================== --- java/com/l2jserver/gameserver/network/clientpackets/RequestConfirmCancelItem.java (revision 4420) +++ java/com/l2jserver/gameserver/network/clientpackets/RequestConfirmCancelItem.java (working copy) @@ -67,7 +67,7 @@ return; } - if (item.isPvp()) + if (item.isPvp() && !Config.ALT_ALLOW_REFINE_PVP_ITEM) { activeChar.sendPacket(new SystemMessage(SystemMessageId.THIS_IS_NOT_A_SUITABLE_ITEM)); return; Index: java/com/l2jserver/Config.java =================================================================== --- java/com/l2jserver/Config.java (revision 4425) +++ java/com/l2jserver/Config.java (working copy) @@ -715,6 +715,7 @@ public static int L2JMOD_DUALBOX_CHECK_MAX_PLAYERS_PER_IP; public static int L2JMOD_DUALBOX_CHECK_MAX_OLYMPIAD_PARTICIPANTS_PER_IP; public static TIntIntHashMap L2JMOD_DUALBOX_CHECK_WHITELIST; + public static boolean ALT_ALLOW_REFINE_PVP_ITEM; //-------------------------------------------------- // NPC Settings @@ -2449,6 +2450,7 @@ } } } + ALT_ALLOW_REFINE_PVP_ITEM = Boolean.parseBoolean(L2JModSettings.getProperty("AltAllowRefinePVPItem", "False")); } catch (Exception e) { Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 4425) +++ java/config/l2jmods.properties (working copy) @@ -418,3 +418,11 @@ # will be 1+2=3. Use 0 or negative value for unlimited number of connections. # Default: 127.0.0.1,0 (no limits from localhost) DualboxCheckWhitelist = 127.0.0.1,0 + +# --------------------------------------------------------------------------- +# Items +# --------------------------------------------------------------------------- + +# Allows players to refine (augment) PVP items. +# Default: False +AltAllowRefinePVPItem = True \ No newline at end of file
-
μόνο με java code μπορείς να το κάνεις αυτό.....
-
Bsoe disable mode pvp
Psych_O replied to Mimosin's question in Request Server Development Help [L2J]
java/net/sf/l2j/gameserver/handler/itemhandlers/ScrollOfEscape.java if (activeChar.isInDuel()) { activeChar.sendPacket(SystemMessage.sendString("You cannot use escape skills during a duel.")); return; } + if (activeChar.getPvpFlag() != 0 && !Config.PVP_NO_ESCAPE) + { + if (item.getItemId() == 1538 || item.getItemId() == 5859 || item.getItemId() == 5858) + { + activeChar.sendMessage("Sorry, You cannot use this in PvP mode!"); + return; + } + } l2jmods.properties +# ------------------------------------------ +# Not Use in PvP Mode Blessed Scroll of Escape +# ------------------------------------------ +# Note: True = Use Escape In PvP, False = No Use Escape In PvP +UseEscapeInPvP = False java/net/sf/l2j/Config.java + /** Pvp No Escape **/ + public static boolean PVP_NO_ESCAPE; + /** No escape in PvP **/ + PVP_NO_ESCAPE = Boolean.parseBoolean(L2JTeonCustom.getProperty("UseEscapeInPvP", "False")); -
addSkill(SkillTable.getInstance().getInfo(7005, 1)); addSkill(SkillTable.getInstance().getInfo(7005, 1)); addSkill(SkillTable.getInstance().getInfo(7005, 1)); etsi einai enta3i
-
to exw testarei auto to pack k einai poli kalo..... me poli kalo balance...... http://maxcheaters.com/forum/index.php?topic=224837.0
-
[Share] Siege End Reward System[Hi5]
Psych_O replied to Flash™'s topic in Server Shares & Files [L2J]
broken link.... reupload plx -
[Request] L2Gallo Server Source Code
Psych_O replied to l2insences's question in Request Server Development Help [Greek]
einai ligo diskolo na to breis..... k o owner dn 8a sto dwsei -
he has posted also in gr section..... and i think that the problem is the Bad license.
-
L2JHidden HighFive
Psych_O replied to inpetto7's question in Request Server Development Help [Greek]
Bad license. auto ta leie ola nomizw.... -
Λοιπόν αυτός ο οδηγός, είναι αποκλειστικά δικός μου για το συγκεκριμένο forum. ΟΚ ας αρχίσουμε. Ανοίγουμε το eclipse και πηγαίνουμε στο αρχείο Config.java που βρίσκετε στο : net.sf.l2j Έπειτα πατάμε ctrl(control) + F και ψάχνουμε για την εξής line. public static final String L2JMOD_CONFIG_FILE = "./config/l2jmods.properties"; ακριβός κάτω απο αυτήν την γραμμή, προσθέτουμε την δική μας γραμμή . public static final String NAME_CONFIG_FILE = "./config/name.properties"; Συνεχίζοντας, ψάχνουμε για : catch (Exception e) { e.printStackTrace(); throw new Error("Failed to Load "+L2JMOD_CONFIG_FILE+" File."); } Και ακριβός κάτω απο αυτό, προσθέτουμε : Τέλος, φτιάχνουμε αρχείο με το όνομα που θέλουμε(στο δικό μου παράδειγμα, ειναι name.properties) Και ναι.. έχουμε το δικό μας .property αρχείο τώρα !!! Τώρα ας αναλύσουμε λίγο τον κώδικα μας σειρά προς σειρά σε 3 απλά βήματα. 1) public static final String NAME_CONFIG_FILE = "./config/name.properties"; Αυτή η σειρά, κάνει το αρχείο μας έγκυρο και συνοδεύει στον φάκελο που βρίσκετε . 2) try { Properties name = new Properties(); InputStream is = new FileInputStream(new File(NAME_CONFIG_FILE)); name.load(is); is.close(); Αυτό εδώ, είναι η αρχή της φόρτωσης των σειρών που έχουμε μέσα στο .property αρχείο μας.Είναι δηλαδή κάτι σαν επαλήθευση του .propertie αρχείου μας. 3) catch (Exception e) { e.printStackTrace(); throw new Error("Failed to Load "+NAME_CONFIG_FILE+" File."); } Αυτό εδώ λοιπόν, εκτός από το κλείσιμο του κώδικα μας, μας ενημερώνει μέσω της κονσόλας GameServer αν υπάρχει κάποιο πρόβλημα στον κώδικα ή το αρχείο μας. P.S: όπου έχω με κόκκινο χρώμα το ΝΑΜΕ/name βάζετε ότι όνομα θέλετε...
-
Domain : l2mineral.eu Price : 8 paypal OR 10 paysafe
-
looks like matim cb in some staff.... :P
-
ΠΡΟΤΙΜΩ ΝΑ ΤΑ ΒΓΑΛΩ ΜΕ ΤΟΝ ΙΔΡΩΤΑ ΜΟΥ
-
nc files bro.... good sales!!!
-
[GR] Prosoxiiiii!!!!!!!!!!!! Εκλάπει τράκτορας Scania 164
Psych_O replied to Psych_O's topic in Off-Topics
kapoios mod na to lock...... to fortigo bre8ike
