
Eleven
Members-
Posts
34 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Eleven
-
Help Quick Question About Private Stores
Eleven replied to Eleven's question in Request Server Development Help [L2J]
Im using aCis 401. -
Help Quick Question About Private Stores
Eleven posted a question in Request Server Development Help [L2J]
As i said in a previous post i managed to make Augmented items tradable and show Augment Stats/Skills in trade window. Normally i should do the same for Private Stores but i dont want them to be able to sold. As i see, everything is around check isTradable(). Now since i made Augmented items tradable, augmented items can be sold on Private Shops. How can i exclude them from the list? -
Help Tradable Augmented Items
Eleven replied to Eleven's question in Request Server Development Help [L2J]
Problem solved. -
Help Tradable Augmented Items
Eleven replied to Eleven's question in Request Server Development Help [L2J]
Guys can someone guide me on this? this is the packet Tradestart and its working perfect: package net.sf.l2j.gameserver.network.serverpackets; import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.model.item.instance.ItemInstance; import net.sf.l2j.gameserver.model.item.kind.Item; import net.sf.l2j.gameserver.model.trade.TradeList; public class TradeStart extends L2GameServerPacket { private final ItemInstance[] _items; private final TradeList _tradeList; public TradeStart(Player player) { _items = player.getInventory().getAvailableItems(true, false, false); _tradeList = player.getActiveTradeList(); } @Override protected final void writeImpl() { if (_tradeList == null || _tradeList.getPartner() == null) return; writeC(0x1E); writeD(_tradeList.getPartner().getObjectId()); writeH(_items.length); for (ItemInstance temp : _items) { final Item item = temp.getItem(); writeH(item.getType1()); writeD(temp.getObjectId()); writeD(temp.getItemId()); writeD(temp.getCount()); writeH(item.getType2()); int _augorg = 0; int _aug = 0; int _aug2 = 0; int _aug3 = 0; if (temp.isAugmented()) { _augorg = temp.getAugmentation().getId(); _aug = _augorg>>16; _aug2 = _aug; _aug3 = _augorg-(_aug<<16); } writeH(_aug2); writeD(item.getBodyPart()); writeH(temp.getEnchantLevel()); writeH(0x00); writeH(_aug3); } } } How can i do the same on TradeOwnAdd ? Check how it is bellow: package net.sf.l2j.gameserver.network.serverpackets; import net.sf.l2j.gameserver.model.trade.TradeItem; public class TradeOwnAdd extends L2GameServerPacket { private final TradeItem _item; public TradeOwnAdd(TradeItem item) { _item = item; } @Override protected final void writeImpl() { writeC(0x20); writeH(1); // item count writeH(_item.getItem().getType1()); writeD(_item.getObjectId()); writeD(_item.getItem().getItemId()); writeD(_item.getCount()); writeH(_item.getItem().getType2()); writeH(0x00); // ? writeD(_item.getItem().getBodyPart()); writeH(_item.getEnchant()); writeH(0x00); // ? writeH(0x00); } } -
Hello McX! Im using aCis 401 and i tryed to adapt a Top Enchant Manager from an older revision. thats my code. In order to make it work i had to make some changes in ItemData.java. Check bellow Is that the correct way? Everything seems to work fine but i want to make sure that is not affected anything else. Thanks in advance.
-
Help Tradable Augmented Items
Eleven replied to Eleven's question in Request Server Development Help [L2J]
I managed to do it so i can see augments in trade in my inventory (TradeStart). at the rest packets im not able to do it. Also i think i need to add something in Tradelist. Im using aCis 401 and im still newbie so any help will be very helpfull. -
Help Tradable Augmented Items
Eleven replied to Eleven's question in Request Server Development Help [L2J]
Can someone give me more info? which file do i have to edit in interface and which in source? -
How can i make Augmented Items to show in trade window their stats?
-
I never said that im not a newbie. On Geodata section i have 0 knowledge. Also i never said that acis geodata is not good. I just ask for e better geodata because some friends told me that is a geodata problem. Now i know. if @deMEV can fix this issue for me, please contact me. Ty for you time. Case closed!
-
Guys why are you so aggressive? We are not all Developers. Im trying to find out what is going wrong. A lot of friends told me that is Geodata problem. Anyway. thank you for you "help".
-
Some players are falling into graphics in some places and i found on Forge of the Gods one spot that is hard to move. Its not a big deal but if there is any other geodata better than this, i want to buy it/try it.
-
Help Siegable Halls on aCis399
Eleven replied to Eleven's question in Request Server Development Help [L2J]
dude the problem is only on some clan halls. as i know all doors are using the same instance... if there was an error i think all doors should have the same problem under siege end. -
yes but im looking for something better
-
Whats the best Geodata for aCis?
-
Guide Adding click-to-buff removal to interlude
Eleven replied to Celestine's topic in Client Development Discussion
i managed to add it on aCis 399 but i cannot dipsell the last skill of the buffs raw. all the rest are ok. any clue? on the last buff on any raw you need to press at the very left edge to dispell it. if you click on the middle of th e buff icon nothing happened. also if you pres to remove the buff before the last in the row, it is removing the last buff. something wrong with positions const NSTATUSICON_SIZE = 26 ; this i think must be 26 and not 24. for me now is working perfect -
Hello everyone! I started working on clan hall sieges and i found one problem that i cannot solve. on Fortress of resistance when the siege starts the doors become attackable. when siege ends, if the doors are broken it wont restore. i can target them but its not visible so i cannot pass. All the other sieges are working fine. No error on GS also. Any clue?
-
exactly
-
acis 399/interlude
-
<item id="6614" type="Weapon" name="Infinity Rod"> <set name="is_magical" val="true" /> <set name="default_action" val="equip" /> <set name="weapon_type" val="BLUNT" /> <set name="bodypart" val="rhand" /> <set name="random_damage" val="20" /> <set name="attack_range" val="40" /> <set name="damage_range" val="0;0;40;120" /> <set name="crystal_count" val="2850" /> <set name="crystal_type" val="S" /> <set name="material" val="ADAMANTAITE" /> <set name="weight" val="1300" /> <set name="price" val="0" /> <set name="soulshots" val="1" /> <set name="spiritshots" val="1" /> <set name="is_oly_restricted" val="true" /> <set name="is_tradable" val="false" /> <set name="is_dropable" val="false" /> <set name="is_destroyable" val="false" /> <set name="is_sellable" val="false" /> <set name="is_depositable" val="false" /> <set name="oncast_chance" val="3" /> <set name="oncast_skill" val="3598-1" /> <set name="item_skill" val="3597-1" /> <cond msgId="1518"> <player isHero="true" /> </cond> <for> <set stat="pAtk" val="238" /> <set stat="mAtk" val="182" /> <set stat="rCrit" val="4" /> <add stat="accCombat" val="4" /> <set stat="pAtkSpd" val="379" /> </for> </item> <skill id="3597" levels="1" name="Special Ability: Infinity Rod"> <set name="target" val="SELF"/> <set name="skillType" val="BUFF" /> <set name="operateType" val="PASSIVE" /> <set name="magicLvl" val="80" /> <set name="chanceType" val="ON_MAGIC_GOOD" /> <set name="activationChance" val="3" /> <set name="triggeredId" val="3598" /> <set name="triggeredLevel" val="1" /> <for> <mul stat="maxMp" val="1.3"/> <mul stat="maxCp" val="1.5"/> <mul stat="mAtkSpd" val="1.15"/> <add stat="regMp" val="0.51"/> <mul stat="pvpPhysDmg" val="1.05"/> <mul stat="pvpMagicalDmg" val="1.05"/> <mul stat="pvpPhysSkillsDmg" val="1.05"/> </for> </skill>
-
Hello again! Infinity Rod now is working on good_magic. I want to make it works only when someone is using heal and not every good_magic. Any idea?
-
Help hide war crest in events
Eleven replied to Eleven's question in Request Server Development Help [L2J]
thanks mate. Problem solved -
Helo mates. Im using acis 399 and i want to hide war crest in events. i managed to hide all the rest (name/crests etc) but i cannot find how to change war crest. thanks in advance.
-
Share Interface Classic Ona Latest (Damage on Screen Classic)
Eleven replied to Celestine's topic in Client Development Discussion
Good Job