TsIpIzTiK®
Members-
Posts
544 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by TsIpIzTiK®
-
hello maxcheaters i am need the l2gold weapons am need these weapons Bow of Halisha Doll Knife Doll Knife*Doll Knife Giant Trident Sword of Vampire Sword of Apostole Dreadbane Axe of Ketra Crockian Blade Crockian Blade*Crockian Blade Cudgel Lady's Fan Dusk Staff
-
Interlude skills
TsIpIzTiK® replied to TsIpIzTiK®'s question in Request Server Development Help [L2J]
bump -
WTB [WTB] Support to fix custom code
TsIpIzTiK® replied to ∽Ave∽'s topic in Marketplace [L2Packs & Files]
give us some info.what change you want and what fix? cronical ? -
Problem me ta ports HELP!!!!
TsIpIzTiK® replied to konos003's question in Request Server Development Help [Greek]
to eftia3a sto paidi -
efoson iparxi sto inventory ekini i 8esi kai dn mpeni tpt ektos apo tattoo eki ara simeni pos iparxoune kai dn einai custums
-
Problem me ta ports HELP!!!!
TsIpIzTiK® replied to konos003's question in Request Server Development Help [Greek]
fixed lock the topic -
[HELP]Ali 1 erotisi se sxesi me java
TsIpIzTiK® replied to Azumaril$'s question in Request Server Development Help [Greek]
player.sendMessage("blabla!"); try { Thread.sleep(5000); // Sleeps 5 seconds } catch (InterruptedException e) {} player.closeNetConnection(); // BB forever :)) -
give us more infos cronical project type of server
-
Problem me ta ports HELP!!!!
TsIpIzTiK® replied to konos003's question in Request Server Development Help [Greek]
exoune gini idi xiliades topic me afto to 8ema apla kapio la8os kani to paidi -
Problem me ta ports HELP!!!!
TsIpIzTiK® replied to konos003's question in Request Server Development Help [Greek]
rr file se blepo toses ores pedebese dose m ligo team viwer -
[Fix]in Vote Reward System
TsIpIzTiK® replied to TsIpIzTiK®'s question in Request Server Development Help [L2J]
bump! -
Download it The Song
-
i alios donate
-
Problem me ta ports HELP!!!!
TsIpIzTiK® replied to konos003's question in Request Server Development Help [Greek]
klise firewall+antivarious ama ta gameserver.bat kai ta loginserver.bat dn litourgoune me sostes ri8misis sto internet dn 8a sou bgali on -
kanto me ton grigoro tropo dostou agument sta skills me to ID
-
ID : admin Passowrd : Admin
-
Interlude skills
TsIpIzTiK® replied to TsIpIzTiK®'s question in Request Server Development Help [L2J]
look when i am use the skill invocation look like this when you do one buff to you, example nobless the buff stuck like this the XML <skill id="1430" levels="5" name="Invocation"> <table name="#pDef"> 0.8 0.8 0.8 0.8 0.8 </table> <table name="#mpConsume"> 27 28 30 33 34 </table> <table name="#Tab-regMp"> 90 100 115 125 140 </table> <set name="mpConsume" val="#mpConsume"/> <set name="target" val="TARGET_SELF"/> <set name="hitTime" val="2000"/> <set name="reuseDelay" val="900000"/> <set name="skillType" val="BUFF"/> <set name="staticReuse" val="true"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="-1"/> <set name="effectRange" val="-1"/> <set name="negateId" val="1430"/> <for> <effect count="1" name="ManaHealOverTime" time="30" val="0"> <add order="0x40" stat="regMp" val="#Tab-regMp"/> </effect> <effect count="1" name="Paralyze" time="30" val="0"> <mul order="0x30" stat="pDef" val="0.1" /> </effect> </for> </skill> Fixed! but i have new problem when i am attacking the buff dosen't remove what i must change? -
kalitera kanto me to .online Index: /java/net/sf/l2j/gameserver/handler/VoicedCommandHandler.java =================================================================== --- /java/net/sf/l2j/gameserver/handler/VoicedCommandHandler.java (revision 2798) +++ /java/net/sf/l2j/gameserver/handler/VoicedCommandHandler.java (working copy) @@ -47,6 +47,7 @@ { _datatable = new FastMap<String, IVoicedCommandHandler>(); registerVoicedCommandHandler(new stats()); + registerVoicedCommandHandler(new Online()); if (Config.L2JMOD_ALLOW_WEDDING) registerVoicedCommandHandler(new Wedding()); if (Config.BANKING_SYSTEM_ENABLED) Index: /java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/Online.java =================================================================== --- /java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/Online.java (revision 0) +++ /java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/Online.java (revision 0) @@ -0,0 +1,59 @@ +package net.sf.l2j.gameserver.handler.voicedcommandhandlers; + + +import net.sf.l2j.gameserver.model.L2World; +import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; +import net.sf.l2j.gameserver.network.SystemMessageId; +import net.sf.l2j.gameserver.network.serverpackets.SystemMessage; +import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; + +/** +* +* @author Ombladon +* +* this class... +* shows the amount of online players to any1 who calls it. +*/ +public class Online implements IVoicedCommandHandler +{ + + +private static final String[] VOICED_COMMANDS = {"online"}; + +public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) +{ +if (command.startsWith("online")) +{ +showPlayers(activeChar, target); +} + +return true; + +} + + + +public String[] getVoicedCommandList() +{ +return VOICED_COMMANDS; +} + + +public void showPlayers (L2PcInstance player, String target) + +{ +SystemMessage sm = new SystemMessage(SystemMessageId.S1); +sm = new SystemMessage(SystemMessageId.S1); +sm.addString("======<Online Players>======"); +player.sendPacket(sm); +sm = new SystemMessage(SystemMessageId.S1); +sm.addString("There are "+L2World.getInstance().getAllPlayers().size()+" players on."); +player.sendPacket(sm); + +sm = new SystemMessage(SystemMessageId.S1); +sm.addString("======================="); +player.sendPacket(sm); +} + + +}
-
Interlude skills
TsIpIzTiK® replied to TsIpIzTiK®'s question in Request Server Development Help [L2J]
thanks you but i have one other problem i have problem with invocation when effect finish the buff don't disapear tell me what i must change -
[Fix]in Vote Reward System
TsIpIzTiK® replied to TsIpIzTiK®'s question in Request Server Development Help [L2J]
bump! -
Interlude skills
TsIpIzTiK® replied to TsIpIzTiK®'s question in Request Server Development Help [L2J]
in l2jserver>some effects is missing i need the effects from Dodge skill counterattack skill and arcana roar i don't know the names of effects -
hello guys i need to modify the vote reward system to reward only 1 client box per personal computer. here is the 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.model; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.util.Collection; import net.sf.l2j.Config; import net.sf.l2j.gameserver.Announcements; import net.sf.l2j.gameserver.GmListTable; import net.sf.l2j.gameserver.ThreadPoolManager; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; /** * * @author eXtr3me * */ public class AutoVoteRewardHandler { private int lastVoteCount = 0; private int initialCheck = 60 * 1000; private int delayForCheck = 300 * 1000; private int votesForReward = 10; private int maxRewardStack = 5; private AutoVoteRewardHandler() { System.out.println("Vote Reward System activated."); ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoReward(), initialCheck, delayForCheck); } private class AutoReward implements Runnable { public void run() { System.out.println("Vote Count Check."); if (Config.VOTE_REWARD1_ID == 0 || Config.VOTE_REWARD1_COUNT == 0 || Config.VOTE_REWARD2_ID == 0 || Config.VOTE_REWARD2_COUNT == 0) { GmListTable.broadcastMessageToGMs("The rewards aren't Identified. Please take a look."); return; } int newVoteCount = getVotes(Config.VOTE_HTML_PATCH); System.out.println("newVoteCount:"+newVoteCount); System.out.println("getLastVoteCount:"+getLastVoteCount()); if (newVoteCount != 0 && getLastVoteCount() != 0 && newVoteCount >= getLastVoteCount() + votesForReward) { Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers(); for (L2PcInstance player : pls) { if (player != null) { L2ItemInstance item1 = player.getInventory().getItemByItemId(Config.VOTE_REWARD1_ID); if (item1 == null || item1.getCount() < maxRewardStack) { player.addItem("reward", Config.VOTE_REWARD1_ID, Config.VOTE_REWARD1_COUNT, player, true); } L2ItemInstance item2 = player.getInventory().getItemByItemId(Config.VOTE_REWARD2_ID); if (item2 == null || item2.getCount() < maxRewardStack) { player.addItem("reward", Config.VOTE_REWARD2_ID, Config.VOTE_REWARD2_COUNT, player, true); } } } setLastVoteCount(getLastVoteCount()+ votesForReward); } Announcements.getInstance().announceToAll("Our Current vote count is: " + newVoteCount); Announcements.getInstance().announceToAll("The next reward will be given at " + (getLastVoteCount()+ votesForReward) + " Votes."); if (getLastVoteCount() == 0) { setLastVoteCount(newVoteCount); } } } private int getVotes(String urlString) { InputStreamReader isr = null; BufferedReader in = null; try { URL url = new URL(urlString); isr = new InputStreamReader(url.openStream()); in = new BufferedReader(isr); String inputLine; int voteCount = 0; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("moreinfo_total_rank_text")) { int Sub = 12; switch (inputLine.length()) { case 116: Sub = 13; break; case 117: Sub = 14; break; case 118: Sub = 15; break; case 119: Sub = 16; break; } voteCount = Integer.parseInt(inputLine.substring(inputLine.length() - Sub, inputLine.length() - 11)); break; } } return voteCount; } catch (IOException e) { e.printStackTrace(); return 0; } finally { try { in.close(); } catch (IOException e) { } try { isr.close(); } catch (IOException e) { } } } private void setLastVoteCount(int voteCount) { lastVoteCount = voteCount; } private int getLastVoteCount() { return lastVoteCount; } public static AutoVoteRewardHandler getInstance() { return SingletonHolder._instance; } @SuppressWarnings("synthetic-access") private static class SingletonHolder { protected static final AutoVoteRewardHandler _instance = new AutoVoteRewardHandler(); } } please tell me what i must increase and where to don't give to all clients
-
Interlude skills
TsIpIzTiK® replied to TsIpIzTiK®'s question in Request Server Development Help [L2J]
bump! -
yes