EatDrink.ash: Optimize your daily diet (and see how your old diet stacks up).

Good catch on the bugfix, it'll be in the next update.

The way I designed it (but by no means the way you should necessarily use it) is that you fine-tune the cost-per-adventure until it produces the kind of results you want. Then you set the max budget to something that's high enough it's irrelevant, and it's basically just a safety valve in case the code goes wonky and tries to buy something too expensive. You can definitely use it at a low enough value that it contributes to the filter, but it will disproportionately punish high-fullness items (since it only filters based on item cost).

Glad the TPS code is seeing some use, too. :) One gotcha about that - if you have, say, a grogtini in inventory, then grogtinis will be cheap but other TPS drinks will be expensive. If you have a TPS, then all TPS drinks will be cheap. So if you want to get optimal TPS recommendations, drink your grogtini before running eatdrink.
 
Here's what I ate today. There's some folks selling cheap food and booze with a limit of one - the cool thing is that the code picks up on it, buys the cheap one, then switches to something else. When you're simulating it can't do that (it has no way to know that only one hi mein is available at that price) but when you're actually buying it gets it right (note the simulation you ran incorrectly assumed you could buy a bunch of hi meins at 300 meat).

Code:
Consuming up to 15 food and 19 booze and then finishing off with the stiffest drink we can find.
Considering food from inventory Hagnk's the mall. Per-item budget cap is 25000.0.
Price will be a factor if you own it already. Hagnk's pulls (if enabled) will cost 1000 meat each.
An adventure has the value of 200 meat. Prime stat subpoint is 4. Nonprime is 1.
Ronin (e.g. everything costs 1 pull) is not being simulated (but will be calculated anyway if true).
Now at fullness of 0, eating to 15.
1: Crimbo pie lev:7 gain:3.0 adv:11.0 musc:35.0 myst:0.0 moxie:0.0 price:160 own:0 value:691
2: pear tart lev:7 gain:3.0 adv:11.0 musc:0.0 myst:35.0 moxie:0.0 price:445 own:0 value:631
3: pear tart lev:7 gain:3.0 adv:11.0 musc:0.0 myst:35.0 moxie:0.0 price:450 own:0 value:629
4: pear tart lev:7 gain:3.0 adv:11.0 musc:0.0 myst:35.0 moxie:0.0 price:450 own:0 value:629
5: pear tart lev:7 gain:3.0 adv:11.0 musc:0.0 myst:35.0 moxie:0.0 price:450 own:0 value:629
Now at inebriety of 0, drinking to 19.
1: horizontal tango lev:4 gain:4.0 adv:12.0 musc:0.0 myst:35.0 moxie:0.0 price:230 own:0 value:578
2: fuzzbump lev:4 gain:4.0 adv:12.0 musc:35.0 myst:0.0 moxie:0.0 price:230 own:0 value:551
3: fuzzbump lev:4 gain:4.0 adv:12.0 musc:35.0 myst:0.0 moxie:0.0 price:230 own:0 value:551
4: fuzzbump lev:4 gain:4.0 adv:12.0 musc:35.0 myst:0.0 moxie:0.0 price:230 own:0 value:551
5: can of Swiller lev:10 gain:1.0 adv:3.0 musc:12.5 myst:0.0 moxie:0.0 price:156 own:0 value:456
6: can of Swiller lev:10 gain:1.0 adv:3.0 musc:12.5 myst:0.0 moxie:0.0 price:170 own:0 value:442
7: can of Swiller lev:10 gain:1.0 adv:3.0 musc:12.5 myst:0.0 moxie:0.0 price:170 own:0 value:442
Now finishing with one big stiff drink.
8: sangria del diablo lev:6 gain:6.0 adv:24.0 musc:0.0 myst:18.0 moxie:0.0 price:2105 own:0 value:2310
Finished. Spent 5720 meat. Gained Fullness: 15. Inebriety: 25. Adventures: 162. Muscle: 175. Moxie: 0. Mysticality: 212.
Eating and drinking complet
 
Here's an even better example. Not to toot my own - but the code is a terrific bargain hunter (when you're actually consuming; because of pricing restrictions, it's not so efficient at simulating). It picks up on very small price efficiencies - so note the variety in consumption, and how the code scooped up the dirt-cheap one-off spooky hi mein. And if you're meatfarming, you have to be pretty darn productive to justify paying the price premium for noodle dishes vs. pear tarts...

Anyone else have interesting diets?

