Jump to content

small shell line to show expected client


Guest Deadalus

Recommended Posts

echo "Expected Client Build: `more src/realmd/AuthCodes.h|grep EXPECTED_MANGOS_CLIENT_BUILD|awk '{print $3}'|sed 's/,//'|sed 's/{//'`"

simply execute this shell line in your mangos checkout dir.

i hate those cryptical lines, so i explain, what these do.

more src/realmd/AuthCodes.h prints the output directly to the console.

|grep EXPECTED... sends this output as a stream to grep which outputs just the wanted line.

|awk '{print $3}' sends this stream to awk and awk only outputs the third item (which is in this case {9506,)

those two sed's are needed to remove those "symbols".

Have fun with it.

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