TreVor
Premium Member-
Posts
311 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by TreVor
-
Help item give acceslvl
TreVor replied to TreVor's question in Request Server Development Help [L2J]
private void showMainPage(final L2PcInstance activeChar) { AdminHelpPage.showHelpPage(activeChar, "charmanage.htm"); } private void setAccountAccessLevel(final String player, final L2PcInstance activeChar, final int banLevel) { Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(false); String stmt = "SELECT account_name FROM characters WHERE char_name = ?"; PreparedStatement statement = con.prepareStatement(stmt); statement.setString(1, player); ResultSet result = statement.executeQuery(); if (result.next()) { String acc_name = result.getString(1); SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2); if (acc_name.length() > 0) { LoginServerThread.getInstance().sendAccessLevel(acc_name, banLevel); sm.addString("Account Access Level for " + player + " set to " + banLevel + "."); } else { sm.addString("Couldn't find player: " + player + "."); } activeChar.sendPacket(sm); sm = null; acc_name = null; } else This is ? and my question how to make to item? -
How to make a item that will give acces lvl 10 to save the database? i based on l2jfrozen?
-
Help Little Problem On Compilation Vipitem
TreVor replied to TreVor's question in Request Server Development Help [L2J]
thanks //locked -
Help Little Problem On Compilation Vipitem
TreVor replied to TreVor's question in Request Server Development Help [L2J]
Hmm i check this -
Help Little Problem On Compilation Vipitem
TreVor posted a question in Request Server Development Help [L2J]
Hello i have little question i add to my workspace a VipItem and i cant complilation this have problem please look on screenshot http://www30.zippyshare.com/v/MDvFyar2/file.html or link to this file http://www30.zippyshare.com/v/qr7UrsBY/file.html Can you look for this? i based on l2jfrozen -
Request Siege Reward In Cwh
TreVor replied to TreVor's question in Request Server Development Help [L2J]
thanks all for help // locked -
Request Siege Reward In Cwh
TreVor replied to TreVor's question in Request Server Development Help [L2J]
its ok on compile hmm how to add 3-4 items to reward ? after this 57, 8000, 2220,5 clan.getLeader().getPlayerInstance(), null); -
Request Siege Reward In Cwh
TreVor replied to TreVor's question in Request Server Development Help [L2J]
public void endSiege() { if (getIsInProgress()) { announceToPlayer("The siege of " + getCastle().getName() + " has finished!", false); LOGGER.info("[SIEGE] The siege of " + getCastle().getName() + " has finished! " + fmt.format(new Date(System.currentTimeMillis()))); if (getCastle().getOwnerId() <= 0) { announceToPlayer("The siege of " + getCastle().getName() + " has ended in a draw.", false); LOGGER.info("[SIEGE] The siege of " + getCastle().getName() + " has ended in a draw. " + fmt.format(new Date(System.currentTimeMillis()))); } this ? -
Hello all , i have question how to make a reward for siege to cwh after end siege . i based on l2jfrozen thanks all for help
-
ok i make a itemhandler and work :) now i have problem how to make a atimer on this item on 1 month auto destroy?
-
I use l2jfrozen last rev and this project already have donator command for increase xp sp adena drop spoil rates I wonder if possible create an item which will give this donator stats when you have it in your inventory example go to a npc a buy "Donator Rune" when you have "Donator Rune" in inventory you gain donator status
-
Hello , i have question how to make a donate item. This item give a character for 1 month premium account exp sp etc x2. Thanks for all help
-
How to fixed this problem ? on l2jfrozen rev 1372 dont work grade penalty dont give skill and restrictions all players can equip a sgrade weapon on 1lvl , config dont work.
-
This is fix code i search this code and dont work i have problem on compilation [javac] if (item.isArmor()) [javac] ^ [javac] symbol: method isArmor() [javac] location: variable item of type L2ItemInstance [javac] 1 error
-
Yes on this code grade penalty dont work ;/ how to fix it ?
-
Hello all dear members how to fix grade penalty on l2jfrozen ? This option doesnt work i have on config ExpertisePenalty=True and dont work players can equip weapon s on 40 lvl /** * Refresh expertise penalty. */ public void refreshExpertisePenalty() { if (!Config.EXPERTISE_PENALTY) return; int intensityW = 0; // Default value int intensityA = 0; // Default value. // Level of grade penalty. for (final L2ItemInstance item : getInventory().getItems()) { // Checks if items equipped if (item != null && item.isEquipped()) { // Gets grade of item final int crystaltype = item.getItem().getCrystalType(); if (item.isWeapon()) { if (crystaltype-getExpertiseIndex()>=intensityW) { intensityW = crystaltype-getExpertiseIndex(); } } else { if (item.isArmor()) { if (crystaltype-getExpertiseIndex()>=intensityA) { intensityA = crystaltype-getExpertiseIndex(); } } } } } int intensity = intensityW + intensityA; if (getExpertisePenalty() != intensity) { int penalties = _masteryPenalty + _masteryWeapPenalty + intensity; if (penalties > 10) // Checks if penalties are out of bounds for skill level on XML { penalties = 10; } _expertisePenalty = intensity; if (penalties > 0) { super.addSkill(SkillTable.getInstance().getInfo(4267,1)); sendSkillList(); } else { super.removeSkill(getKnownSkill(4267)); sendSkillList(); _expertisePenalty = 0; } } } [javac] if (item.isArmor()) [javac] ^ [javac] symbol: method isArmor() [javac] location: variable item of type L2ItemInstance [javac] 1 error
-
Server its good i wait for live server
-
Where is patch ?
-
Code L2Chaotic Zone With Change Maps
TreVor replied to tazerman2's topic in Server Shares & Files [L2J]
This share its good for acis project ? Who replace to acis ? -
please send to me price for this pack with source thanks.
-
Source Lineage || Psd Interlude Pvp Pack/source
TreVor replied to te0x's topic in Server Shares & Files [L2J]
Pack is good for live server?Work ? -
Help Stuck On Fight And Pick Drop
TreVor replied to TreVor's question in Request Server Development Help [L2J]
I have this problem on 346 :/ download o s -
Help Stuck On Fight And Pick Drop
TreVor replied to TreVor's question in Request Server Development Help [L2J]
Hmm new revision is? :) dont free now ;/ -
Hello all member's i have big problem on my server i use rev acis 346 and have problem on attack melee stuck on all attack lag and just click on your nick will delete lagu and this problem on pick drop please check this and help me;/ stuck and lag
-
LF Acis Autoatack Problem Fix And I Pay
TreVor replied to Crytek ™'s question in Request Server Development Help [L2J]
Yes i have this problem on my acis pack stuck on attack lags etc