Code:
An adventure has the value of 200 meat. Prime stat subpoint is 4. Nonprime is 1.
1: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:288 own:0 value:1011
2: Crimbo pie lev:7 gain:3.0 adv:11.0 musc:35.0 myst:0.0 moxie:0.0 price:160 own:0 value:691
3: pear tart lev:7 gain:3.0 adv:11.0 musc:0.0 myst:35.0 moxie:0.0 price:450 own:0 value:629
4: pear tart lev:7 gain:3.0 adv:11.0 musc:0.0 myst:35.0 moxie:0.0 price:450 own:0 value:629
5: brain-meltingly-hot chicken wings lev:10 gain:1.0 adv:3.0 musc:22.5 myst:22.5 moxie:0.0 price:170 own:0 value:542
1: Mae West lev:6 gain:4.0 adv:16.0 musc:0.0 myst:0.0 moxie:43.5 price:320 own:0 value:730
2: fuzzbump lev:4 gain:4.0 adv:12.0 musc:35.0 myst:0.0 moxie:0.0 price:230 own:0 value:551
3: sangria del diablo lev:6 gain:6.0 adv:24.0 musc:0.0 myst:18.0 moxie:0.0 price:2109 own:0 value:461
4: shot of pear schnapps lev:8 gain:2.0 adv:6.0 musc:0.0 myst:17.0 moxie:0.0 price:437 own:0 value:416
5: white lightning lev:3 gain:3.0 adv:7.5 musc:0.0 myst:0.0 moxie:0.0 price:295 own:0 value:402
Now finishing with one big stiff drink.
6: cherry bomb lev:6 gain:6.0 adv:24.0 musc:0.0 myst:18.0 moxie:0.0 price:2131 own:0 value:2286
Finished. Spent 7328 meat. Gained Fullness: 15. Inebriety: 25. Adventures: 172. Muscle: 119. Moxie: 98. Mysticality: 203.
 
Here is mine:
Code:
Now, to recap...
******************************************
Consuming up to 15 food and 19 booze
Considering food from inventory Hagnk's the mall. Per-item budget cap is 25000.0.
Price will be a factor if you own it already. Hagnk's pulls (if enabled) will cost 1000 meat each.
An adventure has the value of 1000 meat. Prime stat subpoint is 20. Nonprime is 5.
Ronin (e.g. everything costs 1 pull) is not being simulated (but will be calculated anyway if true).
Now at fullness of 0, drinking to 15.
1: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:288 own:0 value:5118
2: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:288 own:0 value:5118
3: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:360 own:0 value:5103
4: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:450 own:0 value:5085
5: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:562 own:0 value:5063
6: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:702 own:0 value:5035
7: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:877 own:0 value:5000
8: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:1096 own:0 value:4956
9: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:1370 own:0 value:4901
10: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:1712 own:0 value:4833
11: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:2140 own:0 value:4747
12: fancy canapés lev:5 gain:2.0 adv:8.5 musc:32.5 myst:32.5 moxie:32.5 price:100 own:0 value:4687
13: fancy canapés lev:5 gain:2.0 adv:8.5 musc:32.5 myst:32.5 moxie:32.5 price:125 own:0 value:4675
14: fancy canapés lev:5 gain:2.0 adv:8.5 musc:32.5 myst:32.5 moxie:32.5 price:156 own:0 value:4659
15: fancy canapés lev:5 gain:2.0 adv:8.5 musc:32.5 myst:32.5 moxie:32.5 price:195 own:0 value:4640
16: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:2675 own:0 value:4640
17: fancy canapés lev:5 gain:2.0 adv:8.5 musc:32.5 myst:32.5 moxie:32.5 price:243 own:0 value:4616
18: fancy canapés lev:5 gain:2.0 adv:8.5 musc:32.5 myst:32.5 moxie:32.5 price:303 own:0 value:4586
19: fancy canapés lev:5 gain:2.0 adv:8.5 musc:32.5 myst:32.5 moxie:32.5 price:378 own:0 value:4548
20: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:3343 own:0 value:4507
21: fancy canapés lev:5 gain:2.0 adv:8.5 musc:32.5 myst:32.5 moxie:32.5 price:472 own:0 value:4501
22: fancy canapés lev:5 gain:2.0 adv:8.5 musc:32.5 myst:32.5 moxie:32.5 price:590 own:0 value:4442
23: fancy canapés lev:5 gain:2.0 adv:8.5 musc:32.5 myst:32.5 moxie:32.5 price:737 own:0 value:4369
24: spooky hi mein lev:7 gain:5.0 adv:25.0 musc:17.5 myst:73.0 moxie:32.5 price:4178 own:0 value:4340
25: Knob sausage chow mein lev:7 gain:5.0 adv:25.0 musc:74.0 myst:0.0 moxie:0.0 price:5000 own:0 value:4296
26: Knob sausage chow mein lev:7 gain:5.0 adv:25.0 musc:74.0 myst:0.0 moxie:0.0 price:4989 own:0 value:4299
Now at inebriety of 0, drinking to 19.
1: Mon Tiki lev:6 gain:4.0 adv:16.0 musc:43.5 myst:0.0 moxie:0.0 price:320 own:14 value:4137
2: Mon Tiki lev:6 gain:4.0 adv:16.0 musc:43.5 myst:0.0 moxie:0.0 price:320 own:13 value:4137
3: Mon Tiki lev:6 gain:4.0 adv:16.0 musc:43.5 myst:0.0 moxie:0.0 price:320 own:12 value:4137
4: Mon Tiki lev:6 gain:4.0 adv:16.0 musc:43.5 myst:0.0 moxie:0.0 price:320 own:11 value:4137
5: cup of primitive beer lev:12 gain:1.0 adv:3.5 musc:57.5 myst:0.0 moxie:0.0 price:1150 own:0 value:3500
6: cup of primitive beer lev:12 gain:1.0 adv:3.5 musc:57.5 myst:0.0 moxie:0.0 price:1100 own:0 value:3550
7: cup of primitive beer lev:12 gain:1.0 adv:3.5 musc:57.5 myst:0.0 moxie:0.0 price:1100 own:0 value:3550
Finished. Spent 13566 meat. Gained Fullness: 15. Inebriety: 19. Adventures: 184. Muscle: 520. Moxie: 43. Mysticality: 71.
Eating and drinking complete. Commence merrymaking (at your own discretion).
 
