Pink ORB - MIxed - Printable Version +- Reign of the Undead - Revolution (https://modszombies.com) +-- Forum: Reign of the Undead (https://modszombies.com/forum-Reign-of-the-Undead) +--- Forum: Bugs (https://modszombies.com/forum-Bugs--23) +--- Thread: Pink ORB - MIxed (/thread-Pink-ORB-MIxed) |
Pink ORB - MIxed - Forau - 08-23-2016 These pink fuckers aint targeting just 1 player ....? Standing on a med kit and still after 20 seconds play i died (still on medkit) Just left the game due to it RE: Pink ORB - MIxed - Soldier . . . - 08-23-2016 The Pink indicate that they are ladylike. And ladies just love a handsome doctor... Forau Now seriously. I do agree/have the feeling that medics are targeted more by the blue and the pink balls. RE: Pink ORB - MIxed - fashion - 08-23-2016 The pink lights attacks on 1 player and when hit u pink lights u gonna die dont care if u stay on medkit u die Medkit is weak .... u need to stay on 2 medkit if no u die RE: Pink ORB - MIxed - fabio - 08-24-2016 (08-23-2016, 10:41 PM)Soldier . . . Wrote: I do agree/have the feeling that medics are targeted more by the blue and the pink balls. You're feeling is wrong then.. The balls always target a random player.. RE: Pink ORB - MIxed - West - 08-24-2016 Yep, Fabio is right. They target random players, so if you're unlucky you'll have 2 or 3 balls following you (that means you'll die anyway). BTW they can stuck so they'll look like one (talking about those pink balls). RE: Pink ORB - MIxed - Forau - 08-24-2016 How come i died of 3 of them at once this morning after 60 sec of mixed? Suggestion : 1 zomb can only shot out 1 orb, not 2, not 3... then one can take multiple hits in a row, not at once. @ Soldier, Im making a sex transplant Regards Mr F(ed up). RE: Pink ORB - MIxed - Soldier . . . - 08-24-2016 I have completely lost the faith in the randomness of the random generator of CoD a long time a go already. Here a better algorithm to generate a random value. You can try to implement this one and use it instead of the one of CoD. If you have time and like to do it of course Code: static unsigned int m_z = 12434; examples: Quote:number of random generator function calls checked: 2000000 Quote:number of random generator function calls checked: 2000000 Quote:number of random generator function calls checked: 4000000 Quote:number of random generator function calls checked: 4000000 RE: Pink ORB - MIxed - fabio - 08-26-2016 Uuuuh this looks cool. I'm going to implement this. Let's see if we can see a difference.. RE: Pink ORB - MIxed - Soldier . . . - 08-26-2016 It is based on a Multiply With Carry generator and I added a extra, which makes the chance that the value is the same as the previous one, a lot smaller. Do note that the constant and (sometimes) the start numbers can make or brake the randomness! The variable iSize is the max value - 1 it can select from. So if iSize = 16, the return value will be between 0 and 15. Made a little change: If both variable "m_z" and "m_w" become 0 at the same time. The output will always be 0. (something that we don't want ) Code: unsigned int random (unsigned int iSize) note: The variable "m_z", "m_w" and "iRandOld" need to be saved in a way that they wont get cleared. (in 'c/c++' static enables you to save the declared variable outside the function) RE: Pink ORB - MIxed - fabio - 08-26-2016 Thanks Soldier, I think I know how to implement it. Actually I'm a C++ Developer in my Company, so this shouldn't be a problem hehe Additionally CoD UO GSC is based on C++... Should work Thanks! |