Crafter.... makin items

Bon

Legend
Legendary
Jul 29, 2004
6,741
342
330
Kent, UK
Im really stuck with this lol... ive put the items into makeitem.txt, and put them into the database... and done npc... but it keeps sayin i dont have correct items

is there a certain mode im meant to put in the item db for the item thats used for craft?

heres my makeitem.txt

[EXPPotion(S)]
basicpill 20
EnhancedPill 15
enrichedpill 10
megapill 3

[EXPPotion(M)]
basicpill 22
EnhancedPill 17
enrichedpill 12
megapill 3

[EXPPotion(L)]
basicpill 26
EnhancedPill 20
enrichedpill 16
superpill 3

[EXPPotion(XL)]
basicpill 30
EnhancedPill 25
enrichedpill 20
ultrapill 3

heres my npc script

; ===================================
; Market Def NPC File : ExperiencedMan-HI001
; HiddenPlace
; -----------------------------------
; Name: ExperiencedMan
; Job:
; Map No: HI001
; Pos X
; Pos Y
; File name: *removed*
; Comment: HiddenPlace
;================================================= =
;
;Settings
(@makegemlist)
%100
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78

[@main]
Increase EXP x1.5 for 5mins?\
Will cost you 1mil every time you use it.\ \
Or would you like to do the quest for better EXP increases\
at a longer length of time?\ \
<Increase EXP/@incexp> Cost: 1mil\
<Buy EXP Pots/@makegemlist> please!\

[@incexp]
#IF
checkgold 1000000
#ACT
KILLMONEXPRATE 150 300
take gold 1000000
#SAY
Hello\
Let me introduce myself\
I am the most experienced brave man exploring all over the world\
My distinguished experience will bring you\
most outstanding experience.\
Are you ready?\
You will have double experience of what you do.\ \
<Close/@exit>
#ELSESAY
Sorry you dont have enough gold :(\
<Back/@main>
[@makegemlist]
Heres a list of EXP pots i have...\ \
<Back/@main]
[@infoEXPPotion(S)]
Needed items:\
basicpill 20\
EnhancedPill 15\
enrichedpill 10\
megapill 3\
<Back/@main>
[@infoEXPPotion(M)]
basicpill 22\
EnhancedPill 17\
enrichedpill 12\
megapill 3 \
<Back/@main>
[@infoEXPPotion(L)]
basicpill 26\
EnhancedPill 20\
enrichedpill 16\
superpill 3\
<Back/@main>

[@infoEXPPotion(XL)]
basicpill 30\
EnhancedPill 25\
enrichedpill 20\
ultrapill 3\
<Back/@main>

[goods]
;Item Amount Time
EXPPotion(S) 200 1
EXPPotion(M) 200 1
EXPPotion(L) 200 1
EXPPotion(XL) 200 1




heres the items in db

719 BasicPill 45 13 1 0 0 0 22 30000 0 0 0 0 0 0 0 0 0 0 0 0 500 50 0 0 1 1 1 1 1 1 1 1
720 EnhancedPill 45 13 1 0 0 0 22 40000 0 0 0 0 0 0 0 0 0 0 0 0 500 50 0 0 1 1 1 1 1 1 1 1
721 EnrichedPill 45 13 1 0 0 0 22 50000 0 0 0 0 0 0 0 0 0 0 0 0 500 50 0 0 1 1 1 1 1 1 1 1
1048 MegaPill 3 13 1 0 0 0 22 65000 0 0 0 0 0 0 0 0 0 0 0 0 500 50 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0
1049 SuperPill 3 13 1 0 0 0 22 65000 0 0 0 0 0 0 0 0 0 0 0 0 500 50 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0
1050 UltraPill 3 13 1 0 0 0 22 65000 0 0 0 0 0 0 0 0 0 0 0 0 500 50 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0


1054 EXPPotion(S) 31 0 2 85 0 0 1533 30000 0 0 0 0 0 0 0 0 0 0 0 20 1000 50 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2
1055 EXPPotion(M) 31 0 2 86 0 0 1533 30000 0 0 0 0 0 0 0 0 0 0 0 20 1000 50 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2
1056 EXPPotion(L) 31 0 2 87 0 0 1533 30000 0 0 0 0 0 0 0 0 0 0 0 20 1000 50 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2
1057 EXPPotion(XL) 31 0 2 88 0 0 1533 30000 0 0 0 0 0 0 0 0 0 0 0 20 1000 50 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2



thx....
 

NewHope

Golden Oldie
Golden Oldie
Nov 18, 2005
1,311
28
184
The items in the makeitem.txt and the npc have to be spelt exactly identical. Therefore the need to have the capital letters that they have in the database.

Might also want to change the mega, super and ultra pills to shape 45 instead of 3... think it makes them stack and be used from crafting.
 
Upvote 0