Thanks asturia... you motivated me to clean up the output code. The new version, 1.07, should produce cleaner output. It also fixes some other details, like prompting you if you want to simulate or not at runtime.
 

Attachments

here is another log of mine:
Code:
Consuming up to 15 food and 19 booze
Considering food from inventory Hagnk's the mall. Per-item budget cap is 12500.0.
Price will be a factor if you own it already. Hagnk's pulls (if enabled) will cost 1000 meat each.
An adventure has the value of 200 meat. Prime stat subpoint is 4. Nonprime is 1.
Ronin (e.g. everything costs 1 pull) is not being simulated (but will be calculated anyway if true).
Now at fullness of 0, eating to 15.
1: blob-shaped Crimbo cookie lev:7 gain:2.0 adv:9.0 musc:0.0 myst:0.0 moxie:0.0 price:100 own:2 value:850
2: blob-shaped Crimbo cookie lev:7 gain:2.0 adv:9.0 musc:0.0 myst:0.0 moxie:0.0 price:100 own:1 value:850
3: Crimbo pie lev:7 gain:3.0 adv:11.0 musc:35.0 myst:0.0 moxie:0.0 price:160 own:0 value:726
4: Crimbo pie lev:7 gain:3.0 adv:11.0 musc:35.0 myst:0.0 moxie:0.0 price:390 own:0 value:649
5: Crimbo pie lev:7 gain:3.0 adv:11.0 musc:35.0 myst:0.0 moxie:0.0 price:450 own:0 value:629
6: Genalen™ Bottle lev:10 gain:1.0 adv:3.0 musc:22.5 myst:22.5 moxie:0.0 price:100 own:10 value:612
7: Genalen™ Bottle lev:10 gain:1.0 adv:3.0 musc:22.5 myst:22.5 moxie:0.0 price:100 own:9 value:612
Now at inebriety of 0, drinking to 19.
1: black & tan lev:7 gain:2.0 adv:6.5 musc:11.0 myst:11.0 moxie:11.0 price:100 own:3 value:633
2: black & tan lev:7 gain:2.0 adv:6.5 musc:11.0 myst:11.0 moxie:11.0 price:100 own:2 value:633
3: black & tan lev:7 gain:2.0 adv:6.5 musc:11.0 myst:11.0 moxie:11.0 price:100 own:1 value:633
4: fuzzbump lev:4 gain:4.0 adv:12.0 musc:35.0 myst:0.0 moxie:0.0 price:230 own:1 value:578
5: thistle wine lev:10 gain:1.0 adv:3.0 musc:0.0 myst:0.0 moxie:45.0 price:170 own:11 value:475
6: thistle wine lev:10 gain:1.0 adv:3.0 musc:0.0 myst:0.0 moxie:45.0 price:170 own:10 value:475
7: thistle wine lev:10 gain:1.0 adv:3.0 musc:0.0 myst:0.0 moxie:45.0 price:170 own:9 value:475
8: thistle wine lev:10 gain:1.0 adv:3.0 musc:0.0 myst:0.0 moxie:45.0 price:170 own:8 value:475
9: thistle wine lev:10 gain:1.0 adv:3.0 musc:0.0 myst:0.0 moxie:45.0 price:170 own:7 value:475
10: thistle wine lev:10 gain:1.0 adv:3.0 musc:0.0 myst:0.0 moxie:45.0 price:170 own:6 value:475
11: thistle wine lev:10 gain:1.0 adv:3.0 musc:0.0 myst:0.0 moxie:45.0 price:170 own:5 value:475
12: thistle wine lev:10 gain:1.0 adv:3.0 musc:0.0 myst:0.0 moxie:45.0 price:170 own:4 value:475
13: thistle wine lev:10 gain:1.0 adv:3.0 musc:0.0 myst:0.0 moxie:45.0 price:170 own:3 value:475
Finished. Spent 1060 meat. Gained Fullness: 15. Inebriety: 19. Adventures: 144. Muscle: 209. Moxie: 453. Mysticality: 80.
Eating and drinking complete. Commence merrymaking (at your own discretion).
 
