-
Posts
424 -
Credits
0 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by CTGavesT
-
alot of brazilian people are waitin eagerly to join this server mate 10-15 clans + are waitin you or more :D :)
- 178 replies
-
- Advanced Gameplay
- Grand Tournament
- (and 5 more)
-
im trying 2 days now to change the color tittle name in some npcs it changing in some it remains retail what is wrong ? 60027 Kalazar L2ServerName Reborn 0 0 FF -1 60028 Kokaki L2ServerName Reborn 0 0 FF -1 60029 Druke L2ServerName Reborn 0 0 FF -1 60030 Zahar L2ServerName Reborn 0 0 FF -1 60031 Zordel L2ServerName Reborn 0 0 FF -1 60032 Pixal L2ServerName Reborn 0 0 FF -1 60033 Spock L2ServerName Reborn 0 0 FF -1 60034 Nonel L2ServerName Reborn 0 0 FF -1 60035 Farcis L2ServerName Reborn 0 0 FF -1 60036 Drain L2ServerName Reborn 0 0 FF -1
-
μου βγαζει σε αυτα προβλημα τα χρωματιζω κοκκινα εκει που μου βγαζι την γραμμη YanBufferData.java import com.l2jserver.gameserver.datatables.NpcTable; import com.l2jserver.gameserver.datatables.SkillTable; import com.l2jserver.gameserver.model.skills.L2Skill; protected final L2Skill skill; protected Buff(String ident, L2Skill skill, Element elem) { this.skill = skill; L2Skill skill = SkillTable.getInstance().getInfo(skillId, skillLevel); L2NpcTemplate npc = NpcTable.getInstance().getTemplate(npcId); _bufferNpcs.put(npc.getNpcId(), new BufferNpc(npc, curElem)); package YANModPack.YANBuffer; File NpcAI String specificNpcHtml = npc.getNpcId() + ".html"; YanBuffer.java return YANBufferData.GET_INSTANCE().getBufferNpc(npc.getNpcId()); activeChar.clearBypass(); activeChar.addBypass2(html.substring(start, finish2).trim()); } else { activeChar.addBypass(html.substring(start, finish).trim()); Long amount = items.get(item.getValue().item.getItemId()); items.put(item.getValue().item.getItemId(), amount + item.getValue().amount); buff.skill.getEffects(playable, playable);
-
exei 8ema meta import gt einai auta package YANModPack.YANBuffer; import java.nio.file.Path; import java.nio.file.Paths; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.ConcurrentHashMap; import java.util.logging.Level; import java.util.logging.Logger; import YANModPack.YANBuffer.YANBufferData.Buff; import YANModPack.YANBuffer.YANBufferData.BuffCategory; import YANModPack.YANBuffer.YANBufferData.Buffer; import YANModPack.YANBuffer.YANBufferData.VoicedBuffer; import YANModPack.util.ItemRequirement; import YANModPack.util.htmltmpls.HTMLTemplateParser; import YANModPack.util.htmltmpls.HTMLTemplatePlaceholder; import YANModPack.util.htmltmpls.funcs.ChildsCountFunc; import YANModPack.util.htmltmpls.funcs.ExistsFunc; import YANModPack.util.htmltmpls.funcs.ForeachFunc; import YANModPack.util.htmltmpls.funcs.IfChildsFunc; import YANModPack.util.htmltmpls.funcs.IfFunc; import YANModPack.util.htmltmpls.funcs.IncludeFunc; import com.l2jserver.gameserver.handler.VoicedCommandHandler; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.L2Playable; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jserver.gameserver.network.serverpackets.ShowBoard; kai den uparxoun mesa sto eclipse mimpos exetai kamia buffer h prepi na katso na ta peraso?
-
Kalispera prospa8o na Bro mia Buffer kai den mporo katevasa aftes http://www.maxcheaters.com/topic/155802-rin4as-scheme-buffer-fully-working-updated-to-highfive/?hl=%2Bhigh+%2Bfive&do=findComment&comment=2102953 http://www.maxcheaters.com/topic/164855-collection-all-my-npcs-freya-h5-updated/ all tpt plz help Gia High five server
-
Code Casinomanager,passwordchanger
CTGavesT replied to RaZoRॐ's topic in Server Shares & Files [L2J]
I know is Ugly code for L2 -
Code Casinomanager,passwordchanger
CTGavesT replied to RaZoRॐ's topic in Server Shares & Files [L2J]
Casino Manager Work Fine /* * 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.ai.CtrlIntention; import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge; import com.l2jfrozen.gameserver.network.serverpackets.SocialAction; import com.l2jfrozen.gameserver.templates.L2NpcTemplate; import com.l2jfrozen.gameserver.thread.ThreadPoolManager; import com.l2jfrozen.util.random.Rnd; import java.util.NoSuchElementException; import java.util.StringTokenizer; import javolution.text.TextBuilder; public class L2CasinoInstance extends L2NpcInstance { public L2CasinoInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } public void onBypassFeedback(L2PcInstance player, String command) { int ammount = 0; if (command.startsWith("play1")) { StringTokenizer st = new StringTokenizer(command); try { st.nextToken(); ammount = Integer.parseInt(st.nextToken()); } catch (NoSuchElementException nse) { } Casino1(player, ammount); } } public static void displayCongrats(L2PcInstance player) { player.broadcastPacket(new SocialAction(player.getObjectId(), 3)); player.sendMessage("Congratulations You Won!"); } public static void displayCongrats2(L2PcInstance player) { player.sendMessage("You lost!"); } public void showChatWindow(L2PcInstance player, int val) { NpcHtmlMessage msg = new NpcHtmlMessage(getObjectId()); msg.setHtml(casinoWindow(player)); msg.replace("%objectId%", String.valueOf(getObjectId())); player.sendPacket(msg); } private String casinoWindow(L2PcInstance player) { TextBuilder tb = new TextBuilder(); tb.append("<html><title>L2 Server Name Casino Manager</title><body>"); tb.append("<center><img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=295 height=32><br><br>"); tb.append("<font color=\"3b8d8d\">Chance to win : 50%</font><br>"); tb.append("<img src=\"L2UI.SquareGray\" width=\"280\" height=\"1\"><br>"); tb.append("<tr><td><font color=\"e0d6b9\">Double or Nothing </font></td></tr><br>"); tb.append("<img src=\"L2UI.SquareGray\" width=\"280\" height=\"1\"></center><br>"); tb.append("<center>"); tb.append("<font color=\"e0d6b9\">Place your bet: Vote Items!</font>"); tb.append("</center>"); tb.append("<center><img src=\"L2UI.SquareGray\" width=\"280\" height=\"1\"></center><br>"); tb.append("<br>"); tb.append("<center>"); tb.append("<tr>"); tb.append("<td align=center><edit var=\"qbox\" width=120 height=15><br></td> <td align=right></td>"); tb.append("<td align=center><button value=\"Bet\" action=\"bypass -h npc_%objectId%_play1 $qbox\" width=204 height=20 back=\"sek.cbui75\" fore=\"sek.cbui75\"></td>"); tb.append("</tr>"); tb.append("</center>"); tb.append("<center><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=295 height=32><br></center>"); tb.append("</body></html>"); return tb.toString(); } public static void Casino1(L2PcInstance player, int ammount) { int unstuckTimer = 100; player.setTarget(player); player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); player.disableAllSkills(); SetupGauge sg = new SetupGauge(0, unstuckTimer); player.sendPacket(sg); Casino1 ef = new Casino1(player, ammount); player.setSkillCast(ThreadPoolManager.getInstance().scheduleGeneral(ef, unstuckTimer)); } static class Casino1 implements Runnable { private L2PcInstance _player; private int _ammount; Casino1(L2PcInstance player, int ammount) { this._ammount = ammount; this._player = player; } public void run() { if (this._player.isDead()) { return; } this._player.setIsIn7sDungeon(false); this._player.enableAllSkills(); int chance = Rnd.get(3); if (this._player.getInventory().getInventoryItemCount(7264, 1) >= this._ammount) { if (chance == 0) { L2CasinoInstance.displayCongrats(this._player); this._player.addItem("Gift", 7264, this._ammount, this._player, true); this._player.broadcastUserInfo(); } if (chance == 1) { L2CasinoInstance.displayCongrats2(this._player); this._player.destroyItemByItemId("Consume", 7264, this._ammount, this._player, true); this._player.broadcastUserInfo(); } if (chance == 2) { L2CasinoInstance.displayCongrats2(this._player); this._player.destroyItemByItemId("Consume", 7264, this._ammount, this._player, true); this._player.broadcastUserInfo(); } } else { this._player.sendMessage("You do not have enough Vote Items!"); } } } } -
kalispera psaxno autin tin zone me auta ta loc na tin kanw Peacezone kai den mporo na tin vro exw kita3i sto zone.xml SpawnX = 185077 SpawnY = -12609 SpawnZ = -5518
-
hello guys i download this armor http://www.maxcheaters.com/topic/192794-virus-assassin-light-armor-set/ and i cant see the helm http://prntscr.com/a2pldw
-
Help Shift Click
CTGavesT replied to FunKermaN's question in Request Server Development Help [Greek]
Τι Project χρησιμοποιείς αμα εχεις L2jfrozen πήγαινε Εδω και καντο True Config/head/altsettings.properties # Allows Players to Shift-click Mobs and view their Stats and Droplist AltGameViewNpc = False -
hi i have problem with castles specifically with the guards when they start the attack on the castle there are no guards and even the statue does not exist to go to get it... I use L2jfrozen
-
Last Rev Frozen Ειναι compiled Το εκανα οταν το αρχιζω απο τον admin μου βγαζει το error αλλα και παλι τα npc δεν κανουν spawn...μπορει να φταιει και αυτο εδω που βγαζει στο gameserver? http://prntscr.com/a0iaau http://prntscr.com/a0i476
-
καλησπερα εχω αυτο το θεμα με τα καστρα οταν τα ξεκιναω με τον Admin χρησιμοποιω L2jFrozen και στα καστρα δεν μου βγαζει τα npc ενω υπαρχουν μεσα στο spawnlist Υ.Γ συνχορεστεμε αν εχω κανει ορθογραφικα Να η Γραμμες Στο μεσα που λεει οτι εχει θεμα RequestBypassToServer.java Line 120 ach.useAdminCommand(_command, activeChar); Siege.java Line 734 for (final L2PcInstance member : clan.getOnlineMembers("")) Siege.java 654 updatePlayerSiegeStateFlags(false); AdminSiege.java Line 266 castle.getSiege().startSiege(); L2GameClientPacket.java Line 77 L2GameClient.java Line 1213 packet.run();
-
kalispera pos mporo na bgalw to OverEnchant to exw to max +20 kai otan to paw + 25 me petaei na oriste to config # Limit enchant GM players (// setew and others) (0 disabled) GMOverEnchant = 0 # IMPORTANT: anti Over Enchant system # HOW WORKS: if you set it to 20, and player have an item > 20 # he will be kicked and the item will disappear! # Enchant amount at which a player gets punished (0 disabled) EnchantKick = 0
-
se ola ta class kai ta skill
-
nai se ola l2jfrozen
-
kalispera exw 8ema me ta skills otan kanis to last class Strom Screemer to Hurricane einai lv 17 kai as eisai 79 lvl otan kaneis rr kai mpenis pali paei lv 22 prepi na kaneis polla rr gia na paei lv 28 pos mporo na to fix?
-
kalispera 8elo na ma8o pos mporo na kanw na min sou feugoun ta buffs otan psofas psaxno alla den to brisko