Jump to content
  • 1

Client argument not working


Cripplez
Go to solution Solved by WeedHex,

Question

 

Hello, I tried to add this argument in client source but when I try to open the client with the correct argument it doesn't load it, if the argument is wrong it says the message of error.

Do you know what could be the problem?

 

    if (strstr(lpCmdLine, "--open-testmt2") == 0)
        MessageBox(NULL, "[Error] Start from autopatcher", "metin2client", MB_ICONSTOP);
        return 0;

 

Edited by Cripplez (see edit history)
Link to post

3 answers to this question

Recommended Posts

  • 0
  • VIP
49 minutes ago, Cripplez said:

Yea I forgot to add these after the if.. { }
Thanks

Yes right...

But I think is better you use  std::string with strcmp.

 

 

Link to post
Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.