Cool! Now, simulating is a very imperfect art because there's often only one (or none!) available at the price the websites list. I'd love to see the log when you turn off "sim" and use it to consume for real. Note that if you do this and watch closely with your finger on the escape key, you have plenty of time to abort any actions before they're committed (in case you're curious but not fully trusting!).
 
Doh! Sorry, just looked at the absurdly low price of the first item. Unfortunately, if you have the item in inventory, it has to use the web lookup for the price - which can be wildly inaccurate. It's at its best when it's shopping for you, since it can refine the prices very precisely.

Big update coming shortly, with full milk of magnesium support and more...
 
Latest log.
If you could include milk of magnesium that would be great.

Code:
******************************************
Now, to recap...
******************************************
Consuming up to 15 food and 19 booze
Considering food from inventory Hagnk's the mall. Per-item budget cap is 18750.0.
Price will be a factor if you own it already. Hagnk's pulls (if enabled) will cost 1000 meat each.
An adventure has the value of 2000 meat. Prime stat subpoint is 4. Nonprime is 1.
Ronin (e.g. everything costs 1 pull) is not being simulated (but will be calculated anyway if true).
Now at fullness of 0, eating to 15.
1: Knob sausage chow mein lev:7 gain:5.0 adv:25.0 musc:74.0 myst:0.0 moxie:0.0 price:4999 own:0 value:9060
2: Knob sausage chow mein lev:7 gain:5.0 adv:25.0 musc:74.0 myst:0.0 moxie:0.0 price:4970 own:0 value:9065
3: bat wing chow mein lev:7 gain:5.0 adv:25.0 musc:0.0 myst:72.5 moxie:0.0 price:4995 own:0 value:9015
Now at inebriety of 0, drinking to 19.
1: grogtini lev:6 gain:6.0 adv:24.0 musc:18.0 myst:0.0 moxie:0.0 price:2358 own:0 value:7619
2: grogtini lev:6 gain:6.0 adv:24.0 musc:18.0 myst:0.0 moxie:0.0 price:2322 own:0 value:7625
3: grogtini lev:6 gain:6.0 adv:24.0 musc:18.0 myst:0.0 moxie:0.0 price:2322 own:0 value:7625
4: cup of primitive beer lev:12 gain:1.0 adv:3.5 musc:57.5 myst:0.0 moxie:0.0 price:999 own:0 value:6231
Finished. Spent 26655 meat. Gained Fullness: 15. Inebriety: 19. Adventures: 170. Muscle: 261. Moxie: 0. Mysticality: 88.
Eating and drinking complete. Commence merrymaking (at your own discretion).
 
Try this. It should automatically determine if milk is a good investment, and, if so, buy and use it. When choosing food & drink, it will take milk & ode effects into account as well.

And finally...

Spleen!

I'm not going to update the first post until it gets a bit more testing. I'd really like to hear how it works for you.
 

Attachments

