Hey everyone, I was just wondering if anyone knew how to get Item Lock in a lotf source and if they could write up a guide. Would get a lot of thanks
Edit: Is it even possible to put item lock in a lotf source? Oo
P.S Don't bother telling me to convert it from CoEmu because i don't know how and I would never be able to find all the codes =P
Is not possible to add LOCK to LOTF, only if you are really really really good coder.
You would need to make alotf of client side things, edit packets and much more.
@ DA it's not impossible. Just wouldn't show client side... For FULL item lock it would require alot of work... you could always just make an npc (lol.. yay for adding 'features' to lotf through npcs) to lock an equiped item. Then just add a check when dropping/trading/selling items to see if it is locked (in item database) and if so print back to the client that it's locked and can't be sold.
very rough system but it would work.
If the original client does not contain the feature, as a rule of thumb you will not be able to add it. Doesn't mean you can't do cheap workaround's to get the same effect though.
@ DA it's not impossible. Just wouldn't show client side... For FULL item lock it would require alot of work... you could always just make an npc (lol.. yay for adding 'features' to lotf through npcs) to lock an equiped item. Then just add a check when dropping/trading/selling items to see if it is locked (in item database) and if so print back to the client that it's locked and can't be sold.
very rough system but it would work.
If the original client does not contain the feature, as a rule of thumb you will not be able to add it. Doesn't mean you can't do cheap workaround's to get the same effect though.
Tottally right
He need a higher patch with it added XD
This isn't an actual code just an idea.
I'm never gonna give a full code.
Well here it goes.
You add a new row to the items table.
Let it be Lock let's say.
Go to your client and make a definition for Lock and another thing called ItemChoice which is the item you choose to lock.
Then make an NPC say something like, "For 100 Cps I can lock your item."
Then make a check for the cps and the the item lock status.
Then once you give the NPC the cash make something like ItemChoice Lock == 1 which will be the status of it being locked.
Idk that's just a quick thought.
Gotta put more effort into it.
Jay here, just noticed I forgot to thank arco for his help back then o.o sorry bud thanks!
I went by what you said and it was a success. I should have released the finished code when I had the chance, got a new comp lols
5165 Item lock, and item redeem. 02/09/2010 - CO2 Private Server - 4 Replies Anyone knows how to make the item lock and redeem items npc in 5165?
Im not too good at that stuff, and it'll be great if someone could help me. :handsdown:
item lock 12/09/2009 - CO2 Private Server - 9 Replies anyoen know where item lock it located? i wanna remove it fully from my source. i have tried searching itemlock, lockitem and lock and removed all that looked to be itemlock. Thanks to all help :)
[Help] Item Lock 07/21/2009 - CO2 Private Server - 1 Replies How can i do item lock in LOTF?
Item Lock 08/05/2008 - Conquer Online 2 - 4 Replies Is there any way around item lock so you can trade a locked item to whoever? Maybe through editting some files or something? Thanks.