king protect

Join Discord

Azura

Mir3 Coder & Adviser
Mar 12, 2005
3,249
111
300
This is the script I wrote, should work for you.

[@BeautyJewel]
{
#IF
#SAY
___{FCOLOR/10}Hello! Welcome to the points system, you now have{FCOLOR/10} <$USERJF> points.{FCOLOR/12}\\
I can help you protect your items, this has a 20 point processing fee!\
Please select your Item to Protect! \\
<[ Necklace ]/@BeautyDesc(3)>\
<[ Bracelet(Left) ]/@BeautyDesc(5)> <[ Bracelet(Right) ]/@BeautyDesc(6)>\
<[ Ring(Left) ]/@BeautyDesc(7)> <[ Ring(Right) ]/@BeautyDesc(8)>\\
<[ Return ]/@main>\

[@BeautyDesc()]
#ACT
mov D0 %ARG(1)

#IF
checkcmd CHECKITEMINFO %D0 0
!EQUAL FLD_NAME ""
#ACT
#ELSEACT
break
#ELSESAY
Please select the item worn on the body.\\
<Close/@exit>


#IF
checklevel 40
checkcmd CHECKUSERJF 20
#ACT
actcmd SETUSERJF - 20
actcmd EDITITEM FLD_DESC8 = 1
#SAY
The item you selected to beautify was successful!\
<Close/@exit>
#elsesay
You do not have enough points, you current points are: {FCOLOR/1}<$USERJF>{FCOLOR/12}\
Or you are not level 40.\
<Return/@main>
}
 
  • Like
Reactions: Unico
Upvote 0

Azura

Mir3 Coder & Adviser
Mar 12, 2005
3,249
111
300
Yes for rings, bracelet or necklace however all you have to do is add the rest to your own script.
 
Upvote 0

Azura

Mir3 Coder & Adviser
Mar 12, 2005
3,249
111
300
Should work if you add it to the script with the correct number yes but it will not show that its protected like it does with Accessories.
 
Upvote 0

Unico

Dedicated Member
Dedicated Member
Dec 15, 2007
230
1
64
thx azura :D

I try to put in other items but cant put in armor boots helmet weapon or torch

is only for rings braces and neck :/
 
Last edited:
Upvote 0

Zordon

Golden Oldie
Golden Oldie
Apr 26, 2008
1,176
20
145
Manchester, UK
Sorry for bumping an old post, but thats probably because this script is to give the shine effect on accessories (has nothing to do with item protection lol)

I'll have a look through the original chinese scripts, am sure I saw an item protection script in there somewhere.
 
Upvote 0

TheDayIDie

Banned
Banned
Dedicated Member
Jul 29, 2011
4,071
97
135
UK
In my eyes, kings are buggy if you dont know how to use them.
Yes 3.55 have no bugs, but they are limited to what they can do.
Item Protection is not essential for me at this stage ;)

Thanks
/TDID
 
Upvote 0

twisterdmk

LOMCN Veteran
Veteran
May 13, 2009
759
28
115
USA
In my eyes, kings are buggy if you dont know how to use them.
Yes 3.55 have no bugs, but they are limited to what they can do.
Item Protection is not essential for me at this stage ;)

Thanks
/TDID

I will agree with that comment, Kings have a lot of potential if you can find ways to work around bugs and balance the classes is the hardest part.
 
Upvote 0

TheDayIDie

Banned
Banned
Dedicated Member
Jul 29, 2011
4,071
97
135
UK
It is if you pay thousand of euros for items.
1. who would pay thousands of euros for some items?
2. I would never sell kits in my server, this makes donation players overpowered. I only use temporary items such as
1 or 7 day (rose,horse armour, stat torch)
also some custom drugs, exp pots and other things are used.
 
Upvote 0

taifun

Dedicated Member
Dedicated Member
Jan 7, 2012
461
11
44
Romania
The donation should be used for vip stats , and on each 10euro donation to be take 1viplamp

no thing more , no thing left

And to be a server balanced should be done a NPC Quest : give random mission to collect some bootys and give a random reward :)
 
Upvote 0