Jump to content

B1ggBoss

Legendary Member
  • Posts

    494
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by B1ggBoss

  1. ill watch it. alredy saw the other 6 films
  2. Go first post and press edit. You will be able to edit your title
  3. black blocks arent letters lul
  4. thankfully i made a brain back up before watching. quite nice and interesting
  5. access_levels table in database will tell you the current different access levels for gm staff that you have
  6. oh, alredy got 3 pm asking for some codes :)
  7. Contact: PM (Add this in the title: [Dev Service] or your pm will be ignored) Payment: Paypal (€) Im not selling a buch of codes or shares. Just contact me and tell me what you need. Few rules: 1) I dont work with client modding 2) I just make a request per time, dont not ask me for make 2 or more things under the same trade 3) I sell scripts for the server, dont ask me to become your live server developer! As a list that you may like to know: - Event - Engines - Tools - Missing features (always you give me enough data to make them, since i dont play l2 for years) PD: Ill just take 1 work at same time. So if you are interested in any code but im alredy working for another person, you'll have to wait PD2: Ill just work with l2j projects whose svn is public Updated 17/1/2011: Not accepting request till 11/2/2011
  8. tell us serverpack, revision and any of the skills that you tested
  9. Its a great machine, if you can afford it, it will run very well
  10. this -> http://www.maxcheaters.com/forum/index.php?topic=178380.0 to Dev Help [Gr] l2j
  11. locked till move
  12. L2VillageMasterInstance and his childs
  13. If you wanna do anything serious, you will need a dedicated machine. You may start at serverloft (goolge it), cheap machines (but not the best machines ofc. If you server grow you will can rent a bigger server). When you rent your machine, you will gain full access to it, means, you will can control and upload / download files from it. How? The datacenter may give you few programs which whose you can do it. If not, just google your operative system + file manager and you will get a bunch of them To update those files all you have to do is update in your computer and then upload to machine, overwritting the updated files
  14. on teleport back, and using the player instance: player.setTeam(-1);
  15. 1) Create your own bypasses that allow you to open a buylist/multisell window w/o the npc dependency 2) Modify the buylist/multisell buy/sell packets to be able to buy/sell w/o the npc dependecy (be carefully with this) 3) Create a voicedcommandhandler and make it to prompt a html which contains those bypasses you build
  16. why dont you ask for help where you found the code? i posted few weeks ago in the spanish community from where you took it, so ask there and first, learn to apply patches, you did erase all the file routes
  17. 6100
  18. i tried from here: http://svn.l2jserver.com/trunk/MMOCore/ and i could download the workspace project w/o problems
  19. look for com.l2jserver.gameserver.model.actor.appearance.ColorNameManager.java and replace it for: /* * 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 com.l2jserver.gameserver.model.actor.appearance; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Set; import com.l2jserver.L2DatabaseFactory; import javolution.util.FastMap; /** * @author BiggBoss */ public class ColorNameManager { private static FastMap<Integer, String> _pvpColor = new FastMap<Integer, String>(); private static FastMap<Integer, String> _pkColor = new FastMap<Integer, String>(); private ColorNameManager() { } public static ColorNameManager getInstance() { return SingletonHolder._cne; } /** * Will load all pvp count with their respective color at server start up * Also will set up the higher pvp/pk count rank for future purposes */ public void loadValues() { Connection con = null; try { _pvpColor.put(0, "FFFFFF"); _pkColor.put(0, "FFFFFF"); con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement pvpStatement = con.prepareStatement("SELECT * FROM pvp_color_nick WHERE type = ?"); pvpStatement.setString(1, "pvp"); ResultSet pvpRset = pvpStatement.executeQuery(); while(pvpRset.next()) { _pvpColor.put(pvpRset.getInt("pvppk_count"), pvpRset.getString("color")); } pvpRset.close(); pvpStatement.close(); PreparedStatement pkStatement = con.prepareStatement("SELECT * FROM pvp_color_nick WHERE type = ?"); pkStatement.setString(1, "pk"); ResultSet pkRset = pkStatement.executeQuery(); while(pkRset.next()) { _pkColor.put(pkRset.getInt("pvppk_count"), pkRset.getString("color")); } pkRset.close(); pkStatement.close(); } catch(SQLException sqle) { sqle.printStackTrace(); } finally { try { if(con != null) con.close(); } catch(Exception e) { e.printStackTrace(); } } System.out.println("ColorNameManager: Loaded " + _pvpColor.size() + " colors for pvp kills!"); System.out.println("ColorNameManager: Loaded " + _pkColor.size() + " colors for pk kills!"); } /** * Returns a string-representative with the color of the rank * @param kills * @param forPvp * @return a String containing the Hexadecimal color */ public String getColor(int kills, boolean forPvp) { String color = ""; if(forPvp) color = _pvpColor.get(getValueBefore(kills, _pvpColor.keySet())); else color = _pkColor.get(getValueBefore(kills, _pkColor.keySet())); return color; } /** * Will return the value just before the given value contained * in the provided Set of integers * @param value * @param set * @return the value just before the provided one */ private static int getValueBefore(int value, Set<Integer> set) { int counter = 0; for(int i : set) { if(i > counter && value > i) counter = i; } return counter; } static class SingletonHolder { static ColorNameManager _cne = new ColorNameManager(); } }
×
×
  • 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