Installation Instructions.txt

main 21 lines · 1.1 KB Raw
Alex Alex Commit Initial commit 01/10/2026 09:20
1TFS 1.6 uses the same revscriptsys API as TFS 1.0 / 1.4, so these files are
2identical to the ones in Lua/TFS_10/revscriptsys.
3
4Step 1: Copy the .lua files you need into data/scripts/ (any sub-folder works).
5 The shop system needs both:
6 - shopsystem_talkaction.lua (players type !shop to receive orders)
7 - shopsystem_globalevent.lua (delivers orders to online players every
8 30s, only while they stand in a PZ)
9 You can run just the talkaction if you prefer manual !shop delivery.
10
11Step 2: Restart the server (or /reload scripts).
12
13Notes:
14 - shopsystem: znote_shop_orders.itemid holds the item id (type 1), the packed
15 outfit pair male*1000 + female (type 5), the mount id (type 6), or the house
16 id (type 7, with the buyer player id in `count`).
17 - znote_login.lua keeps SERVER_NAME / IP / GAME_PORT in znote_global_storage in
18 sync with config.lua for the AAC login web service.
19 - powergamers.lua and player_history.lua need the SQL columns / tables listed
20 at the top of each file before first use.
21
Top