-
Posts
252 -
Joined
-
Last visited
-
Days Won
6 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by << Masterio >>
-
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
updated to v3.0.3 -
[Share] Rank PvP System 3.6.2 [IL]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
updated to v3.0.3 -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
In next revision i will fox ALT+T and Turn off options. (If i find some time:D) -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
Updated to v3.0.2. 1. Fixed some connections problems. 2. About Karma, problem exists when Killer kill(pk) Victim in restricted zone. (I think). 3. Try to describe situation when the problem happened: - Place (you can use /loc i game), zone_id (if possible). - Flag status (killer is flagged, have karma, victim is flagged, have karma). - Attach config file. It will help me to find bug. ;) -
[Share] Rank PvP System 3.6.2 [IL]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
Updated to 3.0.2. -
funny thing's in l2 that happened to U
<< Masterio >> replied to Naeledra88's topic in General Discussion [English]
1. When i started play in lineage I used no grade weapon as SH into 65lvl without shots:D it was on Existence x4 :D 2. Few months ago when i spoiled ews in FoG i do PvP with some guys (i was not alone, but with friend) some guy killed me and did PK, then my friend killed him and this guy drop zaken erring. Of course my friend picked it up:D 3. I killed 3 party with 5-7 ppl in Stakato Nest (they was on high level like me:D, but i was OL) then GM changed OL stats and all f... ups. Server closed:D -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
And from where i should know that >? if data base structure is the same it should work. -
[Help] How to get item pDef from java?
<< Masterio >> posted a question in Request Server Development Help [L2J]
Hi, i have a question about get value of pDef of armor/ pAtk for weapon from java side. I mean I want obtain value of pdef of some armor so i use this: L2ItemInstance item = _activeChar.getInventory().getItemByObjectId(itemObjectId); item.getWeaponItem().getStatFunc(item, _activeChar). ... i dont know what next (now i check all possible fields / methods ) but iam not sure if it is good method. Who know correct method for obtains this values? all values are inside xml files in nodes, but where it is store in java? sry for eng. thx. -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
its work, maybe you have not correctly implemented path? -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
yes,i think i fixed it in 3.0.1 version. P.S. just remove my if statement from: public void increasePkKillsAndKarma(L2Character target) method, i forgot remove it in 3.0.0 sorry for my miss ;) correct method should looks like this (its oryginal code): public void increasePkKillsAndKarma(L2Character target) { int baseKarma = Config.KARMA_MIN_KARMA; int newKarma = baseKarma; int karmaLimit = Config.KARMA_MAX_KARMA; int pkLVL = getLevel(); int pkPKCount = getPkKills(); int targLVL = target.getLevel(); int lvlDiffMulti = 0; int pkCountMulti = 0; // Check if the attacker has a PK counter greater than 0 if (pkPKCount > 0) pkCountMulti = pkPKCount / 2; else pkCountMulti = 1; if (pkCountMulti < 1) pkCountMulti = 1; // Calculate the level difference Multiplier between attacker and killed L2PcInstance if (pkLVL > targLVL) lvlDiffMulti = pkLVL / targLVL; else lvlDiffMulti = 1; if (lvlDiffMulti < 1) lvlDiffMulti = 1; // Calculate the new Karma of the attacker : newKarma = baseKarma*pkCountMulti*lvlDiffMulti newKarma *= pkCountMulti; newKarma *= lvlDiffMulti; // Make sure newKarma is less than karmaLimit and higher than baseKarma if (newKarma < baseKarma) newKarma = baseKarma; if (newKarma > karmaLimit) newKarma = karmaLimit; // Fix to prevent overflow (=> karma has a max value of 2 147 483 647) if (getKarma() > (Integer.MAX_VALUE - newKarma)) newKarma = Integer.MAX_VALUE - getKarma(); // Add karma to attacker and increase its PK counter setKarma(getKarma() + newKarma); setPkKills(getPkKills() + 1); // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); sendPacket(new ExBrExtraUserInfo(this)); } -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
java/com/l2jserver/gameserver/handler/VoicedCommandHandler.java already in pack, rest in CustomPvpSystem.diff -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
1. I understand only Polish or english. 2. Patch not compatibile with UNSTABLE H5 l2j, because they changes Zone identyfications. -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
I don't know what exactly do 'event' variable but with this convention code should looks like this: if(!CustomPvpSystemConfig.CUSTOM_PVP_LEGAL_COUNTER_ALTT_ENABLED && target instanceof L2PcInstance && AntiFeedManager.getInstance().check(this, target) || !CustomPvpSystemConfig.CUSTOM_PVP_LEGAL_COUNTER_ALTT_ENABLED && event) { // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); sendPacket(new ExBrExtraUserInfo(this)); } -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
little fix for pk counter, if alt+T is enabled. v3.0.1 released. -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
2.9.9 try 3.0.0, and if you have other version than l2j server H5 stable try fit it manually. -
[Share] Rank PvP System 3.6.2 [IL]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
updated to 3.0.0 ;) -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
Version 3.0.0 released. -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
update 2.9.9 released. -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
If i find bugs or add new features i will update it. about images for now looks good. -
[Question] To java developers
<< Masterio >> posted a question in Request Server Development Help [L2J]
Hi, i have a question about get value of pDef of armor/ pAtk for weapon from java side. I mean I want obtain value of pdef of some armor so i use this: L2ItemInstance item = _activeChar.getInventory().getItemByObjectId(itemObjectId); item.getWeaponItem().getEffects(item, _activeChar). ... i dont know what next (now i check all possible fields / methods ) but iam not sure if it is good method. Who know correct method for obtains this values? all values are inside xml files in nodes, but where it is store in java? sry for eng. thx. -
[Question] To java developers
<< Masterio >> posted a question in Request Server Development Help [L2J]
Hi, i have a question about get value of pDef of armor/ pAtk for weapon from java side. I mean I want obtain value of pdef of some armor so i use this: L2ItemInstance item = _activeChar.getInventory().getItemByObjectId(itemObjectId); item.getWeaponItem().getEffects(item, _activeChar). ... i dont know what next (now i check all possible fields / methods ) but iam not sure if it is good method. Who know correct method for obtains this values? all values are inside xml files in nodes, but where it is store in java? sry for eng. thx. -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
no problems, its information for me only ;) i can back to this code part, do it more clear, or check all possibilities, or add more restrictions its all:D -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
parameter names are not important, from java code only place of parameter is important, paramenter names are used only inside the procedure. So its good. -
Code Rank Pvp System 3.8.9 [Il - H5]
<< Masterio >> replied to << Masterio >>'s topic in Server Shares & Files [L2J]
Ok i checked it, i have no errors, maybe i can't restore the situation :)
