![]() |
TAGS TAGS TAGS - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: TAGS TAGS TAGS (/Thread-TAGS-TAGS-TAGS) |
TAGS TAGS TAGS - richm - 08-12-2014 10:42 AM Hi I've been reviewing a few scripts, the "resource storage" types to be precise, such as reagent vase, scroll cases, etc. These scripts rely very heavily on TAGS, usually assigned to the item that you dclick to access the dialog. Is this the most efficient way of doing it? Or is there a better way? On modern day hardware and internet connections would it unduly lag the server/player if you were working on a script/dialog which used say 150+ tags to calculate stored resources, for example? Thanks RE: TAGS TAGS TAGS - darksun84 - 08-14-2014 04:24 AM Maybe there is a better way, can you post an example ? RE: TAGS TAGS TAGS - richm - 08-14-2014 04:49 AM Hi Well its a resource storage system, so i need a TAG i think to store the amount of resource stored, but it will do potions/logs (including custom)/ingots (inc. custom)/scrolls/cloths (inc custom) which is well over 200 tags :/ so in the gump section I would need this, times about 200? <eval <tag0.resource_name_amount_stored>> was just wondering if there is a better and/or more efficient way... or whether it doesnt actually matter about how many tags i use? thanks ![]() RE: TAGS TAGS TAGS - darksun84 - 08-14-2014 05:09 AM You can try to use LIST for this case. http://wiki.sphere.torfo.org/index.php/LIST RE: TAGS TAGS TAGS - richm - 08-14-2014 05:30 AM Thanks ill give it a look ![]() RE: TAGS TAGS TAGS - Extreme - 08-15-2014 05:55 AM Or the sqlite. |