Blank message from "Uknown" sender

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

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

dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Blank message from "Uknown" sender

Post by dmichailcz »

Blank message from "Uknown" sender... I am getting these message - I think in mostly circumstances they are about loosing one of my ships (UT), but i am not sure... Does anyone encounter this?
I am not very good in english, so please, forgive me...
User avatar
Carlo the Curious
Posts: 16999
Joined: Mon, 5. Mar 07, 22:03
x4

Post by Carlo the Curious »

Tried the FAQ?
Osiris_sam
Posts: 422
Joined: Thu, 24. Aug 06, 13:45
x4

Post by Osiris_sam »

what scripts are you running? This is likely due to a problem in the t file of a given script. i dont think it could be the UT script, unless theres a pretty big bug in some of the text
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

Yes, it start happening after installing one script... I suspect this script from doing so... Can someone confirm that?

P.S. I am posting this here because i know for sure, that problem is not in game but in one of my scripts...

Code: Select all

Script Packages:
Autoscan Smugglers :: ttl :: Yes :: 1.0 :: 21/01/2009
Community Plugin Configuration :: Cycrow :: Yes :: 1.20 :: 03/06/2009
Equipment Research and Development :: Cycrow :: Yes :: 1.00 :: 03/06/2009
Improved Boarding :: Cycrow :: Yes :: 1.10 :: 28/10/2008
Nanite Hull Repair :: arcana75 :: Yes :: 203 :: 03/05/2009
PHQ and MO in Boron Shipyards :: apricotslice aka Timothy Ellis :: Yes :: 1 :: 28/01/2009
Rename Ships with Expression :: Loky :: Yes :: 1.7 :: 09/02/2009
Universal Best Buys/Sells Locator :: alex2069 :: Yes :: 2.21 :: 06/12/2008
Universe Explorers :: 7ate9tin11s :: Yes :: 2.2.0 :: 23/06/2009
I am not very good in english, so please, forgive me...
User avatar
Emerson d'Anite
Posts: 1288
Joined: Tue, 7. Mar 06, 20:24
x4

Post by Emerson d'Anite »

Are you using colors in ship names ?
If yes, return to standard colors.
« Il suivait son idée. C'était une idée fixe et il était surpris de ne pas avancer. » :)
Jacques Prévert
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

Emerson d'Anite wrote:Are you using colors in ship names ?
If yes, return to standard colors.
No, i am not using colored names... I have only renamed all satelites in universe to "Network *SC", used few times, but nothing else...
I am not very good in english, so please, forgive me...
Alex Vanderbilt
Winner X3 Sektorquest
Posts: 2127
Joined: Thu, 4. May 06, 12:07
x3tc

Post by Alex Vanderbilt »

As far as I know the mere presence of color tags in any file screws the whole message system.
I observe similar issues with UniTraders SNM; right after installing the script I've got empty messages from my UTs/Stations/almost everything except mission messages, and I didn't use the script back then. You should try without this script, from what I can tell, your game should send normal messages to you.

AV
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

Yes, i will, but now i am not at my PC... Strange is, that i am receiving messages about destroyed sattelites (only about that renamed by script, never seen any about not yet renamed sattelite - and i must lost at least one), but nothing about my UT...

I suppose that I am only receiving messages about RENAMED objects, is it possible?
I am not very good in english, so please, forgive me...
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Post by Logain Abler »

I ran into this issue when I built my FDN & SSDN mods.

The string being sent for the message may be formatted incorrectly, if it used the menu colour tags it will return null:

Use <red> text </red>
NOT \033R text \033X

Example:

Code: Select all

<t id="3000">[author]Freight Distribution Network[/author]FDN Supply Alert:\n[green]%s[/green] was unable to supply [yellow]%s[/yellow] with [magenta]%s[/magenta] units of [magenta]%s[/magenta]</t>
http://forum.egosoft.com/viewtopic.php?t=222883

Hope that helps

LA
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

Thanks for effort, but that's not my case - I miss "vanilla" messages like "Your ship Trader T-15 was destroyed in Light of Hearth by Xenon Fighter" and from what i remember - they are without colors...
I am not very good in english, so please, forgive me...
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Post by Logain Abler »

dmichailcz wrote:Thanks for effort, but that's not my case - I miss "vanilla" messages like "Your ship Trader T-15 was destroyed in Light of Hearth by Xenon Fighter" and from what i remember - they are without colors...
D'oh, hope you get it sorted
User avatar
joelR
Posts: 2008
Joined: Mon, 9. Jul 07, 23:33
x3tc

Post by joelR »

Logain Abler wrote:I ran into this issue when I built my FDN & SSDN mods.

The string being sent for the message may be formatted incorrectly, if it used the menu colour tags it will return null:

Use <red> text </red>
NOT \033R text \033X

Example:

Code: Select all

<t id="3000">[author]Freight Distribution Network[/author]FDN Supply Alert:\n[green]%s[/green] was unable to supply [yellow]%s[/yellow] with [magenta]%s[/magenta] units of [magenta]%s[/magenta]</t>
http://forum.egosoft.com/viewtopic.php?t=222883

Hope that helps

LA

The question I have is it possible to create a ship renaming script that uses colors that won't cause the incoming message bug?
bounty_hunter66
Posts: 550
Joined: Tue, 15. Aug 06, 13:36
x4

Post by bounty_hunter66 »

I can confirm that. I also am spammed by those verry anoying blank messages. I used the rename script to name 30 UT using just "*NN" (increment nuber). We should probably post this bug in to the thread
Troubleshooter11
Posts: 728
Joined: Sat, 8. Nov 08, 02:51
x4

