-
Posts
269 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Howl3r
-
Well you don't need to always check like this: if (player.getAllowTrade == true). If you wanna see if the getAllowTrade is false then do this if (!player.getAllowTrade) else if you wanna be true do this if (player.getAllowTrade) Just my opinion :)
-
[help]Ddos attack how can i block it?
Howl3r replied to jossoo's question in Request Server Development Help [L2J]
A ddos attack from any port is open on a modem.. A ddos don't attack on your l2 server but your internet connection it's eating resources because your internet is trying to respond to thoose packets but since they are unknown and MANY of them you will have delays many many delays that's the cause of lag. -
[help]Ddos attack how can i block it?
Howl3r replied to jossoo's question in Request Server Development Help [L2J]
It won't work.. an ip is easy to find. -
[help]Ddos attack how can i block it?
Howl3r replied to jossoo's question in Request Server Development Help [L2J]
DDOS are unblocked you can't block a ddos attack. how a ddos works? There is a number of computers that are connected to a main computer by a trojan or something else. This network also called Botnet when the owner of the trojan wants to do a ddos he put every single computer on his botnet to send junk to their target so a ddos can't be blocked because there are many ip to be blocked and you can't Why not? there is botnet with millions computer in it. http://en.wikipedia.org/wiki/Botnet -
This one is better than stefoulis (no offence stef :)) Keep the good job up :)
-
I was thinking l2jserver already fix this. You just need a license to allow you get a clan airship..
-
Why do you need a whole table just to get the max online users? Why just using plain text on it. Like GetOnlinePlayers example: 20 and set it like 20/500 (max online: 500). No offence just saying :) because too many database connection first will slow the database + will slow the website. Oups now see it old topic :S
-
If you don't know how then don't do it. It's simple THE same way.
-
[Discussion] Regarding my shares.
Howl3r replied to Xanderॐ's topic in Server Development Discussion [L2J]
I agree with you No matter how much the server features i like. If the staff and community is lame and no socialable then i rather to leave the server. -
[Discussion] Regarding my shares.
Howl3r replied to Xanderॐ's topic in Server Development Discussion [L2J]
Chill out guys! O.o you ruinning the topic. -
[Discussion] Regarding my shares.
Howl3r replied to Xanderॐ's topic in Server Development Discussion [L2J]
about the ai the only thing it can do is: attack mob, attack player, pick up, wear item, to village, Follow, Use Skill. Well we will have sometime until this AI will have full actions like players (pt etc) -
[Discussion] Regarding my shares.
Howl3r replied to Xanderॐ's topic in Server Development Discussion [L2J]
it can be compined to any chronicle you like. Just the packages must be com.l2jserver to work. What do you think it should be free for all or karma/vip UPDATE Some Screenshots of some of our own feature made. -
[Discussion] Regarding my shares.
Howl3r replied to Xanderॐ's topic in Server Development Discussion [L2J]
You can also always have up-to-date your L2j Source's because if the shares are going in the core itself the patch from svn will mess things up. -
[Share][Completed]Command to display all commands.
Howl3r replied to Xanderॐ's topic in Server Shares & Files [L2J]
Ohh Sooo cool! :) -
[Help] Action Shift for L2PcInstance
Howl3r replied to Howl3r's question in Request Server Development Help [L2J]
Compile fine but don't work ither. i search for restriction but i didn't find anything. -
[Help] Action Shift for L2PcInstance
Howl3r replied to Howl3r's question in Request Server Development Help [L2J]
I put a test message to say when i use shift and player i change the InstanceType to L2Npc and i targeted a npc and the test message appear. But when is L2PcInstance only gm can do it. -
[Help] Action Shift for L2PcInstance
Howl3r replied to Howl3r's question in Request Server Development Help [L2J]
You didn't understand i try it in the L2PcInstanceActionShift but only the gm part was working. public boolean action(L2PcInstance activeChar, L2Object target, boolean interact) { if (activeChar.isGM()) { // Check if the gm already target this l2pcinstance if (activeChar.getTarget() != target) { // Set the target of the L2PcInstance activeChar activeChar.setTarget(target); // Send a Server->Client packet MyTargetSelected to the L2PcInstance activeChar activeChar.sendPacket(new MyTargetSelected(target.getObjectId(), 0)); } // Send a Server->Client packet ValidateLocation to correct the L2PcInstance position and heading on the client if (activeChar != target) activeChar.sendPacket(new ValidateLocation((L2Character)target)); IAdminCommandHandler ach = AdminCommandHandler.getInstance().getAdminCommandHandler("admin_character_info"); if (ach != null) ach.useAdminCommand("admin_character_info " + target.getName(), activeChar); } else { activeChar.setTarget(target); activeChar.sendPacket(new MyTargetSelected(target.getObjectId(), 0)); String htmFile = "data/html/mods/Faction/userinfo.htm"; String htmContent = HtmCache.getInstance().getHtm(htmFile); if (htmContent != null) { NpcHtmlMessage showHtml = new NpcHtmlMessage(1); showHtml.setHtml(htmContent); showHtml.replace("%name%", target.getName()); if (((L2PcInstance)target).isTeam1Member()) showHtml.replace("%faction%", "<font color=\""+Config.FACTION_TEAM1_NAME_COLOR+"\">"+Config.FACTION_TEAM1_NAME+"</font>"); else if (((L2PcInstance)target).isTeam2Member()) showHtml.replace("%faction%", "<font color=\""+Config.FACTION_TEAM2_NAME_COLOR+"\">"+Config.FACTION_TEAM2_NAME+"</font>"); else showHtml.replace("%faction%", "None"); showHtml.replace("%spree%", Integer.toString(((L2PcInstance)target).getTopKillRow())); showHtml.replace("%facpot%", Integer.toString(((L2PcInstance)target).getFactionPoints())); showHtml.replace("%pvp%", Integer.toString(((L2PcInstance)target).getPvpKills())); activeChar.sendPacket(showHtml); } } return true; } Still not working. -
[Help] Action Shift for L2PcInstance
Howl3r posted a question in Request Server Development Help [L2J]
Well i am trying to make an action Shift to get stats from Characters for non Gm Char. What i mean a normal char press shift and click on other or himself but is not working (with gm is working). This is my Code: /** * */ package handlers.actionhandlers; import com.l2jserver.gameserver.handler.IActionHandler; import com.l2jserver.gameserver.model.L2Object; import com.l2jserver.gameserver.model.L2Object.InstanceType; import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.network.serverpackets.MyTargetSelected; import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jserver.gameserver.network.serverpackets.StatusUpdate; import com.l2jserver.gameserver.skills.BaseStats; import com.l2jserver.gameserver.skills.Stats; import com.l2jserver.util.StringUtil; /** * @author Howler * */ public class L2FactionActionShift implements IActionHandler { @Override public boolean action(L2PcInstance activeChar, L2Object target, boolean interact) { // Set the target of the L2PcInstance activeChar activeChar.setTarget(target); // Send a Server->Client packet MyTargetSelected to the L2PcInstance activeChar // The activeChar.getLevel() - getLevel() permit to display the correct color in the select window MyTargetSelected my = new MyTargetSelected(target.getObjectId(), 0); activeChar.sendPacket(my); L2PcInstance target = (L2PcInstance) activeChar.getTarget(); String htmFile = "data/html/mods/Faction/userinfo.htm"; String htmContent = HtmCache.getInstance().getHtm(htmFile); if (htmContent != null) { NpcHtmlMessage showHtml = new NpcHtmlMessage(1); showHtml.setHtml(htmContent); showHtml.replace("%name%", target.getName()); if (target.isTeam1Member()) showHtml.replace("%faction%", "<font color=\""+Config.FACTION_TEAM1_NAME_COLOR+"\">"+Config.FACTION_TEAM1_NAME+"</font>"); else if (target.isTeam2Member()) showHtml.replace("%faction%", "<font color=\""+Config.FACTION_TEAM2_NAME_COLOR+"\">"+Config.FACTION_TEAM2_NAME+"</font>"); else showHtml.replace("%faction%", "None"); showHtml.replace("%spree%", Integer.toString(target.getTopKillRow())); showHtml.replace("%facpot%", Integer.toString(target.getFactionPoints())); showHtml.replace("%pvp%", Integer.toString(target.getPvpKills())); activeChar.sendPacket(showHtml); } return true; } /* (non-Javadoc) * @see com.l2jserver.gameserver.handler.IActionHandler#getInstanceType() */ @Override public InstanceType getInstanceType() { return InstanceType.L2Playable; } } -
As you see many "servers" their owner cannot put the code at the right place. Ither they are boring to do it manually because is a big code to apply manually. So there will be no much server with it. at 20 server's the 3 will have it.
-
[Share] Tanker classes with bow fixed !
Howl3r replied to Tw3ty's topic in Server Shares & Files [L2J]
a little problem with the code, i am tank i am joining olympiad put a bow win the match or loose it and then i am always with a bow. -
[Share] KvN Town Protection (Java + datapack)
Howl3r replied to Howl3r's topic in Server Shares & Files [L2J]
Are you blind? This code is restrict a player from a function example koofs cannot enter the town of noobs or noobs cannot enter the town of koofs. -
poli aplo den eiparxi site (toulaxiston template) mesa sto diskw.
-
Ginete na to eksigisis kalitera dioti den katalava ti prospathis na kanis?
-
[Discussion]Se poion server pezete twra???
Howl3r replied to Futzi's topic in General Discussion [Greek]
Raidfight ston x4 edw kai 1,5 xrono :D -
nai peripou tosa, skepsouto aksizi to 150 euro tou setup ton proto mina tha swseis lefta tous allous mines... opote.. A kai stin http://www.hetzner.de/ theleis mastercard i visa den vlepw pouthena na exei kai paypal...
