Jump to content

retejas

Members
  • Posts

    175
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by retejas

  1. Hi all its hard that to choose where to play some of us like custom items some don't so can anyone help us to chose what is best ? www.L2PassAge.eu , http://l2java.lt , http://www.reload.lt/hintro.php?lang=lt , http://l2damage.com , http://l2soulslegion.lt/en or www.L2PassAge.eu ?
  2. Hi all, it is a good oportunity to set ne new interlude server in wich you will play. So can all of you vote for your favorite server in wich you will come to play? www.L2PassAge.eu
  3. Try www.L2PassAge.eu now its beta. Real start at Friday
  4. something wrong with yours gmshop html. try to look if its start and closes in right mode. but the mistake is with html
  5. Online 100+
  6. 13 Mins left
  7. Server will start today at 16:00 +2 Time Zone <strong>Server fixes:</strong> * Fixed all mistakes with recept's, materials and parts. * Fixed Vote Reward system * Adden new Raid Boss * Small fixes at class balance * Fixed mistake with item name ( need new system) * Add'ed new zones(that changes farm, no more just adena) All come who want easy mid rate server. www.L2Elide.Net
  8. Yes, beta mode is online :)
  9. INFORMATION Basic Rates Exp rate = 500x SP rate = 500x Enchant Rates Simple Enchant rate = 75% Blessed Enchant rate = 85% Crystal Enchanat rate = 100% Safe enchant = 4 Max enchant = 10 Crystal Max enchant = 12 Other info Perfect Geodata/Pathnodes Balanced classes Fully working Interlude skills Custom Gatekeeper GM Shop, Custom Shop Buff time = 2 hours Weekly Sieges Retail like Olympiad Active Staff Main town is Gludio. Auto Events Vote-Reward system Raid info Raid boss jewels can not be found in NPCs like GM Shop. You have to kill raids in order to get them. Farm Normal zone Here you can farm for s grade recepts, drop is adena, Silver shilen(spoil included) and Dimension Fragments. Rift Here you can farm s ggrade receepts, drop is adena, Silver Shilen(Spoil included) Also you can get at room of Anakazel he drops all full s grade items and Blank Scrolls for RB jewelery. Features Nobless status To get nobless status you need to compile fast quest, and then go kill barakel, all party get reward. Barakel’s respawn 3 hours Clan reputation Every mob in pvp/pk zone drops items for clan reputation. Chance to drop item 20% and its give 50 clan rep http://L2Elide.Net
  10. Hi all, then i tried to create offline shop mode in aCis source i get erorrs and for me its imposible to fix it. Maby someone will fix it This is a code of oflinetrade.java /* * 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 net.sf.l2j.gameserver.datatables; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Calendar; import java.util.logging.Level; import java.util.logging.Logger; import net.sf.l2j.Config; import net.sf.l2j.L2DatabaseFactory; import net.sf.l2j.gameserver.LoginServerThread; import net.sf.l2j.gameserver.model.L2ManufactureItem; import net.sf.l2j.gameserver.model.L2ManufactureList; import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.TradeList.TradeItem; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.L2GameClient; import net.sf.l2j.gameserver.network.L2GameClient.GameClientState; public class OfflineTradersTable { private static Logger _log = Logger.getLogger(OfflineTradersTable.class.getName()); //SQL DEFINITIONS private static final String SAVE_OFFLINE_STATUS = "INSERT INTO character_offline_trade (`charId`,`time`,`type`,`title`) VALUES (?,?,?,?)"; private static final String SAVE_ITEMS = "INSERT INTO character_offline_trade_items (`charId`,`item`,`count`,`price`) VALUES (?,?,?,?)"; private static final String CLEAR_OFFLINE_TABLE = "DELETE FROM character_offline_trade"; private static final String CLEAR_OFFLINE_TABLE_ITEMS = "DELETE FROM character_offline_trade_items"; private static final String LOAD_OFFLINE_STATUS = "SELECT * FROM character_offline_trade"; private static final String LOAD_OFFLINE_ITEMS = "SELECT * FROM character_offline_trade_items WHERE charId = ?"; public static void storeOffliners() { Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement stm = con.prepareStatement(CLEAR_OFFLINE_TABLE); stm.execute(); stm.close(); stm = con.prepareStatement(CLEAR_OFFLINE_TABLE_ITEMS); stm.execute(); stm.close(); con.setAutoCommit(false); // avoid halfway done stm = con.prepareStatement(SAVE_OFFLINE_STATUS); PreparedStatement stm_items = con.prepareStatement(SAVE_ITEMS); //TextBuilder items = TextBuilder.newInstance(); for (L2PcInstance pc : L2World.getInstance().getAllPlayers().values()) { try { if ((pc.getPrivateStoreType() != L2PcInstance.STORE_PRIVATE_NONE) && (pc.getClient() == null || pc.getClient().isDetached())) { stm.setInt(1, pc.getObjectId()); //Char Id stm.setLong(2, pc.getOfflineStartTime()); stm.setInt(3, pc.getPrivateStoreType()); //store type String title = null; switch (pc.getPrivateStoreType()) { case L2PcInstance.STORE_PRIVATE_BUY: if (!Config.OFFLINE_TRADE_ENABLE) continue; title = pc.getBuyList().getTitle(); for (TradeItem i : pc.getBuyList().getItems()) { stm_items.setInt(1, pc.getObjectId()); stm_items.setInt(2, i.getItem().getItemId()); stm_items.setInt(3, i.getCount()); stm_items.setInt(4, i.getPrice()); stm_items.executeUpdate(); stm_items.clearParameters(); } break; case L2PcInstance.STORE_PRIVATE_SELL: case L2PcInstance.STORE_PRIVATE_PACKAGE_SELL: if (!Config.OFFLINE_TRADE_ENABLE) continue; title = pc.getSellList().getTitle(); for (TradeItem i : pc.getSellList().getItems()) { stm_items.setInt(1, pc.getObjectId()); stm_items.setInt(2, i.getObjectId()); stm_items.setInt(3, i.getCount()); stm_items.setInt(4, i.getPrice()); stm_items.executeUpdate(); stm_items.clearParameters(); } break; case L2PcInstance.STORE_PRIVATE_MANUFACTURE: if (!Config.OFFLINE_CRAFT_ENABLE) continue; title = pc.getCreateList().getStoreName(); for (L2ManufactureItem i : pc.getCreateList().getList()) { stm_items.setInt(1, pc.getObjectId()); stm_items.setInt(2, i.getRecipeId()); stm_items.setLong(3, 0); stm_items.setLong(4, i.getCost()); stm_items.executeUpdate(); stm_items.clearParameters(); } } stm.setString(4, title); stm.executeUpdate(); stm.clearParameters(); con.commit(); // flush } } catch (Exception e) { _log.log(Level.WARNING, "OfflineTradersTable[storeTradeItems()]: Error while saving offline trader: " pc.getObjectId() " " e, e); } } stm.close(); stm_items.close(); _log.info("Offline traders stored."); } catch (Exception e) { _log.log(Level.WARNING,"OfflineTradersTable[storeTradeItems()]: Error while saving offline traders: " e,e); } finally { try { con.close(); } catch (Exception e) { } con = null; } } public static void restoreOfflineTraders() { _log.info("Loading offline traders..."); Connection con = null; int nTraders = 0; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement stm = con.prepareStatement(LOAD_OFFLINE_STATUS); ResultSet rs = stm.executeQuery(); while (rs.next()) { long time = rs.getLong("time"); if (Config.OFFLINE_MAX_DAYS > 0) { Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(time); cal.add(Calendar.DAY_OF_YEAR, Config.OFFLINE_MAX_DAYS); if (cal.getTimeInMillis() <= System.currentTimeMillis()) continue; } int type = rs.getInt("type"); if (type == L2PcInstance.STORE_PRIVATE_NONE) continue; L2PcInstance player = null; try { L2GameClient client = new L2GameClient(null); client.setDetached(true); player = L2PcInstance.load(rs.getInt("charId")); client.setActiveChar(player); player.setOnlineStatus(true, false); client.setAccountName(player.getAccountName()); client.setState(GameClientState.IN_GAME); player.setClient(client); player.setOfflineStartTime(time); player.spawnMe(player.getX(), player.getY(), player.getZ()); LoginServerThread.getInstance().addGameServerLogin(player.getAccountName(), client); PreparedStatement stm_items = con.prepareStatement(LOAD_OFFLINE_ITEMS); stm_items.setInt(1, player.getObjectId()); ResultSet items = stm_items.executeQuery(); switch (type) { case L2PcInstance.STORE_PRIVATE_BUY: while (items.next()) { if (player.getBuyList().addItemByItemId(items.getInt(2), items.getInt(3), items.getInt(4)) == null) throw new NullPointerException(); } player.getBuyList().setTitle(rs.getString("title")); break; case L2PcInstance.STORE_PRIVATE_SELL: case L2PcInstance.STORE_PRIVATE_PACKAGE_SELL: while (items.next()) { if (player.getSellList().addItem(items.getInt(2), items.getInt(3), items.getInt(4)) == null) throw new NullPointerException(); } player.getSellList().setTitle(rs.getString("title")); player.getSellList().setPackaged(type == L2PcInstance.STORE_PRIVATE_PACKAGE_SELL); break; case L2PcInstance.STORE_PRIVATE_MANUFACTURE: L2ManufactureList createList = new L2ManufactureList(); while (items.next()) { createList.add(new L2ManufactureItem(items.getInt(2), items.getInt(4))); } player.setCreateList(createList); player.getCreateList().setStoreName(rs.getString("title")); break; } items.close(); stm_items.close(); player.sitDown(); if (Config.OFFLINE_SET_NAME_COLOR) player.getAppearance().setNameColor(Config.OFFLINE_NAME_COLOR); player.setPrivateStoreType(type); player.setOnlineStatus(true, true); player.restoreEffects(); player.broadcastUserInfo(); nTraders; } catch (Exception e) { _log.log(Level.WARNING, "OfflineTradersTable[loadOffliners()]: Error loading trader: "player,e); if (player != null) { player.deleteMe(); } } } rs.close(); stm.close(); _log.info("Loaded: " nTraders " offline trader(s)"); stm = con.prepareStatement(CLEAR_OFFLINE_TABLE); stm.execute(); stm.close(); stm = con.prepareStatement(CLEAR_OFFLINE_TABLE_ITEMS); stm.execute(); stm.close(); } catch (Exception e) { _log.log(Level.WARNING, "OfflineTradersTable[loadOffliners()]: Error while loading offline traders: ",e); } finally { try { con.close(); } catch (Exception e) { } con = null; } } } And this is errors [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:130: error: ')' expected [javac] _log.log(Level.WARNING, "OfflineTradersTable[storeTradeItems()]: Error while saving offline trader: " pc.getObjectId() " " e, e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:130: error: illegal start of expression [javac] _log.log(Level.WARNING, "OfflineTradersTable[storeTradeItems()]: Error while saving offline trader: " pc.getObjectId() " " e, e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:130: error: ';' expected [javac] _log.log(Level.WARNING, "OfflineTradersTable[storeTradeItems()]: Error while saving offline trader: " pc.getObjectId() " " e, e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:130: error: not a statement [javac] _log.log(Level.WARNING, "OfflineTradersTable[storeTradeItems()]: Error while saving offline trader: " pc.getObjectId() " " e, e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:130: error: ';' expected [javac] _log.log(Level.WARNING, "OfflineTradersTable[storeTradeItems()]: Error while saving offline trader: " pc.getObjectId() " " e, e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:130: error: not a statement [javac] _log.log(Level.WARNING, "OfflineTradersTable[storeTradeItems()]: Error while saving offline trader: " pc.getObjectId() " " e, e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:130: error: ';' expected [javac] _log.log(Level.WARNING, "OfflineTradersTable[storeTradeItems()]: Error while saving offline trader: " pc.getObjectId() " " e, e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:139: error: ')' expected [javac] _log.log(Level.WARNING,"OfflineTradersTable[storeTradeItems()]: Error while saving offline traders: " e,e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:139: error: illegal start of expression [javac] _log.log(Level.WARNING,"OfflineTradersTable[storeTradeItems()]: Error while saving offline traders: " e,e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:139: error: ';' expected [javac] _log.log(Level.WARNING,"OfflineTradersTable[storeTradeItems()]: Error while saving offline traders: " e,e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:238: error: not a statement [javac] nTraders; [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:242: error: ')' expected [javac] _log.log(Level.WARNING, "OfflineTradersTable[loadOffliners()]: Error loading trader: "player,e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:242: error: illegal start of expression [javac] _log.log(Level.WARNING, "OfflineTradersTable[loadOffliners()]: Error loading trader: "player,e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:242: error: ';' expected [javac] _log.log(Level.WARNING, "OfflineTradersTable[loadOffliners()]: Error loading trader: "player,e); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:251: error: ')' expected [javac] _log.info("Loaded: " nTraders " offline trader(s)"); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:251: error: not a statement [javac] _log.info("Loaded: " nTraders " offline trader(s)"); [javac] ^ [javac] D:\MidSource\trunk_260\aCis_gameserver\java\net\sf\l2j\gameserver\datatables\OfflineTradersTable.java:251: error: ';' expected [javac] _log.info("Loaded: " nTraders " offline trader(s)"); [javac] ^ [javac] 17 errors
  11. No errors, but now from buffer any reaction then i push buff
  12. Hi i tried to add buffer on my aCis pack. I changed imports, but it dont work i dont understand why. Where is imports of buffer import sys from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance from java.util import Iterator from net.sf.l2j.gameserver.datatables import SkillTable from net.sf.l2j import L2DatabaseFactory from net.sf.l2j.gameserver.model.quest import State from net.sf.l2j.gameserver.model.quest import QuestState from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest And this is error Error on: D:\Midas\gameserver\data\scripts\custom\9999_NPCBuffer\__init__.py.error.log Line: -1 - Column: -1 Traceback (innermost last): File "__init__.py", line 692, in ? TypeError: net.sf.l2j.gameserver.model.quest.State(): expected 0 args; got 2 Did somebody know where is a mistake
  13. Wont solve the problem same error Is this enaught? /** * Spawn all minions at a regular interval Also if boss is too far from home * location at the time of this check, teleport it home * */ @Override protected void startMaintenanceTask()); //error here { if (getTemplate().getMinionData() != null) getMinionList().spawnMinions(); _maintenanceTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new Runnable() { public void run() { checkAndReturnToSpawn(); } }, 60000, getMaintenanceInterval()+Rnd.get(5000)); } }
  14. You mean like that? protected void checkAndReturnToSpawn();
  15. Hi all. I first time compile my sounce code and i get some errors. I'm realy newbie and i don't undrestand where is a mistake. From discription i undrestand that need some ; but i dont understand where. So where is a errors [javac] D:\L2\L2JEvil\java\net\l2jevil\gameserver\model\actor\instance\L2RaidBossInstance.java:141: error: ';' expected [javac] protected void startMaintenanceTask() And where is a lines of that code protected void startMaintenanceTask()
  16. Hi, everything is going well. Download New System. I would also like to announce that the contest is an invitation just login in donate system. Start Today 15:00 GTM +2
  17. Start 08.01 Hello everyone, our last start was kind of a fail, so we decided to wipe our server, but this time we are not going to let that happen. We spent much time fixing all your complains/bugs. And we added one new playable zone, which, in our opinion should increase the joy of game. Our new start date is 2012.08.01 15:00 +2GMT. So what are you waiting for, invite your friends and get ready for the new start! (In donate shop included invite system, just login)
  18. Rates * Experience: 500 * Spexperience: 500 * Party Experience: 2 * Party Spexperience: 2 * Adena: 1 * Consumable Cost: 1 * Drop Item Karma: 1 * Drop Seal Stones: 1 * Drop Spoil: 1 * Drop Manor: 1 Enchant * Safe : 4 * Max with Blessed and Simple : 20 * Max With Crystal Scroll : 25 * Normal Scroll Enchant Rate: 75% * Blessed Scroll Enchant Rate: 90% * Crystal Scroll Enchant Rate: 100% Features * C4/C5/Interlude features/skills working 98% (The other 2% we will fix it with your support) * Castle Sieges * Noblesses & Heroes System * Max Level 80 * Clan Wars * C5/Interlude Clan System * Subclans (Academy,Royal Guards,Order of Knights) * Cursed weapons * Dueling System * All C4/C5/Interlude Skills * Olympiad 100% Retail like * DualBox allowed * Geodata * No corruptions! * 100% Uptime * International community * Max Subclasses = 3 * Max Subclass level = 80 * Max Alliances = 3 * All flood protections * Custom Start up zone * Buff time 1h Boss'es * Respawn GrandBosses (12h - Valakas, Baium, Antharas & 6h - Core, Orfen, Frintezza, Zaken, Queen Ant) * Respawn Raid Bosses (every 4 hour) Olympiad System * Retail Like * Olympiad time [18:00-24:00]. * Olympiad Cycle = 1 Weeks Mods * Sends messages to players with more than 10 kills in a row. * PvP COlor system each 20/50/100/200/500 * Allows Players to change status .away .back * You can have your hero skills on subclass. * Shout Chat With 10 Pvp * Flagged players can't teleport creating more pvp action. * Vote reward system ( With that vote reward system you vote on HopZone + TopZone and when the votes complete on topzone or hopzone you will recieve on game. Custom NPC * Global Gatekeeper * Custom Shop * GM Shop * Buffer * Siege informer * Clan Manager * Warehouse Keeper * Olympiad Manager * Class Manager * Skill Enchanter * Sub Class Changers * Symbol Manager * Augmentator Special Zones: * LvL-Up Zone (Giran Harbor) * Peace Farm Zone (Dragon Valey) * Farm Zone PvP/PK (LOA) * Hard Farm Zone Custom Events *TVT Event: It's a team vs team event. You have to fight against the other team and kill 'em all. *CTF Event: Capture the flag and defeat your opponents! Custom Commands * .repair if dont works contact gm's Our Web Site : www.l2voyage.lt Contact * Skype : l2voyage.lt
  19. TvT aded and left only one hour
  20. I'am learning english. Hard Farm. Start Today 19:00
  21. Tomarrow!!
  22. Start! Hi all, perfect new that in the test mode we must make only few fixes and now the server is fully completed and finished to start. So we announce about the start of L2VoyaGe It will be at 2012.07.18 19:00 +2GTM. Download new system and help us to advertise server. Invite all friends. We are waiting for clans so if you have it contact us and the start in this server will be easier(skype l2voyage.lt). So good luck. Help us to advertise and we will met each other at 2012.07.18 19:00 +2 GTM. Test mode will be closed at 2012.07.18 16:00 +GTM.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock