Jump to content

tmoitoi

Inactive Member
  • Posts

    158
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by tmoitoi

  1. Hi, I was not active all this time along, I don't know if you are still using this, but you can simplify like this: if (ch->IncreaseChatCounter() >= 10) { if (ch->GetChatCounter() == 10) { strlcpy(buf, data + sizeof(TPacketCGChat), MIN(iExtraLen + 1, sizeof(buf))); std::vector<std::string> stringsToFind = {"(Ȳ´ç)", "(µ·)", "(±â»Ý)", "(ÁÁľĆ)", "(»ç¶ű)", "(şĐłë)", "(ľĆÇĎ)", "(żěżď)", "(ÁËĽŰ)", "(!)", "(?)", "(fish)", "(celebration)", "(alcohol)", "(weather3)", "(letter)", "(hungry)", "(busy)", "(charging)", "(call)", "(weather1)", "(weather2)", "(siren)", "(nosay)", "(whirl)"}; bool found = false; for(const auto &str : stringsToFind) { if (std::string(buf).find(str) != std::string::npos) { found = true; break; } } if (!found) { sys_log(0, "CHAT_HACK: %s", ch->GetName()); ch->GetDesc()->DelayedDisconnect(5); } } return iExtraLen; }
  2. Hi there, I just founded a bug today in my gameclient, when I try to login with invalid id or password or a blocked account, the window stay at "Attemping to connect.." and nothing else, login success and "already connected" works. Anyone has an idea ? Didn't changed anything related to this on my src. Thanks
  3. Hi there, Just added the RenderTarget system recently and I get a problem, nobody has talked about that so.. When you launch an other gameclient for example or execute something as administrator, the gameclient graphic get freeze, but, you can move ingame/move mouve and ear sounds. Any idea ? Thx
  4. Not any existence of any .AVI or logo1.avi in the source, do you have the function ? Thanks
  5. Hi, anyone has an idea about how to make something like webzen & gameforge ? To be honnest i've searched many ways and I didn't find how they does, if anybody has an idea or a link too something working with.. Thanks guys
  6. Problem fixed, recompiling was not the solution for this project so I just added this sequence in the JpegFile.cpp in EterLib and that's well now, thanks guys. extern "C" { FILE __iob_func[3] = { *stdin,*stdout,*stderr }; } //Fix
  7. IIHi there, anyone has an idea about these 2 errors ? I've tried to take back an old client source compiled in vs2008/2010 i don't know and update all required but.. I just don't find any issue for this (vs2017) libjpeg-9aMT.lib(jerror.obj) : error LNK2001: symbole externe non rÚsolu ___iob_func Thanks
  8. It depend of "how" you use it, using a TeamSpeak 3 module can be fun due to the many plugins who exist about auto moderation and many things like that like (Auto ban if spam music ..) and others, to give the possibility to the player to enable/disable the system and to change volume, and I mean TeamSpeak 3 for Server, not the software TeamSpeak 3 for players, I'm been speaking about a distance vocal for example if the player is near u, u hear him, not if he go blue map 1 and you stay map 1 red or have to many distances on the same map..
  9. Hi guys, I was asking myself, maybe anyone has already worked on anything like that, why not an ingame voice like the plugin TaskForce Radio for Arma 3 ? Something like, you have the voice chat on the current map/zone/near and other possibilites like that ? To be honnest I haven't tried anything about it for the moment but I think that TeamSpeak 3 must be the best to use for it (Regarding ts3 sdk [Hidden Content]) What do you think about a system like it ?
  10. Really nice, do you share the face of the girl ? Thanks bro !
  11. You welcome, I understand, but anyway, the commands like (fish), (!) will also disconnect you while spamming them.
  12. DHCP is an automatic IP assigniation who make few requests, many hostings like OVH doesn't allow it because it don't use the right network configuration as they want and also make flood of local-network also they don't allow it, it depend of how they make the VPS and of hostings. You need to use a manual network configuration like @dmitry told, if your hosting use the same way as OVH you can look at this -> [Hidden Content]
  13. Go to input_main.cpp, search for CHAT_HACK and change like I do upper then if, for example, your emotion commands is "/sky" you change /your_command_xxx by /sky, be carrefull, i've edited code he was wrong. Hope you understand
  14. @Braxy Thanks but I'm not a beginner ? I don't wanna repeat it at each login don't worry, it's a quest who start only if mysql-data is == to 0 ^^ Anyway guys the problem is fixed just few changes on the server-src, thanks for help, appreciated ?
  15. Like I told you upper, make an exeption on the code of the /commands, but I don't recommend you this function in any cases because it can be a security issue. if (ch->IncreaseChatCounter() >= 10) { if (ch->GetChatCounter() == 10) { if (!(std::string(buf).find("/your_command_xxx") != std::string::npos || std::string(buf).find("your_command_xxx2") != std::string::npos)) { sys_log(0, "CHAT_HACK: %s", ch->GetName()); ch->GetDesc()->DelayedDisconnect(5); } } return iExtraLen; }
  16. Hi there, thank for the viewing, I've got an ask guys, I'm working on language quest today and I got a problem never seen before, I wan't to use a local select function on my quest with a "when login begin" BUT. But, when I make any choice, It didn't work, I've tried the same quest just replacing the when login begin with a with xxx.use begin and so the quest work completly. Any idea ? Thx I mean this fucntion: local c=select("1", "2") if 1 == c then chat("1") elseif 2 == c then chat("1")
  17. Hi, I don't recommend you to remove this protection who block the chat/pm spam. I don't know what code you've taked because i've not this system but you can simply increase the Counter before kick function change 10 to 15 for example, or just make an exception in this part if user use "x command" on the chat.
  18. Fix for offline players work well ? About log I already ignore the whisper_renewal sequence and now that's perfect. @Kori i show here log to understand the problem
  19. Take a look: An example: Hi {enter} Hi {delete} Salut {enter} there is already 8 request (also 8 logs) for 2 words. I think with many players it can be a real problems of performance and mysql spam.
  20. I don't use vs2008 xD I just tell it because many people will come there and cry because they've followed tutorials ? Anyway your system works but there's 2 problems I let you show [Hidden Content] (1 can be fixed easly on the source) [Hidden Content] (Without submitting anything)
×
×
  • 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.