Jump to content

wongerlt

Members
  • Posts

    557
  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by wongerlt

  1. it must work and in windows 7/8/10
  2. items xml in server data folder.
  3. where all items in ur pack? If in xml u can change all items price with notepad++ "Replace in Files"
  4. just change items price to 0
  5. very nervous when i want play in multiple servers with custom things because all these server system patch overwrite original client files. So my suggestion to all server owners put all custom files in your system directory. You need just edit l2.ini example: [Core.System] PurgeCacheDays=30 SavePath=../Save CachePath=../Cache CacheExt=.uxx Paths=./*.u Paths=./GameGuard/StaticMeshes/*.usx Paths=./GameGuard/Textures/*.utx Paths=./GameGuard/Sounds/*.uax Paths=./GameGuard/Maps/*.unr Paths=./GameGuard/Music/*.umx Paths=./GameGuard/Animations/*.usk Paths=./GameGuard/SysTextures/*.utx Paths=./GameGuard/Animations/*.ukx Paths=../StaticMeshes/*.usx Paths=../Textures/*.utx Paths=../Sounds/*.uax Paths=../Voice/*.uax Paths=../Maps/*.unr ;Paths=../Music/*.umx Paths=../Animations/*.ukx Paths=../SysTextures/*.utx Paths=../Animations/*.usk Paths=../Saves/*.uvx Suppress=DevLoad Suppress=DevSave Suppress=DevNetTraffic Suppress=DevGarbage Suppress=DevKill Suppress=DevReplace Suppress=DevCompile Suppress=DevBind Suppress=DevBsp create in system directory new directory with name example "GameGuard" and in this folder create "systextures, animations, music, map and etc.." and there put ur custom client files. It's all. All working fine and tested with many players.
  6. Possible to edit login form/server list? in what files?
  7. Any idea how make pathnode around fences? hard tu run around fence if u are outside fence. i mean this:
  8. missing net.sf.l2j.gameserver.handler.admincommandhandlers.AdminEventEngine; and some imports are wrong. example ....events. must be "event" and ...impl.. must be imp or vice versa.
  9. you have created zone?
  10. import com.l2jfrozen.gameserver.model.L2World; String player_name = getTopZonePvpName(); Announcements.getInstance().announceToAll("The Player of the Hour is " + player_name + " with "+getTopZonePvpCount()+ " pvps"); L2PcInstance player = L2World.getInstance().getPlayer(player_name); if(player!=null){ //if online player.addItem("VoteReward", 57, 10, null, true); // 10 adenas //if online end }else{ //if offline Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement = con.prepareStatement("INSERT INTO `items` (`owner_id`, `object_id`, `item_id`, `count`, `loc`, `loc_data`) VALUES ((select obj_id from characters where char_name='"+player_name+"'), (SELECT MAX(object_id)+1 FROM items AS object_id), '57', '1', 'INVENTORY', '0')"); statement.execute(); statement.close(); } catch (Exception e) { e.printStackTrace(); } finally { CloseUtil.close(con); } // if offline end } //TODO Your reward should go here. simple, not tested so idk its work or no.
  11. PvP4Fun.Com * Just important information: * Start Level 80. * Full NPC Buffer. * Olympiad/Siege every 5 days. * Customs Items (Like l2gold, dynasty, hats, tattos, masks, jewelry and etc.) * Many Raid Bosses with teleports. * Easy Farm. * Easy Enchant. * Wipe every 1 Month. Start date: 2019-07-13 17:00 GMT+2 https://pvp4fun.com
  12. Its simple, one example: <?php $max = 500; $online = 251; $percent = round(100/$max*$online); ?> <div style="width:200px;height:30px;border:1px solid #CCC"><div style="background:green;height:30px;width:<?php echo $percent ?>%"></div></div> Server load: <?php echo $percent; ?>%.
  13. then i suggest firstly learn Windows basics. how create/edit file/folder, how open file, copy/paste and etc.
  14. what version frozen u use? im using 1118 and it support both. python and java. or have you tried???
  15. just create file in data/scripts/quests/PartyDrop/PartyDrop. java and add “data/scripts/quests/PartyDrop/PartyDrop. java“ to data/scripts.cfg thats all..
  16. Whaaaaaat??? i just adapted it to for frozen. so what wrong with me code?
  17. package quests.PartyDrop; import java.util.List; import java.util.ArrayList; import com.l2jfrozen.gameserver.model.actor.instance.L2NpcInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.quest.Quest; import com.l2jfrozen.gameserver.network.serverpackets.PlaySound; public class PartyDrop extends Quest { boolean _canReward = false; private static ArrayList<String> playerIps = new ArrayList<String>(); private static final int[] MOB_LIST = {10506,10507}; private static final int[][] DROP_LIST = {{57,50},{57,80}}; public PartyDrop() { super(-1, "PartyDrop", "quests"); for (int mob : MOB_LIST) addKillId(mob); } @Override public String onKill(L2NpcInstance npc, L2PcInstance player, boolean isPet) { if (player.isInParty()) { List<L2PcInstance> party = player.getParty().getPartyMembers(); for (L2PcInstance member : party) { String pIp = member.getClient().getConnection().getInetAddress().getHostAddress(); if (!playerIps.contains(pIp)) { playerIps.add(pIp); if (member.isInsideRadius(npc, 1000, false, false)) { for (int[] i : DROP_LIST) { member.addItem("Party Drop Rewards.", i[0], i[1], member, true); member.broadcastPacket(new PlaySound("ItemSound.quest_finish")); } } else { member.sendMessage("You are too far to be rewarded."); } } else { member.sendMessage("Already 1 member of your ip have been rewarded, so this character won't be rewarded."); } } playerIps.clear(); } else { for (int[] i : DROP_LIST) { player.addItem("Party Drop Rewards.", i[0], i[1], player, true); player.broadcastPacket(new PlaySound("ItemSound.quest_finish")); } } return null; } public static void main(String[] args) { new PartyDrop(); } } script for frozen. just put to data/scripts/quests/PartyDrop and add script path to scripts.cfg p.s its without any config file, so just edit in script file what mobs u want and what drop u want..
  18. what version frozen? show duel.java file
  19. firstly what point? paypal have simple api, why u not use it?
×
×
  • 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