Jump to content

Question

Posted (edited)

How can i made one list with unique items.
I want to make one armor "tradeable" but when one of players wearing can be trade again.

 

 

 

 


You got the item in your inventory, not equipped yet - you may trade it
You got the item in your inventory and you equipped it once - you can't trade it

It's like, it's gonna be your own 'unique' item which can't be traded if item has been used previously. Correct?


Interlude
L2JFrozen

Rev: 1117

Edited by StinkyMadness

Recommended Posts

  • 0
Posted

I want to make one armor "tradeable" but when one of players wearing can be trade again.

Which one is it?

Just play the game as it is, don't try to make it wow-like.

  • 0
Posted

Which one is it?

Just play the game as it is, don't try to make it wow-like.

Thx for your info but i ask something else not what looks i want ;)

 

If you or something else can help me about that i will be happy...

 

  • 0
Posted

What exactly you want?

I can't get that "I want to make one armor "tradeable" but when one of players wearing can be trade again."..

  • 0
Posted

I want to make when you buy a Dark Crystal Robe armor from show you can trade it
But if you have wearing this then you are the only one how can to wearing this armor ( You cant trade this armor again )

  • 0
Posted (edited)

God's that broken english.. You mean that the armor can be equipped only by ONE person..?

 

You got the item in your inventory, not equipped yet - you may trade it

You got the item in your inventory and you equipped it once - you can't trade it

 

It's like, it's gonna be your own 'unique' item which can't be traded if item has been used previously. Correct?

 

 

Greeks..

 

If that's what you mean, then.. It's not gonna be easy and so, no one will give you the code. Marketplace, your only chance.

Edited by SweeTs
  • 0
Posted

God's that broken english.. You mean that the armor can be equipped only by ONE person..?

 

You got the item in your inventory, not equipped yet - you may trade it

You got the item in your inventory and you equipped it once - you can't trade it

 

It's like, it's gonna be your own 'unique' item which can't be traded if item has been used previously. Correct?

 

 

Greeks..

 

If that's what you mean, then.. It's not gonna be easy and so, no one will give you the code. Marketplace, your only chance.

Eexactly - And yes sorry for my english.

  • 0
Posted

God's that broken english.. You mean that the armor can be equipped only by ONE person..?

 

You got the item in your inventory, not equipped yet - you may trade it

You got the item in your inventory and you equipped it once - you can't trade it

 

It's like, it's gonna be your own 'unique' item which can't be traded if item has been used previously. Correct?

 

 

Greeks..

 

If that's what you mean, then.. It's not gonna be easy and so, no one will give you the code. Marketplace, your only chance.

Acctualy its can be done very easy using Shadow item module, but only thing is need to be done is reverse it  a bit!

  • 0
Posted

Shadow module? I don't think so, shadow weapons are be default not tradeable and they only use the "timer" to disappear. So, I don't get your point how shadow module could be useful ;)

  • 0
Posted

Acctualy its can be done very easy using Shadow item module, but only thing is need to be done is reverse it  a bit!

Shadow items approach is very different... this one should include database con, that inserts every armor that has been equipped into an table.

  • 0
Posted (edited)

Shadow items approach is very different... this one should include database con, that inserts every armor that has been equipped into an table.

He is a client mod guy, don't busy to explain.. :troll:

 

Like I said, it's not gonna be easy as you think. So, if you want you can try your lucky @ marketplace. There is (even) no point to keep this topic open..

Edited by SweeTs
  • 0
Posted (edited)

Bunch of naaps, he wants a bound system.

 

Simply create a new boolean on L2ItemInstance, set it true on the wear method, and add a check in the wear method about the boolean.

 

About save/restore, it's part of regular L2ItemInstance so check how it is saved/loaded and add your crap line whereever you need.

 

Total amount of code lines, less than 20 : one variable + getter/setter on L2ItemInstance, the check + variable = true on the wear method, and finally the save and the restore wherever it's done on L2JFrozen.

Edited by Tryskell
  • 0
Posted

