Quote:
Originally Posted by geheimerbauer
Hello Guys,
is it possible that a server has got 2 start parameters? And if yes how can i find those?
|
Already exists for Twn FlyFF (Patcher Login) so look @
mdLine in NeuzMsgProc.cpp.
You See:
Quote:
TCHAR szArg1[64] = {0, };
TCHAR szArg2[64] = {0, };
TCHAR szArg3[64] = {0, };
TCHAR szArg4[64] = {0, };
TCHAR szArg5[64] = {0, };
_stscanf( lpCmdLine, "%s %s %s %s %s", szArg1, szArg2, szArg3, szArg4, szArg5 );
|
"szArg1" = "sunkist"
"szArg2" = ""
...
So if you want a second one you can check szArg2 for it.