Re: Blank message from "Uknown" sender

Post by Troubleshooter11 »

dmichailcz wrote:Blank message from "Uknown" sender... I am getting these message - I think in mostly circumstances they are about loosing one of my ships (UT), but i am not sure... Does anyone encounter this?
Sounds like you got spammed.

Spam, even the X-universe suffers from it... :(
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

bounty_hunter66 wrote:I can confirm that. I also am spammed by those verry anoying blank messages. I used the rename script to name 30 UT using just "*NN" (increment nuber). We should probably post this bug in to the thread
Hmmm, I've just tried to turn off the script, and some time later, i received blank message again... I am not sure (i don't remember exact order of installing), but it must be caused by this scripts:

Script Packages:
Community Plugin Configuration :: Cycrow :: Yes :: 1.20 :: 03/06/2009
Equipment Research and Development :: Cycrow :: Yes :: 1.00 :: 03/06/2009
PHQ and MO in Boron Shipyards :: apricotslice aka Timothy Ellis :: Yes :: 1 :: 28/01/2009
Universal Best Buys/Sells Locator :: alex2069 :: No :: 2.21 :: 06/12/2008
Universe Explorers :: 7ate9tin11s :: Yes :: 2.2.0 :: 23/06/2009

Do you use some of them?

EDIT: I suspect (as you see, i've turned him off to test):

Universal Best Buys/Sells Locator :: alex2069 :: No :: 2.21 :: 06/12/2008

This script uses a lot of colors, maybe he is causing that spam message...
I am not very good in english, so please, forgive me...
pelador
Posts: 1399
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by pelador »

Well it will depends when the objects got renamed. As if you turn a script off but an object still has the incorrect nameing convention it isnt an really a fool proof acid test.

If it helps any square brackets "[]" are a common culprit in ship names for message errors from scripts also.
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Post by Logain Abler »

joelR wrote:
Logain Abler wrote:I ran into this issue when I built my FDN & SSDN mods.

The string being sent for the message may be formatted incorrectly, if it used the menu colour tags it will return null:

Use <red> text </red>
NOT \033R text \033X

Example:

Code: Select all

<t id="3000">[author]Freight Distribution Network[/author]FDN Supply Alert:\n[green]%s[/green] was unable to supply [yellow]%s[/yellow] with [magenta]%s[/magenta] units of [magenta]%s[/magenta]</t>
http://forum.egosoft.com/viewtopic.php?t=222883

Hope that helps

LA

The question I have is it possible to create a ship renaming script that uses colors that won't cause the incoming message bug?
No :( , I played around with this a fair bit as I prefix the Adv Sats which are being used by my SSDN mod.

What I haven’t tried is converting the name to string, see if it’s prefixed & postfixes the name with the tags, then strip the tags for any reference of the object in the player log to stop the unknown issue.
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Post by Logain Abler »

pelador wrote:Well it will depends when the objects got renamed. As if you turn a script off but an object still has the incorrect nameing convention it isnt an really a fool proof acid test.

If it helps any square brackets "[]" are a common culprit in ship names for message errors from scripts also.
Fair point, I capture the original name before any changes, if the plug-in is stopped it reverts to the original name. I think any script that changes the default should have a restore.
But this does highlights a potential issue with my SSDN mod, or any mod/script which renames objects. If an Adv Sat is under SSDN control and it’s destroyed the game will throw an unknown message. I will need to add something which renames the Sat if its killed to it original name.

LA
dmichailcz
Posts: 170
Joined: Thu, 18. Jun 09, 13:18

Post by dmichailcz »

Hmmm I've missed one thing - If ship has assigned homebase, will I receive message about losing her? Because i am using also Lucike's CAG and never seen info about destroyed factory supplier. And my UT are assigned to my EQ dock...
I am not very good in english, so please, forgive me...
User avatar
joelR
Posts: 2008
Joined: Mon, 9. Jul 07, 23:33
x3tc

Post by joelR »

Logain Abler wrote:
joelR wrote:
Logain Abler wrote:I ran into this issue when I built my FDN & SSDN mods.

The string being sent for the message may be formatted incorrectly, if it used the menu colour tags it will return null:

Use <red> text </red>
NOT \033R text \033X

Example:

Code: Select all

<t id="3000">[author]Freight Distribution Network[/author]FDN Supply Alert:\n[green]%s[/green] was unable to supply [yellow]%s[/yellow] with [magenta]%s[/magenta] units of [magenta]%s[/magenta]</t>
http://forum.egosoft.com/viewtopic.php?t=222883

Hope that helps

LA

The question I have is it possible to create a ship renaming script that uses colors that won't cause the incoming message bug?
No :( , I played around with this a fair bit as I prefix the Adv Sats which are being used by my SSDN mod.

What I haven’t tried is converting the name to string, see if it’s prefixed & postfixes the name with the tags, then strip the tags for any reference of the object in the player log to stop the unknown issue.

Well its nice to know that someone has at least tried to solve the problem. That would be great if it worked. I wish you luck!

My games always feel a little empty without colored names but even emptier without incoming messages.

It might be worth noting that I have noticed that there have been times when I have got a message from a colored ship that it came through no problem. For example with the mobile ship repairs script. When your ship is done repairing you get a message. I got it without it being blank. Not sure how it worked as my ship had a colored name. Nothing is left in the message log though. Maybe thats a clue?

joelR

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