View unanswered posts | View active topics It is currently Thu Apr 25, 2024 6:05 pm



Reply to topic  [ 52 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Drop charts 
Author Message
Rookie

Joined: Sun Mar 14, 2010 7:07 am
Posts: 19
Post Re: Drop charts
Karma wrote:
Holy shift! Check out the asymptote on that mother function!

Yeah, the drop charts were primarily done, if I remember correctly, by a member of the community. They likely meant very low chance when they used that.



I can re-generate the charts if they are old now .. I kept the script.

The 1/infinity thing comes from ....


Code:
            if {[regexp {([^\n]+)[\s]+([0-9]+)[\s]+([A-Fa-f0-9]+)} $monster trash name rate item]} {
            
               set orate $rate
            
               if {[catch {set rate $RATE_MAP($rate)}]} {
                  lappend error "rate skipped $rate"
                  continue
               }
               
               if {[catch {set item $ITEM_MAP($item)}]} {
                  lappend error "item skipped $item"
                  continue
               }
               
               lappend error "loop not skipped\n"
               
               set monster [string trim $name "# "]
               set ratep $rate
               set rate [expr $rate / 100]
               set num 1
               if {$rate == 0} {
                  set denom {∞}
               } elseif {$orate == 255} {
                  set num 7
                  set denom 8
               } else {
                  set denom [expr round (1 / $rate)]
               }


Which means that there was a 0 in the rates (as gleaned from the regexp in the rates file) ... or it wasn't floating point arithmetic and so divided to 0 (and I haven't seen the files in a long long time so I don't remember).

Let me know if you want me to regenerate the charts (and possibly fix that issue, if it is one)


Thu Mar 03, 2011 3:53 pm
Profile
Rookie

Joined: Sun Mar 14, 2010 7:07 am
Posts: 19
Post Re: Drop charts
In fact looking closer it can't possibly be a bug - it prints 0.00000% which is a direct mapping from the files which contain the hex to percent mappings .. it got a 0.00000% mapping from the hex code which is why it generated 1/infinity. So either the hex to percent rate mappings were wrong, or at some point in time, those items really were configured impossible to drop.


Thu Mar 03, 2011 4:01 pm
Profile
PROSPECTORS!
User avatar

Joined: Tue Oct 06, 2009 10:21 pm
Posts: 2416
Location: Dragon cave
Post Re: Drop charts
If you wouldn't mind, that'd be fantastic. I can supply you with the current drop files.

Just a moment though, I remembered one thing I'd like to change before I give them to you.


Thu Mar 03, 2011 4:06 pm
Profile
Rookie

Joined: Sun Mar 14, 2010 7:07 am
Posts: 19
Post Re: Drop charts
Well surely you should be giving me the drop files that the server uses in order for it to be accurate? Or are you going to be changing them for the server as well?


Thu Mar 03, 2011 4:30 pm
Profile
PROSPECTORS!
User avatar

Joined: Tue Oct 06, 2009 10:21 pm
Posts: 2416
Location: Dragon cave
Post Re: Drop charts
I'm changing them for the server, which I'll restart when I get back from class around an hour for now.

The fact that you're making a chart of it again just helped motivate me to make the changes. XD

http://www.mediafire.com/?2d61so49iuiikkl


Thu Mar 03, 2011 4:36 pm
Profile
Rookie

Joined: Sun Mar 14, 2010 7:07 am
Posts: 19
Post Re: Drop charts
Its not like it takes me very long to generate (~1 second) but before I go making a file that is wrong, like to confirm that these mapping are correct?

Code:
checking rate 0 , 87.423600 %
checking rate 1 , 0.000000 %
checking rate 2 , 12.515200 %
checking rate 3 , 24.947500 %
checking rate 4 , 37.492600 %
checking rate 5 , 50.066400 %
checking rate 6 , 62.367300 %
checking rate 7 , 74.981000 %
checking rate 8 , 75.040400 %
checking rate 9 , 0.000000 %
checking rate 10 , 24.999300 %
checking rate 11 , 50.019300 %
checking rate 12 , 74.944600 %
checking rate 13 , 0.000000 %
checking rate 14 , 25.068400 %
checking rate 15 , 50.093600 %
checking rate 16 , 49.923500 %
checking rate 17 , 0.000000 %
checking rate 18 , 50.012600 %
checking rate 19 , 0.000000 %
checking rate 20 , 49.942500 %
checking rate 21 , 0.000000 %
checking rate 22 , 49.998300 %
checking rate 23 , 0.000000 %
checking rate 24 , 0.000000 %
checking rate 25 , 0.000000 %
checking rate 26 , 0.000000 %
checking rate 27 , 0.000000 %
checking rate 28 , 0.000000 %
checking rate 29 , 0.000000 %
checking rate 30 , 0.000000 %
checking rate 31 , 0.000000 %
checking rate 32 , 0.000000 %
checking rate 33 , 0.000000 %
checking rate 34 , 0.000000 %
checking rate 35 , 0.000000 %
checking rate 36 , 0.000000 %
checking rate 37 , 0.000000 %
checking rate 38 , 0.000000 %
checking rate 39 , 0.000000 %
checking rate 40 , 0.000000 %
checking rate 41 , 0.000000 %
checking rate 42 , 0.000000 %
checking rate 43 , 0.000000 %
checking rate 44 , 0.000000 %
checking rate 45 , 0.000000 %
checking rate 46 , 0.000000 %
checking rate 47 , 0.000000 %
checking rate 48 , 0.000000 %
checking rate 49 , 0.000000 %
checking rate 50 , 0.000000 %
checking rate 51 , 0.000000 %
checking rate 52 , 0.000000 %
checking rate 53 , 0.000000 %
checking rate 54 , 0.000000 %
checking rate 55 , 0.000000 %
checking rate 56 , 0.000000 %
checking rate 57 , 0.000000 %
checking rate 58 , 0.000000 %
checking rate 59 , 0.000000 %
checking rate 60 , 0.000000 %
checking rate 61 , 0.000000 %
checking rate 62 , 0.000000 %
checking rate 63 , 0.000100 %
checking rate 64 , 0.000000 %
checking rate 65 , 0.000000 %
checking rate 66 , 0.000000 %
checking rate 67 , 0.000000 %
checking rate 68 , 0.000000 %
checking rate 69 , 0.000000 %
checking rate 70 , 0.000000 %
checking rate 71 , 0.000000 %
checking rate 72 , 0.000100 %
checking rate 73 , 0.000000 %
checking rate 74 , 0.000000 %
checking rate 75 , 0.000100 %
checking rate 76 , 0.000000 %
checking rate 77 , 0.000000 %
checking rate 78 , 0.000000 %
checking rate 79 , 0.000000 %
checking rate 80 , 0.000000 %
checking rate 81 , 0.000000 %
checking rate 82 , 0.000200 %
checking rate 83 , 0.000000 %
checking rate 84 , 0.000100 %
checking rate 85 , 0.000000 %
checking rate 86 , 0.000000 %
checking rate 87 , 0.000100 %
checking rate 88 , 0.000000 %
checking rate 89 , 0.000000 %
checking rate 90 , 0.000100 %
checking rate 91 , 0.000000 %
checking rate 92 , 0.000100 %
checking rate 93 , 0.000200 %
checking rate 94 , 0.000100 %
checking rate 95 , 0.000100 %
checking rate 96 , 0.000100 %
checking rate 97 , 0.000100 %
checking rate 98 , 0.000100 %
checking rate 99 , 0.000100 %
checking rate 100 , 0.000100 %
checking rate 101 , 0.000500 %
checking rate 102 , 0.000100 %
checking rate 103 , 0.000300 %
checking rate 104 , 0.000000 %
checking rate 105 , 0.000100 %
checking rate 106 , 0.000100 %
checking rate 107 , 0.000500 %
checking rate 108 , 0.000000 %
checking rate 109 , 0.000300 %
checking rate 110 , 0.000100 %
checking rate 111 , 0.000400 %
checking rate 112 , 0.000200 %
checking rate 113 , 0.000500 %
checking rate 114 , 0.001000 %
checking rate 115 , 0.000600 %
checking rate 116 , 0.000500 %
checking rate 117 , 0.000300 %
checking rate 118 , 0.000400 %
checking rate 119 , 0.000600 %
checking rate 120 , 0.001000 %
checking rate 121 , 0.000800 %
checking rate 122 , 0.000900 %
checking rate 123 , 0.001000 %
checking rate 124 , 0.001700 %
checking rate 125 , 0.001300 %
checking rate 126 , 0.001000 %
checking rate 127 , 0.001200 %
checking rate 128 , 0.000700 %
checking rate 129 , 0.001200 %
checking rate 130 , 0.002600 %
checking rate 131 , 0.002200 %
checking rate 132 , 0.002500 %
checking rate 133 , 0.002100 %
checking rate 134 , 0.002400 %
checking rate 135 , 0.002300 %
checking rate 136 , 0.003200 %
checking rate 137 , 0.002400 %
checking rate 138 , 0.004100 %
checking rate 139 , 0.004100 %
checking rate 140 , 0.004400 %
checking rate 141 , 0.004900 %
checking rate 142 , 0.004900 %
checking rate 143 , 0.005900 %
checking rate 144 , 0.004700 %
checking rate 145 , 0.006000 %
checking rate 146 , 0.006000 %
checking rate 147 , 0.008000 %
checking rate 148 , 0.008700 %
checking rate 149 , 0.007900 %
checking rate 150 , 0.010100 %
checking rate 151 , 0.011000 %
checking rate 152 , 0.009700 %
checking rate 153 , 0.010800 %
checking rate 154 , 0.013400 %
checking rate 155 , 0.013800 %
checking rate 156 , 0.019000 %
checking rate 157 , 0.019200 %
checking rate 158 , 0.019800 %
checking rate 159 , 0.017900 %
checking rate 160 , 0.022000 %
checking rate 161 , 0.024500 %
checking rate 162 , 0.027200 %
checking rate 163 , 0.028100 %
checking rate 164 , 0.033800 %
checking rate 165 , 0.037100 %
checking rate 166 , 0.040600 %
checking rate 167 , 0.044700 %
checking rate 168 , 0.042500 %
checking rate 169 , 0.050500 %
checking rate 170 , 0.052400 %
checking rate 171 , 0.059300 %
checking rate 172 , 0.069000 %
checking rate 173 , 0.072500 %
checking rate 174 , 0.076000 %
checking rate 175 , 0.084600 %
checking rate 176 , 0.087600 %
checking rate 177 , 0.096900 %
checking rate 178 , 0.113300 %
checking rate 179 , 0.121800 %
checking rate 180 , 0.131300 %
checking rate 181 , 0.147100 %
checking rate 182 , 0.163100 %
checking rate 183 , 0.176900 %
checking rate 184 , 0.167700 %
checking rate 185 , 0.194200 %
checking rate 186 , 0.221600 %
checking rate 187 , 0.232200 %
checking rate 188 , 0.261100 %
checking rate 189 , 0.287400 %
checking rate 190 , 0.315700 %
checking rate 191 , 0.343400 %
checking rate 192 , 0.338800 %
checking rate 193 , 0.384400 %
checking rate 194 , 0.438100 %
checking rate 195 , 0.489200 %
checking rate 196 , 0.529900 %
checking rate 197 , 0.583900 %
checking rate 198 , 0.636300 %
checking rate 199 , 0.688400 %
checking rate 200 , 0.690800 %
checking rate 201 , 0.783200 %
checking rate 202 , 0.862600 %
checking rate 203 , 0.964200 %
checking rate 204 , 1.086200 %
checking rate 205 , 1.161200 %
checking rate 206 , 1.266300 %
checking rate 207 , 1.377100 %
checking rate 208 , 1.387000 %
checking rate 209 , 1.563000 %
checking rate 210 , 1.774900 %
checking rate 211 , 1.953900 %
checking rate 212 , 2.151700 %
checking rate 213 , 2.345400 %
checking rate 214 , 2.552000 %
checking rate 215 , 2.748500 %
checking rate 216 , 2.729700 %
checking rate 217 , 3.134700 %
checking rate 218 , 3.537100 %
checking rate 219 , 3.936900 %
checking rate 220 , 4.301200 %
checking rate 221 , 4.691200 %
checking rate 222 , 5.103900 %
checking rate 223 , 5.490200 %
checking rate 224 , 5.427400 %
checking rate 225 , 6.221300 %
checking rate 226 , 7.009300 %
checking rate 227 , 7.800600 %
checking rate 228 , 8.616100 %
checking rate 229 , 9.333600 %
checking rate 230 , 10.225600 %
checking rate 231 , 10.955800 %
checking rate 232 , 10.958200 %
checking rate 233 , 12.501700 %
checking rate 234 , 14.095000 %
checking rate 235 , 15.667700 %
checking rate 236 , 17.202600 %
checking rate 237 , 18.770000 %
checking rate 238 , 20.349900 %
checking rate 239 , 21.910700 %
checking rate 240 , 21.859700 %
checking rate 241 , 25.087600 %
checking rate 242 , 28.135300 %
checking rate 243 , 31.229800 %
checking rate 244 , 34.261400 %
checking rate 245 , 37.541700 %
checking rate 246 , 40.628400 %
checking rate 247 , 43.627300 %
checking rate 248 , 43.703000 %
checking rate 249 , 50.030300 %
checking rate 250 , 56.256800 %
checking rate 251 , 62.498900 %
checking rate 252 , 68.749500 %
checking rate 253 , 74.934800 %
checking rate 254 , 81.286300 %
checking rate 255 , 87.490400 %
In your event 232 is - checking rate 232 , 10.958200 %


Thu Mar 03, 2011 4:49 pm
Profile
PROSPECTORS!
User avatar

Joined: Tue Oct 06, 2009 10:21 pm
Posts: 2416
Location: Dragon cave
Post Re: Drop charts
I'm pretty sure they are. I don't remember Choko or anyone making any changes to them.


Thu Mar 03, 2011 4:51 pm
Profile
Rookie

Joined: Sun Mar 14, 2010 7:07 am
Posts: 19
Post Re: Drop charts
New chart is here http://www.mediafire.com/?k6cb1hdnf9qrcoz


Thu Mar 03, 2011 5:11 pm
Profile
Rookie

Joined: Sun Mar 14, 2010 7:07 am
Posts: 19
Post Re: Drop charts
Some stuff is still 0.0000000%, but its only 6 items on viridia hard mode ....


Thu Mar 03, 2011 5:11 pm
Profile
Rookie

Joined: Sun Mar 14, 2010 7:07 am
Posts: 19
Post Re: Drop charts
Don't use the above link - use this one http://www.mediafire.com/?5i0v6a0vt6zf3o0 -- I changed output formatting a bit, mostly to do with the fractions output.


Thu Mar 03, 2011 5:27 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 52 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.