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.
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.
Last Edit: Nov 6, 2010 14:08:47 GMT -5 by gmcjimmy
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.
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.
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.
P.S. Really thought I'd posted on these new boards previously...guess not!