MaxSound Posted November 4, 2010 Author Posted November 4, 2010 Add more info. What it does? http://www.maxcheaters.com/forum/index.php?topic=45460.0
L2Raijin Posted November 4, 2010 Posted November 4, 2010 Yea... You could add more info, not a link of other topic... Anyway , thanks
extr3me Posted November 4, 2010 Posted November 4, 2010 dude thx a lot :X i was put the fix in my project thx again :D
MaxSound Posted November 4, 2010 Author Posted November 4, 2010 dude thx a lot :X i was put the fix in my project thx again :D np :) but you can give gredits.. http://timeline.l2riseofking.ro/ Changeset 245
douga Posted November 6, 2010 Posted November 6, 2010 can you tell me what fix is this???i cant see http://www.maxcheaters.com/forum/index.php?topic=45460.0 because i dont have 200 post
PiKKa Posted November 6, 2010 Posted November 6, 2010 Before some minutes i was looking that topic.. http://www.maxcheaters.com/forum/index.php?topic=45460.0 here is the code to fix that :) Open net.sf.l2j.gameserver.model.actor.instance.L2ObservationInstance; replace that: @Override public void onBypassFeedback(L2PcInstance player, String command) { if (command.startsWith("observeSiege")) { String val = command.substring(13); StringTokenizer st = new StringTokenizer(val); st.nextToken(); // Bypass cost if (SiegeManager.getInstance().getSiege(Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken())) != null) { doObserve(player, val); } else player.sendPacket(new SystemMessage(SystemMessageId.ONLY_VIEW_SIEGE)); } else if (command.startsWith("observe")) { doObserve(player, command.substring(8)); } else super.onBypassFeedback(player, command); } with that @Override public void onBypassFeedback(L2PcInstance player, String command) { if(Olympiad.getInstance().isRegistered(player)) return; if(Olympiad.getInstance().isRegisteredInComp(player)) return; if (command.startsWith("observeSiege")) { String val = command.substring(13); StringTokenizer st = new StringTokenizer(val); st.nextToken(); // Bypass cost if (SiegeManager.getInstance().getSiege(Integer.parseInt(st.nextToken()),Integer.parseInt(st.nextToken()),Integer.parseInt(st.nextToken())) != null) { doObserve(player, val); } else player.sendPacket(new SystemMessage(SystemMessageId.ONLY_VIEW_SIEGE)); } else if (command.startsWith("observe")) { doObserve(player, command.substring(8)); } else super.onBypassFeedback(player, command); } :) [javac] Compiling 1299 source files to C:\Users\florin\Desktop\java\workspace\L2JBHP\L2JBHP\L2jBHP_Gameserver\build\classes [javac] C:\Users\florin\Desktop\java\workspace\L2JBHP\L2JBHP\L2jBHP_Gameserver\java\net\sf\l2j\gameserver\model\actor\instance\L2ObservationInstance.java:50: cannot find symbol [javac] symbol : variable Olympiad [javac] location: class net.sf.l2j.gameserver.model.actor.instance.L2ObservationInstance [javac] if(Olympiad.getInstance().isRegistered(player)) [javac] ^ [javac] C:\Users\florin\Desktop\java\workspace\L2JBHP\L2JBHP\L2jBHP_Gameserver\java\net\sf\l2j\gameserver\model\actor\instance\L2ObservationInstance.java:52: cannot find symbol [javac] symbol : variable Olympiad [javac] location: class net.sf.l2j.gameserver.model.actor.instance.L2ObservationInstance [javac] if(Olympiad.getInstance().isRegisteredInComp(player))
MaxSound Posted November 6, 2010 Author Posted November 6, 2010 [javac] Compiling 1299 source files to C:\Users\florin\Desktop\java\workspace\L2JBHP\L2JBHP\L2jBHP_Gameserver\build\classes [javac] C:\Users\florin\Desktop\java\workspace\L2JBHP\L2JBHP\L2jBHP_Gameserver\java\net\sf\l2j\gameserver\model\actor\instance\L2ObservationInstance.java:50: cannot find symbol [javac] symbol : variable Olympiad [javac] location: class net.sf.l2j.gameserver.model.actor.instance.L2ObservationInstance [javac] if(Olympiad.getInstance().isRegistered(player)) [javac] ^ [javac] C:\Users\florin\Desktop\java\workspace\L2JBHP\L2JBHP\L2jBHP_Gameserver\java\net\sf\l2j\gameserver\model\actor\instance\L2ObservationInstance.java:52: cannot find symbol [javac] symbol : variable Olympiad [javac] location: class net.sf.l2j.gameserver.model.actor.instance.L2ObservationInstance [javac] if(Olympiad.getInstance().isRegisteredInComp(player)) where is the import for olympiad :O
PiKKa Posted November 6, 2010 Posted November 6, 2010 a yeah , thanks you very much where is the import for olympiad :O
Coyote™ Posted November 6, 2010 Posted November 6, 2010 Why to replace all that part with the code you've provided, if the only changes are these new checks? pff
MaxSound Posted November 6, 2010 Author Posted November 6, 2010 Why to replace all that part with the code you've provided, if the only changes are these new checks? pff are you serious can you fix them with another way ...? i will w8 for your way. pro dev.! Α AND BTW THIS CODE IS FOR "newbies" simple for them..
Recommended Posts