-
Posts
451 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Natsu
-
Bori kapios na m pi pos vazoume java codes se freya pack ph se interlude exi net.sf.l2j.gameserver.handler.voicedcommandhandlers se freya den iparxi afto bori kapios na m e3igisi pou ta vazoume??
-
sta castle i town??? gt to bervepses :)
-
[help]Problem With Status Server
Natsu replied to kokopikou's question in Request Server Development Help [Greek]
3erw egw pata kanena search website status :) afto vrika egw http://www.maxcheaters.com/forum/index.php?topic=76059.0 -
[help]Problem With Status Server
Natsu replied to kokopikou's question in Request Server Development Help [Greek]
einai domain site?? litourgoun ta php ?? -
[Help]Προβλημα με τα tatoo
Natsu replied to vasilios's question in Request Server Development Help [Greek]
pigene stat\items kai vres to ID tou tattoo kai sigrineto me ta alla tatto des ama exoune mono dia9ores sto status i ala3a mia system mono etsi 8a vris to problima :) -
[Help]Προβλημα με τα tatoo
Natsu replied to vasilios's question in Request Server Development Help [Greek]
to system malon pou exis exi problima i ekanes ec tpt database -
vasika des kai to code ama einai kalo http://www.maxcheaters.com/forum/index.php?topic=190455.0
-
exi sinepies ama valis mia kali karta grafikon 8eli kai alla to pc ama einai psilopalio 8eli 100% trofodiko 650w kai pano
-
1.4 me to 1.6 m vgazi error sto build
-
evales true safto pou sou edi3a?
-
ty m vgike to error alla otan anigo ton server to gameserver m vgazi error kai den 3ekinai ka9olou :) twra ti ftei??
-
dld o alos otan pai na kani sub na min eiani 40 alla 80?? ama les afto sto l2jserver den to exi apo config kai apo db den gnorizo den to epsa3a alla ama exis alo pack sigoura 8a exi kai custom # Alternative SubClass Level . # When Someone Adds SubClass ,His Level Sets to The Level That is set on the config AltSubClassLevel = 40 kati tetio psa3e kai valto 80 8a sou vgali pola error mono me java code to kanis 100% fix :) Sou protino omos kati kalitero ftia3e ena custom teleport kapou se ena klisto simio (pace zone) kai vale ta 5-6 npc gia ta sub kai kane delete ola ta ipolipa sto server afto se prostatevi apo arketa buggs :)
-
to l2jfrozen aplos exi kalo config full me liga logia ta panta exi :)
-
[HELP]Πρόβλημα με τον Interlude σέρβερ μου..
Natsu replied to SilverDude's question in Request Server Development Help [Greek]
nomizo oti me to new mysql 5.5 i data base apo interlude den eiani fi3arismeni se ola ta pack den benoun ola ta sql files prepi na ala3is afto einai etsi ) TYPE=MyISAM; kai to alazis etsi ) ENGINE=MyISAM DEFAULT CHARSET=latin1; :) afto to error sou to vgazi ama den exi stin db sou afto char_templates.sql -
sto game server sto telos sou lei Register on Loginn asd Server : Bartz?? ama sto lei tote exis kani ton server na benoun mono gm den 3erw ti alo bori na dimiourgisi tetio problima..
-
config/other vres afto # If you wish to disable the use of guards agains agressive monsters. # Default is False. AllowGuards = False oxi mono i pk kiler alla kai i guard giro ap to town.
-
configs/options vres kapou afto # Zone Setting # 0 = Peace All the Time # 1 = PVP During Siege for siege participants # 2 = PVP All the Time ZoneTown = 0 ama einai 1 i 2 to alazis se 0 ama den doulepsi den 3erw tpt alo.
-
ti? den to gnorizo afto pou les :) ase pou twra pros8ata arxisa na vazo java codes.
-
ftia3e ena pk-killer kai vale ap ta config na varane ta mobs pou benoun sto town etsi vale ena pk kiler konta se ka8e sub class. :) gnorizo to bug aplos prospa8ise na dis se pia tonw ape3w exoune mobs pano apo 50 lvl
-
package net.sf.l2j.gameserver.instancemanager; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import net.sf.l2j.Config; import net.sf.l2j.L2DatabaseFactory; import net.sf.l2j.gameserver.Announcements; 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; public class AutoVoteRewardHandler { private final String HOPZONE = "Config.HopZone_ID"; // 60 * 1000(1000milliseconds = 1 second) = 60seconds private final int initialCheck = 60 * 1000; // 1800 * 1000(1000milliseconds = 1 second) = 1800seconds = 30minutes private final int delayForCheck = Config.Delay_for_check * 1000; private final int[] itemId = {Config.Item_ID}; private final int[] itemCount = {Config.Item_Count}; private final int[] maxStack = {Config.Max_Stack}; private final int votesRequiredForReward = Config.Votes_Required; // do not change private int lastVoteCount = 0; private AutoVoteRewardHandler() { System.out.println("Vote Reward System Initiated."); ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoReward(), initialCheck, delayForCheck); } private class AutoReward implements Runnable { public void run() { int votes = getVotes(); System.out.println("Server Votes: " + votes); if (votes != 0 && getLastVoteCount() != 0 && votes >= getLastVoteCount() + votesRequiredForReward) { Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement = con.prepareStatement("" + "SELECT" + " c.charId," + " c.char_name" + "FROM" + " characters AS c" + "LEFT JOIN" + " accounts AS a" + "ON" + " c.account_name = a.login" + "WHERE" + " c.online > 0" + "GROUP BY" + " a.lastIP" + "ORDER BY" + " c.level" + "DESC"); ResultSet rset = statement.executeQuery(); L2PcInstance player = null; L2ItemInstance item = null; while (rset.next()) { player = L2World.getInstance().getPlayer("charId"); if (player != null && !player.getClient().isDetached()) { for (int i = 0; i < itemId.length; i++) { item = player.getInventory().getItemByItemId(itemId); if (item == null || item.getCount() < maxStack) player.addItem("reward", itemId, itemCount, player, true); } } } statement.close(); } catch (SQLException e) { e.printStackTrace(); } finally { try { if (con != null) con.close(); } catch (SQLException e) { e.printStackTrace(); } } setLastVoteCount(getLastVoteCount() + votesRequiredForReward); } Announcements.getInstance().announceToAll("Server Votes: " + votes + " | Next Reward on " + (getLastVoteCount() + votesRequiredForReward) + " Votes."); if (getLastVoteCount() == 0) setLastVoteCount(votes); } } private int getVotes() { URL url = null; InputStreamReader isr = null; BufferedReader in = null; try { url = new URL(HOPZONE); isr = new InputStreamReader(url.openStream()); in = new BufferedReader(isr); String inputLine; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("moreinfo_total_rank_text")) return Integer.valueOf(inputLine.split(">")[2].replace("</div", "")); } } catch (IOException e) { e.printStackTrace(); } finally { try { in.close(); } catch (IOException e) {} try { isr.close(); } catch (IOException e) {} } return 0; } 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(); } } to code beni ok exw vali kai ta ipolipa gameserver+config alla m vgeni ena error sto parapano code if (player != null && !player.getClient().isDetached()) bori kapios na m pi pos to fix afto??
-
[HELP]Προβλημα με l2j Freya σερβερ
Natsu replied to underground's question in Request Server Development Help [Greek]
kala re den eisia new pff kanis pos kai perimeni help?? http://www.maxcheaters.com/forum/index.php?board=67.0 edw kanoume post me tetio 8ema... -
afto to java code kani kai gia freya me liges metatropes? http://www.maxcheaters.com/forum/index.php?topic=190455.0 plzz enas ama bori na me help :)
-
ekana delete to mysql 5.1 kai evala to new 5.5 gt omos otan paw na diale3o kai na valo pass m vgazi error oti iparxi "A Windows servise with the name MySQL alredy exist.Please unistall this service correctly or choose a different name for the new service" bori kapios na me help?? m to ekane kai pio palia afto kai anagastika na ala3o windows :)
-
[Request] Help multiskills bug
Natsu replied to Trx's question in Request Server Development Help [Greek]
ama ala3is ta "com.l2jfree" den 8a doulepsi?? kai to kanis com.l2jserver -
bori kapios na m help ligo sto register oti code vazo m vgazi error :P