another log:
btw is it possible to make the script a little faster as it seems that it takes a long time to run now. But I'm very hapy with it.
Code:
******************************************
Now, to recap...
******************************************
Consuming up to 15 food, 19 booze, and 15 spleen
Considering food from inventory Hagnk's the mall. Per-item budget cap is 12500.0.
Price will be a factor if you own it already. Hagnk's pulls (if enabled) will cost 1000 meat each.
An adventure has the value of 1100 meat. Muscle subpoint is 0. Nonprime stat subpoint is 0.
Now at fullness of 0, eating to 15.
0: milk of magnesium price: 1100
1: Knob sausage chow mein lev:7 gain:5.0 adv:25.0 musc:74.0 myst:0.0 moxie:0.0 price:4970 own:1 value:4506
2: Knob sausage chow mein lev:7 gain:5.0 adv:25.0 musc:74.0 myst:0.0 moxie:0.0 price:4970 own:0 value:5386
3: Knob sausage chow mein lev:7 gain:5.0 adv:25.0 musc:74.0 myst:0.0 moxie:0.0 price:4800 own:0 value:5420
Now at inebriety of 0, drinking to 19.
1: grogtini lev:6 gain:6.0 adv:24.0 musc:18.0 myst:0.0 moxie:0.0 price:2112 own:0 value:4781
2: grogtini lev:6 gain:6.0 adv:24.0 musc:18.0 myst:0.0 moxie:0.0 price:2100 own:0 value:4783
3: grogtini lev:6 gain:6.0 adv:24.0 musc:18.0 myst:0.0 moxie:0.0 price:2100 own:0 value:4783
4: shot of blackberry schnapps lev:3 gain:1.0 adv:3.0 musc:6.0 myst:6.0 moxie:6.0 price:260 own:0 value:4140
Now at spleen of 0, spleening to 15.
1: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:292 value:900
2: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:291 value:900
3: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:290 value:900
4: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:289 value:900
5: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:288 value:900
6: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:287 value:900
7: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:286 value:900
8: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:285 value:900
9: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:284 value:900
10: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:283 value:900
11: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:282 value:900
12: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:281 value:900
13: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:280 value:900
14: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:279 value:900
15: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 moxie:9.0 price:200 own:278 value:900
Finished. You had -milk--ode to booze-Adventures listed above does not reflect that, but this does:
Spent 17497 meat. Gained Fullness: 15. Inebriety: 19. Spleen: 15. Adventures: 200. Muscle: 425. Moxie: 146. Mysticality: 145.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
 
To be honest, your programming skill level is much better then mine.
I can only grasp the most simple concepts in your script.
I've made some myself, but like I said, they are much simpler.
 
[quote author=dj_d link=topic=2038.msg10622#msg10622 date=1229883917]
I would love to find a way to speed it up but I'm stumped as to how. Any ideas?
[/quote]
ive got a similar script (not as complex) but its search for the best item is what takes the most time during a run, a simple change to only recalculating the best when it couldnt afford/consume the current best seamed to increase its speed quite a bit, i got a bit lost reading through your script so apologies if yours already does that

im also working on an overloading the buy function which can take a maximum price, buy(count, item, maxPrice), which could help speed up purchasing (and reduce sever load from all the mall searches/hiding meat)... i think its working but needs some more testing (and come to think about it ive got no idea how to upload these changes)
 
You guys are too kind... and I think you may be confusing good code with spaghetti code. :) This thing is a barely-maintainable monster. Plus all the hard parts were lifted from Zarqon and Sandiman.

By far the slowest part is fetching the price estimates from the server. I wish the mafia devs could do something about that but I respect their decision not to.

The second slowest part is all the meat closeting and uncloseting, so if you've got a solution, I'd love to see it! Just reply, click "additional options", and you'll see an option to attach a file to your post.
 
both files just have minor changes... Runtime imports 3 new librarys, defines the new buy (i would like to just call "buy <count> <item> max price <price>" but couldnt understand enough about the regex/pattens)... kolmafia.java makes changes to makePurchases (and makes a wrapper so it can be called without a max price)

i just updated from the SVN so you should be able to drop the source files in, compile and be ready to test
testBuy.ash trys to buy 1 fuzzbump for 800 meat

edit: i should mention you will need to compile your own source (see http://kolmafia.us/index.php/topic,374.0.html to learn about building from the SVN)
 

Attachments

Aha! I was wondering what sort of black voodoo you had figured out to make that work. Modifying Mafia qualifies. :)

Haven't tried it yet, but it sounds like adding this to mafia would be a good thing since it would speed up scripts and reduce server load.
 
Back
Top