adenaman
Members-
Posts
369 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by adenaman
-
?
-
Lineage II Paradox C# Development First Look :D:D
adenaman replied to mavmdox's topic in Server Development Discussion [L2J]
Gj from programer point of view but why change java to c#? i dont think you will find any big performance advantage (correct me if im wrong), also c# is not rly good working on linux. I find it a lot of work for not that big result diference Since you are reworking the l2 files why not use some other languages (c / c++ / ...) ? -
Source aCis - another CRAPPY interlude server
adenaman replied to Tryskell's topic in Server Shares & Files [L2J]
L2j dont have any problem with their forks. But i think you would not enjoy that some1 buy "your" pack and resell it after for 1/2 price Noone want or care about his additions, acis pack is the main target. You can get some buggy mods or events everywhere but, where you gonna find working retail features? -
that should throw IndexOutOfArrayExcetion that can be catch in any method of the stack and ignored (that is kinda useles) try to check your code and try to use logs to find where is the problem
-
[Solved] Error starting gameserver
adenaman replied to razielle's question in Request Server Development Help [L2J]
port already in use? try to change port -
Do you have free / max ram? if yes try to play with these values: -Xms1024m -Xmx2048m
-
well just tell me what difference does it have from olys? btw you have a funny face
-
i found the same idea somewhere else, oh yes l2's olympiad system
-
Android - Game Diego [Opinions - Ideas]
adenaman replied to Matim's topic in Mobile Games General Discussion
btw matim, the x8 issue is because you are using AndEngine GLES2, that needs android 2.2+ and (some) x8 ar 2.1 by default, if i have time, i will download your game and try it on my x8 4.0 Btw, nice game -
Server Disconnected when login into it...
adenaman replied to Destorion's question in Request Server Development Help [L2J]
the console error is the important one, try to show use the whole error message -
Server Disconnected when login into it...
adenaman replied to Destorion's question in Request Server Development Help [L2J]
what msg do you get on the gameserver / loginserver console? -
Server Disconnected when login into it...
adenaman replied to Destorion's question in Request Server Development Help [L2J]
whats the real error? you are disconnected because of that error, but we need to know it, if you want us to try to help you @Tryskell, 30° 15° here :) -
[Request]Gracia Final NPC's
adenaman replied to InTheEndॐ's question in Request Server Development Help [L2J]
then i will answer: SEARCH IN GOOGLE srsly, why would anyone spend his time searching things for you? BTW, nice caps lock -
Im kinda lost here, what you want is that if some1 start to spam at any chat, forbid him to talk for x time? and you want to change that time? then your problem is in if (!FloodProtector.getInstance().tryPerformAction(activeChar.getObjectId(), FloodProtector.PROTECTED_HEROVOICE)) thats what determinate if he can or cant talk and inside it (in the implementation) there must be or some kind of Map that save who and when said anything, or (most probably) a Runneable.
-
somewhere there should be created new runneable seek for ThreadPoolManager.getInstance().scheduleGeneral(new Something () , delay);
-
[Help] Lineage 2
adenaman replied to Sϵᴻ℃iᵀiVϵ X™'s question in Request Server Development Help [L2J]
ask google about mysql, jdk, eclipse, subversion, navicat, ... -
how to? Resctrict Items in area pvp
adenaman replied to AlexCardyz's question in Request Server Development Help [L2J]
- OnEnter() -> unequip the items - in the method to equip an item check if its in your zone and make a return there find some mods of olympiad restriction items and it must be nearly the same -
about flag update you can try to log getPvpFlagLasts() and pvpStatus
-
when you say pvp mod you mean pvp stance or some pvp event? anyway this is the important code section of l2PcInstance: public void onKillUpdatePvPKarma(L2Character target) { if (target == null) return; if (!(target instanceof L2Playable)) return; L2PcInstance targetPlayer = target.getActingPlayer(); if (targetPlayer == null) return; // Target player is null if (targetPlayer == this) return; // Target player is self if (isCursedWeaponEquipped()) { CursedWeaponsManager.getInstance().increaseKills(_cursedWeaponEquippedId); // Custom message for time left // CursedWeapon cw = CursedWeaponsManager.getInstance().getCursedWeapon(_cursedWeaponEquipedId); // SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.THERE_IS_S1_HOUR_AND_S2_MINUTE_LEFT_OF_THE_FIXED_USAGE_TIME); // int timeLeftInHours = (int)(((cw.getTimeLeft()/60000)/60)); // msg.addItemName(_cursedWeaponEquipedId); // msg.addNumber(timeLeftInHours); // sendPacket(msg); return; } // If in duel and you kill (only can kill l2summon), do nothing if (isInDuel() && targetPlayer.isInDuel()) return; // If in Arena, do nothing if (isInsideZone(ZONE_PVP) || targetPlayer.isInsideZone(ZONE_PVP)) return; // Check if it's pvp if ( ( checkIfPvP(target) && // Can pvp and targetPlayer.getPvpFlag() != 0 // Target player has pvp flag set ) || // or ( isInsideZone(ZONE_PVP) && // Player is inside pvp zone and targetPlayer.isInsideZone(ZONE_PVP) // Target player is inside pvp zone ) ) increasePvpKills(target); else // Target player doesn't have pvp flag set { // check about wars if (targetPlayer.getClan() != null && getClan() != null && getClan().isAtWarWith(targetPlayer.getClanId()) && targetPlayer.getClan().isAtWarWith(getClanId()) && targetPlayer.getPledgeType() != L2Clan.SUBUNIT_ACADEMY && getPledgeType() != L2Clan.SUBUNIT_ACADEMY) { // 'Both way war' -> 'PvP Kill' increasePvpKills(target); return; } // 'No war' or 'One way war' -> 'Normal PK' if (targetPlayer.getKarma() > 0) // Target player has karma { if (Config.KARMA_AWARD_PK_KILL) increasePvpKills(target); } else if (targetPlayer.getPvpFlag() == 0) // Target player doesn't have karma { increasePkKillsAndKarma(target); //Unequip adventurer items checkItemRestriction(); } } if your problem is with pvp flag, then check that your code is same than this (or maybe is some pvp flag update problem) else if its the event, just add some check like duel's one else i didnt get the question :s
-
in pk method of l2pcinstance check if they are in event and just return, that should fix it
-
they are nearly the same, ubuntu (long time ago) was common user oriented, but nowdays they are the same
-
debian has JVM, so yes it will
-
datapack /game/data/scripts/instances/SeedOfDestruction/Stage1.java: ... private static final int MIN_PLAYERS = 36; private static final int MAX_PLAYERS = 45; and protected void setInstanceTimeRestrictions(SOD1World world)
-
Problem with a bug.
adenaman replied to Joκκєrino's question in Request Server Development Help [L2J]
you set the colors, but you will not see them if you dont send some update packet to the client, that why the client still see the old colors, usualy its: sendPacket(new ShortBuffStatusUpdate(0, 0, 0)); type for example but that function looks like it does send the packet inside it, check it, and if its ot doing it, the find what packet you need to send and send it
