[SCRIPT] Ship killed notifications v1.0.3 [2008-11-16]

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

User avatar
Sandalpocalypse
Posts: 4447
Joined: Tue, 2. Dec 03, 22:28
x4

Post by Sandalpocalypse »

That was for the invasion warnings thread, sorry. I'm perfectly happy with this one.
Irrational factors are clearly at work.
MTM1977
Posts: 70
Joined: Tue, 23. Dec 08, 12:02
x3tc

Post by MTM1977 »

I downloaded and installed Community Configuration Menu and this Ships killed notification script, but i am unsure how to use it?

On the Plugin Manager it says that both are enabled, but how do i actually change the Ships killed settings?

edit:
it actually seems to be working (i tested by destroying one of my ships and it did give the message).
However, i would also like to get notification from satellites also, how can i change that (currently i don't get, tried that too)?

edit2:
ignore the above, i found the menu for selecting the different notifications :)
rascalcmos
Posts: 6
Joined: Mon, 12. Jan 04, 10:07

Post by rascalcmos »

Hi,

Could it be possible to get a mail report - in addition to the existing sound/text messages please?

If i AFK dock I may miss a wing that crahed on the station, but this way i would still be informed afterwards.

Thanks
hotfire45
Posts: 12
Joined: Tue, 1. Jun 04, 19:33
x2

Post by hotfire45 »

Not sure if I remember rightly, but wasnt there a message -audio or text - telling you that a ship was under attack in previous versions? Might at least be able to save a few traders by being able to react sooner, or at least go on a vengance mission against those that killed your ships!
-Sumo-
Posts: 564
Joined: Thu, 22. Jun 06, 11:23
x4

Post by -Sumo- »

ciao,

here is the Italian translated xml file.
http://rapidshare.com/files/206353260/7105-L039.xml

and here the italian site where are posted translated X3TC script files.
http://forum.egosoft.com/viewtopic.php? ... 40#2623140

bye and thanks for the script file! :)
scaseman
Posts: 78
Joined: Sat, 13. Mar 04, 19:24
x3tc

Post by scaseman »

Do you still get the standard warning that one of your ships is under attack written to the message log with a warning beep?
zymurg
Posts: 226
Joined: Sun, 1. Feb 09, 22:39
x3tc

Post by zymurg »

I have this installed and it is great. However, is it compatible with the recent 2.1 patch for X3 or will I have to re-install it or remove it?
ThisIsHarsh
Posts: 1135
Joined: Sun, 19. Oct 08, 18:46
x3tc

Post by ThisIsHarsh »

Should work with latest patch, no problem.
TheEarl
Posts: 352
Joined: Fri, 3. Aug 07, 17:27
x3ap

Post by TheEarl »

Thank you !
I start this script and hope it never sends a message :D
zeddius
Posts: 333
Joined: Tue, 29. Nov 05, 21:02
x3tc

Post by zeddius »

Looks like i have come across a mayor problem with this script.

I have installed it through cycrows plugin manager, and it worked allright. However, when i disabled the script in the plugin manager the problem started.

Every time one of my ships is destroyed in sector the game crashes. Total freeze, and a computer restart is the only solution. Tried reactivating the script and it worked fine, no crash on property killed. Removed the script through cycrows plugin manager, and the crashes came back. Happens both if a AI controlled asset dies or the one i am flying.
ThisIsHarsh
Posts: 1135
Joined: Sun, 19. Oct 08, 18:46
x3tc

Post by ThisIsHarsh »

zeddius wrote:Looks like i have come across a mayor problem with this script.

I have installed it through cycrows plugin manager, and it worked allright. However, when i disabled the script in the plugin manager the problem started.

Every time one of my ships is destroyed in sector the game crashes. Total freeze, and a computer restart is the only solution. Tried reactivating the script and it worked fine, no crash on property killed. Removed the script through cycrows plugin manager, and the crashes came back. Happens both if a AI controlled asset dies or the one i am flying.
Erk! Well this is pretty serious. I've just looked back at my code, it's such a simple script, it really shouldn't do anything like that, I can't see anywhere that could cause this problem.

I'll try to replicate the issue and see what I can find out.

The only possibility I can think is if you saved your game the moment one of your ships was about to die, then quit, disabled the script, and then reloaded. Then there is the possibility of messing up an ongoing script call. Even then I don't see how it can cause a problem.

