Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Bug] Remove extra space characters added when scanning a document
#1
Original bug report here: https://forum.ss13.co/showthread.php?tid=11623

When you write on a piece of paper, it puts the text inside of a span tag to style it. The template that's used has some extra space characters present. When the you try to use the document scanner, it removes all of the tags, but leaves the extra spaces that were present in the raw document, which adds a leading and trailing space to the file in DWAINE. If you're trying to scan a script file, this will prevent it from running. By removing the extra spaces from the template, this bug is resolved.

Pull request: https://github.com/goonstation/goonstati...6/pull/125
Reply
#2
I thought that that was a deliberate handicap, to prevent nerds like myself from notepad++-ing entire cryptocurrency miners into DWAINE.
I tested it, and can confirm that, with this patch, you can now write a program on some paper, scan it, and run the resulting 'document'.

Good work. +1 to dis.
Reply
#3
Are we about to witness DAWINE’s full potential? This is very exciting
Reply
#4
You could still do it even with the space, but it was kind of stupid and just an extra needless step. This just makes it more convenient.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)