How can i make Item Craft with QFunction?

daneo1989

I am Ancient.
Staff member
Super Moderator
Dec 5, 2005
6,033
1
276
330
UK
makaveli said:
Can any1 tell me how can i make an item crafter using qfunction? so i dont need npc to use gems and orbs...

Thanks!

this has been posted load's of times just server for "Qfunction"
 
Upvote 0

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
43
Timisoara, Romania
No, u dont understand, i need Orbs, i need to use Q-Function to make orbs, but i don't know all the commands....i don't need npc to enhance items, i need more advanced tehniques :P
 
Upvote 0

Dithmo

Loyal Member
Loyal Member
Jul 17, 2003
33
0
83
Are you asking how to use qfuntion to do the upgrade when you double click a gem/orb as opposed to using an npc? if so........

Create an item, for example one from my db........

Name: DCWepGem STDMode: 31 Shape: 0 Anicount: 45

Then in Mirserver\Mir200\Envir\market_def\ open QFunction-0.txt and enter this info........

[@StdModeFunc45]
#ACT
UPGRADEITEMEX 1 0 3 3 1

Now when you have a DCWepGem and double click it will add dc to your weapon, no npc required

If the anicount on your item was for instance 55 instead of 45 then the qfunction code would be [@StdModeFunc55] instead of [@StdModeFunc45].

Search the forum for upgradeitemx for a full explanation on the command and how to use it for different items (i suggest the post mental made on this, it was very usefull to me anyhoo)

Hope that helps :D
 
Upvote 0

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
274
yeah that is a good way of doing it but surely just clicking on a gem the opens the DC gem npc up instead of DcWepGem would reduce the amount of work you have to do as you could just chose what item to gem?
 
Upvote 0

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
43
Timisoara, Romania
Ok i made all gems and orbs, they work all, but i ran to a problem. I only can add dc, mc, sc and acc, to weapons. I can't add to braces, necks, armours,or rings only AMC or AC...i readed ITEM CRFTER BY MENTAL....

any ideas?:)
 
Upvote 0

Dithmo

Loyal Member
Loyal Member
Jul 17, 2003
33
0
83
makaveli said:
Can i add AC or AMC to braces?

UPGRADEITEMEX 5 0 3 1 1 - Adds AC to right brace (30% chance of fail)
UPGRADEITEMEX 5 1 4 1 1 - Adds AMC to right brace (40% chance of fail)
UPGRADEITEMEX 7 0 5 1 1 - Adds AC to right ring (50% chance of fail)
UPGRADEITEMEX 7 1 6 1 1 - Adds AMC to right ring (60% chance of fail)

works on all but weapons i think

killmaster said:
yeah that is a good way of doing it but surely just clicking on a gem the opens the DC gem npc up instead of DcWepGem would reduce the amount of work you have to do as you could just chose what item to gem?

i didnt think of that m8 but at the same time theres allways a chance the script would close especially if you had to run away from something/someone real quick
 
Last edited:
Upvote 0