Jump to content
  • 0

Request Unique Item


StinkyMadness
 Share

Question

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
Link to comment
Share on other sites

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

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...

 

Link to comment
Share on other sites

  • 0

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 )

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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!

Link to comment
Share on other sites

  • 0

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 ;)

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

L2JFrozen is too slow already, you may broke the current record with such thing! :lol:

Thx ^^ but its possible to do this ? :D

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • 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