
***drop Change***
-
- Outpost bitch
- Posts: 559
- Joined: Wed Mar 30, 2005 6:45 am
this is pure mathetaics... use your head...
iDice(1,10) means random number between 1 and 10..
so if there is
IF ((iresult > 0) && (iresult < 5)) itemid=1 //watever item
else if ((iresult > 5) && (iresult < 10)) itemid=2 //watever item
else if (iresult = 10) itemid=3 //watever item
you can figure out that item nr 1 drops 50%
nr 2 on 40%
and nr 3 on 10% of cases...
the same thing is in your source.. but there is iDice(1,20000)
iDice(1,10) means random number between 1 and 10..
so if there is
IF ((iresult > 0) && (iresult < 5)) itemid=1 //watever item
else if ((iresult > 5) && (iresult < 10)) itemid=2 //watever item
else if (iresult = 10) itemid=3 //watever item
you can figure out that item nr 1 drops 50%
nr 2 on 40%
and nr 3 on 10% of cases...
the same thing is in your source.. but there is iDice(1,20000)
<img src='http://helbreath.pri.ee/userbars/hbest-gamemaster2.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/hbsoccer-owner.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/scorpa-rider.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/logout-master.jpg' border='0' alt='user posted image' /> <br>.<br>................................Ego sum Rage, flagellum Dei!<br><br>The problem with America is stupidity. I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? (bash.org)
GO FUCK URSELF
iDice(1,10)
Noob idiot!
iDice(1,10)
Noob idiot!
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
Use the source, Luke.
PS. XML kicks ass <a href='index.php?showtopic=6660' target='_blank'>click here</a>
PS. XML kicks ass <a href='index.php?showtopic=6660' target='_blank'>click here</a>
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
-
- Outpost bitch
- Posts: 559
- Joined: Wed Mar 30, 2005 6:45 am
USE THE FUCKING HEADhbmarius wrote: Please Basic Speak
example:
if you have dice 1..20000 and you but there.. if the number will be between 1 and 5000.. then think what is the probability to get radom number from 1..20000 to be between 1 and 5000?
X = (5000*100)/20000 = 25%
go to fcking school and learn some mathematics before trying to program C++
<img src='http://helbreath.pri.ee/userbars/hbest-gamemaster2.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/hbsoccer-owner.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/scorpa-rider.jpg' border='0' alt='user posted image' /> <img src='http://helbreath.pri.ee/userbars/logout-master.jpg' border='0' alt='user posted image' /> <br>.<br>................................Ego sum Rage, flagellum Dei!<br><br>The problem with America is stupidity. I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? (bash.org)
hum... i don't think there is any one...tester wrote: are there 2 topics on outpost, which dont contain a flame towards people? Anyways its thrue its in the Dice system.
Cheers Tester
But it turn peoples mad to see other peoples asking such basic things instead of using their fuckin' noobish empty head and search a litlle. It's time to wake up guys, you have a fuckin' brain, try to use it a little !!
The problem is that HBx released some good source files but 95% of the peoples who downloaded it are not able to use it, or not even able to build a full sentence in english. Some peoples think that they are coders and always try to add fucking noobish stuff in their files (/skills, /crits, /killeverybody, /ek...) or try to edit drops... They don't even realize the things thay can do with such files !!
Now client sources have been released too and WL sources are about to be released. Instead of being happy, peoples still complain again and again... Instead of learning some english speaking and c++ basics, they prefer ask stupid noobish questions. Instead of trying to do something themself, they prefer request fully moded sources comming from other peoples...
Helbreath community has always been like this since the sources has been leaked, and it'll always be so noobish untill this forum become private and openned only to the peoples who atleast know what mean all the buttons on the VC++ menu... When traffic is the first priority, we shouldn't be surprised to see so many noobish posts and flame towards peoples.
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
Do you want that supersized? :ph34r:diuuude wrote:hum... i don't think there is any one...tester wrote: are there 2 topics on outpost, which dont contain a flame towards people? Anyways its thrue its in the Dice system.
Cheers Tester
But it turn peoples mad to see other peoples asking such basic things instead of using their fuckin' noobish empty head and search a litlle. It's time to wake up guys, you have a fuckin' brain, try to use it a little !!
The problem is that HBx released some good source files but 95% of the peoples who downloaded it are not able to use it, or not even able to build a full sentence in english. Some peoples think that they are coders and always try to add fucking noobish stuff in their files (/skills, /crits, /killeverybody, /ek...) or try to edit drops... They don't even realize the things thay can do with such files !!
Now client sources have been released too and WL sources are about to be released. Instead of being happy, peoples still complain again and again... Instead of learning some english speaking and c++ basics, they prefer ask stupid noobish questions. Instead of trying to do something themself, they prefer request fully moded sources comming from other peoples...
Helbreath community has always been like this since the sources has been leaked, and it'll always be so noobish untill this forum become private and openned only to the peoples who atleast know what mean all the buttons on the VC++ menu... When traffic is the first priority, we shouldn't be surprised to see so many noobish posts and flame towards peoples.
It's true though..
<img src='http://i9.tinypic.com/2vs292h.jpg' border='0' alt='user posted image' />