|
Post by Pilot on Nov 1, 2010 3:51:03 GMT -5
Actually the traders, builders, don't buy one at a time they buy just like we do one "click" at a time, thats the reason you get so many messages No, look. Here comes one builder, buys 12 const mat, I get 12 messages saying 'Downtown 05 sold 1 ConstMat'. it would give a summery of items bought, sold(if ever possible, or for the thugs), and perhaps a repair bill? Hangar report - nice idea! But it will not keep you informed in a real-time. So you need to get such messages in a certain period of time (once in 6 hardwar-hours, or like that). I guess I put a sentence break in there? I meant that as a message that would be sent with the launch of the customer's moth.
|
|
|
Post by Forevener on Nov 1, 2010 9:14:58 GMT -5
Ah-h, I've misunderstood you a bit. Customer's moth... yes, it's great idea.
|
|
|
Post by gmcjimmy on Nov 2, 2010 4:30:12 GMT -5
Got lucky once again!  I found the function that was blagging cash to the hangar and was able to prevent it. However, the AI trader still makes the attempt to deliver the cargo, but fails and leaves the hangar with the cargo still in its pod. The ideal solution would be to prevent the AI from taking the mission in the first place. I'm still aiming for that goal. This is just a stop-gap to sort of prevent cheating. You can still rob those traders that are leaving your hangar with those goods and steal them. But nothing stops you from doing that from any other location in the game anyway. So I'm not sure how far to pursue this.
|
|
|
Post by gmcjimmy on Nov 3, 2010 13:03:15 GMT -5
Ugh... for ever step forward. While testing my fix for preventing AI traders blagging cash to players hangar I had noticed a new bug. After a few days production will stop on several factories. I tried reversing my fix to see if maybe I had broken it, but the effect was the same either way.
I don't yet know why but I did find out, at least, what was causing it. It turns out that custom recipes (manufdat) is acting up again. Actually it is a function related to setting up hangars to use custom recipes that is causing hangars to stop producing after a few days. So now I've disabled custom recipes completely until someone with more talent than me comes along or until I get some more luck.
|
|
|
Post by gmcjimmy on Nov 3, 2010 23:02:58 GMT -5
Updated OP with what I hope is a working copy. 
|
|
|
Post by Forevener on Nov 4, 2010 1:47:04 GMT -5
Crash... Reinstalled (Hardwar + UIM06 + your new files) - crash again.
|
|
|
Post by gmcjimmy on Nov 4, 2010 2:40:16 GMT -5
Try one file at a time; enhanced then enhanced2 then econmod.dll Which one makes it crash?
|
|
|
Post by Forevener on Nov 4, 2010 3:02:43 GMT -5
Try one file at a time; enhanced then enhanced2 then econmod.dll Which one makes it crash? 'enchanced', like before.
|
|
|
Post by gmcjimmy on Nov 4, 2010 3:12:14 GMT -5
Turn off the fusion limit mod using HardwarEopt. Check the box then uncheck it. See if that helps.
|
|
|
Post by Forevener on Nov 4, 2010 3:36:29 GMT -5
Turn off the fusion limit mod using HardwarEopt. Check the box then uncheck it. See if that helps. Oh yes! It works! Thanks! And no cargo crashes!
|
|
|
Post by gmcjimmy on Nov 4, 2010 3:49:48 GMT -5
Thanks for checking that out for me. I think I found the offending code. Removing lwdat accidentally broke fusion limit because the fusion limit code references a lightwell in the lwdat file. I believe I've corrected it by making fusion limit reference a lightwell in the .wld instead. So far it ain't crashing.  But it still needs to be tested if it is actually doing its job. Here is an updated copy that fixes fusion limit. ~842k
|
|
|
Post by Forevener on Nov 4, 2010 4:17:58 GMT -5
Wow, nice! Heh, econmod makes alcohol and narcotics production useless ($48, $84), and some prices (ex. machinery - $2500) ridiculously low.
|
|
|
Post by gmcjimmy on Nov 4, 2010 4:22:58 GMT -5
The prices are a direct result from econmod.dll. The version that I wrote is a very basic supply vs demand with a 12.5% to 66% markup depending on what hangar makes the item. Econmod also bases the prices from the cost of the ingredients used in production. I would welcome the help to make a better economy dll.
|
|
|
Post by Forevener on Nov 4, 2010 4:41:26 GMT -5
Just put ValueMultiplier (changing with type of merchandise) in price equation.
|
|
|
Post by gmcjimmy on Nov 5, 2010 21:28:50 GMT -5
I found a glitch with that last version I had posted when manufacturing moths in players hangars. Well, I got lucky again and managed to get it working now. I want to mess around with it for a few days before I post yet another update. If everything works out it should be before the weekend is out. It makes it harder to type but I'm keeping my fingers crossed.
|
|