Bunch of naaps, he wants a bound system.

 

Simply create a new boolean on L2ItemInstance, set it true on the wear method, and add a check in the wear method about the boolean.

 

About save/restore, it's part of regular L2ItemInstance so check how it is saved/loaded and add your crap line whereever you need.

 

Total amount of code lines, less than 20 : one variable + getter/setter on L2ItemInstance, the check + variable = true on the wear method, and finally the save and the restore wherever it's done on L2JFrozen.

Cool... can you write then that "Less than 20 lines" cuz i not so skilled to make my Code :S

  • 0
Posted (edited)

Bunch of naaps, he wants a bound system.

 

Simply create a new boolean on L2ItemInstance, set it true on the wear method, and add a check in the wear method about the boolean.

 

About save/restore, it's part of regular L2ItemInstance so check how it is saved/loaded and add your crap line whereever you need.

 

Total amount of code lines, less than 20 : one variable + getter/setter on L2ItemInstance, the check + variable = true on the wear method, and finally the save and the restore wherever it's done on L2JFrozen.

I thought he wants the armor to be tradeable on purchasing, and then becomes non-tradeable once the player equip it.. :lol:

Edited by Tessa
Guest
This topic is now closed to further replies.


  • Posts

    • https://vpslab.cloud/ Premium DDoS Protection now included with every server.
    • # Changelog - Public Updates   This changelog tracks user-facing updates and improvements to Top.MaxCheaters.com.   ---   ## [1.2.0] - 2026-01-XX   ### ⚡ Performance Improvements - **Faster Page Loads**: Implemented intelligent caching system that makes pages load significantly faster - **My Servers Page**: Now loads instantly when revisiting (no more loading delays) - **Main Page**: Server listings and filters now load faster on repeat visits - **Premium Ads**: Pricing information loads instantly - **Overall Performance**: Site now loads 60-80% faster with reduced server load   ### 🔄 Improvements - Pages now remember recent data, reducing wait times when navigating - Automatic cache refresh ensures you always see up-to-date information - Better user experience with instant page loads on repeat visits   ---   ## [1.1.1] - 2026-01-XX   ### 🐛 Bug Fixes - **VIP Server Filter**: Fixed "VIP L2 Servers" filter to correctly show all premium tier servers (VIP, Gold VIP, and Pinned) - **Ad Pricing Display**: Fixed ad pricing on Premium Ads page to automatically update when changed in admin panel   ### 🔄 Improvements - Ad pricing now syncs automatically across all pages - More accurate server filtering by tier   ---   ## [1.1.0] - 2026-01-XX   ### ✨ New Features - **Complete Chronicle List**: All chronicle options are now available in server forms and filters, including the latest Lineage 2 chronicles - **Improved Chronicle Display**: Server rows now show cleaner, shorter chronicle names for better readability   ### 🐛 Bug Fixes - **Chronicle Filter**: Fixed issue where "Infinite Odyssey" chronicle filter was not working correctly - **Missing Chronicles**: Fixed missing chronicle options in server creation and editing forms   ### 🔄 Improvements - Chronicle filters and dropdowns now stay in sync with the latest available chronicles - Better chronicle name formatting in server listings for improved visual clarity   ---   ## [1.0.0] - Initial Release   ### Features - 🎮 Server listings with multiple tiers (Normal, VIP, Gold VIP, Pinned) - 📊 Click tracking and server statistics - 🌍 Multi-language support (English, Spanish, Portuguese, Greek, Russian) - 💳 Payment system for premium server features - 🔐 Secure authentication system - 👑 Admin panel for server management - 📱 Fully responsive design for all devices - 🔍 Advanced filtering system (by chronicle, rate, server type, date) - 📅 Server opening date tracking - 🎯 Two viewing modes: By Date and By Votes (coming soon for all users)   ---   ## About This Changelog   This changelog focuses on updates that directly impact the user experience. Internal development changes and technical improvements are not included here.   For questions or feedback, please contact support.v
    • Now Acc Registration open. Create your account and get ready 🙂
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..