-
Posts
269 -
Credits
0 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by ThelwHelpRePaidia
-
Help Effect
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
here is the inventory.java if(armorSet.isEnchanted16(player)) // has all parts of set enchanted to 6 or more { int skillId = armorSet.getEnchant6skillId(); if (armorSet.isEnchanted16(player)) { player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_STEALTH); } if(remove) { player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_STEALTH); if(removeSkillId1 != 0) } and here the l2armorset.java public boolean isEnchanted16(L2PcInstance player) { // Player don't have full set if(!containAll(player)) return false; Inventory inv = player.getInventory(); L2ItemInstance chestItem = inv.getPaperdollItem(Inventory.PAPERDOLL_CHEST); L2ItemInstance legsItem = inv.getPaperdollItem(Inventory.PAPERDOLL_LEGS); L2ItemInstance headItem = inv.getPaperdollItem(Inventory.PAPERDOLL_HEAD); L2ItemInstance glovesItem = inv.getPaperdollItem(Inventory.PAPERDOLL_GLOVES); L2ItemInstance feetItem = inv.getPaperdollItem(Inventory.PAPERDOLL_FEET); if(chestItem.getEnchantLevel() < 16) return false; if(_legs != 0 && legsItem.getEnchantLevel() < 16) return false; if(_gloves != 0 && glovesItem.getEnchantLevel() < 16) return false; if(_head != 0 && headItem.getEnchantLevel() < 16) return false; if(_feet != 0 && feetItem.getEnchantLevel() < 16) return false; chestItem = null; legsItem = null; headItem = null; glovesItem = null; feetItem = null; return true; } -
Help Effect
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
Interlude -
Help Effect
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
damn that's hard:D -
Help Effect
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
I get error here when i put vitality player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_VITALITY); } player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_VITALITY); And i get dc after the compile :/ -
Help Customs
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
thanks solved -
Help Effect
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
I have the code ready i need to replace "Stealth" thing with red aura something like this i dont know what to put on "Stealth" to take the red aura http://www.mmorpg.com/photo/95cce76d-bcb4-48db-ab5d-01a3d8de4f22 -
Hello i have this code player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_STEALTH); i want to change the "Sealth" thing and make it when a player have +16 armor to get some red effect (if you have played pride you know) i dont know how to write it xD
-
Discussion Kalhspera
ThelwHelpRePaidia replied to ThelwHelpRePaidia's topic in Server Development Discussion [Greek]
8g ram exw -
Help Customs
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
yeah but i have 1 pack with Unique weapons like Shadow of halisha, Dusk weapon and i want to put them to my pack but i dont have the sql files is there any way to take them from that pack? -
Hello How can i take customs from a pack and put them to my pack? like weapons,armors,rings
-
Discussion Kalhspera
ThelwHelpRePaidia replied to ThelwHelpRePaidia's topic in Server Development Discussion [Greek]
μου πεταει αυτο http://tinypic.com/view.php?pic=2cibojq&s=8#.VRHVvOEUO6w -
Hello can some one help me with geodata? how can i edit for farm zone(Cave of trials) ? cuz i have a problem when i put geodata on my server the monsters stop hitting me when i go behind the walls but i can hit them thanks
-
Καλησπερα ξερεις κανεις πως μπορω να κανω το geodata edit σε μια περιοχη; πχ θελω να το κανω edit στην cave of trials η αν υπαρχει κανενα guide
-
Help Help Gia Mobs
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [Greek]
Τιποτα ακομα το ιδιο.. -
Help Kalhspera ( Exw Thema Me Ta Ports )
ThelwHelpRePaidia replied to PaulAnny's question in Request Server Development Help [Greek]
http://portforward.com/english/applications/port_forwarding/Lineage_II/ZTE.htm -
Help Problem Instance
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
omg i am idiot xD thank you! lock it. -
Help Problem Instance
ThelwHelpRePaidia posted a question in Request Server Development Help [Greek]
Kalhspera paidia exw ena provlima me to instance mpenw kanonika to timer doulevi mia xara alla ta mobs den kanoun spawn kai otan spawnaro to last rb kai to skotono teleiwnei to instance opote den nomizw na exei kapio la8os edw kai to code package net.sf.l2j.gameserver.instances.Tsarka; import net.sf.l2j.gameserver.instancemanager.InstanceManager; import net.sf.l2j.gameserver.instancemanager.InstanceManager.InstanceWorld; import net.sf.l2j.gameserver.model.L2Party; import net.sf.l2j.gameserver.model.actor.L2Npc; import net.sf.l2j.gameserver.model.actor.L2Summon; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.olympiad.Olympiad; import net.sf.l2j.gameserver.model.quest.Quest; import net.sf.l2j.gameserver.model.quest.QuestState; import net.sf.l2j.gameserver.network.SystemMessageId; import net.sf.l2j.gameserver.network.serverpackets.ExShowScreenMessage; import net.sf.l2j.gameserver.network.serverpackets.SystemMessage; public class Tsarka extends Quest { //NPCs private static int Kourampies = 96012; private static int EXIT_TELEPORTER = 90013; //BOSSES private static final int[] BOSSES = {95602,95622,95623,95624,95644}; //final bosses private static final int[] GRAND_BOSSES = {95634,95117}; //MOBS private static final int[] MOBS = {22528,95132,22526,22363,21395,95107}; private static String qn = "Tsarka"; private static final int INSTANCEID = 2001; //REQUIREMENTS private static boolean debug = false; private static int levelReq = 86; private static int pvpReq = 100; private static int fameReq = 0; private static int pkReq = 0; private class teleCoord {int instanceId; int x; int y; int z;} public class TsarkaWorld extends InstanceWorld { public TsarkaWorld() { InstanceManager.getInstance().super(); } } public Tsarka(int questId, String name, String descr) { super(questId, name, descr); addStartNpc(Kourampies); addTalkId(Kourampies); addTalkId(EXIT_TELEPORTER); for (int boss : BOSSES) addKillId(boss); for (int mob : MOBS) addKillId(mob); for (int mob : GRAND_BOSSES) addKillId(mob); } public static void main(String[] args) { new Tsarka(-1, qn, "instances"); } private boolean checkConditions(L2PcInstance player, boolean single) { if (debug || player.isGM()) return true; else { final L2Party party = player.getParty(); if (!single && (party == null || party.getMemberCount() < 4 || party.getMemberCount() > 7)) { player.sendMessage("This is a 4-7 player party instance, so you must have a party of 4-7 people"); return false; } if (!single && party.getPartyLeaderOID() != player.getObjectId()) { player.sendPacket(new SystemMessage(2185)); return false; } if (!single) { /*if (!checkIPs(party)) return false;*/ boolean canEnter = true; for (L2PcInstance ptm : party.getPartyMembers()) { if (ptm == null) return false; if (ptm.getLevel() < levelReq) { ptm.sendMessage("You must be level "+levelReq+" to enter this instance"); canEnter = false; } else if (ptm.getPvpKills() < pvpReq) { ptm.sendMessage("You must have "+pvpReq+" PvPs to enter this instance"); canEnter = false; } else if (ptm.getPvpKills() < pkReq) { ptm.sendMessage("You must have "+pkReq+" PKs to enter this instance"); canEnter = false; } else if (ptm.getPvpKills() < fameReq) { ptm.sendMessage("You must have "+fameReq+" fame to enter this instance"); canEnter = false; } else if (ptm.getPvpFlag() != 0 || ptm.getKarma() > 0) { ptm.sendMessage("You can't enter the instance while in PVP mode or have karma"); canEnter = false; } else if (ptm.isInFunEvent()) { ptm.sendMessage("You can't enter the instance while in an event"); canEnter = false; } else if (ptm.isInDuel() || ptm.isInOlympiadMode() || Olympiad.getInstance().isRegistered(ptm)) { ptm.sendMessage("You can't enter the instance while in duel/oly"); canEnter = false; } else if (System.currentTimeMillis() < InstanceManager.getInstance().getInstanceTime(ptm.getAccountName(), INSTANCEID)) { ptm.sendMessage("You can only enter this instance once every day, wait until the next 12AM"); canEnter = false; } else if (!ptm.isInsideRadius(player, 500, true, false)) { ptm.sendMessage("You're too far away from your party leader"); player.sendMessage("One of your party members is too far away"); canEnter = false; } else { final InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player); if (world != null) { ptm.sendMessage("You can't enter because you have entered into another instance that hasn't expired yet, try waiting 5 min"); canEnter = false; } } if (!canEnter) { ptm.sendMessage("You're preventing your party from entering an instance"); if (ptm != player) player.sendMessage(ptm.getName()+" is preventing you from entering the instance"); return false; } } } else { if (player.getLevel() < levelReq) { player.sendMessage("You must be level "+levelReq+" to enter this instance"); return false; } else if (player.getPvpKills() < pvpReq) { player.sendMessage("You must have "+pvpReq+" PvPs to enter this instance"); return false; } else if (player.getPvpFlag() != 0 || player.getKarma() > 0) { player.sendMessage("You can't enter the instance while in PVP mode or have karma"); return false; } else if (player.isInFunEvent()) { player.sendMessage("You can't enter the instance while in an event"); return false; } else if (player.isInDuel() || player.isInOlympiadMode() || Olympiad.getInstance().isRegistered(player)) { player.sendMessage("You can't enter the instance while in duel/oly"); return false; } } return true; } } private void teleportplayer(L2PcInstance player, teleCoord teleto) { player.setInstanceId(teleto.instanceId); player.teleToLocation(teleto.x, teleto.y, teleto.z); L2Summon pet = player.getPet(); if (pet != null) { pet.setInstanceId(teleto.instanceId); pet.teleToLocation(teleto.x, teleto.y, teleto.z); } } protected int enterInstance(L2PcInstance player, String template, teleCoord teleto) { int instanceId = 0; //check for existing instances for this player InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player); //existing instance if (world != null) { if (world.templateId != INSTANCEID) { player.sendPacket(new SystemMessage(SystemMessageId.ALREADY_ENTERED_ANOTHER_INSTANCE_CANT_ENTER)); return 0; } if (!checkConditions(player, true)) return 0; teleto.instanceId = world.instanceId; teleportplayer(player,teleto); return instanceId; } else //New instance { if (!checkConditions(player, false)) return 0; instanceId = InstanceManager.getInstance().createDynamicInstance(template); world = new TsarkaWorld(); world.instanceId = instanceId; world.templateId = INSTANCEID; InstanceManager.getInstance().addWorld(world); _log.info("Tsarka: new " + template + " Instance: " + instanceId + " created by player: " + player.getName()); // teleport players teleto.instanceId = instanceId; L2Party party = player.getParty(); if (party == null) { if (!player.isGM()) return 0; // this can happen only if debug is true InstanceManager.getInstance().setInstanceTime(player.getAccountName(), INSTANCEID, getNextInstanceTime(TWODAYS)); world.allowed.add(player.getObjectId()); auditInstances(player, template, instanceId); teleportplayer(player,teleto); } else { for (L2PcInstance partyMember : party.getPartyMembers()) { partyMember.sendMessage("You have entered the Dragon Valley Caves"); InstanceManager.getInstance().setInstanceTime(partyMember.getAccountName(), INSTANCEID, getNextInstanceTime(TWODAYS)); world.allowed.add(partyMember.getObjectId()); auditInstances(partyMember, template, instanceId); teleportplayer(partyMember,teleto); } spawnExitGK((TsarkaWorld) world, player); } return instanceId; } } protected void exitInstance(L2PcInstance player, teleCoord tele) { player.setInstanceId(0); player.teleToLocation(tele.x, tele.y, tele.z); L2Summon pet = player.getPet(); if (pet != null) { pet.setInstanceId(0); pet.teleToLocation(tele.x, tele.y, tele.z); } } @Override public String onTalk(L2Npc npc, L2PcInstance player) { final int npcId = npc.getNpcId(); QuestState st = player.getQuestState(qn); if (st == null) st = newQuestState(player); if (npcId == Kourampies) { teleCoord teleto = new teleCoord(); teleto.x = 131175; teleto.y = 114415; teleto.z = -3715; enterInstance(player, "Tsarka.xml", teleto); } else if (npcId == EXIT_TELEPORTER) { final InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player); if (world == null || !(world instanceof TsarkaWorld)) return null; teleCoord teleto = new teleCoord(); teleto.x = -82993; teleto.y = 150860; teleto.z = -3129; if (player.getParty() == null) { exitInstance(player, teleto); player.sendPacket(new ExShowScreenMessage("You have completed the Tsarka instance", 6000)); } else { for (L2PcInstance ptm : player.getParty().getPartyMembers()) { exitInstance(ptm, teleto); player.sendPacket(new ExShowScreenMessage("You have completed the Tsarka instance", 6000)); } } st.exitQuest(true); } return null; } @Override public String onKill(L2Npc npc, L2PcInstance killer, boolean isPet) { return null; } public void spawnExitGK(TsarkaWorld world, L2PcInstance player) { addSpawn(EXIT_TELEPORTER, 153073, 122107, -3805, 0, false, 0, false, world.instanceId); } } -
Hello here is my instance the problem is i go to the instance but the mobs dont spawn any help? package net.sf.l2j.gameserver.instances.Tsarka; import net.sf.l2j.gameserver.instancemanager.InstanceManager; import net.sf.l2j.gameserver.instancemanager.InstanceManager.InstanceWorld; import net.sf.l2j.gameserver.model.L2Party; import net.sf.l2j.gameserver.model.actor.L2Npc; import net.sf.l2j.gameserver.model.actor.L2Summon; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.olympiad.Olympiad; import net.sf.l2j.gameserver.model.quest.Quest; import net.sf.l2j.gameserver.model.quest.QuestState; import net.sf.l2j.gameserver.network.SystemMessageId; import net.sf.l2j.gameserver.network.serverpackets.ExShowScreenMessage; import net.sf.l2j.gameserver.network.serverpackets.SystemMessage; public class Tsarka extends Quest { //NPCs private static int Kourampies = 96012; private static int EXIT_TELEPORTER = 90013; //BOSSES private static final int[] BOSSES = {95602,95622,95623,95624,95644}; //final bosses private static final int[] GRAND_BOSSES = {95634,95117}; //MOBS private static final int[] MOBS = {22528,95132,22526,22363,21395,95107}; private static String qn = "Tsarka"; private static final int INSTANCEID = 2001; //REQUIREMENTS private static boolean debug = false; private static int levelReq = 86; private static int pvpReq = 100; private static int fameReq = 0; private static int pkReq = 0; private class teleCoord {int instanceId; int x; int y; int z;} public class TsarkaWorld extends InstanceWorld { public TsarkaWorld() { InstanceManager.getInstance().super(); } } public Tsarka(int questId, String name, String descr) { super(questId, name, descr); addStartNpc(Kourampies); addTalkId(Kourampies); addTalkId(EXIT_TELEPORTER); for (int boss : BOSSES) addKillId(boss); for (int mob : MOBS) addKillId(mob); for (int mob : GRAND_BOSSES) addKillId(mob); } public static void main(String[] args) { new Tsarka(-1, qn, "instances"); } private boolean checkConditions(L2PcInstance player, boolean single) { if (debug || player.isGM()) return true; else { final L2Party party = player.getParty(); if (!single && (party == null || party.getMemberCount() < 4 || party.getMemberCount() > 7)) { player.sendMessage("This is a 4-7 player party instance, so you must have a party of 4-7 people"); return false; } if (!single && party.getPartyLeaderOID() != player.getObjectId()) { player.sendPacket(new SystemMessage(2185)); return false; } if (!single) { /*if (!checkIPs(party)) return false;*/ boolean canEnter = true; for (L2PcInstance ptm : party.getPartyMembers()) { if (ptm == null) return false; if (ptm.getLevel() < levelReq) { ptm.sendMessage("You must be level "+levelReq+" to enter this instance"); canEnter = false; } else if (ptm.getPvpKills() < pvpReq) { ptm.sendMessage("You must have "+pvpReq+" PvPs to enter this instance"); canEnter = false; } else if (ptm.getPvpKills() < pkReq) { ptm.sendMessage("You must have "+pkReq+" PKs to enter this instance"); canEnter = false; } else if (ptm.getPvpKills() < fameReq) { ptm.sendMessage("You must have "+fameReq+" fame to enter this instance"); canEnter = false; } else if (ptm.getPvpFlag() != 0 || ptm.getKarma() > 0) { ptm.sendMessage("You can't enter the instance while in PVP mode or have karma"); canEnter = false; } else if (ptm.isInFunEvent()) { ptm.sendMessage("You can't enter the instance while in an event"); canEnter = false; } else if (ptm.isInDuel() || ptm.isInOlympiadMode() || Olympiad.getInstance().isRegistered(ptm)) { ptm.sendMessage("You can't enter the instance while in duel/oly"); canEnter = false; } else if (System.currentTimeMillis() < InstanceManager.getInstance().getInstanceTime(ptm.getAccountName(), INSTANCEID)) { ptm.sendMessage("You can only enter this instance once every day, wait until the next 12AM"); canEnter = false; } else if (!ptm.isInsideRadius(player, 500, true, false)) { ptm.sendMessage("You're too far away from your party leader"); player.sendMessage("One of your party members is too far away"); canEnter = false; } else { final InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player); if (world != null) { ptm.sendMessage("You can't enter because you have entered into another instance that hasn't expired yet, try waiting 5 min"); canEnter = false; } } if (!canEnter) { ptm.sendMessage("You're preventing your party from entering an instance"); if (ptm != player) player.sendMessage(ptm.getName()+" is preventing you from entering the instance"); return false; } } } else { if (player.getLevel() < levelReq) { player.sendMessage("You must be level "+levelReq+" to enter this instance"); return false; } else if (player.getPvpKills() < pvpReq) { player.sendMessage("You must have "+pvpReq+" PvPs to enter this instance"); return false; } else if (player.getPvpFlag() != 0 || player.getKarma() > 0) { player.sendMessage("You can't enter the instance while in PVP mode or have karma"); return false; } else if (player.isInFunEvent()) { player.sendMessage("You can't enter the instance while in an event"); return false; } else if (player.isInDuel() || player.isInOlympiadMode() || Olympiad.getInstance().isRegistered(player)) { player.sendMessage("You can't enter the instance while in duel/oly"); return false; } } return true; } } private void teleportplayer(L2PcInstance player, teleCoord teleto) { player.setInstanceId(teleto.instanceId); player.teleToLocation(teleto.x, teleto.y, teleto.z); L2Summon pet = player.getPet(); if (pet != null) { pet.setInstanceId(teleto.instanceId); pet.teleToLocation(teleto.x, teleto.y, teleto.z); } } protected int enterInstance(L2PcInstance player, String template, teleCoord teleto) { int instanceId = 0; //check for existing instances for this player InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player); //existing instance if (world != null) { if (world.templateId != INSTANCEID) { player.sendPacket(new SystemMessage(SystemMessageId.ALREADY_ENTERED_ANOTHER_INSTANCE_CANT_ENTER)); return 0; } if (!checkConditions(player, true)) return 0; teleto.instanceId = world.instanceId; teleportplayer(player,teleto); return instanceId; } else //New instance { if (!checkConditions(player, false)) return 0; instanceId = InstanceManager.getInstance().createDynamicInstance(template); world = new TsarkaWorld(); world.instanceId = instanceId; world.templateId = INSTANCEID; InstanceManager.getInstance().addWorld(world); _log.info("Tsarka: new " + template + " Instance: " + instanceId + " created by player: " + player.getName()); // teleport players teleto.instanceId = instanceId; L2Party party = player.getParty(); if (party == null) { if (!player.isGM()) return 0; // this can happen only if debug is true InstanceManager.getInstance().setInstanceTime(player.getAccountName(), INSTANCEID, getNextInstanceTime(TWODAYS)); world.allowed.add(player.getObjectId()); auditInstances(player, template, instanceId); teleportplayer(player,teleto); } else { for (L2PcInstance partyMember : party.getPartyMembers()) { partyMember.sendMessage("You have entered the Dragon Valley Caves"); InstanceManager.getInstance().setInstanceTime(partyMember.getAccountName(), INSTANCEID, getNextInstanceTime(TWODAYS)); world.allowed.add(partyMember.getObjectId()); auditInstances(partyMember, template, instanceId); teleportplayer(partyMember,teleto); } spawnExitGK((TsarkaWorld) world, player); } return instanceId; } } protected void exitInstance(L2PcInstance player, teleCoord tele) { player.setInstanceId(0); player.teleToLocation(tele.x, tele.y, tele.z); L2Summon pet = player.getPet(); if (pet != null) { pet.setInstanceId(0); pet.teleToLocation(tele.x, tele.y, tele.z); } } @Override public String onTalk(L2Npc npc, L2PcInstance player) { final int npcId = npc.getNpcId(); QuestState st = player.getQuestState(qn); if (st == null) st = newQuestState(player); if (npcId == Kourampies) { teleCoord teleto = new teleCoord(); teleto.x = 131175; teleto.y = 114415; teleto.z = -3715; enterInstance(player, "Tsarka.xml", teleto); } else if (npcId == EXIT_TELEPORTER) { final InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player); if (world == null || !(world instanceof TsarkaWorld)) return null; teleCoord teleto = new teleCoord(); teleto.x = -82993; teleto.y = 150860; teleto.z = -3129; if (player.getParty() == null) { exitInstance(player, teleto); player.sendPacket(new ExShowScreenMessage("You have completed the Tsarka instance", 6000)); } else { for (L2PcInstance ptm : player.getParty().getPartyMembers()) { exitInstance(ptm, teleto); player.sendPacket(new ExShowScreenMessage("You have completed the Tsarka instance", 6000)); } } st.exitQuest(true); } return null; } @Override public String onKill(L2Npc npc, L2PcInstance killer, boolean isPet) { return null; } public void spawnExitGK(TsarkaWorld world, L2PcInstance player) { addSpawn(EXIT_TELEPORTER, 153073, 122107, -3805, 0, false, 0, false, world.instanceId); } }
-
Discussion Host Gia Server
ThelwHelpRePaidia replied to ThelwHelpRePaidia's topic in Server Development Discussion [Greek]
vrika lock it. -
Help Mobs Respawn
ThelwHelpRePaidia replied to antreassk13's question in Request Server Development Help [Greek]
//spawn id posa mobs 8es kai ta sec paradigma //spawn 1596 1 30 -
Help Help Gia Mobs
ThelwHelpRePaidia replied to ThelwHelpRePaidia's question in Request Server Development Help [Greek]
mpa to idio -
Kalhspera exw ena provlima vazw geodata ston server kai otan varaw ena teras kai paw piso apo ton toixo to varaw alla ayto den me varaei na ta config tou geodata # -------------------------------- # Geo Configuration - # -------------------------------- # 0 = geodata disabled (default). # 1 = enabled geodata. # If ForceGeodata = true, it requires ~ 3 GB # If ForceGeodata = false, then the required rate of screws 7200 # # 2 = geodata and patchnod (search path) are included. # If ForceGeodata, ForcePathNod = true, it requires about 5 GB # If ForceGeodata, ForcePathNod = false, then the required rate of screws 7200 # # -1 = Patchnod (search path) enabled. # If ForcePathNod = true, it requires about 2 GB # If ForcePathNod = false, then the required rate of screws 7200 # Test function! There may be mistakes! GeoData = 2 # Default: False AcceptGeoeditorConn = False GeoEditorPort = 9011 # [True] Download geodata in RAM (using about 2 GB). # [False] Do not download geodata in memory. Read from the hard disk. ForceGeodata = True # Cell-level pathfinding, produces more accurate routes but is (maybe 10x) heavier to calculate. Recommended for small servers at least. # If False, pathnode files are used. Uses a max number of nodes in calculation which can be adjusted in the algorithm if it needs to be faster. # Default: False CellPathFinding = False # ------------------------------------------------------------- # Z-Axis correction for L2Spawns. # Possible values: Town, Monster, None, All # If you have problems with NPCs spawning on town roofs, change to "Monster" or "None" # If you have problems with dungeon mobs spawning on surface, change to "Town" or "None" GeoCorrectZ = None # This is setting of experimental Client <--> Server Player coordinates synchronization, # 0 - no synchronization at all # 1 - parcial synchronization Client --> Server only * using this option it is difficult for players to bypass obstacles # 2 - parcial synchronization Server --> Client only # 3 - full synchronization Client <--> Server # 4 - new kind of synchronization with geodata # -1 - Old system: will synchronize Z only CoordSynchronize = 1 # Size of the world on axes X, Y and Z WorldSizeMinX = -131072 WorldSizeMaxX = 228608 WorldSizeMinY = -262144 WorldSizeMaxY = 262144 WorldSizeMinZ = -15000 WorldSizeMaxZ = 15000 FallDamage = True AllowWater = True
-
Kalhspera pws mporw na ftiaksw ayto to gameserver gia 6g ram? an ksereis kapios as mou apantisi @echo off color 07 title L2Server :start echo Starting L2Server. echo. REM ------------------------------------- REM Default parameters for a basic server. java -Dfile.encoding=UTF8 -server -Xmx1024m -Xms512m -Xmn256m -XX:PermSize=128m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -XX:+UseSerialGC -cp ./lib/*;l2jfinest-core.jar com.l2jfrozen.gameserver.GameServer REM REM If you have a big server and lots of memory, you could experiment for example with REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts REM ------------------------------------- if ERRORLEVEL 7 goto telldown if ERRORLEVEL 6 goto tellrestart if ERRORLEVEL 5 goto taskrestart if ERRORLEVEL 4 goto taskdown REM 3 - abort if ERRORLEVEL 2 goto restart if ERRORLEVEL 1 goto error goto end :tellrestart echo. echo Telnet server Restart ... echo. goto start :taskrestart echo. echo Auto Task Restart ... echo. goto start :restart echo. echo Admin Restart ... echo. goto start :taskdown echo . echo Server terminated (Auto task) echo . :telldown echo . echo Server terminated (Telnet) echo . :error echo. echo Server terminated abnormaly echo. :end echo. echo server terminated echo. :question set choix=q set /p choix=Restart(r) or Quit(q) if /i %choix%==r goto start if /i %choix%==q goto exit :exit exit pause
-
Discussion Geodata
ThelwHelpRePaidia replied to ThelwHelpRePaidia's topic in Server Development Discussion [Greek]
ναι αλλα αμα βαλω το geodata=0 δεν θα εχει wallhit? -
Kalhspera paidia exw ena provlima me to geodata tou server h players h 8a pernane mesa apo to vraxw h 8a peftoun sunexia sta grafika oriste ta cofings mhpws exw kanei kati la8os # --------------------------------------------------------------------------- # Geodata # --------------------------------------------------------------------------- # GeoData options: # 0 = GeoData and PathFinding OFF (default) # 1 = GeoData is used to check Line Of Sight (LOS) targeting and # L2Playable movement. You need to download files for data/geodata folder. # Monsters can pass walls but not aggro (no line of sight) through them. # 2 = Full GeoData enabled. Includes PathFinding (requires also /data/pathnode # files if CellPathFinding not enabled) and all character moves go through # geodata checks (if a mob passes a wall, pathfinding didn't find a route # but we allow attack and returning home). # Recommended server memory minimum 2 GB, rather 3 GB. # Default: 0 GeoData = 2 # Cell-level pathfinding, produces more accurate routes but is (maybe 10x) heavier to calculate. Recommended for small servers at least. # If False, pathnode files are used. Uses a max number of nodes in calculation which can be adjusted in the algorithm if it needs to be faster. # Default: False CellPathFinding = false # True = Loads GeoData buffer's content into physical memory. # False = Does not necessarily imply that the GeoData buffer's content is not resident in physical memory. # Default: True ForceGeodata = true # This setting controls Client <--> Server Player coordinates synchronization: # -1 - Will synchronize only Z from Client --> Server. Default when no geodata. # 1 - Synchronization Client --> Server only. Using this option (without geodata) makes it more difficult for players to bypass obstacles. # 2 - Intended for geodata (at least with cell-level pathfinding, otherwise can you try -1). # Server sends validation packet if client goes too far from server calculated coordinates. # Default: -1 CoordSynchronize = 2