Firefall’s server instances are numbered – that’s kinda boring. Wouldn’t it be cool if you could get a unique name for your instance? Well, now you can!
Using some kind of Lua voodoo, the Funky Instance Name Generator (or Fing) will create a readable name for your instance. Fing has been designed to work stand-alone and can be invoked from your own addon.
Calling Fing from your addon
If you are an addon author that uses the numerical instance ID for display, why not add an option to show the name instead? Here’s the steps required to use Fing:
1. Add a copy of Fing.lua to your addon’s folder
2. Add this code to the top of your addon:
3. Call Fing thusly:
local myinstancename = fing.GetInstanceName( myinstanceid );
Note that the input is optional. If you leave it blank then you will get the current instance’s name, otherwise you can specify an instance ID to get the name for that instance.
Now, isn’t that someFing!? :D
1.02 - Added an option to let you change the format of the response - /fing accepts an instance ID as a parameter - Instance name is shown on /rui 1.01 - Added support for /fing command 1.00 - Gives you a name for your instance