Jump to content

povis111

Members
  • Posts

    143
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by povis111

  1. sorry, will reupload this friday, when i get my hands on the old pc :/
  2. wow, it's still alive, i didn't check this project for more than a year :gusta: https://www.assembla.com/code/L2JLisvus/subversion/nodes/507/trunk
  3. probably a wrong bypass string with less than required parameters sent from the npc as "command" , this would fix the problem. source: http://javarevisited.blogspot.com/2012/02/how-to-solve-javautilnosuchelementexcep.html private static void sendReport(String event, L2PcInstance player, String command) { StringTokenizer st = new StringTokenizer(command); if(st.hasMoreTokens()) st.nextToken(); String message = ""; String _type = null; L2GameClient info = player.getClient().getConnection().getClient(); try { if(st.hasMoreTokens()) _type = st.nextToken(); while (st.hasMoreTokens()) { message = message + st.nextToken() + " "; } if (message.equals("")) { player.sendMessage("Message box cannot be empty."); return; } String timeStamp = new SimpleDateFormat("yyyy-MM-dd HH-mm-ss").format(Calendar.getInstance().getTime()); String fname = "data/Reports/" + player.getName() + " "+timeStamp+".txt"; File file = new File(fname); boolean exist = file.createNewFile(); if (!exist) { return; } FileWriter fstream = new FileWriter(fname); BufferedWriter out = new BufferedWriter(fstream); out.write("Character Info: " + info + "\r\nBug Type: " + _type + "\r\nMessage: " + message); player.sendMessage("Report successfully sent. Staff will check it soon, thank you!"); for (L2PcInstance allgms : L2World.getAllGMs()) { allgms.sendMessage(player.getName() + " has sent a report. Type: " + _type); } out.close(); } catch (Exception e) { L2Character._log.warning("could not send report: " + e); } }
  4. It says that the getStatsSet(int) is a static void and static voids don't need new instances so.. this long delay = GrandBossManager.getInstance().getStatsSet(boss).getLong("respawn_time"); to this long delay = GrandBossManager.getStatsSet(boss).getLong("respawn_time");
  5. For every armor upgrade you will have to do a special quest. It takes time to make quests, so you won't fit into a "hour or two".
  6. as i see that no one puts suggestions here, try this if DecLevel == True and not st.player.isGM() : pXp = st.player.getExp() here I make the mistake--------->tXp = Experience.LEVEL[NewLevel] if pXp > tXp: st.player.removeExpAndSp(pXp - tXp, 0) st.player.setClassId(int(event)) to that if DecLevel == True and not st.player.isGM() : if st.getPlayer().getLevel() > NewLevel : st.getPlayer().removeExpAndSp(st.getPlayer().getExp() - ExperienceData.getInstance().getExpForLevel(NewLevel), 0) st.player.setClassId(int(event)) won't hurt :D it's all about the tabs in python ya'know ;)
  7. well, as i can see the "string value" isn't even used, you should delete that line if ya haven't change anything there before :)
  8. i think Elfo has had a system made with pin and shared.
  9. It's related with gameserver.network.serverpackets ConfirmDlg.java this packet sends a dialogue window similar to trade/party etc.. and gameserver.network.clientpackets DlgAnswer.java catches the answer. That's all ya need to know, now start coding ;)
  10. Hello there, l2jhellas had the same problem. It's a code problem. If you're using hellas, i can post a fix.
  11. 1.jumping 2.taming monsters as pets 3.fake online 4.no
  12. i used this: and this: http://www.maxcheaters.com/topic/146083-guide-how-to-set-up-an-l2off-server/ by looking throught these for an hour, i've managed to understand how the server is setuped. GL :D
  13. l2j is easy, i want bigger challenges :) Btw, did anyone tried to make/made auto accounts creation for l2off?
  14. Hello, after lots of time spending on l2j servers, i've decided to try to run and develop(if i'll be capable of) l2off server. Well, to run the server itself was pretty easy, but i don't get how the accounts are created. Firstly, there's no autoreg, as i didn't find any hints on that. Secondly, sql server is not mysql and dbo.user_auth 'password' column has different data type(bytes as i saw in the message) :lol: . Would somenone mind to tell me how accounts are created or link me to a source of information in which i could find what i'm looking for? :gusta:
  15. I would still use the one that makes connections every time a bypass is cought though, because the code seems more simple and i use more values like: clan name, hero, etc :D
  16. http://www.maxcheaters.com/topic/136698-shareinterludenew-giran-centre-and-flying-harbor-for-c6/?hl=giran
  17. i guess i will have to try sniffing packets with phx, thanks :) EDIT: after all day of searching and sniffing, i've found out that relationchanged packet works only when some other clan related packets are sent, makes it impossilble to use alone... Thanks for the help and have great holidays.
  18. RelationChanged should control the icon in the title but it doesn't :/ and i don't understand why
  19. Well, the problem is, // 0x40 leader rights // siege flags: attacker - 0x180 sword over name, defender - 0x80 shield, 0xC0 crown (|leader), 0x1C0 flag (|leader) writeD(_relation); is used for sieges, not for clan wars... so, in my thinking, RelationChanged should control the title but it doesn't. I tried changing the relation, it didn't work :/
×
×
  • Create New...