Jump to content

povis111

Members
  • Posts

    143
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About povis111

Contact Methods

  • Skype
    povilas.b2

Profile Information

  • Current Mood
    Thoughtless
  • Gender
    Male
  • Country
    Lithuania
  • Location
    com.server.gameserver.model;
  • Interests
    oh you know! programming ang stuff...

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

povis111's Achievements

  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
×
×
  • Create New...