Npc -- upgrainding items

Join Discord

randomplayer45

Dedicated Member
Dedicated Member
May 21, 2004
30
0
52
someone posted an npc that upgraids armour,weapons,necky and one ring - brace
but i wonderd if anyone new how to do the rest of the items
helm ,belt ect
and how to add other stats other than just dc,sc,mc
hope that made sence
ill find the npc thing somewhere that was posted now
any help would be gr8
 

Babyhack

Devilsoul Owner
VIP
Feb 4, 2004
5,343
28
305
Dublin, Ireland
it can be done myself and milo are working on it at the mo
the one you get with the files (chinese one) does everything bar belts/gems/shoes but its just a simply edit to get it to work with them (I hope have not tested it yet)
 
Upvote 0

Xander

Pantie Sniffer!
Developer
Oct 20, 2003
2,737
55
295
Sheffield
Heres one i started but not just and upgrade system basically an all in one
it needs adding the belts,shoes,stones and so on but its a start

Code:
(@buy @sell @repair @s_repair @storage @getback)
%100
+5
+6
+10
+11
+15
+19
+20
+21
+22
+23
+24
+26
+53
+54
+52

;First Thing Loaded By The NPCs
[@main]
<$DATETIME>\ \
Welcome <$USERNAME> You Are Currently Playing <$SERVERNAME>\
Get Players To Join By Handing Out Our IP <$SERVERIP>\
\
Current Users Online: <$USERCOUNT>\
How May I Help You <$USERNAME>\
\ \
<Player Commands/@help> <My Player Stats/@PStats>\
<Buy Items/@buy> <Sell Items/@sell> \
<Store Items/@store> <Retrive Items/@getback>\ 
<Upgrade Items/@upgrade> <Shout Messages/@shout>
<Change Hair/@hair> <Start Event/@event>
<Kill My Pets/@killP>\

[@help]
Hi <$USERNAME here is a list of commands you can use:\ \
@ChangeStoragePassword\
@SetStoragePassword\
@ClearStoragePassword\
@LockStorage\
@UnlockStorage\
@Date\
@Whisper\
@Shouts\
@Trading\ \
<More/@MHelp> <Back/@main>

[@MHelp]
More Player Commands\ \
@AllowGuild\
@LeaveGuild\
@GuildChat\
@AllowAlliance\
@RecallGuild\
@AllowGuildRecall\
@Alliance\
@CancelAlliance\ \
<Back/@main>


[@PStats]
I Can Tell You everything about Your current Stats\
Your Current Level Is: <$LEVEL>     
Your Current HP Is: <$HP>-<$MAXHP>
Your Current MP Is: <$MP>-<$MAXMP>  
Your AC Is: <$AC>-<$MAXAC>
Your MAC Is: <$MAC>-<$MAXMAC>       
Your DC Is: <$DC>-<$MAXDC>
Your MC Is: <$MC>-<$MAXMC>          
Your SC Is: <$SC>-<$MAXSC>
Your Current EXP Is: <$EXP>-<$MAXEXP>
Current PK POints: <$PKPOINT>
\
You Have Been Logged In For: <$LOGINTIME> Minutes\ \
<Back/@main>

[@buy]
Hi <$USERNAME> What Would you like to buy?\ \
<Back/@main>

[@sell]
Hi <$USERNAME>, I will buy anything from you!\
What would you like to sell?\ \
<Back/@main>

[@store]
#IF
#SAY
Hi <$USERNAME> I can store you items for you!\
Select what you want me to store.\ \
<Back@main>

[@getback]
#IF
#SAY
Hi <$USERNAME> Back so soon?\
Which items would you like back?\ \
<Back/@main>

[@upgrade]
Hi <$USERNAME> I can upgrade your items\
What would you like to upgrade?\ \
<Upgrade My Armour/@arm>
<Upgrade My Weapon/@wep>
<Upgrade My Right Ring/@ring>
<Upgrade My Right Bracelet/@brac>
<Upgrade My Necklace/@neck>
<Back/@main>

[@arm]
Add what stats to <$DRESS>? It has a chance of\
Breaking!\ \
<Upgrade Ac/@up1>\
<Upgrade Amc/@up2>\
<Upgrade Dc/@up3>\
<Upgrade Mc/@up4>\
<Upgrade Sc/@up5>\
<Cancel/@main>

[@wep]
Add what stats to <$WEAPON>? It has a chance of\
Breaking!\ \
<Upgrade Dc/@up11>\
<Upgrade Mc/@up22>\
<Upgrade Sc/@up33>\
<Upgrade Luck/@up44>\ 
<Upgrade Acc Or Speed/@up55>\
<Cancel/@main>\ \

[@up44]
#ACT
UPGRADEITEMEX 1 3 2 1 1
GOTO @suc
[@up33]
#ACT 
UPGRADEITEMEX 1 2 2 8 1
GOTO @suc
[@up22]
#ACT
UPGRADEITEMEX 1 1 2 8 1
GOTO @suc
[@up11]
#ACT 
UPGRADEITEMEX 1 0 2 8 1
GOTO @suc
[@up55]
#ACT
UPGRADEITEMEX 1 5 2 1 1
GOTO @suc

[@up1]
#ACT
UPGRADEITEMEX 0 0 2 1 1
GOTO @suc
[@up2]
#ACT
UPGRADEITEMEX 0 1 2 1 1
GOTO @suc
[@up3]
#ACT
UPGRADEITEMEX 0 2 2 1 1
GOTO @suc
[@up4]
#ACT
UPGRADEITEMEX 0 3 2 1 1
GOTO @suc
[@up5]
#ACT
UPGRADEITEMEX 0 4 2 1 1
GOTO @suc

[@suc]
Upgrade Complete!\ \
<Back/@main>

[goods]
MirArmour(M)     1000            1
MirArmour(F)     1000            1
 
Upvote 0

randomplayer45

Dedicated Member
Dedicated Member
May 21, 2004
30
0
52
ty v much
i have fiddled about with it and have figgured out that..
#ACT
UPGRADEITEMEX 1 5 2 1 1
that nuber 1 ^ means what item it is
Ie:1=weapon
2 = ring or brace (not sure just an egsample)ect
then the next number 5 in this case is what stat you wanted added sc,dc ect..

does anyone know what the next numbers do plz?
succese rate maybe?
#also if anyone could post what number = what stat would be ace also >.<

#Looking to upgraid helmets too has anyone any idear how that would work
thanx again and ty for any further help you can give
when/if its finished ill post what iv made so ppl can tweek it
 
Upvote 0

randomplayer45

Dedicated Member
Dedicated Member
May 21, 2004
30
0
52
*Edit*
added that npc scrip ty xander
funny working still missing helm tho :S
gl sorting your server out looking forward to it being back up
if you need any testers or gms ^_^ id be glad to help and have a mess about as my server wont work :S thank's again
 
Upvote 0