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

    • I wouldn't expect something less, since you work with Psadek (or I maybe mistake you with NightW0lf from itopz, in that case soz) Let's throw rocks at Java Golds and elevate "original L2OFF Golds", no?
    • We are delighted to announce our partnership with the leading resource, Active Anticheat, specializing in protection against bot programs, clickers, and additional modules for the game client that enhance the experience for both you and the players!   When you purchase Active Anticheat for our product, you will also receive a $50 discount.   Here's a brief overview of the features of Active Anticheat: Best protection against bots, including private and premium versions. Window limitation. HWID spoofing protection. Virtual machine protection. File hash protection for client files, preventing players from modifying them (e.g., interface files). Encryption of any game files. Integration with Discord to attract new players! Additional plugins: - Window with saved player logins/passwords. Players no longer need to enter them every time! - HWID sending to the game server. - Game window optimizer for quick switching. - Background FPS adjustment. - Window name customization in the format "%character_name% - %server_name%". - Ctrl+C/V permission. - Login and password saving (for Interlude -> High Five). - Launching the browser via server packets. - Launching interface events via server packets. - Interlude: fixing a known game bug (History: UpdateAnimation <- AActor::Tick <- TickAllActors <- ULevel::Tick <- (NetMode=0) <- TickLevel <- UGameEngine::Tick <- UpdateWorld <- MainLoop). - Interlude: debuff feature. 9) All of this is available without modifying the game server code (some plugins may require minor changes). Take note of newest plugin, which is highly useful: Guides section
    • The Lucera2 Multiprotocol is an advanced server branch for Lineage 2 that enables seamless support for multiple client versions on a single server instance. This allows players to connect and play using either the legacy (old) client or the newer Classic client simultaneously, without any compatibility issues or loss of functionality. Key Benefits Dual Client Support: Both the old Interlude client and Classic: Secret of Empire 2.6 client can run concurrently on the same server. All features from the Classic client (e.g., enhanced UI, new mechanics) remain fully available, while the old client retains its alternative features (e.g., simplified interfaces for lower-end hardware). Expanded Player Base: Ideal for regions with limited access to modern gaming setups, as it accommodates a wider range of devices and preferences, merging Legacy and Classic communities into one forum section for unified discussions. No Functionality Gaps: Extensive testing ensures zero disruptions—players on either client experience complete game integrity, including quests, PvP, raids, and custom Lucera2 subsystems. You can fully test and explore all aspects of Multiprotocol on the dedicated Test Server. Supported Protocols C6 (Old Client): Protocol versions 740–770. Classic Client (Secret of Empire 2.6): Protocol versions 166–192.
    • Connect to the server you need to >>>download<<< game client launch from /system_en/. Login server setup on auto registration, admin rights in game by default . Or you can use a patch specifying the l2.ini Connect to address classic.lucera2.com if you already have a game client Download updated patch All major/minor subsystems operate in a proper view. Absolutely ready to combat the server.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock