Jump to content

Fanky

Legendary Member
  • Posts

    7,281
  • Credits

  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by Fanky

  1. Aprreciate! Yes ok i know its better with configs(for 1th i mean)but ok thanks thanks
  2. http://www.maxcheaters.com/forum/index.php?topic=186843.msg1510515#quickreply
  3. The meaning of spam.
  4. Use str +2 con -2 Dex +1 con -1 wit +4 int -4
  5. Even if he is Paok, he will not scamm you. Trusted.
  6. Rain any fresh news? : )
  7. yes i do
  8. όντως η hetzner είναι η πιο κατάλληλη για κάποιον που θέλει σοβαρό σέρβερ, αλλά το κακό είναι ότι πρέπει να πληρώσεις +169 ευρό το πρώτο μήνα για εγκατάσταση. Εγώ σου πρότεινα την tophost.gr επειδή είπες θές ελληνική, τώρα επίσης αρκετα καλή είναι www.worldstream.nl και άμα διαθέτεις χρήματα πήγαινε εδώ www.hetzner.de
  9. So what?The first requiment for open the server is: you must know how to protect Maxtor is clear
  10. we can trade. i ll speak you when i see you online.
  11. δεν είμαι 100% σίγουρος αλλά πρέπει να κάνεις ένα καινούργιο field στο characters.sql με όνομα VIP
  12. FallOut
  13. Other one BR server, what the hell?you cant translate you site to english?we are not all BR's
  14. Hello,since today i stay at home i decided to do 2 simple codes. I took the idea from www.l2seraph.eu This will announce to all instead of admin only,if any account got banned and if any player jailed ### Eclipse Workspace Patch 1.0 #P L2_GameServer_It Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBan.java =================================================================== --- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBan.java (revision 57) +++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminBan.java (working copy) @@ -25,6 +25,7 @@ import java.util.StringTokenizer; import net.sf.l2j.Config; +import net.sf.l2j.gameserver.Announcements; import net.sf.l2j.L2DatabaseFactory; import net.sf.l2j.gameserver.LoginServerThread; import net.sf.l2j.gameserver.communitybbs.Manager.RegionBBSManager; @@ -88,7 +89,8 @@ account_name = plyr.getAccountName(); RegionBBSManager.getInstance().changeCommunityBoard(); plyr.logout(); - activeChar.sendMessage("Account "+account_name+" banned."); + Announcements.getInstance().announceToAll("Account "+account_name+" banned"); + } } else if (command.startsWith("admin_unban")) @@ -125,7 +127,7 @@ if (playerObj != null) { playerObj.setInJail(true, delay); - activeChar.sendMessage("Character "+player+" jailed for "+(delay>0 ? delay+" minutes." : "ever!")); + Announcements.getInstance().announceToAll("Character "+player+" jailed for "+(delay>0 ? delay+" minutes." : "ever!")); } else jailOfflinePlayer(activeChar, player, delay); and this one(i guess you will find it more impressive) will show the server time(I mean,the day,the month,the time) when char logged in. ### Eclipse Workspace Patch 1.0 #P L2_GameServer_It Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 80) +++ java/net/sf/l2j/Config.java (working copy) @@ -1005,6 +1005,9 @@ public static boolean NOBLESSE_ITEM_LEVEL_RESTRICTION; public static boolean NOBLESSE_ITEM_SUBCLASS_RESTRICTION; public static boolean NOBLESSE_ITEM_ENABLED; + + /** Server time*/ + public static boolean SHOW_SERVER_TIME; /** Custom Tittle When new char Login */ public static boolean CHAR_TITLE; @@ -2124,6 +2127,10 @@ /** hero weaps enchant */ ENCHANT_HERO_WEAPONS = Boolean.parseBoolean(L2JModSettings.getProperty("EnchantHeroWeapons", "False")); + /** Server time */ + + SHOW_SERVER_TIME = Boolean.parseBoolean(L2JModSettings.getProperty("ShowServerTime", "True")); + /** Noblesse Custom Item */ NOBLESSE_ITEM_ID = Integer.parseInt(L2JModSettings.getProperty("NoblesseItemId", "6673")); NOBLESSE_ITEM_LEVEL_RESTRICTION = Boolean.parseBoolean(L2JModSettings.getProperty("NoblesseItemLvlRestriction", "True")); Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 84) +++ java/config/l2jmods.properties (working copy) @@ -387,4 +387,7 @@ # Alternative damage for dagger skills. DaggerVSHeavy = 2.50 DaggerVSRobe = 1.80 -DaggerVSLight = 2.00 \ No newline at end of file +DaggerVSLight = 2.00 + +#Show Server Time when char logged in? +ShowServerTime = True \ No newline at end of file Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java =================================================================== --- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java (revision 84) +++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java (working copy) @@ -22,10 +22,12 @@ import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.logging.Logger; +import java.util.Date; import net.sf.l2j.Base64; import net.sf.l2j.Config; import net.sf.l2j.L2DatabaseFactory; +import net.sf.l2j.gameserver.GameTimeController; import net.sf.l2j.gameserver.Announcements; import net.sf.l2j.gameserver.GmListTable; import net.sf.l2j.gameserver.LoginServerThread; @@ -256,6 +258,18 @@ activeChar.sendPacket(ni); } + if (Config.SHOW_SERVER_TIME) + { + int t = GameTimeController.getInstance().getGameTime(); + String h = "" + (t / 60) % 24; + String m; + if (t % 60 < 10) + m = "0" + t % 60; + else + m = "" + t % 60; + activeChar.sendMessage("SVR time is " + (new Date(System.currentTimeMillis()))); + } + if (Config.ANNOUNCE_HERO_LOGIN) { if (activeChar.isHero()) Hope you like it all, >.>
  15. Ρε φίλε δεν είναι ή εταιρεία είναι το pc που θές και πόσα λευτά είσαι δεαθετιμένος να δώσεις. www.tophost.gr έχει και support(ειναι ελληνική),μπορεις να συνομιλίσεις με Έλληνες για να σου δώσουνε πληροφορίες κτλπα.
  16. bump add me at msn stalker_wootoofoO@hotmail.com
  17. Yes it is Thanks you.
  18. log msn i have 10 psc for 8 paypal.
  19. Server population?~!
  20. pre-conf pack http://www.maxcheaters.com/forum/index.php?topic=186704.0
  21. /respect Nothing else.
×
×
  • Create New...