-
First Dev On The Internet
-
Post Thanks / Like - 12 Thanks
ch25,
gaagaa_se,
armorvil,
johnbl,
aaa111952,
TobiaSBooN,
Rs400,
Stormreaver,
TheDiscordian,
Adilmf,
ancientegs,
Cyberbertl (12 members gave Thanks to User5981 for this useful post)
-
Member
-
Active Member
Good job.
Is there any way to keep % when restart game? Primal % is calculated account wide, not per game I think.
M
-
Contributor
How you calculate this chance?
Ancient is 10% + every non ancient item increase 10% more up to 100% or what?
-
First Dev On The Internet
Originally Posted by
MrOne
How you calculate this chance?
Ancient is 10% + every non ancient item increase 10% more up to 100% or what?
According to what I read on websites :
Ancients have a 10% chance to drop each legendary drop.
Primals have a 0.22% chance to drop each legendary drop.
(if you have more precise or exact stats, I'll be glad to modify the plugin)
The % of probability formulae is :
(1 - (unsuccessful drop chance)^(number of unsuccessful drops))*100
so for Ancients :
(1 - (9/10)^(number of legendaries dropped))*100
primals :
(1 - (99.78/100)^(number of legendaries dropped))*100
Each time a Legendary drops, Both dedicated legendaries counters are incremented.
Each time an Ancient drops, the dedicated legendaries counter is reset for Ancients.
Each time a Primal drops, the dedicated legendaries counter is reset for Primals.
(simplified explanation)
Originally Posted by
ch25
Good job.
Is there any way to keep % when restart game? Primal % is calculated account wide, not per game I think.
M
It keeps calculating as long as TurboHUD is running, on restarting it, it is reset to the lowest probability.
Keeping the % when shutting down/restarting TurboHUD would require writing to a file the total amount of legendaries, ancient & primal dropped at the moment of the shutdown and the legendaries, ancient & primal dropped during that session, that's above my level at this moment.
Last edited by User5981; 01-27-2018 at 04:17 PM.
-
Post Thanks / Like - 1 Thanks
Stormreaver (1 members gave Thanks to User5981 for this useful post)
-
Active Member
For writing to a file you can just use the Hud.Textlog.Log (you can see the syntax in paragon capture plugin), but I'm not sure there's an internal method to read these files.
-
Member
Change of percent doesn't work for Kadala and cubed.
-
First Dev On The Internet
Originally Posted by
F3n1XX
Change of percent doesn't work for Kadala and cubed.
Yep I noticed, I will investigate...Thanks.
-
Post Thanks / Like - 1 Thanks
Stormreaver (1 members gave Thanks to User5981 for this useful post)
-
First Dev On The Internet
Fixed! Download new version ;-)
-
Post Thanks / Like - 1 Thanks
Stormreaver (1 members gave Thanks to User5981 for this useful post)
-
Member
Originally Posted by
User5981
Fixed! Download new version ;-)
I do not know why but it does not work for me and I leave exceptions
-
First Dev On The Internet
Originally Posted by
Kruxy4
I do not know why but it does not work for me and I leave exceptions
paste exceptions here so I can fix it
-
Post Thanks / Like - 1 Thanks
Stormreaver (1 members gave Thanks to User5981 for this useful post)
-
Member
Originally Posted by
User5981
paste exceptions here so I can fix it
I keep all the file well, but inside the game I do not get the PrimalAncientProbabilityPlugin and I get exceptions
-
First Dev On The Internet
Please, paste here the errors located at :
TurboHUD\logs\exceptions.txt
-
Post Thanks / Like - 1 Thanks
Stormreaver (1 members gave Thanks to User5981 for this useful post)
-
Member
Originally Posted by
User5981
Please, paste here the errors located at :
TurboHUD\logs\exceptions.txt
2018.01.29 18:58:38.882namespace mismatch in plugin file: 'C:\Users\wisow\Desktop\turbo\Plugins\Default\PrimalAncientProbabilityPlugin.cs' : namespace should be this: 'Turbo.Plugins.Default
-
First Dev On The Internet
Originally Posted by
Kruxy4
2018.01.29 18:58:38.882namespace mismatch in plugin file: 'C:\Users\wisow\Desktop\turbo\Plugins\Default\PrimalAncientProbabilityPlugin.cs' : namespace should be this: 'Turbo.Plugins.Default
ok classic error : You downloaded the plugin with a right click and so downloaded an html page renamed PrimalAncientProbabilityPlugin.cs, download with a left click
-
Post Thanks / Like - 1 Thanks
Stormreaver (1 members gave Thanks to User5981 for this useful post)