-
Posts
273 -
Credits
0 -
Joined
-
Last visited
-
Days Won
2 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Cronia
-
[Gr][Update 1/20/2014] Warehouse By Cronia
Cronia replied to Cronia's topic in Server Shares & Files [L2J]
[updated] -
Site Is Here Because Is A lot Of From Infos
-
Help Problem With Java Code (All Sieges In One Npc)
Cronia replied to Cronia's question in Request Server Development Help [Greek]
re agori mono to proto den mou ipes pou to vazw -
Help Problem With Java Code (All Sieges In One Npc)
Cronia replied to Cronia's question in Request Server Development Help [Greek]
Apla vlepw oti prepi na ala3w ta imports anyway elpizw na ta kataferw....(Giati apo oti vlepw ine gia L2j Enw egw xreiazome frozen) -
Help Problem With Java Code (All Sieges In One Npc)
Cronia replied to Cronia's question in Request Server Development Help [Greek]
Euxaristo poly file mou tha to dokimasw (ine interlude elpizw na mn exi thema) -
Help Problem With Java Code (All Sieges In One Npc)
Cronia replied to Cronia's question in Request Server Development Help [Greek]
Mou to vgazi san quest.... -
Help Problem With Java Code (All Sieges In One Npc)
Cronia replied to Cronia's question in Request Server Development Help [Greek]
Pfff My Bad Soz....I no Inside Libs In My Serve.....I Check Tnks.... -
Help Problem With Java Code (All Sieges In One Npc)
Cronia posted a question in Request Server Development Help [Greek]
Look That code plz : ### Eclipse Workspace Patch 1.0 #P L2jFrozen_GameServer Index: head-src/com/l2jfrozen/gameserver/model/actor/instance/L2MassSiegeManagerInstance.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/actor/instance/L2MassSiegeManagerInstance.java (revision 0) +++ head-src/com/l2jfrozen/gameserver/model/actor/instance/L2MassSiegeManagerInstance.java (working copy) @@ -0,0 +1,69 @@ +++++/* * 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.network.serverpackets.NpcHtmlMessage; import com.l2jfrozen.gameserver.templates.L2NpcTemplate; /** * @author Debian * */ public class L2MassSiegeManagerInstance extends L2NpcInstance { public L2MassSiegeManagerInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } public void showHtmlWindow(L2PcInstance activeChar) { NpcHtmlMessage p = new NpcHtmlMessage(5); StringBuilder tb = new StringBuilder(""); tb.append("<html><head><title>Mass Siege Manager</title></head><body>"); tb.append("<center>"); tb.append("<img src=\"L2Font-e.replay_logo-e\" width=256 height=80>"); tb.append("<br>"); tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32 align=center>"); tb.append("<br>"); tb.append("<font color=\"FFAA00\">Mass Siege Manager</font>"); tb.append("<br>"); tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32 align=center>"); tb.append("</center>"); tb.append("<center>"); tb.append("<button value=\"Giran Siege\" action=\"bypass -h siege_giran\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">"); tb.append("<button value=\"Aden Siege\" action=\"bypass -h siege_aden\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">"); tb.append("<button value=\"Rune Siege\" action=\"bypass -h siege_rune\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">"); tb.append("<button value=\"Goddard Siege\" action=\"bypass -h siege_goddard\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">"); tb.append("<button value=\"Dion Siege\" action=\"bypass -h siege_dion\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">"); tb.append("<button value=\"Shuttgart Siege\" action=\"bypass -h siege_shuttgart\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">"); tb.append("<button value=\"Innadril Siege\" action=\"bypass -h siege_innadril\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">"); tb.append("<button value=\"Oren Siege\" action=\"bypass -h siege_oren\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">"); tb.append("<button value=\"Gludio Siege\" action=\"bypass -h siege_gludio\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">"); tb.append("</center>"); tb.append("<center>"); tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32 align=center>"); tb.append("<br>"); tb.append("<font color=\"FFAA00\">by Debian</font>"); tb.append("</center>"); tb.append("</body></html>"); p.setHtml(tb.toString()); activeChar.sendPacket(p); return; } +++++} \ No newline at end of file Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBypassToServer.java =================================================================== --- head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBypassToServer.java (revision 986) +++ head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBypassToServer.java (working copy) @@ -28,6 +28,7 @@ import com.l2jfrozen.gameserver.handler.AdminCommandHandler; import com.l2jfrozen.gameserver.handler.IAdminCommandHandler; import com.l2jfrozen.gameserver.handler.custom.CustomBypassHandler; +import com.l2jfrozen.gameserver.managers.CastleManager; import com.l2jfrozen.gameserver.model.L2Object; import com.l2jfrozen.gameserver.model.L2World; import com.l2jfrozen.gameserver.model.actor.instance.L2ClassMasterInstance; @@ -41,8 +42,10 @@ import com.l2jfrozen.gameserver.model.entity.event.TvT; import com.l2jfrozen.gameserver.model.entity.event.VIP; import com.l2jfrozen.gameserver.model.entity.olympiad.Olympiad; +import com.l2jfrozen.gameserver.model.entity.siege.Castle; import com.l2jfrozen.gameserver.network.serverpackets.ActionFailed; import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; +import com.l2jfrozen.gameserver.network.serverpackets.SiegeInfo; import com.l2jfrozen.gameserver.util.GMAudit; public final class RequestBypassToServer extends L2GameClientPacket @@ -125,6 +128,64 @@ { playerHelp(activeChar, _command.substring(12)); } +++++ /** Siege Commands **/ else if (_command.startsWith("siege_aden")) { Castle castle = CastleManager.getInstance().getCastleById(5); if(castle != null) sendPacket(new SiegeInfo(castle)); } else if (_command.startsWith("siege_giran")) { Castle castle = CastleManager.getInstance().getCastleById(3); if(castle != null) sendPacket(new SiegeInfo(castle)); } else if (_command.startsWith("siege_goddard")) { Castle castle = CastleManager.getInstance().getCastleById(7); if(castle != null) sendPacket(new SiegeInfo(castle)); } else if (_command.startsWith("siege_rune")) { Castle castle = CastleManager.getInstance().getCastleById(8); if(castle != null) sendPacket(new SiegeInfo(castle)); } else if (_command.startsWith("siege_shuttgart")) { Castle castle = CastleManager.getInstance().getCastleById(9); if(castle != null) sendPacket(new SiegeInfo(castle)); } else if (_command.startsWith("siege_oren")) { Castle castle = CastleManager.getInstance().getCastleById(4); if(castle != null) sendPacket(new SiegeInfo(castle)); } else if (_command.startsWith("siege_dion")) { Castle castle = CastleManager.getInstance().getCastleById(2); if(castle != null) sendPacket(new SiegeInfo(castle)); } else if (_command.startsWith("siege_gludio")) { Castle castle = CastleManager.getInstance().getCastleById(1); if(castle != null) sendPacket(new SiegeInfo(castle)); } else if (_command.startsWith("siege_innadril")) { Castle castle = CastleManager.getInstance().getCastleById(6); if(castle != null) sendPacket(new SiegeInfo(castle)); } +++++ else if(_command.startsWith("npc_")) { if(!activeChar.validateBypass(_command)) Exw vali 5 +++++ gia na mn vazw sta parapanw gia na mn svinw sinexia + ennow oti exei mexri kai exei +........Telospanton to provlima den eine ekei o code perniete kanonika apla mou leei na ftia3w ena npc me name L2MassSiegeManager......Ayto to onoma den to vriski an valw px L2Npc tha to vri an valw ayti ti katali3i leei Npc Not Found Sto spawn Edw einai kai to npc : INSERT INTO `npc` VALUES ('9988', '31688', 'Castle Soldier', '1', 'Castles Manager', '1', 'NPC.a_fighterguild_master_Mhuman', '8.00', '23.50', '70', 'male', 'L2MassSiegeManager', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '70', '0', '0', '55', '132', null, '0', '1', '0', 'LAST_HIT'); -
Geia sas Dite Ayto Otan kapoios mpeni gia prwti fora sto server k ftiaxni ton char grigora Tou petaei radoms items kamia fora coins Gb apira gia poio logo pws tha to ftiaxw
-
# Automatic Vote Reward System VoteRewardSystem= True VotesRequiredForReward = 10 VotesSystemInitialDelay= 80000 VotesSystemStepDelay= 3000000 VotesRewards= 6392,10; VotesRequiredForReward = 10 VotesSystemInitialDelay= 80000 VotesSystemStepDelay= 3000000 Ayta ta 3 ti einai re paidia? ???
-
Repaidia diegrapsa katalathos to Head-Src apo to eclipse o server exi gini exi mpi stin eteria an twra kanw ena kenourgio eclipse gia na pernaw java codes tha mporw na pernw to l2jfrozen-core na to vazw sto lib stin eteria? ???
-
Re paidia pernaw ayton ton kwdika einai gia frozen kai mou vgazi lathos (oxi mono se ayto to simeio k alla kommatia alla den katalavenw Edw einai o kwdikas se ayto to komati kai vlepw oti to exw perasi mia xara Gt re paidia den m to kani build.....
-
Epidi einai se alo pc to source tha sto stilw ayrio eyxaristw poly ek ton proterwn..An thelis mporis na me kani k skype(lampros.xiroudakis)pou exis mia alfa gnwsi apo oti vlepw
-
den exw svisi file tpt ta source iparxoun sto workspace alla poio .jar pernis egw thimame ekana apla extract ta files se ena fakelo server kai eftiaxna ta config
-
File mou to thema m ine oti doulevw se frozen project...Kai epidi ton exw vali twra se eteria mou ipan oti prepei na ton parw sto pc m na tou valw code mesw eclipse k 3ana anevasma swsta???
-
ta dinw pou ine to paidi??
-
nai agori mou na kani vote k na dini mono se ayton to reward oti valw egw osa valw
-
Ok oxi kwdika Apla ayto rewards se atomika ip xwris npc
-
Kalispera paidia An Mpori kai 3eri kapoios na me voithisei pws tha kanw o kathe enas p kani vote na perni atomika to rewar...An mporite na me voithisete...Episeis an iparxi kai npc p na mporis na kanis vote eki mesa k na perni mono aytos p kani vote to reward...Eyxaristw poly
-
ok file mou tha to dw ayrio eyxaristw
-
Nai file mou alla molis paei na dilosi o protos tou leei "the grand olympiad games are not currently in progress" Apla oso elipa enas filos m to dokimase k ala3e tin periodo k malwn teliwse ayti i periodos...Mipws ayrio tha doulepsi?
-
# Active Olympiad log AlyOlyLogFights = False # Olympiad Start Time for Min's, Default 00 so at the start of the hour. # Default: 00 AltOlyMin = 00 Mipws einai tpt apo ayta??
-
Eyxaristw file mou tha to kita3w kai tha sas idopoiisw (Afiste to topic open k tha sas idopoisw an einai fix...Eyxaristw olous sas ek ton proterwn)
-
an exw klisi oly mporw na 3ekinisw kapws manual?