|
Post by Forevener on Nov 6, 2010 4:51:00 GMT -5
Strange bug was appeared. If hired pilot collides with terrain, he immediately loses all health. Second collide kills him.
So, there is still no trade missions, and no hired traders...
|
|
|
Post by gmcjimmy on Nov 6, 2010 5:14:26 GMT -5
I got trade missions with AI traders working again. But it only works when econmod is enabled. That just the way Max wrote the code. Hired thugs should work all the time.
I don't know about that terrain bug though. I'll look into it.
|
|
|
Post by Forevener on Nov 6, 2010 5:57:49 GMT -5
Oh, trade missions work with econmod only, I've forgot that already. But then I need to re-set all prices... uh.
Yes, thugs is all right, except this little glitch, which makes them not usable. Hm-m... usable, but extremely fragile.
|
|
|
Post by gmcjimmy on Nov 6, 2010 6:13:53 GMT -5
I found the code that is causing it. I just posted about that same code earlier today. It's the bit of code that effects moth strengths. That's strike two. I'm just going to disable that code for now. The next version won't have that bug. But it will also be missing that moth strength feature as well.
|
|
|
Post by Forevener on Nov 6, 2010 6:54:30 GMT -5
Obvioulsy, strength at zero (or first) level equals 0 (or a few more)?
|
|
|
Post by gmcjimmy on Nov 6, 2010 13:31:25 GMT -5
Looking at the code, the thugs have all the same strengths as the player. But looking at the game, they don't. Reviewing and older version of what looks to me like test code, Max had another pilot in the array called 'kahuna'. When I re-add kahuna back to the list then the thugs work as expected. So I guess that fixes thugs null strength issue.
But it still crashes when an empty moth is destroyed in an airlock. I know it's just a simple matter of writing an if condition to check for a pilot. I just don't know how to write that and where to place it in the code. I could really use help.
I should restate my opinion on thug strength being fixed or not. By adding another pilot type to the array, I may have just inadvertently shifted the problem over to another pilot type instead of actually fixing it. It will need more play testing before I will know for sure. I have to go check on my father this weekend so I may not get time to look at it again until later in the week.
|
|
|
Post by Pilot on Nov 6, 2010 20:28:59 GMT -5
Well it would also be difficult to add a no entry too, "Moth is leaving hangar exit prohibited." when 'OUT' is typed into system would fix that.
Actually I remember that flyers would some times log out in mid-air back before MSGC had a Flyer-Stop, Flyer-Autopilot system in place, and if you shot one of the players that wasn't logged in it would crash the game too, I think it might have been Hardwar vanilla. AI would remember more about that than I do.
Other things never too do in a online game. type 'hangar' in the TI when in mid-air. rename a hangar land mark. Example, Police HQ into Police In Gods Service, which was a pun on the building code 'PIGS' by me in an online game. ^^; Started crashing the game whenever someone would press 'N'av menu in Downtown. Rename Vancant 00?? the one below The After Dark, to The After Dark, and The After Dark to Vacant 00??'s old name. Caused another bug, did it as a protest of Narc trade, hehehe you don't get Dark TI knowledge by reading the commands.
|
|
|
Post by gmcjimmy on Nov 7, 2010 2:05:39 GMT -5
After some brain-twisted reading, tons of trial and error, and a few face-palms, I managed to salvage the moth strengths code. * Fixed server crash when empty moths are destroyed in airlocks. * Fixed null health for thugs. Updated OP with links to latest version. Skip the B.S. and grab a copy here. ~842k Thanks for the feedback.
|
|
|
Post by Forevener on Nov 7, 2010 11:14:38 GMT -5
You said something about moth production?
I think I've found a bug - it looks like thugs using 'shared' funds (with player), and somehow these funds not getting decreased when thug buys cargo.
|
|
|
Post by gmcjimmy on Nov 7, 2010 12:26:07 GMT -5
If I recall, thugs don't share funds instead they use their own. And they won't conduct any trade (using the supply order) unless they will make at least a 12.5% profit from the exchange I get this impression from 'manu_guide_23.05.05.txt' written by Smurph for use with Enhanced2.
|
|
|
Post by Forevener on Nov 7, 2010 12:52:38 GMT -5
Try 'order thug,status' His cash will be equal to yours.
|
|
|
Post by Pilot on Nov 7, 2010 15:05:53 GMT -5
Yes that is so but that lists wrong, ignore that and type,
exec bobkit,cash
That will report the proper amount of cash the thug has, which at times explains why they won't ride a taxi to the place they have been ordered.
Alternatively you can also type, in Enhanced 12/12/2005 and later, if not nuked,
report bobkit - Which displays the Moths, Cash, Clones, and Hangars for given flyer.
Also works online in Enhanced V12+ games. For human flyers, as well as on all AI flyers example,
report crash override
Edit: Before I forget again,
HardwarEopt v1.0 By Olly Ansell This program and associated text file (HardwarEopt.txt) allows the user to edit the Registry settings for Hardwar and Hardwar Enhanced with a simple to use interface.
Prophet released a v2.0, or modified and updated version of Olly's HardwarEopt.txt file, I'm not sure why Olly didn't make it as a .cfg type file though.
|
|
|
Post by Forevener on Nov 7, 2010 22:28:38 GMT -5
You're right, 'report' is working correctly, thug have separate funds. Thanks.
|
|
scoob
Junior Member
Posts: 57
|
Post by scoob on Nov 8, 2010 7:12:56 GMT -5
Hi gmcjimmy,
Not really one for posting much but recently had the desire for a bit of Harwar once again, came on the new forums and saw the work you're doing - great stuff! I've been eagerly following your progress over the past few days and wanted to say keep up the good work!
When I have a moment I'll download your latest work in progress & start testing myself.
It's been quite some time since I installed Harwar and the various patches / addons etc. Could you possibly confirm the exact build you're working with as well as the order in which you've applied the various patches, updates and 3rd party mods? I'd like to ensure I'm testing what you're working on! :-) I thought maybe an update to the first post, when you have a moment, detailing your install order along with patches & mods you have installed & tools used etc. It would certainly help me as well as any others who'd like to help out testing (or just playing) also let us know any particular aspects / behaviour you'd like us to look at.
Cheers,
Scoob.
P.S. Really thought I'd posted on these new boards previously...guess not!
|
|
|
Post by Forevener on Nov 8, 2010 10:43:12 GMT -5
Moth production is useless - Advanced Manufacturing can't produce moth frames. Major bug in thug strength code - their kills counts as yours, so they will never get a 'level-up'. I think their strength is much more important than rewards from police (gangs, factions). the exact build you're working Hardwar+UIM.06+gmcjimmy's files.
|
|