Jump to content

UdvAtt108

Member
  • Posts

    30
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by UdvAtt108

  1. I cant understand what is that so hard to figure out. You can send cmd to server for example /guildblock 1/0 (on/off), after it you can parse the command on server side. Use the exists quest flag (it is potato level) or you can edit the guild manager to handling this option. for the invite check, you can use that quetflag or that guild manager modification at the invite request. Of course there are so many possible way to make it. These are just quick examples for a beginner...
  2. That is not correct. You can check the argument exists like the following exmaple: if(vecArgs.size() >= 1 && !vecArgs[0].empty()) //if it has to be with one argument if(vecArgs.size() >= 2 && !vecArgs[1].empty()) //if it has to be with two argument if(vecArgs.size() >= 3 && !vecArgs[2].empty()) //if it has to be with three argument etc...etc...etc... Be carefull, because when you would like to get the contained string from vector for example to a const char *, you have to convert the string to char*: vecArgs[0].c_str()
  3. I would like to correct you. ++it is more efficient because it++ need to return a copy of the object then increment itself.
  4. Hi there! It is my homemade version.... I saw this topic and I was curious how difficult it was to do, and it wasn't that difficult. Gl to make it! Hungarian power!
×
×
  • 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.