Does it freeze always at a certain point, or have you tried different scenarios?
There are 10 types of people in the S&M forums - those who understand binary, and those who don't.

Black holes are where God divided by zero.
zeddius
Posts: 333
Joined: Tue, 29. Nov 05, 21:02
x3tc

Post by zeddius »

It looks like it freezes at pretty much the same point. I am in the progress of making an X3 video. Thats why i had to disable the script btw cause the ships killed notification text showed up at the bottom of the screen. I was trying to kill one of my own pytons. Frooze when the pyton was about to be destroyed at 0 hull (or 0,001 :)). In some scenes i was attacking an AI controlled pyton, and game crashed in this case if one of my own AI controlled ships were killed by the enemy pyton, or if i crashed with the pyton, killing my personnel ship in the progress.

Remember, i had the crash issue, reactivated the script...everything was working ok...uninstalled the script....crash issue back. Happens on all saves.

If you need me to do some spesific testing, let me know.

EDIT1 : Did some testing. Also happens OOS when a ship is destroyed. When i am in sector it happens when the ships is just about to be destroyed. It is still whole, no explosion has happened jet, but hull are 0 or close to 0.

EDIT2 : Short historie : Had 10 saves. Installed the white star ship mod, continued saving reloading in 5 slots, everythign working fine. Deactivated the script. Problem starts. With script removed i tried loading the savegame from one of the other 5 saves, which were from a time before i deactivated teh script, and same problem.
Armegeddon
Posts: 393
Joined: Fri, 26. Dec 03, 13:37
x4

Post by Armegeddon »

The reason removing the script causes the game to crash when a player ship is destroyed is because there is no uninstall script, so the kill notification script is still linked to the ships, and the game cannot find the necessary script to execute when one of the ships gets killed, so it hangs.
There is a thin line between genius & insanity i have erased this line

Armegeddon's X3 scripts and mods
merlijntje
Posts: 3
Joined: Sun, 29. Jan 06, 14:14
x3

Post by merlijntje »

I would like to have this script very much. I am very paranoia about losing ships without me knowing and can't help but check it way too often. :oops:


Unfortunately the download link doesn't seem to work anymore :(
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

works for me
merlijntje
Posts: 3
Joined: Sun, 29. Jan 06, 14:14
x3

Post by merlijntje »

Yey, now it does work indeed :)

I had tried it from home and work yesterday and this morning but I couldn't get it. But now I can!
atorresf
Posts: 2
Joined: Wed, 26. May 10, 06:16
x4

This script available for reunion?

Post by atorresf »

I have been looking for days now trying to find something like this for reunion. I hate losing ships and not knowing why. I'll be randomly playing, will try to figure out why my stations aren't producing, and find out once I go through my message logs that the station ships were destroyed, with not indication as to how. I haven't been able to find this for reunion however, anybody know if I'm just missing something?
tphive
Posts: 1
Joined: Fri, 14. May 10, 05:23

Re: This script available for reunion?

Post by tphive »

atorresf wrote:I have been looking for days now trying to find something like this for reunion. I hate losing ships and not knowing why. I'll be randomly playing, will try to figure out why my stations aren't producing, and find out once I go through my message logs that the station ships were destroyed, with not indication as to how. I haven't been able to find this for reunion however, anybody know if I'm just missing something?
I'm on the same boat. Looked into making my own script for this, or converting the OP's mod for Reunion, unfortunately it's way over my head at the moment, far too many commands and errors to go through. Any help here or pointing us in the direction of a X3R version of this mod would be GREATLY appreciated. :D
User avatar
Prettiest Star
Posts: 30
Joined: Thu, 23. Sep 10, 09:17
x3tc

Post by Prettiest Star »

This is just what I was looking for. I was fed up of scrolling through my message log every time I went to make a drink. :)

One question; will the message stay on the screen until I click on it or something?
ThisIsHarsh
Posts: 1135
Joined: Sun, 19. Oct 08, 18:46
x3tc

Post by ThisIsHarsh »

Nah, the subtitle comes up for a couple of seconds then disappears.

In reference to old question about an X3R version, unfortunately it's not possible to make this script in X3R (well, not without causing compatibility issues with other scripts), since X3R does not support secondary signals.
There are 10 types of people in the S&M forums - those who understand binary, and those who don't.

Black holes are where God divided by zero.
Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”