You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shoptype.dat says which services each NPC offers, and the server ignores it. Today any NPC that opens the upgrade window allows every upgrade operation, and n_run with a probability window opens any WindowType at any NPC. A client that sends n_run 60 <window> next to a food seller can upgrade, rarify or sum there.
What the file holds
The header lists about 100 service ids. Examples: 1 weapons, 2 armour, 3 gloves and boots, 4 upgrade, 6 rarify, 12 resistance sum, 13 alchemy production, 20 SP card upgrade, 23 cellon, 41 family warehouse, 45 SP perfection, 78 bank, 89 fishing shop, 93 SP wings fusion, 94 partner SP fusion, 96 fairy upgrade, 97 fairy rarify.
Each data row is shopType service1 … service6, preceded by a comment naming the NPC. 125 rows in all.
The shop type is the ShopType byte on the NPC's shop line, which NosCore already stores in Shop.ShopType.
Working on this. The parser now imports shoptype.dat into a ShopTypeService table, and an NpcServiceCatalog checks the open NPC's shop type before an up_gr runs (equipment upgrade 4, rarify 6, resistance sum 12, SP card upgrade 20, SP perfection 45) and before the family manager's extension shop opens (41). Client test and PR to follow.
Activity
erwan-joly commentedon Nov 15, 2026
Taking this one (Fix open bug tickets thread).
Generated by Claude Code
erwan-joly commentedon Nov 15, 2026
Working on this. The parser now imports shoptype.dat into a
ShopTypeServicetable, and anNpcServiceCatalogchecks the open NPC's shop type before an up_gr runs (equipment upgrade 4, rarify 6, resistance sum 12, SP card upgrade 20, SP perfection 45) and before the family manager's extension shop opens (41). Client test and PR to follow.Generated by Claude Code
Only let an NPC run the services its shop type offers
Only let an NPC run the services its shop type offers
Only let an NPC run the services its shop type offers
Only let an NPC run the services its shop type offers
Only let an NPC run the services its shop type offers
Only let an NPC run the services its shop type offers