[Help] Adding Shops

08/07/2009 23:29 Jay1029#1
How would I go about adding an NPC Shop so I can sell items that I choose. Like +1/2 stones for example.
08/07/2009 23:33 killermickle#2
Add the NPC in your DB,
set the flags as 1,
add the shop in shop.ini inside your clients ini folder, the ID should match the NPCs ID.
then copy and paste the shop.ini into your servers debug folder and run everything.

If you dont get any of what I put just say
08/08/2009 00:12 _tao4229_#3
shop.dat*
08/08/2009 00:14 killermickle#4
my bad xD. I couldnt remember and thought it was ini becuase its not jumbled like the item one
08/08/2009 00:16 _tao4229_#5
It's an ini file format (if I remember right) but the extension is .dat for no apparent reason.
08/08/2009 01:59 ZkiNeF#6
If i wish to change the prices?
Example SDG: 1500 CPs :rolleyes:
08/08/2009 02:13 danielachraf#7
Quote:
Originally Posted by ZkiNeF View Post
If i wish to change the prices?
Example SDG: 1500 CPs :rolleyes:
go to mysql , items table and search for sdg and change its price (CPs)
08/08/2009 02:17 TasteofChaos#8
if you want that to show on the item popup in game, you needa put it into your itemz.ini (or w/e you lotf users have)

should look like GoldCup#2100075#0#0#,,,,,,,etc.
08/08/2009 05:52 Jay1029#9
Okay, I did all of that. When I logged in my shop was empty. :'(
:D
08/08/2009 05:59 ~Angelus~#10
did you add the item ID's both to your LOTF source item.dat AND the item.dat in the CO folder?
08/08/2009 06:00 raidenx123#11
you mean shop.dat?
08/08/2009 06:01 ~Angelus~#12
yeah lol my bad xD shop.dat :o just copy the format
08/08/2009 06:30 ZkiNeF#13
Quote:
Originally Posted by danielachraf View Post
go to mysql , items table and search for sdg and change its price (CPs)
True, I had not thought of. :handsdown:
08/08/2009 06:47 CoAttack#14
[Only registered and activated users can see links. Click Here To Register...]

just thank me.
08/08/2009 20:43 Jay1029#15
Yea that's nice and all but where's the decrypter?..