Team Spartan Cookies & Milk Forums
Starfall screen issue - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: Starfall screen issue (/thread-768.html)



Starfall screen issue - LocInt - 01-03-2015

Hey,

Everytime I paste my ship I get this error:

sv: SFConfusedtarfall/ENCOM_mainframe_screen.txt:996: unfinished string near '"�',

Line 996: Input=Input.."£"

This error goes away when i reupload the screen.

It doesnt matter if I save the ship after reuploading it. After pasting it give this error again.


RE: Starfall screen issue - Person8880 - 01-03-2015

Yep, this is because of the escaping of characters going on when duplicating the code. It replaces certain characters with £ and €, which is awful.

The problem is, if I change it now, all old dupes will fail to deserialise as the escape characters will be different. If you use the --@autoupdate directive then you'll upload the latest version from your files to the screen when it spawns from duplication, which should get rid of the problem for now.


RE: Starfall screen issue - LocInt - 01-03-2015

(01-03-2015, 06:53 PM)Person8880 Wrote: Yep, this is because of the escaping of characters going on when duplicating the code. It replaces certain characters with £ and €, which is awful.

The problem is, if I change it now, all old dupes will fail to deserialise as the escape characters will be different. If you use the --@autoupdate directive then you'll upload the latest version from your files to the screen when it spawns from duplication, which should get rid of the problem for now.

Only problem with autoupdate is that I can't store backups of the sf file to the dupe because I would overwrite those backups.


RE: Starfall screen issue - Person8880 - 01-03-2015

Then you'll have to back them up some other way. Like I said, changing the escaping would break every single old dupe with any Starfall code in it.


RE: Starfall screen issue - LocInt - 02-03-2015

Autoupdate does not solve this issue. I tried it.


RE: Starfall screen issue - Person8880 - 02-03-2015

Bleh, endless typos. It'll work next server start.


RE: Starfall screen issue - LocInt - 03-03-2015

(02-03-2015, 07:12 PM)Person8880 Wrote: Bleh, endless typos. It'll work next server start.

Hehe. Glad to help you find em. Thanks!


RE: Starfall screen issue - Person8880 - 07-04-2015

I managed to fix this without breaking old dupes. Any new dupes that have chips with £ or whatever else should no longer break when duplicated.