Heroic9614
-
Posts
38 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by Heroic9614
-
-
Hi Everyvone!
I want loading ClanWar clan list in server
the task is that if someone is in a clan war with the other, then they do not get PK points.
but I don't know how to check it.
public class ClanWar { private final static Logger LOG = LoggerFactory.getLogger(ClanWar.class); private static ClanWar _instance; private Map<Integer, Integer> clanwars = new FastMap<Integer, Integer>().shared(); public static ClanWar getInstance() { if (_instance == null) { _instance = new ClanWar(); } return _instance; } private ClanWar() { clanwars = new FastMap<>(); loadData(); } private void loadData() { Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(); final PreparedStatement statement = con.prepareStatement("select clan1,clan2 FROM clan_wars"); final ResultSet rset = statement.executeQuery(); while (rset.next()) { int clan1 = rset.getInt("clan1"); int clan2 = rset.getInt("clan2"); clanwars.put(clan1, clan2); } LOG.info("ClanWars: Loaded: " + clanwars.size()); DatabaseUtils.close(rset); DatabaseUtils.close(statement); } catch (final Exception e) { LOG.error("Clanwars: error loaded", e); } finally { CloseUtil.close(con); } } public int getClanWar(final int clan1, final int clan2) { return 0; } }
-
what this st.countToken() ?
-
Okay but i copy - paste and editing armorgrp + itemname
and if i give items crash client..
2017.7.27 07:29:41 OS : Windows7(32) 6.1 (Build: 7601) CPU : GenuineIntel Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz @ 2595 MHz 4095MB RAM Video : Intel(R) HD Graphics 3000 (4229) PosCode : LS2(273) 0:0:0 4/1 [397] The system file may have been damaged. After ending the game, please check the file using the Lineage II auto update. History: FMallocWindows::Malloc <- Size 1414922800 FArray <- FMallocWindows::Realloc <- 00000000 1414922800 FArray <- FArray::Realloc <- 1787478086*8 <- FUnrealfileSummary<< <- LoadSummary <- ULinkerLoad::Load <- ULinkerLoad::ULinkerLoad <- UObject::GetPackageLinker <- UObject::StaticLoadObject <- (Engine.Texture BranchAsuki4.accessary_sign_agathion_april_sep_i00 NULL) <- NWndUtil::LoadTexture <- NCObject::LoadTexture <- NCItemInfo::LoadIconTex <- NCItemWnd::AddItem <- UItemWindowHandle::execAddItem <- UObject::ProcessEvent <- (InventoryWnd Transient.InventoryWnd, Function Interface.InventoryWnd.OnEvent) <- XMLUIManager::ExecuteUIEvent <- ID:2600, param:classID=51173 name=Agathion Seal Bracelet - Phasian iconName=BranchAsuki4.accessary_sign_agathion_april_sep_i00 iconPanel=BranchAsuki4.ensoul_panel description=Bracelet that summons Phasian. itemType=1 serverID=268482139 itemNum=1 slotBitType=2097152 enchanted=0 blessed=0 damaged=0 equipped=0 price=0 reserved=-1 reserved64=0 defaultPrice=0 refineryOp1=0 refineryOp2=0 currentDurability=0 currentPeriod=0 enchantOption1=0 enchantOption2=0 enchantOption3=0 relatedQuestCnt=0 weight=150 materialType=4 durability=-1 crystalType=0 armorType=0 avoidModify=0 physicalDefense=0 magicalDefense=0 mpBonus=0 ItemSubType=1 AttackAttributeType=-2 AttackAttributeValue=0 DefenseAttributeValueFire=0 DefenseAttributeValueWater=0 DefenseAttributeValueWind=0 DefenseAttributeValueEarth=0 DefenseAttributeValueHoly=0 DefenseAttributeValueUnholy=0 IsBRPremium=0 BR_CurrentEnergy=-1 BR_MaxEnergy=-1 Order=90 <- NConsoleWnd::AddInventoryItem <- ItemListPacket <- UNetworkHandler::Tick <- Function Name=ItemListPacket <- UGameEngine::Tick <- UpdateWorld <- MainLoop
Tips?
-
i have herocloak.u and how to add system folder?
simpe copy paste or how?
-
Good Day
How to add custom .u file ?
-
-
this is problem... :/
[21.07.17 14:11:43:018] WARN model.Player: Direct access to bypass: npc_268436770_learn / Player: Test [21.07.17 14:11:43:550] WARN model.Player: Direct access to bypass: npc_268436770_learn / Player: Test [21.07.17 14:11:43:730] WARN model.Player: Direct access to bypass: npc_268436770_learn / Player: Test [21.07.17 14:11:43:895] WARN model.Player: Direct access to bypass: npc_268436770_learn / Player: Test [21.07.17 14:11:44:081] WARN model.Player: Direct access to bypass: npc_268436770_learn / Player: Test [21.07.17 14:11:44:248] WARN model.Player: Direct access to bypass: npc_268436770_learn / Player: Test [21.07.17 14:11:44:433] WARN model.Player: Direct access to bypass: npc_268436770_learn / Player: Test [21.07.17 14:11:44:574] WARN model.Player: Direct access to bypass: npc_268436770_learn / Player: Test
-
you can write simpel example ?
i need only
1 button
if i click button write chat , Good Job
-
I have code, tips that why not working?
i click tiara and nothing...
Trailer.java
package l2ro.gameserver.model.instances; import l2ro.gameserver.model.Player; import l2ro.gameserver.templates.npc.NpcTemplate; public final class CustomTrainer extends NpcInstance { private static final long serialVersionUID = 5938813598479742068L; public CustomTrainer(int objectId, NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(Player player, String command) { if (!canBypassCheck(player, this)) { return; } if (command.equalsIgnoreCase("learn")) { player.sendMessage("Your gender has been changed !!"); } else { super.onBypassFeedback(player, command); } } @Override public boolean isNpc() { return true; } }
NPC xml
<npc id="53000" template_id="37006" name="Skill Trainer" title="Skill Trainer"> <set name="aggroRange" value="0" /> <set name="ai_type" value="CharacterAI" /> <set name="baseAtkRange" value="40" /> <set name="baseCON" value="43" /> <set name="baseCritRate" value="40" /> <set name="baseDEX" value="30" /> <set name="baseHpMax" value="2444.468" /> <set name="baseHpRate" value="1" /> <set name="baseHpReg" value="7.5" /> <set name="baseINT" value="21" /> <set name="baseMAtk" value="780" /> <set name="baseMAtkSpd" value="500" /> <set name="baseMDef" value="382" /> <set name="baseMEN" value="20" /> <set name="baseMpMax" value="1345.8" /> <set name="baseMpReg" value="2.7" /> <set name="basePAtk" value="1303" /> <set name="basePAtkSpd" value="253" /> <set name="basePDef" value="471" /> <set name="baseRunSpd" value="120" /> <set name="baseSTR" value="40" /> <set name="baseShldDef" value="0" /> <set name="baseShldRate" value="0" /> <set name="baseWIT" value="20" /> <set name="baseWalkSpd" value="80" /> <set name="collision_height" value="60.00" /> <set name="collision_radius" value="20.0" /> <set name="level" value="70" /> <set name="rewardExp" value="0" /> <set name="rewardRp" value="0" /> <set name="rewardSp" value="0" /> <set name="shots" value="NONE" /> <set name="texture" value="" /> <set name="type" value="CustomTrainer" /> <!-- <set name="type" value="Npc" /> --> <attributes> <defence attribute="fire" value="150" /> <defence attribute="water" value="150" /> <defence attribute="wind" value="150" /> <defence attribute="earth" value="150" /> <defence attribute="holy" value="150" /> <defence attribute="unholy" value="150" /> </attributes> </npc>
53000.htm
<html noscrollbar> <body> <title>Open Beta Store</title> <table border=0 cellpadding=0 cellspacing=0 width=292 height=358 background="l2ui_ct1.Windows_DF_TooltipBG"> <tr> <td align=center> <br> <table cellpadding=0 cellspacing=0> <tr> <td align=center width=290 height=12> <font color="AAAAAA">Hello %nick%</font> <br> </td> </tr> <tr> <td align=center> <font color="AAAAAA">This is a free shop for just for Beta Test.</font> </td> </tr> <tr> <td align=center> <br> <img src="L2UI.SquareGray" width=290 height=1> </td> </tr> </table> </td> </tr> <tr> <td align=center> <table cellspacing=0 cellpadding=0> <tr> <td align=center> <table cellspacing=0 cellpadding=0 border=0 width=128 height=128 valign=top background="L2UI_CH3.Icon.refinegrade2_00"> <tr> <td height=33></td><td></td> </tr> <tr> <td width=3></td> <td width=32 height=32 align=center > <table border=0 cellspacing=0 cellpadding=0 width=32 height=32 background="icon.accessory_noblesse_tiara_i00"> <tr> <td width=32 height=32 align=center valign=top> <button action="bypass -h CustomTrainer learn" width=34 height=34 back="L2UI_CT1.ItemWindow_DF_Frame_Down" fore="L2UI_CT1.ItemWindow_DF_Frame"/> </td> </tr> </table> <font name=CREDITTEXTNORMAL>Addd RandomSkill</font> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </center> </body> </html>
-
Ty i solved....
-
how to settings that if using Scroll of Enchant Weapon S that max enchant 6 and if using Blessed that max enchant 16?
-
Good Day
I using L2Ava source and i have lots problems...
1.
how to settings that
if using Scroll: Enchant Weapon (S-Grade) that max enchant 6 but if using Blessed enchant that max enchant 16.
2.
How to Add MultiSkills settings?
-
someone can create upgrade that how to install this pack that FakeNPC?
-
This... and i have question how to add admin level because if i login set accesslevel = 0....
-
loool no salt password.... WTF:......
-
example this: http://www.maxcheaters.com/topic/214679-interlude-epic-wings/
how to add high five clients
-
Good Day!
I try modding Wings but can't success...
so Could anyone help me?
-
I cant edit because if i open xdat editor and Everything says that try to choose another version...
you can help me? i send you and http://s000.tinyupload.com/?file_id=35567734932948039299 this file you can remove this problem pls? :/
-
Good Day All!
I have question how to delete this 2 text from clients?
Tips?
-
Antharas Lair
-
why?
-
I want to exchange the item for new type of search that is also a High Five
-
I was not looking for but could not find
which file is it?
-
Good Evening!
Where can I find this?
[OGAME PRIVATE SERVER/MOBILE] Galaxy of War
in Off-Topics
Posted · Edited by Vision
The server started on May 17, 2022. We are talking about a very serious ogame based game that combines several games.
Not only is it a simple click-to-click and winning version, but it requires serious strategy knowledge to grow not only your planets but you too!
You haven't seen such graphics improvements yet! You feel you have everything you need to come and show yourself, either alone or with your friends, because you can get valuable help by inviting your friends and playing actively!
Be sure to look up and become the lord of the galaxy!
https://galaxy-of-war.com/