<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Netrek-dev,</div><div class=""><br class=""></div><div class="">My Swift Netrek server has a compatibility problem with COW and Windows clients.</div><div class=""><br class=""></div><div class="">When a person dies, the clients do not pop up the “choose team” screen. So people have to disconnect to respawn.</div><div class="">The clients also do not show the “you were killed by [WEAPON] from [PLAYER] message when connected to my server.</div><div class=""><br class=""></div><div class="">What message/flag sent from the server triggers that window / message?</div><div class=""><br class=""></div><div class="">I was assuming it was the whydead and whodead fields in the SP_YOU, but so far I haven’t been able to get it working.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Here’s a sequence of SP_YOU messages from <a href="http://pickled.netrek.org" class="">pickled.netrek.org</a>. These can be assumed to be correct. I’ve put the death and respan in <b class="">BOLD</b></div><div class=""><br class=""></div><div class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 64 shieldStrength 100 fuel 10000 engineTemp 0 weaponsTemp 0 whyDead 0 whodead 6"<br class=""><b class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 103 shieldStrength 100 fuel 10000 engineTemp 0 weaponsTemp 0 whyDead 2 whodead 6"<br class=""></b>"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 103 shieldStrength 100 fuel 9980 engineTemp 5 weaponsTemp 0 whyDead 2 whodead 6"<br class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 103 shieldStrength 100 fuel 9960 engineTemp 10 weaponsTemp 0 whyDead 2 whodead 6"<br class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 103 shieldStrength 100 fuel 9940 engineTemp 15 weaponsTemp 0 whyDead 2 whodead 6"<br class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 103 shieldStrength 100 fuel 9924 engineTemp 19 weaponsTemp 0 whyDead 2 whodead 6"<br class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 103 shieldStrength 100 fuel 9908 engineTemp 23 weaponsTemp 0 whyDead 2 whodead 6"<br class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 103 shieldStrength 100 fuel 9892 engineTemp 27 weaponsTemp 0 whyDead 2 whodead 6"<br class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 103 shieldStrength 100 fuel 9876 engineTemp 31 weaponsTemp 0 whyDead 2 whodead 6"<br class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 103 shieldStrength 100 fuel 9860 engineTemp 35 weaponsTemp 0 whyDead 2 whodead 6"<br class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 103 shieldStrength 100 fuel 9848 engineTemp 38 weaponsTemp 0 whyDead 2 whodead 6"<br class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33562624 damage 103 shieldStrength 100 fuel 9836 engineTemp 41 weaponsTemp 0 whyDead 2 whodead 6"<br class=""><b class="">"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 2049 damage 0 shieldStrength 100 fuel 10000 engineTemp 0 weaponsTemp 0 whyDead 2 whodead 6"<br class=""></b>"Received SP_YOU 12 1 hostile 13 war 0 armies 0 tractor 0 flags 33556481 damage 0 shieldStrength 100 fuel 10000 engineTemp 0 weaponsTemp 0 whyDead 2 whodead 6”<br class=""><br class=""></div><div class="">Here’s a sequence of SP_YOU messages from <a href="http://netrek.networkmom.net" class="">netrek.networkmom.net</a>.</div><div class=""><br class=""></div><div class="">"Received SP_YOU 12 16 hostile 14 war 14 armies 0 tractor 0 flags 2048 damage 78 shieldStrength 100 fuel 9460 engineTemp 5 weaponsTemp 0 whyDead 0 whodead 0"<br class=""><b class="">"Received SP_YOU 12 16 hostile 14 war 14 armies 0 tractor 0 flags 2048 damage 118 shieldStrength 100 fuel 9460 engineTemp 5 weaponsTemp 0 whyDead 2 whodead 0"<br class=""></b>"Received SP_YOU 12 16 hostile 14 war 14 armies 0 tractor 0 flags 2048 damage 118 shieldStrength 100 fuel 9460 engineTemp 5 weaponsTemp 0 whyDead 2 whodead 0"<br class="">"Received SP_YOU 12 16 hostile 14 war 14 armies 0 tractor 0 flags 2048 damage 118 shieldStrength 100 fuel 9460 engineTemp 5 weaponsTemp 0 whyDead 2 whodead 0”</div><div class=""><br class=""></div><div class="">…large number of identical messages deleted…</div><div class=""><br class="">"Received SP_YOU 12 16 hostile 14 war 14 armies 0 tractor 0 flags 2048 damage 118 shieldStrength 100 fuel 9460 engineTemp 5 weaponsTemp 0 whyDead 2 whodead 0"<br class="">"Received SP_YOU 12 16 hostile 14 war 14 armies 0 tractor 0 flags 2048 damage 118 shieldStrength 100 fuel 9460 engineTemp 5 weaponsTemp 0 whyDead 2 whodead 0"<br class=""><b class="">"Received SP_YOU 12 16 hostile 14 war 14 armies 0 tractor 0 flags 2048 damage 0 shieldStrength 100 fuel 10000 engineTemp 0 weaponsTemp 0 whyDead 0 whodead 0”<br class=""></b><div class=""><br class=""></div><div class="">(Looks like I need to fix whodead, but 0 is valid so I don’t think that’s the cause).</div></div><div class=""><br class=""></div><div class=""><b class="">Could it be PFREFIT?</b></div><div class=""><br class=""></div><div class="">For reference, here’s the p_flags fields. While my current implementation is missing red/yellow/green, I don’t see anything relevant.</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/* bit masks of p_flags */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFSHIELD 0x0001 /*!< shields are up */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFREPAIR 0x0002 /*!< repairing damage or shields */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFBOMB 0x0004 /*!< bombing planet while orbiting */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFORBIT 0x0008 /*!< orbiting planet p_planet */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFCLOAK 0x0010</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFWEP 0x0020</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFENG 0x0040</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFROBOT 0x0080</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFBEAMUP 0x0100</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFBEAMDOWN 0x0200</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFSELFDEST 0x0400</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFGREEN 0x0800</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFYELLOW 0x1000</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFRED 0x2000</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFPLOCK 0x4000 /* Locked on a player */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFPLLOCK 0x8000 /* Locked on a planet */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFCOPILOT 0x10000 /* Allow copilots */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFWAR 0x20000 /* computer reprogramming for war */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFPRACTR 0x40000 /* practice type robot (no kills) */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFDOCK 0x80000 /*!< docked to a base, p_dock_with valid */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFREFIT 0x100000 /* true if about to refit */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFREFITTING 0x200000 /* true if currently refitting */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFTRACT 0x400000 /* tractor beam activated */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFPRESS 0x800000 /* pressor beam activated */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFDOCKOK 0x1000000 /* docking permission */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFSEEN 0x2000000 /* seen by enemy on galactic map? */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/*#define PFCYBORG 0x4000000 a cyborg? 7/27/91 TC */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFOBSERV 0x8000000 /* for observers */</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#define PFTWARP 0x40000000 /* isae -- SB transwarp */</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></body></html>