Jump to content

Ombladon1991

Members
  • Posts

    8
  • Credits

  • Joined

  • Last visited

    Never
  • Feedback

    0%

About Ombladon1991

Contact Methods

  • Yahoo
    ombladon_1991_arad

Profile Information

  • Gender
    Male
  • Location
    Romania
  • Interests
    The Darkness

Ombladon1991's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. small question for this... is it protected against l2phx ?? (the buy with ++ exploit)
  2. lol mee 2 :D ;D im registered for a long time and i dont have posts lol ::)
  3. This mod implements the ".online" command written by me for interlude/hellbound and upgraded to gracia part II. What it does: when a player types .online in allchat the mod displays a systemmsg with the current online players. Download link: HERE cheers, Ombladon
  4. nice mod... but // Decompiled by DJ v3.10.10.93 Copyright 2007 Atanas Neshkov Date: 5/10/2008 2:12:00 μμ ::) ::) ::)
  5. l2inc is the best l2j server ever... why? the admin is also a developer on L2J project... so its heavily modded and secured...
  6. well... i first posted this mod on l2jserver.... it probably was implemented into l2jfree too :P
  7. sup everyone, im Denis and im from romania. i curently know: PHP, L2J development. and im 17 y old ;D ;D ;D
  8. lol just put that file in : net.sf.l2j.gameserver.handler.voicedcommandhandlers and register it in net.sf.l2j.gameserver.GameServer.java using this code: Index: D:/L2J/workspace/Hellbound/java/net/sf/l2j/gameserver/GameServer.java =================================================================== --- D:/L2J/workspace/Hellbound/java/net/sf/l2j/gameserver/GameServer.java (revision 2048) +++ D:/L2J/workspace/Hellbound/java/net/sf/l2j/gameserver/GameServer.java (working copy) @@ -204,6 +204,7 @@ import net.sf.l2j.gameserver.handler.usercommandhandlers.PartyInfo; import net.sf.l2j.gameserver.handler.usercommandhandlers.Time; import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Banking; +import net.sf.l2j.gameserver.handler.voicedcommandhandlers.OnlinePlayers; import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Wedding; import net.sf.l2j.gameserver.handler.voicedcommandhandlers.stats; import net.sf.l2j.gameserver.idfactory.IdFactory; @@ -631,6 +632,7 @@ _voicedCommandHandler = VoicedCommandHandler.getInstance(); _voicedCommandHandler.registerVoicedCommandHandler(new stats()); + _voicedCommandHandler.registerVoicedCommandHandler(new OnlinePlayers()); if(Config.L2JMOD_ALLOW_WEDDING) _voicedCommandHandler.registerVoicedCommandHandler(new Wedding());
  9. ok i wrote a little voice command that shows the online players to the one that calls it Curent ver: Kamael:Hellbound or ct1.5 :P package net.sf.l2j.gameserver.handler.voicedcommandhandlers; import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.SystemMessageId; import net.sf.l2j.gameserver.serverpackets.SystemMessage; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; /** * * @author Ombladon * * this class... * shows the amount of online players to any1 who calls it. */ public class OnlinePlayers implements IVoicedCommandHandler { private static final String[] VOICED_COMMANDS = {"online"}; public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.startsWith("online")) { showPlayers(activeChar, target); } return true; } public String[] getVoicedCommandList() { return VOICED_COMMANDS; } public void showPlayers (L2PcInstance player, String target) { SystemMessage sm = new SystemMessage(SystemMessageId.S1); sm = new SystemMessage(SystemMessageId.S1); sm.addString("======<Online Players>======"); player.sendPacket(sm); sm = new SystemMessage(SystemMessageId.S1); sm.addString("There are "+L2World.getInstance().getAllPlayers().size()+" players on."); player.sendPacket(sm); sm = new SystemMessage(SystemMessageId.S1); sm.addString("======================="); player.sendPacket(sm); } } Cheerz, ¤!¦•[†OmbladoN†]•¦!¤
×
×
  • Create New...