Jump to content

Server's .server info expansion?

Guest MadJack

Recommended Posts

There's one thing I'd like to see when I ".server info":

.server info

MaNGOS/0.12.0 (Info STUFF)...

MaNGOSScript version...


scriptsdev2 version


whatever script library used

... other stuff

Anyway, I think you get the picture. But I'm wondering how could this be achieved. Iterating through the database looking for tables or other DBs for whatever "program" would be impractical or slow.

So... I'm wondering if it would be possible that each "addon" could use a new table we could create with things like addon name, version, build #, etc Or we could define fields that would be updated by other programs as they are loaded.

I'm suggesting that because sometimes I compile this or that stuff that I add up later but I'm never certain which version runs on the server.

Would it be interesting/useful to have such a thing? If so I could work on that.

Link to comment
Share on other sites

DB version possible output. For script DLL need some changes...

The way I see it is, when the lib loads, it checks if its version is up to date in the table. If it is, no change, if not, it updates it.

It's a bit hackish and would be preferable to poll it directly from the app to the lib but for now it could work.

Link to comment
Share on other sites

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use