alextoti99
Members-
Posts
105 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by alextoti99
-
Geia sas eftiaxa ena mikro launcher k skeftika na to mirastw mazi sas egw apla mirazome to project mporite na balete ot diko sas site ktl pou exei: Download Gia na to epe3ergastite xreiazete to visual studio 2010 Kai to protupo: Download Ama 8elete na sas to ftiaxw egw mporeite na m steilete aplos to link tou server sas (to site dld) k ti eikona na balw apo pisw
-
/* * 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. */ package com.l2jfrozen.gameserver.model.actor.instance; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.quest.Quest; import com.l2jfrozen.gameserver.model.quest.QuestState; /** * Services * @author Marwan */ public final class L2SmartShopInstance extends Quest { static int counter; static String omg; static String mero[] = new String[100]; private static final class Services { /** * */ static String all; Services(int couunter, String name, String itemcount, String info) { counter++; omg += counter; mero[counter] = info; name = "<tr><td><font color=\"336699\">" + name + "</td>"; itemcount = "<td><font color=\"336699\">" + itemcount + "</font></td></tr>"; String infobut = "<td><a action=\"bypass -h Quest SmartShop " + counter + "\" <font color=\"FFFF00\">Info</font></a></td><br>"; all += name + infobut + itemcount; } } private final int NpcId = 70012; private L2SmartShopInstance(int questId, String name, String descr) { super(questId, name, descr); addStartNpc(NpcId); addTalkId(NpcId); } @Override public final String onAdvEvent(String event, L2NpcInstance npc, L2PcInstance player) { QuestState st = player.getQuestState("SmartShop"); if (st == null) { return ""; } else if (event.equalsIgnoreCase("show")) { StringBuilder sb = new StringBuilder(); sb.append("<html><title>Smart Shop</title>"); sb.append("<body>"); // sb.append("<br><font color=\"0066FF\">Current Event: 1vs1 </font>"); sb.append("<table width=270 border=0 bgcolor=\"FF9900\"><tr>"); sb.append("<td width=135 ALIGN=\"CENTER\">Donation Shop" + "</td><br>"); sb.append("</tr></table><br>"); sb.append("<br><font color=\"00ff4d\">Hello " + player.getName() + ".<br> Here you can buy permium services for donate coins <br><br></font>"); sb.append("<hr>"); sb.append("<br><br><br><br>"); sb.append("<center><img src=\"L2UI.SquareWhite\" width=300 height=1>"); sb.append("<table bgcolor=333333 width=100>"); sb.append("<tr>"); sb.append("<td width=135 ALIGN=\"LEFT\"><button value=\"Buy Services\" action=\"bypass -h Quest SmartShop services\" width=100 height=25 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"></td>"); // sb.append("<td width=135 ALIGN=\"RIGHT\"><button value=\"Buy Items\" action=\"bypass -h Quest SmartShop moreinfo\" width=100 height=25 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"></td>"); sb.append("<br><td width=135 ALIGN=\"RIGHT\"><button value=\"How to donate\" action=\"bypass -h Quest SmartShop info\" width=100 height=25 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"></td>"); sb.append("</tr>"); sb.append("</table>"); sb.append("<br><br></center>"); return sb.toString(); } else if (event.equalsIgnoreCase("services")) { StringBuilder sb = new StringBuilder(); sb.append("<html><title>Services</title><body><font color=\"525252\">"); sb.append("<br><br><table width=300><tr><td>Name</td><td width=80>Info</td><td>Price</td></tr><br></font>"); sb.append("<table>" + Services.all + "</table></body></html>"); return sb.toString(); } else if (event.equalsIgnoreCase("moreinfo")) { StringBuilder sb = new StringBuilder(); sb.append("<html><title>Services</title>"); sb.append("<body><h1>Info</h1></body></html>"); return sb.toString(); } else if (omg.contains(event)) { StringBuilder sb = new StringBuilder(); sb.append("<html><title>Donating Info</title><body><center>"); int i = Integer.parseInt(event); sb.append("<br><br>" + mero[i] + "</body></html>"); return sb.toString(); } return event; } Services[] ahm = new Services[] { new Services(1, "+1 Wep", "4037", "You can make your weapon +1<br>:D"), new Services(2, "+1 Armor", "4037", "You can make your armor +1"), }; @SuppressWarnings("synthetic-access") public static L2SmartShopInstance getInstance() { return SingletonHolder._instance; } private static class SingletonHolder { @SuppressWarnings("synthetic-access") private static final L2SmartShopInstance _instance = new L2SmartShopInstance(-1, "SmartShop", "instances"); } } auto einai gia frozen
-
Discussion L2Hellas Or L2Acis?
alextoti99 replied to DennisGR's topic in Server Development Discussion [Greek]
Acis! -
A lineage 2 custom server site: l2lime.yzi.me come join now!!!
-
Hello We just opened Lineage 2 Lime Our site: http://l2lime.yzi.me/ Exp : 5000x SP : 5000x DROP CUSTOM Safe Enchant : +6 Max Enchant : +20 Enchant Normal Rate : 60% Enchant Blessed Rate : 60% Enchant Crystal Rate : 100% -Top Life Stones Rate : 20% -High Life Stones Rate : 15% -Mid Life Stones Rate : 15%
-
Hello I will represent you a new l2 server! L2 Angels Site: liiangels.wix.com/l2angels Rates: Xp-Sp: x5000 Adena: x2000 Safe +: +6 Max +: +20 for armor and +30 for weapon Drop-Spoil: x1 Donator Raters: Xp-Sp: x6000 Adena: x3000 Safe +: +6 Max +: +20 for armor and +30 for weapon Drop-Spoil: x2 Come and join us NOW!
-
[Share-Guide]Scroll Of Mage & Fighter
alextoti99 replied to EdenEternal's topic in Server Shares & Files [L2J]
Geia sas mporw na rwtisw kati sxetiko me scrolls. Lipon eftiaxa ena scroll gia na tilemetaferese: case 9989 : _activeChar.sendMessage("You are being teleported to Hero Boss"); _activeChar.teleToLocation(113644,15093,9560, true); // Hero Farm Place break; Pws mporw na to kanw mono gia heros? Please help me -
[Share-Guide]Scroll Of Mage & Fighter
alextoti99 replied to EdenEternal's topic in Server Shares & Files [L2J]
very nc thank you! -
[Share]Enterworld with social action and fireworks
alextoti99 replied to DominiQue's topic in Server Shares & Files [L2J]
You forgot an import for MagicSkillUser! -
[SHARE] Null PvP Flag Command
alextoti99 replied to RєVєnGeR^'s topic in Server Shares & Files [L2J]
nc -
bsk poio einai to id
-
Source [Mega Share]Interlude Files(Packs/programs/geo-Path)
alextoti99 replied to GOld3x's topic in Server Shares & Files [L2J]
any of the projects worked for me -
[Share] Custom Info Message for Newbies
alextoti99 replied to `Rοmeο's topic in Server Shares & Files [L2J]
Very good! -
Please help me i made my server in linux vps but when i open the game from my pc it says cant resolve hostname
-
Please help me i made my server in linux vps but when i open the game from my pc it says cant resolve hostname
-
Thank you :)
-
Hello all im new in the forum :) im making an l2j server im new java developer.
-
Sry i forgot its for interlude
-
(Gr) Geia sas eftiaxa ena code (to prwto mou) to opoio einai basismeno sto pvp chat tou Rizlaa. (Eng) Hello I created my first code which is based on Rizlaa's pvp chat code. My Code ( It is based on l2jfree source): ### Eclipse Workspace Patch 1.0 #P Chr.6GMS Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 5263) +++ java/config/l2jmods.properties (working copy) @@ -91,6 +91,11 @@ #Cost of Divorce, % of Adena WeddingDivorceCosts=20 + +#Custom Chat via PKs +AllowPkChat = False +#Pvps to talk there +PksToChat = 500 + #--------------------------------------------------------------- # Team vs. Team Event Engine (by FBIagent) - #--------------------------------------------------------------- Index: java/net/sf/l2j/gameserver/clientpackets/Say2.java =================================================================== --- java/net/sf/l2j/gameserver/clientpackets/Say2.java (revision 5263) +++ java/net/sf/l2j/gameserver/clientpackets/Say2.java (working copy) @@ -233,6 +233,14 @@ } break; case ALL: + if(Config.ALLOW_PK_CHAT){ + if(activeChar.getPvpKills() >= Config.PKS_TO_CHAT) + if(_text.startsWith("*")){ + String customChat = _text.substring(1); + for(L2PcInstance players : L2World.getInstance().getAllPlayers()) + players.sendPacket(new CreatureSay(activeChar.getObjectId(),15,activeChar.getName(),customChat)); + } + } } if (_text.startsWith(".")) { StringTokenizer st = new StringTokenizer(_text); Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 5263) +++ java/net/sf/l2j/Config.java (working copy) @@ -881,7 +881,12 @@ public static boolean L2JMOD_WEDDING_SAMESEX; public static boolean L2JMOD_WEDDING_FORMALWEAR; public static int L2JMOD_WEDDING_DIVORCE_COSTS; + + //pk chat + public static boolean ALLOW_PK_CHAT; + public static int PKS_TO_CHAT; + // Packet information /** Count the a-beep-t of packets per minute ? */ public static boolean COUNT_PACKETS = false; @@ -1859,6 +1864,10 @@ L2JMOD_WEDDING_FORMALWEAR = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True")); L2JMOD_WEDDING_DIVORCE_COSTS = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20")); + + ALLOW_PK_CHAT=Boolean.valueOf(L2JModSettings.getProperty("AllowPkChat","False")); + PKS_TO_CHAT=Integer.parseInt(L2JModSettings.getProperty("PksToChat","500")); + if (TVT_EVENT_PARTICIPATION_NPC_ID == 0) { TVT_EVENT_ENABLED = false;
-
Gr: Geia sas eimai neos sto forum alla xreiazome mia boi8eia an ginete. Exw parei ena host k den 3erw pws na balw ton server k na ton kanw online. Exw dei parapolla guides alla se olla m bgazei error. Please help me.
-
Geia sou file m egw mporw na se boi8isw ama 8es
-
[Share]Geodata/Pathnode Stazis for Interlude
alextoti99 replied to GOld3x's topic in Server Shares & Files [L2J]
nc man thanks :-beep- yeah: :not bad: -
hi psaxnw atomo gia na stisw l2
alextoti99 replied to rich's question in Request Server Development Help [Greek]
pedia zitite dev opios thelei na ton paro san dev mou stelni minima sto fb https://www.facebook.com/Antreas.Breaker opios endiafere ty :)