ownedrpd Posted April 20, 2023 Posted April 20, 2023 Hello guys! ,does anyone knows how to create a shop? Ive tryed adding it to source on shop.dat and client but its not working.. Quote
Spirited Posted April 20, 2023 Posted April 20, 2023 Hello guys! ,does anyone knows how to create a shop? Ive tryed adding it to source on shop.dat and client but its not working..Can you post what you added? Quote
ownedrpd Posted April 20, 2023 Author Posted April 20, 2023 [shop101]ID=30015Name=GeneralStoreMoneyType=0ItemAmount=19Item0=1000000Item1=1000010Item2=1000020Item3=1000030Item4=1002000Item5=1002010Item6=1002020Item7=1002050Item8=1000040Item9=1001000Item10=1001010Item11=1001020Item12=1001030Item13=1001040Item14=1002030Item15=1002040Item16=1050000Item17=1050001Item18=1050002Added this under shop.dat source side and client side30015,GeneralStore,2,31256,1004,51,49,0,0,1,1 and this one under SobNPC Quote
Spirited Posted April 21, 2023 Posted April 21, 2023 Just making sure since I don't know what the format of your NPC spawn is, are you setting the NPC to type 1? Also, are you seeing any errors in the client logs related to parsing the shop? Quote
ownedrpd Posted April 21, 2023 Author Posted April 21, 2023 NPC is spawning fine , its just not opening a shop..no errors at all.. server starting fine. Quote
Spirited Posted April 21, 2023 Posted April 21, 2023 NPC is spawning fine , its just not opening a shop..no errors at all.. server starting fine.You said you put it under SobNPC? That doesn't sound right to me. I thought that was reserved for terrain NPCs such as guild gates. There should be another NPC table / file for spawning an NPC with type 1 (store NPC). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.