Ore Check

Mu online season 21 - grand opening

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
375
330
is there away to check the purity of a ore ?
or to make sure its p12 and so on?
 

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
checkdura platinum 12

if you want the npc to remove a bit of ore that is above a certain P. then imediatly follow that command with

#ACT
takecheckitem

it will take the 1st peice of ore in your bag that is over the check requirments.

xMEx
 
Upvote 0

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
375
330
[@makeSoulGem]
#IF
checkdura platinumore 12
checkdura GoldOre 12
checkitem TaoStone(S) 1
Checkitem PlatinumRing 1
#ACT
takecheckitem PlatinumOre 12
takecheckitem GoldOre 12
take TaoStone(s) 1
take PlatinumRing 1
give SoulGem 1

kinda like that m8?
 
Upvote 0

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
no what you want is this something like this... (its from my craft script)

[@craft-Endurancegem2]
#IF
checkitem antidotemarble 5
checkdura platinum 15
checkdura goldore 15
checkgold 44000
#ACT
goto @craft-Endurancegem3
#SAY
Item made successfully
#ELSESay
You are missing one or more ingredients.\

[@craft-Endurancegem3]
#act
take antidotemarble 5
#if
checkdura platinum 15
#act
takecheckitem
#if
checkdura Goldore 15
#act
takecheckitem
take gold 44000
give Endurancegem 1

the takecheckitem command only reacts to the last checked item and it cannot have rules applied to it as far as i am aware.

I know this works as i have tested it many times. and only take a peice of ore equal to or higher than the stated requirment, even if you have ore of a lower purity surrounding it.
 
Last edited:
Upvote 0

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
375
330
hmm i have probs with it yet lol all i did change the p needed

[@gem13]
Item Name: <EnduranceGem>\
Item Type: <ItemUpgrading>\
Quantity: <1>\
Items Needed:<Gold p12 Platinum p12 Antidotemarble 5\ \
<Craft Item/@makeEnduranceGem>\
<Back/@main> <Exit/@exit>\

[@makeEnduranceGem]
#IF
checkitem antidotemarble 5
checkdura platinumore 12
checkdura goldore 12
checkgold 44000
#ACT
goto @craft-Endurancegem3
#SAY
Item made successfully
#ELSESay
You are missing one or more ingredients.\

[@craft-Endurancegem3]
#act
take antidotemarble 5
#if
checkdura platinumore 12
#act
takecheckitem
#if
checkdura Goldore 12
#act
takecheckitem
take gold 44000
give Endurancegem 1

You are missing one or more ingredients. is wut it syas :(
 
Last edited:
Upvote 0

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
try changing platinumore to platinum

what this man ses lol.

remember MM ore doesnt have the word ore on the end.

d.w it confused me for abit when i made the script lol. then i sorta clicked onto why it wasnt doing what it was told XD.

noob mistake but forgivable :p
 
Upvote 0

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
375
330
i got it lol
on 2.6 stackable items ur buged had to make them none stack
 
Upvote 0

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
lol dunno how well itll work on 2.6 files. i dont trust them atm :p

but if npc commands are the same then should work a treat.

get stuck on n e of the others gizza shout lol :p
 
Upvote 0

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
375
330
ty for all the help m8 :)
thanks +1 for u

how about thinking of away to use any stone for any gem making?
 
Last edited:
Upvote 0

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
i was messing about tryin allsorts of things to get it to work so you can use anystone, but i ran out of ideas lol. so my script has set stones and set accessorys.
 
Upvote 0

NoLife999

If God Only Knew!
Golden Oldie
Mar 8, 2004
934
1
100
180
leeds
hi this is my gem maker npc if you wanna use it its a bit easier than the one you have here and it all works :) hope it helps you out

[@main]
#SAY
Hi <$USERNAME>, i am the crafter\
Of this town and i can craft Gems\
for you for a fee, you will also\
Need the correct items to make the item.\
<Show me/@Gems> The List Of Gems.\
<Exit/@Exit>\

[@Gems]
Here is a list of the Gems i can craft.\
<BraveryGem/@Bravery>\
<MagicGem/@Magic>\
<SoulGem/@Soul>\
<AgilityGem/@Agil>\
<ProtectionGem/@Pro>\
<EvilSlayerGem/@Evil>\
<Exit/@Exit>\
<More/@More>\

[@more]
<StormGem/@Storm> \
<PoisonGem/@Poison>\
<FreezingGem/@Freeze>\
<AccuracyGem/@Acc>\
<DurabilityGem/@Dura>\
<DisillusionGem/@Disil>\
<EnduranceGem/@Endu>\ \
<Main/@main>\

[@Acc]
#SAY
Items needed are.\
1X PlatinumOre 15+.\
1X GoldOre 15+.\
5X FocusMarble.\
<CraftGem/@Acc1>\
<Main/@Main>\

