Jump to content

Tradeable Augmented Items For Acis. Part 2


Recommended Posts

3 hours ago, xBountyhunt3r said:

Post: 


Anyone know how to make augmented items visible on Trade window? 

Inventory:

image.png.fedb85481db01dcee29cc15ded966022.png

Trade Window:

image.png.3f382aca43eee76b591866259fa4f649.png

i try make it for me project... trade its ok only not see augu skills in trade and for it need edit client side too i think ...

Link to comment
Share on other sites

41 minutes ago, splicho said:

I thought thats only possible from H5

its working on La2Dream IL server ...
btw me set 🙂 https://imgur.com/KzA0fhp

Edited by KejbL
Link to comment
Share on other sites

little edit in interface.u and server side.

http://prntscr.com/26o1gu5

 

just use unused variable to send aug. data to client and in interface.u set it as augment.

Link to comment
Share on other sites

On 2/3/2022 at 12:25 PM, xBountyhunt3r said:

Post: 


Anyone know how to make augmented items visible on Trade window? 

Inventory:

image.png.fedb85481db01dcee29cc15ded966022.png

Trade Window:

image.png.3f382aca43eee76b591866259fa4f649.png

Moved to client section

Link to comment
Share on other sites

On 2/3/2022 at 7:56 PM, wongerlt said:

little edit in interface.u and server side.

http://prntscr.com/26o1gu5

 

just use unused variable to send aug. data to client and in interface.u set it as augment.

 

