Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 07:52

  • Please register to post and access all features, it's quick, easy and FREE!


[Requst]Make an item non tradable

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
[Requst]Make an item non tradable

hey guys, i Just need to know how I can make an item non tradable for a LOTF source. If you know the answer please reply, thanks.



~RapidBlade~ is offline  
Old 07/18/2009, 00:08   #2
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
Create a bool and edit your trading system =]

Code:
public static bool LockedItem = false;
then

Code:
if (LockedItem == false)
{
Trading ****
}
else
{
SendMessageToMySelf(This item is locked!);
}


f0am is offline  
Thanks
1 User
Old 07/18/2009, 01:27   #3
 
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
Could u tell me which "Trading ****", theres a lot of it lol.
~RapidBlade~ is offline  
Old 07/18/2009, 01:33   #4
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 489
go to the trade funktion where the item been added to trade window there add if (itemid) then locked item


~Yuki~ is offline  
Old 07/18/2009, 01:54   #5
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
case 1056:
f0am is offline  
Old 07/18/2009, 02:06   #6
 
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
thnx foam
~RapidBlade~ is offline  
Old 07/18/2009, 02:08   #7
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
Quote:
Originally Posted by ~RapidBlade~ View Post
thnx foam
No Problem...Just hit the thanks =]]
f0am is offline  
Old 07/18/2009, 03:13   #8
 
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
Hmm, ill hit thnx, after u tell me how i could lock the item lol Sry for the questions after questions.. im just clueless on this code
~RapidBlade~ is offline  
Old 07/18/2009, 03:15   #9
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
Quote:
Originally Posted by ~RapidBlade~ View Post
Hmm, ill hit thnx, after u tell me how i could lock the item lol Sry for the questions after questions.. im just clueless on this code
Lawl i deserve two thanks ahha

ok anyway do like this before the trade

Code:
if (ItemId == "GmRobe")
{
      LockedItem = true;
}

if (LockedItem == false)
{
     TRADING **** ( CASE 1056 ) 
}
else if (LockedItem == true)
{
    SENDMSGTOME("THE ITEM IS LOCKED DUDE!!!")
}
f0am is offline  
Old 07/18/2009, 03:23   #10
 
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
KK, just one more question, ItemId gets an error, and im not sure if i need to just make a definition, change it, or something else, and once agin im really sorry... usually i wouldnt have so many questions.
And i thanked you for how much u showed me lol
~RapidBlade~ is offline  
Old 07/18/2009, 03:23   #11
 
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
#edit Got it! Thanks to Andrea =)
~RapidBlade~ is offline  
Old 07/18/2009, 03:44   #12
 
elite*gold: 0
Join Date: Mar 2009
Posts: 510
Received Thanks: 104
ya u guys didint need to add all that.. how i helped him is if the person clicks ok and the item is in the trade it just returns it.. lol
AndreaCo is offline  
Thanks
1 User
Old 07/18/2009, 03:48   #13
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 437
Yeah but other way looks more professional :P
raidenx123 is offline  
Old 07/18/2009, 04:46   #14
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
Quote:
Originally Posted by AndreaCo View Post
ya u guys didint need to add all that.. how i helped him is if the person clicks ok and the item is in the trade it just returns it.. lol
But think about this, you click ok it returns...you might want to know what happened. bug? no bug?
f0am is offline  
Old 07/18/2009, 05:01   #15
 
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
o.o i just put a code making it say you cant trade a gold cup


~RapidBlade~ is offline  
Reply



« [Request] ArtisanWind Met/DB Upgrade TC | I need some Map IDīs »

Similar Threads
T5 Gem's Tradable Item.edf!!
03/19/2011 - RFO Hacks, Bots, Cheats, Exploits & Guides - 26 Replies
you know were to paste it lol.. Item.edf Item.edf MIRROR RarPassword: battlecrew enjoy :handsdown:
How to make an Item Tradable ?
09/09/2010 - Metin2 PServer - Discussions / Questions - 2 Replies
Hey guys :) i have a question how to make an item like king armour tradable ? And how can i do an item shop for my server ? Please answer for both my questions :/ and add me [email protected] if you think you can help ! thank you very much no...
make non-tradable, tradable? any ideas?
06/25/2008 - General Gaming Discussion - 0 Replies
make non-tradable, tradable? any ideas? any way to bug this? the idea was to farm t0 with my 80ish main for my low barbie, not that theyll fix the oassis bugs untill my barb's also lvl 80. i'm not able to send "non tradable" via trader to my...



All times are GMT +2. The time now is 07:52.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.