Jump to content

RaptorTeak

Members
  • Posts

    4
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by RaptorTeak

  1. Yep, patch works great... I really like mangos, and I don't switch to other fork projects -which I won't name- for the mangos seriousness and professional way of developping, but I only regret that they take just a bit too much time to include patches that have been proven efficient and bug-free long ago . Anyway, I hope this patch will get in master soon..! Keep up the good work .
  2. sLog.outString("Kick Block"); if(!delay) { sLog.outString("Kick Block IF !DELAY"); return; } else { sLog.outString("Kick Block ELSE DELAY"); ChatHandler(this).GreenSystemMessageToPlr(this,"Yo u will be removed from the server in 6 seconds."); for (int A = 0; A < 1000000000; ++A); ChatHandler(this).GreenSystemMessageToPlr(this,"Yo u have 5 seconds left."); for (int B = 0; B < 1000000000; ++:cool:; ChatHandler(this).GreenSystemMessageToPlr(this,"4 seconds left what are you going to do?"); for (int C = 0; C < 1000000000; ++C); ChatHandler(this).GreenSystemMessageToPlr(this,"3 seconds. Try not to be so silly next time."); for (int D = 0; D < 1000000000; ++D); ChatHandler(this).GreenSystemMessageToPlr(this,"2 seconds left I hope you will try a little better next time."); for (int E = 0; E < 1000000000; ++E); ChatHandler(this).GreenSystemMessageToPlr(this,"Yo u have 1 seconds."); for (int F = 0; F < 1000000000; ++F); ChatHandler(this).GreenSystemMessageToPlr(this,"Go od Bye."); GetSession()->KickPlayer(); } THis is _horrible_ . If you try to understand it a bit, there are 6 loops that each count from 0 to 1000000000. (and the time for the processor to do it is wrongly estimated to 1s by the maker of this code) So : 1) This gonna make the CPU 100% and freeze the server 2) who said 1000000000 loops made one second? This isn't accurate at all You absolutly need to find another method.
  3. Forget what I said, finally could retrieve mangos and the git GUI under windows is pretty cool .
  4. I agree.... SVN was very cool and easy to use... now it's really a pain in the a**... I couldn't even retrieve mangos from its GIT repository, I don't understand a thing. SVN was just so much better... for a project like mangos anyway. And if you really wanna keep it, then continue using svn for major releases or smthing..
×
×
  • 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