InventoryWnd -> ....     if ( IsKeyDown(16) ) ....... -> ...... if ( UnknownFunction123(info_3.AdditionalName,"")  does this info_3.AdditionalName stands for augment informations ? Can you please give us a hint ? am i on the wrong way ? The idea is that i have saw on java source that in inventory there is send some variables for augment information , when i try to add this variables into addtradeitem , i get in trade window items enchanting number messed , so yes we can't add augmented items info on client side without client modifications , well this is my first time im trying to use WOTgreal Explorer , and i was looking in inventoryWnd saw this additionalname , can someone tell me if this additionalname has any links with augmentation info ? Thx

 

Link to comment
Share on other sites

12 hours ago, wongerlt said:

TradeWnd.uc
you need fill this var. with ur aug. data.
RefineryOp1
RefineryOp2

 

jPKtTkU.png

 

diff --git a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java
index 8429f78..6a60785 100644
--- a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java
+++ b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java
@@ -503,7 +503,7 @@
 	 */
 	public boolean isTradable()
 	{
-		return isAugmented() ? false : _item.isTradable();
+		return isAugmented() ? true : _item.isTradable();
 	}
 	
 	/**
diff --git a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java
index c202669..3810b76 100644
--- a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java
+++ b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java
@@ -39,7 +39,7 @@
 			writeD(item.getBodyPart());
 			writeH(temp.getEnchantLevel());
 			writeH(temp.getCustomType2());
-			writeH(0x00);
+			writeH(temp.getAugmentation() == null ? 0x00 : temp.getAugmentation().getId());
 		}
 	}
 }
\ No newline at end of file

 

 

I went to do some tests, and how are we going to receive these packages

Link to comment
Share on other sites

4 hours ago, Williams said:

 

jPKtTkU.png

 

diff --git a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java
index 8429f78..6a60785 100644
--- a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java
+++ b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java
@@ -503,7 +503,7 @@
 	 */
 	public boolean isTradable()
 	{
-		return isAugmented() ? false : _item.isTradable();
+		return isAugmented() ? true : _item.isTradable();
 	}
 	
 	/**
diff --git a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java
index c202669..3810b76 100644
--- a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java
+++ b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java
@@ -39,7 +39,7 @@
 			writeD(item.getBodyPart());
 			writeH(temp.getEnchantLevel());
 			writeH(temp.getCustomType2());
-			writeH(0x00);
+			writeH(temp.getAugmentation() == null ? 0x00 : temp.getAugmentation().getId());
 		}
 	}
 }
\ No newline at end of file

 

 

I went to do some tests, and how are we going to receive these packages

writeH() is short int (max 32767)
Link to comment
Share on other sites

5 hours ago, wongerlt said:
writeH() is short int (max 32767)

So you need to use writeD() instead of WriteH() ?

 

Hey guys can you tell me please what tools are you using to edit client files ?

9 hours ago, Williams said:

 

jPKtTkU.png

 

diff --git a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java
index 8429f78..6a60785 100644
--- a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java
+++ b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/model/item/instance/ItemInstance.java
@@ -503,7 +503,7 @@
 	 */
 	public boolean isTradable()
 	{
-		return isAugmented() ? false : _item.isTradable();
+		return isAugmented() ? true : _item.isTradable();
 	}
 	
 	/**
diff --git a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java
index c202669..3810b76 100644
--- a/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java
+++ b/L2jOne_C6_Interlude/java/net/sf/l2j/gameserver/network/serverpackets/TradeStart.java
@@ -39,7 +39,7 @@
 			writeD(item.getBodyPart());
 			writeH(temp.getEnchantLevel());
 			writeH(temp.getCustomType2());
-			writeH(0x00);
+			writeH(temp.getAugmentation() == null ? 0x00 : temp.getAugmentation().getId());
 		}
 	}
 }
\ No newline at end of file

 

 

I went to do some tests, and how are we going to receive these packages

Can you share your TradeWnd please ? 

Link to comment
Share on other sites

19 hours ago, arm4729 said:

So you need to use writeD() instead of WriteH() ?

 

Hey guys can you tell me please what tools are you using to edit client files ?

Can you share your TradeWnd please ? 

no you can't change packet format.

Link to comment
Share on other sites

On 2/3/2022 at 8:56 PM, wongerlt said:

little edit in interface.u and server side.

http://prntscr.com/26o1gu5

 

just use unused variable to send aug. data to client and in interface.u set it as augment.

 

can u show us "little edit in server side"?

 

20 hours ago, arm4729 said:

Can you share your TradeWnd please ? 

 

https://pastebin.com/JBfihjkw

I tried to change server side but i have same result as this...

On 2/9/2022 at 8:13 AM, Williams said:

jPKtTkU.png

 

Link to comment
Share on other sites

Hey thank you for sharing your TradeWnd.uc !! I have tryed and got same results with blank space after <Augment Effects> , but i have changed

 

    itemInfo.RefineryOp2 = itemInfo.Blessed;
    itemInfo.RefineryOp1 = itemInfo.Damaged;

 

to

    itemInfo.RefineryOp2 = itemInfo.Damaged;
    itemInfo.RefineryOp1 = itemInfo.Blessed;

 

 

 

and managed to get it work but only showing ++ stats and not show what passive skill / active skill item has , this is getting weird 😃

 

unknown.png

Where is this text Maximum HP +80 comming from ? is some editable .dat file ?

Edited by arm4729
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Hello everyone, I am making this post to advertise the following server:   DISCORD COMMUNITY SERVER: https://discord.gg/YCprWrnW5C SERVERS WEBSITE: https://lineage2expose.com/   LINEAGE ][ EXPOSE eXpose 100x is an unique server which has been worked on since 2020. Our goal is to provide you with a stable, lag-less, enjoyable as well as close-to-retail yet spiced Lineage II experience. The list below includes some of the custom features and various information about eXpose: Quick Overview - 100x Server. - Highly secured server. - Stable. No lag. - Somik's Interface - Client : https://somikpatch.com/Interfaces/Interface/2 - Auto Farm System. - Certification - Durability More Info. - Dressme System More Info.   Character - EXP: x100 - SP: x100 - Sub Class Max Lv: 85 - Max Sub Class: 5 - Durability in Sub: Yes - Certification Skills in Sub: Yes - Hero Skills in Sub: Yes   Party EXP Increases -Player in a party receive double EXP Rate.   Party EXP Decreases - 0-40 Level, the lowest party member will gain 100% of the XP that others receive. - 41-75 Level, the lowest party member will gain 80% of the XP that others receive. - 76-85 Level, the lowest party member will gain 60% of the XP that others receive.   Custom Gameplay - Custom Economy. - Custom Farm zones. - Custom Events. - Custom Stores.   Vote Reward - Vote Bracelet (Increases PV Damage by 5%). - Rune of Experience (Increases EXP Gain by 30%). - Vote Box (Random Various Rewards). - x10 Vote Coins (Special Currency).   Custom Economy System Custom currencies are used on expose to purchase equipment and various items. Adena is a currency used to purchase various rare items. Ancient Adena is a currency obtained in all custom Farm Zones. Team Cups is an item used to upgrade your clan level and skills. Dressme Stars can be obtained by farming mini-raids and raids or in spesific monsters. Can be used to purchase various dresses through Dressme Store at Community Board. Event Medals can be obtained while playing events. Bring that currency to Lilian (Event Shop Npc) at Giran Town to exchange them for various rewards. Vote Coins as well as Vote bracelet can be obtained by voting for eXpose on site banners. Bring These coins to Vote Shop to exchange them for various rewards. Command to open Vote Shop: (.getreward) and more...!   Double Prize Farming System In our effort to create an activity that will help players to collect their items faster, we created a kind of event. During the day, a zone will be announced in which the monsters will give a double prize! In this case we use three different zones which will alternately have this privacy! Τhese zones are: Monastery of Silence, Primeval Island, Giant's Cave, Antharas Lair, Seed of annihilation. The hours that the event will operate are the following (GMT+2): - 13: 30-14: 30 - 19: 30-20: 30 - 01: 30-02: 30 - 07: 30-08: 30   Enchant Information eXpose has a dynamic enchante rates, with Blessed & Normal Scrolls: - Safe: +4, Max: +20. - Enchant: 4 -> 8 Chance: 65% - Enchant 8 -> 12 Chance: 60% - Enchant: 12 -> 17 Chance: 55% - Enchant 17 -> 20 Chance: 45% - Blessed Scrolls: Fail reset to 0. - Normal Scrolls: Fail break the item.   Augmentation & Element Rates - Augments has been customized to work perfect. - Top Grade Life Stone 25%. - Medium Grade Life Stone 20%. - Low Grade Life Stone 15%. - Stones & Crystal 70%   Olympiad - Period: Weekly. - Heroes Date: Monday . - Games Required for Rank: 10. - Max Gear A-Grade. - Max Enchant Limit +20.   eXpose has implemented a daily system to serve every nationality regarding the opening hours of the Olympics. So, The opening hours of the Olympics are as follows (GMT+2): - 12:00-13:00 - 16:00-17:00 - 20:00-21:00 - 00:00-01:00 - 04:00-05:00 - 08:00-09:00 In advance, you can check Olympiad Manager (NPC) about start or end time of olympiad.   Sieges & Territory Wars As you know, the process of shingles and territories is a lot of fun since there are constant battles for the claim and preservation of your flag! for this reason we decided to make this process more intensive. on our server will be done every week and more specifically (GMT+2): - Sieges Date: 20:00 (Giran, Oren, Aden, Innadril, Goddard, Rune) - Sieges Date: 04:00 (Dion, Shuttgard, Gludion) - Territory Wars Date: Sunday 20:00 - Max Wards Per-Castle: 3   Raid Bosses Drops - Raid Heart: 1 - Adena: 200kk-400kk - Teamwork Cup: 75-150 - Dressme Star: 15-30 - Ancient Adena: 10k-40k - Giant's Codex: 20-40 - Giant's Codex Mastery: 5-10 - High Life Stone: 5-10 - Top Life Stone: 3-6 - BEA (S Grade): 10-20 - BEW (S Grade): 5-10   Grand Bosses Drops - Epic Jewel: Raid's Jewel - Raid Heart: 1 - Gold Bar: 1 - Adena: 300kk-500kk - Teamwork Cup: 150-300 - Dressme Star: 25-60 - Ancient Adena: 25k-60k - Giant's Codex: 25-60 - Giant's Codex Mastery: 10-15 - High Life Stone: 8-16 - Top Life Stone: 6-12 - BEA (S Grade): 15-40 - BEW (S Grade): 10-20   Respawn Time - Zaken: Instance (5 Members Minimum in party) - Freya: (5 Members Minimum in Party) - Beleth: 3 Days (5 Members Minimum in Party) - Frintezza: Instance (5 Members Minimum in Party) - Antharas: 5 Days (10 Minutes to spawn after 1st player enter) - Valakas: 5 Days (10 Minutes to spawn after 1st player enter) - Core: 1 Day - Queen Ant: 1 Day - Baium: 3 Days - Normal Raids: 6 Hours - Flame of Splendor Barakiel: 1 Hour [Become noblesse on kill]   Epic Jewelry Drop Chance: - Zaken: 100% Drop Chance Earring of Zaken / 10% Drop Chance Blessed Earring of Zaken - Freya: 100% Drop Chance Necklace of Freya / 10% Drop Chance Blessed Necklace of Freya - Beleth: 100% Chance (Talk to npc: Stone Coffin to receive the ring [retail]) - Frintezza: 100% Drop Chance Necklace of Frintezza - Antharas: 100% Drop Chance Earring of Antharas - Valakas: 100% Drop Chance Necklace of Valakas - Core: 100% Drop Chance Ring of Core - Queen Ant: 100% Drop Chance Ring of Queen Ant - Baium: 100% Drop Chance Ring of Baium   Unique Event System At Battles,Deathmatch and Survival Players who manage to kill 10,15,20 enemies in a row will receive a double or triple prize for each kill (x2 if you have 10 kills in a row and x3 if you have 15 kills in a row.). In addition to 10 kills you will get the buff Insane Spree where it will give them some extra strength. Players will know that you are in killing spree since you'll have a special blue aura with black animation arround you.At 15 kills this buff will become level 2 and at 20 kills level 3. As the level becomes higher level you become stronger! Finally, every time you reach 10,15,20 kills in a row, your HP,Mp and CP will be automatically at maximum and you will acquire the aura of heroes! If you die you lose all the boost! Μedals can be redeemed for unique things in lilian (Event Npc Shop) located at all Towns.   Deathmatch Ιn this event you compete alone against everyone else! The fight lasts 12 minutes and the player with the most kills wins a unique prize! But also during the battle every enemy you kill will offer you some coins! Prepare your gears, the fight is big and hard!   Battles Ιn this event you will have allies! the teams are divided equally and the battle begins! Τhe duration of the event is 12 minutes! Only the winning team wins a prize! But for every enemy you kill you earn Event Medals!   Survival The survivor! one of the most fun events! as long as you are strong enough to reach the end! fight with your strength to survive by killing everyone else! For each death you will win some unique coins! If you manage to reach the end you will get the big prize!   Clan Survival Ιn this event all the participants from each clan gather in different groups of the same zone! the players duel until the end! Whoever dies is excluded from the event! The last surviving clan wins the prize which is the Teamork Cup! Of course at the end of the competition the list of the best teams is announced according to how many times each clan has survived.   Hellbound Map [Party Zone] This event lasts 30 minutes and works every 4 hours! players have the opportunity to collect as many coins as possible! As in this zone the drops are more! of course you will need team spirit! The hours that the event will operate are the following (GMT+2): 14: 00-14: 30 18: 00-18: 30 22: 00-22: 30 02: 00-02: 30 06: 00-06: 30 10: 00-10: 30   Arena In this event everyone can declare to duel with the other participants and claim the first three places based on their score to win the Arena Box! Arena map last 15 minutes and it has 3 different types: Solo (unknown), Team vs Team, 4 Teams. The first Winener receives 3 Arena Box, the second 2 Arena Box and the third 1 Arena Box! The boxes contain various items such as: Elemental Stones, Elemental Crystals, Life Stones, Giant's Codex, Giant's Codex Masteries. In adition you receive x10 Fame, and 100.000 Adena for each kill.   Cancel and Steal Skills To ensure you do not run back to town once every few minutes to get back some buffs that were canceled and/or stolen during PvP, the steal and cancel effects were customized so that they only temporarily cancel/steal a target's effects instead of permanently.
    • Trusted and insanely talented Lineage 2 Uploader maker. Does the job wonderfully very fast. Quality oriented, helps if needed:) Totally recommend. 
  • Topics

×
×
  • Create New...