Jump to content

[patch][6189] Writepdump


Guest CyberDragon

Recommended Posts

What bug does the patch fix? What features does the patch add?

The writepdump console command also accepts character names not just GUIDs.

For which SubVersion revision was the patch created?

6048

Is there a thread in the bug report section? If yes, please add a link to the thread.

Didn't find any.

Who has been writing this patch? Please include either forum user names or email addresses.

CyberDragon

Index: src/mangosd/CliRunnable.cpp
===================================================================
--- src/mangosd/CliRunnable.cpp        (revision 6048)
+++ src/mangosd/CliRunnable.cpp        (working copy)
@@ -110,7 +110,7 @@
        char * p2 = strtok(NULL, " ");
        if(!file || !p2)
        {
-                zprintf("Syntax is: writepdump $filename $playerGUID\\r\\n");
+                zprintf("Syntax is: writepdump $filename $playerNameOrGUID\\r\\n");
                return;
        }

@@ -120,7 +120,7 @@

        if(!guid)
        {
-                zprintf("Syntax is: writepdump $filename $playerGUID\\r\\n");
+                zprintf("Syntax is: writepdump $filename $playerNameOrGUID\\r\\n");
                return;
        }

Link to comment
Share on other sites

  • 4 weeks later...
×
×
  • 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