[@Acc1]
#IF
CHECKITEM PLATINUM 1
CHECKITEM GOLDORE 1
CHECKITEM FOCUSMARBLE 5
CHECKDURA PLATINUM 15
CHECKDURA GOLDORE 15
#ACT
TAKE PLATINUM 1
TAKE GOLDORE 1
TAKE FOCUSMARBLE 5
TAKE GOLD 5000
GIVE AccuracyGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@Freeze]
#SAY
Items needed are.\
1X PlatinumOre 15+.\
1X GoldOre 15+.\
5X IceMarble.\
<CraftGem/@Freeze1>\
<Main/@Main>\

[@Freeze1]
#IF
CHECKITEM PLATINUM 1
CHECKITEM GOLDORE 1
CHECKITEM ICEMARBLE 5
CHECKDURA PLATINUM 15
CHECKDURA GOLDORE 15
#ACT
TAKE PLATINUM 1
TAKE GOLDORE 1
TAKE ICEMARBLE 5
TAKE GOLD 5000
GIVE FreezingGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@Poison]
#SAY
Items needed are.\
1X PlatinumOre 15+.\
1X GoldOre 15+.\
5X PoisonMarble.\
<CraftGem/@Poison1>\
<Main/@Main>\

[@Poison1]
#IF
CHECKITEM PLATINUM 1
CHECKITEM GOLDORE 1
CHECKITEM POISONMARBLE 5
CHECKDURA PLATINUM 15
CHECKDURA GOLDORE 15
#ACT
TAKE PLATINUM 1
TAKE GOLDORE 1
TAKE POISONMARBLE 5
TAKE GOLD 5000
GIVE PoisonGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@Storm]
#SAY
Items needed are.\
1X PlatinumOre 15+.\
1X BlackironOre.\
1X GoldOre 15+.\
3X WindMarble.\
<CraftGem/@Storm1>\
<Main/@Main>\

[@Storm1]
#IF
CHECKITEM PLATINUM 1
CHECKITEM GOLDORE 1
CHECKITEM WINDMARBLE 5
CHECKDURA PLATINUM 15
CHECKDURA GOLDORE 15
#ACT
TAKE PLATINUM 1
TAKE GOLDORE 1
TAKE WINDMARBLE 5
TAKE GOLD 5000
GIVE StormGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@Bravery]
#SAY
Items needed are.\
1X Platinum 12+.\
1X Nepherite 12+.\
1X CoralRing.\
1X DcStone(S).\
<CraftGem/@Bravery1>\
<Main/@Main>\

[@Bravery1]
#IF
CHECKITEM PLATINUM 1
CHECKITEM NEPHRITE 1
CHECKITEM CoralRing 1
CHECKDURA PLATINUM 12
CHECKDURA NEPHRITE 12
#ACT
TAKE PLATINUM 1
TAKE NEPHRITE 1
TAKE CoralRing 1
TAKE GOLD 5000
GIVE BraveryGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@Magic]
#SAY
Items needed are.\
1X PlatinumOre 12+.\
1X Nepherite 12+.\
1X RubyRing.\
<CraftGem/@Magic1>\
<Main/@Main>\

[@Magic1]
#IF
CHECKITEM PLATINUM 1
CHECKITEM NEPHRITE 1
CHECKITEM RUBYRING 1
CHECKDURA PLATINUM 12
CHECKDURA NEPHRITE 12
#ACT
TAKE PLATINUM 1
TAKE NEPHRITE 1
TAKE RUBYRING 1
TAKE GOLD 5000
GIVE MagicGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@Soul]
#SAY
Items needed are.\
1X PlatinumOre 12+.\
1X Nepherite 12+.\
1X PearlRing.\
<CraftGem/@Soul1>\
<Main/@Main>\

[@Soul1]
#IF
CHECKITEM PLATINUM 1
CHECKITEM NEPHRITE 1
CHECKITEM PEARLRING 1
CHECKDURA PLATINUM 12
CHECKDURA NEPHRITE 12
#ACT
TAKE PLATINUM 1
TAKE NEPHRITE 1
TAKE PEARLRING 1
TAKE GOLD 5000
GIVE SoulGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@agil]
#SAY
Items needed are.\
1X PlatinumOre 15+.\
1X GoldOre 15+.\
5X EvasionMarble.\
<CraftGem/@agil1>\
<Main/@Main>\

[@agil1]
#IF
CHECKITEM PLATINUM 1
CHECKITEM GOLDORE 1
CHECKITEM EVASIONMARBLE 5
CHECKDURA PLATINUM 15
CHECKDURA GOLDORE 15
#ACT
TAKE PLATINUM 1
TAKE GOLDORE 1
TAKE EVASIONMARBLE 5
TAKE GOLD 5000
GIVE AgilityGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@PRO]
#SAY
Items needed are.\
1X BlackironOre 12+.\
1X GoldOre 12+.\
1X CoralRing.\
<CraftGem/@PRO1>\
<Main/@Main>\

