Dastgir
Core Developer
- Messages
- 3,805
- Points
- 0
- Discord
- Dastgir#1460
- IRC Nickname
- Dastgir
- Github
- dastgirp
- Emulator
- Client Version
- 2019-02-28 RE
Reference topic : http://rathena.org/board/topic/84169-specialty-shops/
Pull Request : https://github.com/HerculesWS/Hercules/pull/232 (Tested it out, and its working.)
Diff File: SpecialShop_v1.2.diff (In case someone want to use it early/dev rejected it.)
I have tested this source, and it works fine, anyone who wants to try can test it.
Although in cashshop rearrangement, we would like if format is this
<map name>,<x>,<y>,<facing> pointshop <NPC Name> <sprite id>,<"points">,<"description">,<itemid>:<price>{,<itemid>:<price>...}
Where description is the name of point put, like if variable if PkP and description is PvP Points.
Then when we open shop it will show in chat box (not npc dialog box), that "This shop uses PvP Points for purchasing items. Current PvP Points:123"
Pull Request : https://github.com/HerculesWS/Hercules/pull/232 (Tested it out, and its working.)
Diff File: SpecialShop_v1.2.diff (In case someone want to use it early/dev rejected it.)
I have tested this source, and it works fine, anyone who wants to try can test it.
Stolao said:I wold like to suggest 2 new shop types (similar to cashshop)
1st being itemshop
Example:
<map name>,<x>,<y>,<facing> itemshop <NPC Name> <sprite id>,<costitem>,<itemid>:<price>{,<itemid>:<price>...}this would work just like a shop but would of course check for item defined in script
2nd would be more of a replacement to cashshop
Example:
Code:<map name>,<x>,<y>,<facing> pointshop <NPC Name> <sprite id>,<"points">,<itemid>:<price>{,<itemid>:<price>...}
this could use any player or account bound point types such as #CashPoints or PvpPoints, as defined in script
Now i know how to add these without any source changes I've done it a thousand times, I'm suggesting we eliminate alot of the complexity of those script types.
Thoughts?
Although in cashshop rearrangement, we would like if format is this
<map name>,<x>,<y>,<facing> pointshop <NPC Name> <sprite id>,<"points">,<"description">,<itemid>:<price>{,<itemid>:<price>...}
Where description is the name of point put, like if variable if PkP and description is PvP Points.
Then when we open shop it will show in chat box (not npc dialog box), that "This shop uses PvP Points for purchasing items. Current PvP Points:123"
Attachments
Last edited by a moderator: