Jump to content

Intrepid

Legendary Member
  • Posts

    5,521
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Intrepid

  1. i never use shitty packs so dunno you need to try to implement mine
  2. every pack need mysql and an sql server in localhost i prefer easyphp+navicat
  3. NPC buffer is implemented on pack spawn ID=90001 Every gm shop suits with it that suits with l2j
  4. just read a littlebit:D The team is: GoDofAdeN Owner ....
  5. yes its working on it but with the htmls you need some rework because we have other html handling:)But only if you make the html part in java:)
  6. I like to introduce to you our new Dev Team. We work with Gracia part2 based on L2J with many custom stuff and performance cleanup. Also we try to correct the "wholes" in server packs to make it secure from 3rd party programs. We have a lot of implemented skills not only custom stuff like others do. Just give it a try you find every info in the timeline or ask in our forum. The team is: GoDofAdeN Owner Intrepid Core-DP Dev Rizel Core-DP Dev Forum: http://lineage2x.eu/l2jct/index.php SVN: http://my-svn.assembla.com/svn/L2JCTeam/ TIMELINE: http://my-trac.assembla.com/L2JCTeam/timeline Here's our release(revision 120): http://rapidshare.com/files/207376717/L2JCTeam_120.rar Our releases: http://l2info.info/index.php?topic=5.0
  7. read the rules than use the search function topic locked.
  8. ok thanks...soon when i go home today i make other php scripts integrated to the npc
  9. working for me working for dimis...also working for my friends... and WTF i NEVER post non working code...that code needs only a html file thats true i forget that...
  10. Thanks for test i make some test too and i find out whats the error.
  11. well thats for client modding section BUT if the walker and dual box protection work then i love you:D
  12. never use java decompiler use eclipse than insert the file change the imports if you need and thats all spawn the npc ingame and you see
  13. it works on all cronicle i think i work only with the newest chronicle
  14. This share is hmm how can i say basic website php scripts but ingame! Its untested so plz give me some feedback:) Insert the code into net.sf.l2j.gameserver.model.actor.instance and name it as L2StatManagerInstance.java Then make a new npc with the type L2StatManager. Ohh i forgot that :D Credits to me:) Now its show you: top 10pvp top 10pk top 10Level If its working properly i will add more stuff to it /* This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package net.sf.l2j.gameserver.model.actor.instance; import java.sql.PreparedStatement; import java.sql.ResultSet; import javolution.text.TextBuilder; import net.sf.l2j.L2DatabaseFactory; import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; import net.sf.l2j.gameserver.templates.chars.L2NpcTemplate; /** * Stat Manager * * @author Intrepid */ public class L2StatManagerInstance extends L2FolkInstance { public L2StatManagerInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(L2PcInstance player, String command) { if (command.startsWith("TopPvp")) { java.sql.Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT char_name,pvpkills FROM characters where accesslevel = 0 order by pvpkills DESC LIMIT 10;"); ResultSet rset = statement.executeQuery(); while(rset.next()) { NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); TextBuilder sb = new TextBuilder(); sb.append ("Character: "+rset.getString("char_name")+" ("+rset.getInt("pvpkills")+" kills"); html.setHtml(sb.toString()); player.sendPacket(html); } rset.close(); statement.close(); con.close(); } catch (Exception e) { e.printStackTrace(); } } if (command.startsWith("TopPk")) { java.sql.Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT char_name,pkkills FROM characters where accesslevel = 0 order by pkkills DESC LIMIT 10;"); ResultSet rset = statement.executeQuery(); while(rset.next()) { NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); TextBuilder sb = new TextBuilder(); sb.append ("Character: "+rset.getString("char_name")+" ("+rset.getInt("pkkills")+" kills"); html.setHtml(sb.toString()); player.sendPacket(html); } rset.close(); statement.close(); con.close(); } catch (Exception e) { e.printStackTrace(); } } if (command.startsWith("TopLvl")) { java.sql.Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT char_name,level FROM characters where accesslevel = 0 order by level DESC LIMIT 10;"); ResultSet rset = statement.executeQuery(); while(rset.next()) { NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); TextBuilder sb = new TextBuilder(); sb.append ("Character: "+rset.getString("char_name")+" ("+rset.getInt("level")+" level"); html.setHtml(sb.toString()); player.sendPacket(html); } rset.close(); statement.close(); con.close(); } catch (Exception e) { e.printStackTrace(); } } } }
  15. 100mbit?:PWhat you think about mine? Processor:Intel Q6600 Ram: 8GB DDR2 800 Kingstone Internet: 3000Mbit/sec How many player i can handle?:P
  16. hmm the topic is good idea but it depends on your server pc in your server pack in the players net connection so hard to decide.
  17. 1st its in your core.you need a little jva knowledge to implement that. 2nd the skills are in the data/stats/skills folder, the skills are working vice-versa you just need an another skill type
  18. 1st of all im not pissed off i just try to understand the peoples here i share they told me that bug i make a correction and thats all that why not things are booring...everytime when i share something somebody that i dont know i never see shares from him come with this why not things...for a short time ok but when i see that everytime i get so tired of that...the code is working the bug dont work and thats all...
  19. why not why not im getting so tired of that NOBODY I MEAN NOBODY share java things only rizel vago and me you talk that why not bullshit everytime...why dont you share some stuff instead of c/p a part of a code and talk that why not like mine why not like i said bullshit...
×
×
  • Create New...