[@PRO1]
#IF
CHECKITEM BLACKIRONORE 1
CHECKITEM GOLDORE 1
CHECKITEM CoralRing 1
CHECKDURA BLACKIRONORE 12
CHECKDURA GOLDORE 12
#ACT
TAKE BLACKIRONORE 1
TAKE GOLDORE 1
TAKE CoralRing 1
TAKE GOLD 5000
GIVE ProtectionGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@Evil]
#SAY
Items needed are.\
1X BlackironOre 12+.\
1X GoldOre 12+.\
1X ExpelRing.\
<CraftGem/@Evil1>\
<Main/@Main>\

[@Evil1]
#IF
CHECKITEM BLACKIRONORE 1
CHECKITEM GOLDORE 1
CHECKITEM ExpelRing 1
CHECKDURA BLACKIRONORE 12
CHECKDURA GOLDORE 12
#ACT
TAKE BLACKIRONORE 1
TAKE GOLDORE 1
TAKE ExpelRing 1
TAKE GOLD 5000
GIVE EvilSlayerGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@Dura]
#SAY
Items needed are.\
1X BlackironOre 12+.\
1X GoldOre 12+.\
1X ExpelRing.\
<CraftGem/@Dura1>\
<Main/@Main>\

[@Dura1]
#IF
CHECKITEM BLACKIRONORE 1
CHECKITEM GOLDORE 1
CHECKITEM ExpelRing 1
CHECKDURA BLACKIRONORE 12
CHECKDURA GOLDORE 12
#ACT
TAKE BLACKIRONORE 1
TAKE GOLDORE 1
TAKE ExpelRing 1
TAKE GOLD 5000
GIVE DurabilityGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@Disil]
#SAY
Items needed are.\
1X Platinum 15+.\
1X GoldOre 15+.\
5X WillMarble.\
<CraftGem/@Disil1>\
<Main/@Main>\

[@Disil1]
#IF
CHECKITEM PLATINUM 1
CHECKITEM GOLDORE 1
CHECKITEM Willmarble 5
CHECKDURA PLATINUM 15
CHECKDURA GOLDORE 15
#ACT
TAKE PLATINUM 1
TAKE GOLDORE 1
TAKE Willmarble 5
TAKE GOLD 5000
GIVE disillusionGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\

[@Endu]
#SAY
Items needed are.\
1X Platinum 15+.\
1X GoldOre 15+.\
5X AntidoteMarble.\
<CraftGem/@Endu1>\
<Main/@Main>\

[@Endu1]
#IF
CHECKITEM PLATINUM 1
CHECKITEM GOLDORE 1
CHECKITEM Antidotemarble 5
CHECKDURA PLATINUM 15
CHECKDURA GOLDORE 15
#ACT
TAKE PLATINUM 1
TAKE GOLDORE 1
TAKE Antidotemarble 5
TAKE GOLD 5000
GIVE EnduranceGem 1
#SAY
Here is your Gem.\
Good Luck.\ \
#ELSESAY
You do not have the correct items.\
<Close/@Exit>\
 
Upvote 0

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
with that one tho scaff... i am pretty sure i could put a peice of P15+ gold ore on the last space of my bag and a P5-10 peice of ore at the front... this would still pass the checks but will remove the lower peice of ore, causing an exploit with your gem maker.

i would seriously revise it tbh bud.

EDIT.. btw that goes for ALL ores in your list :p
 
Upvote 0

samhag

Dedicated Member
Dedicated Member
Jul 31, 2008
213
0
42
with that one tho scaff... i am pretty sure i could put a peice of P15+ gold ore on the last space of my bag and a P5-10 peice of ore at the front... this would still pass the checks but will remove the lower peice of ore, causing an exploit with your gem maker.

i would seriously revise it tbh bud.

EDIT.. btw that goes for ALL ores in your list :p

Yeah i agree with that.
 
Upvote 0

NoLife999

If God Only Knew!
Golden Oldie
Mar 8, 2004
934
1
100
180
leeds
try it wont work like that :) it will ponly take the +15 etc has i trie it with a +10 and it would not take it
 
Upvote 0

GOMEEE

LOMCN Veteran
Veteran
Mar 5, 2009
259
0
42
no but what i am saying is if you have like 3 bits of the same or in your bag, in this order...
P7 P15 P10

it will recognise you have a P15 peice in your bag but because you are only telling it to take a peice of ore, it has no rules to follow so will take the 1st peice is comes accross.... in this case it will take the P7, leaving you the P15 and P10. you would still get the gem, and people can exploit it by using this solong as they have got the right purity ore in there bag with a lower purity peice infront of it.

i will test it and show you later with screenies if ya want. but just looking at it, as far as i can see there is a huge hole in the script leaving it open to exploitation.
 
Upvote 0

NoLife999

If God Only Knew!
Golden Oldie
Mar 8, 2004
934
1
100
180
leeds
ok well i,ll try it out if it does i will change mine like yours since yours is all good i just thought mine is ok but will test it dont want it exploitable :)
 
Upvote 0