Homesource Forums

Homeworld Source Editing Talk
It is currently Mon Sep 25, 2017 10:55 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jan 23, 2007 9:52 pm 
Offline

Joined: Wed Jan 03, 2007 6:37 pm
Posts: 16
I am trying to identify the code that is involved in a scenario that appears to leave the docking point busy in certain circumstances.

As near as I can tell, if a stolen ship is destroyed between its release from the salvage corvettes and being completely docked with a carrier (may also apply to mothership but I am not sure), the docking point is left in a busy state indefinitely.

I have traced through the code in SalCapCorvette.c and identified where, under normal circumstances, the busy flag is set/reset. Does anyone know where I should be looking for code to handle this "odd" case that drives me nuts?

Thanks,
David Johnson


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 24, 2007 2:30 am 
Offline
coder

Joined: Tue Nov 07, 2006 4:40 am
Posts: 236
Hi.

I'd suggest looking in the function 'univDeleteDeadShip' which can be found starting at line 3906 (in my version of the code :) ) in the file src/Game/UnivUpdate.c

I did some work there when I was hunting for the lost explosions, and seem to remember that that code cleans up the universe after a ship is destroyed.

Happy hunting. :)

aunxx


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 24, 2007 10:08 pm 
Offline

Joined: Wed Jan 03, 2007 6:37 pm
Posts: 16
Thanks ... I'll check this out this weekend.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group