Jump to content

Bug in MaNGOS .server info command


antiroot

Recommended Posts

Mangos Version: 11081

Custom Patches: AHbot

SD2 Version: 1959

Database Name and Version : UDB 0.12.1 (397)

How it SHOULD work:

typing .server info should give full server build server (which works first time)

How it DOES work:

entering this command more than once is causing the script library portion to "repeat"

its almost like when GetScriptLibraryVersion() is called from Level0.cpp Server Info command (line 107, i think it was) it is just appending more data to the pointer rather than over writing it

Anyways after running .server info (more than twice) i receive something like this

* The code box cuts of the interesting part, scroll to the right to see what i'm referring to

MaNGOS/0.17.0 (* * Revision 11081 - f07f145b2920e368aae206cd5cd62a3c594c150c) for FreeBSD_x32 (little-endian)
Using script library: ScriptDev2 (for MaNGOS 10950+) Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)Revision [1959] 2011-01-28 20:57:53 (Unix)
Using World DB: UDB 0.12.1 (397) for MaNGOS 11064 with SD2 SQL for rev. 1953
Using creature EventAI: ACID 3.0.8 - Full Release for Mangos (3.3.5a Client)
Online players: 1 (max: 2) Queued players: 0 (max: 0)
Server uptime: 2 Day(s) 3 Hour(s) 4 Minute(s) 26 Second(s).

more of an annoyance than anything, but seems like a couldbe memory leak if a user/script were to spam the .server info command over and over

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