- Joined
- Sep 12, 2013
- Messages
- 146
- Reaction score
- 66
Catalog Switch Script
So you're running a very old catalog and want to switch to a new one, possibly released or custom, but you just can't be asked to add them to your own one? No problem, here's the scripts!
NOTE! Before you run the script, make sure you actually have all the customs you previously had added to your new items_base.
The easiest way to check this is:
So the script will replace your `items`-tables ID's with the new ones, so you won't lose rooms and such.
Tutorial
1. npm i
2. Fix the db settings in index.js
3. node src/index.js
Requirements:
- Node. That's about it.
Downloads:
Credits
- higoka (Discord: higoka#7120,
- Oliver ig
So you're running a very old catalog and want to switch to a new one, possibly released or custom, but you just can't be asked to add them to your own one? No problem, here's the scripts!
NOTE! Before you run the script, make sure you actually have all the customs you previously had added to your new items_base.
The easiest way to check this is:
Code:
SELECT items_base_old.item_name
FROM items_base_old
WHERE items_base_old.item_name NOT IN(SELECT items_base.item_name FROM items_base) AND type = 's'GROUP BY item_name
So the script will replace your `items`-tables ID's with the new ones, so you won't lose rooms and such.
Tutorial
1. npm i
2. Fix the db settings in index.js
3. node src/index.js
Requirements:
- Node. That's about it.
Downloads:
You must be registered to see links
Credits
- higoka (Discord: higoka#7120,
You must be registered to see links
)- Oliver ig