![]() |
Adding items to a MUD database
Once again, the Wiki has let me down.
I know we used to do it all the time on Kingdoms Debug - but how, again? I add a text file to mud/archetypes, and...? |
GK/Kingdoms Debug is the only server with built-in MUD functions.
Check the scripts you have to find out how it reads them, then create a file in the appropriate director. |
Yeah, done that bit and it's basically giving me the 404. I think I have to /restart something before it'll find the right file, but that's okay, I'd rather have the player touch an NPC and the NPC sets their strings than the NPC calls a text file to set their string from some magical muddy database I can neither access nor control...
PHP Code:
Nor is ItemDB mentioned in any other weapons or classes (except this class's GetItem function, which calls it to return one line thereof, and that's all)... Nor does the word "join" occur in Any scripts on the server at all...it's all rather frustrating. |
That's not actually a MUD system. That's reading strings from a database NPC.
Your best bet is to just rescript it. |
Right, database NPC. No idea what or where or how to edit that. :-D
Yeah, I'm gonna go with my first plan; anything that can give you a shotgun joins the Shotgun_Get class, which knows what strings to set. Anything that wants to know the stats on the shotgun can check their clientr.item_ list. Thanks! :-D |
| All times are GMT +2. The time now is 10:51 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.