Stargate icon indicating copy to clipboard operation
Stargate copied to clipboard

Can't load custom gates

Open ghost opened this issue 15 years ago • 4 comments

I get this error when loading ANY custom gates.

2010-12-05 06:57:43 [SEVERE] Could not load Gate stargate.gate - Unknown symbol 'p' in diagram

This is my stargate.gate file (everything else in it is default)

X=42 -=42

XXXX X....X X-....-X X....X XXXX

(github is formatting it weird, anyway it's spaced and whatnot in the actual file, it looks kinda like a circle (hence the name stargate))

Also, I have tested this by simply duplicating the default file and naming it nethergate2.gate, and I get the same error, so I'm pretty sure it's not how I formatted it. :P

ghost avatar Dec 05 '10 06:12 ghost

Hm, I suspect there may be a hidden symbol at work. What OS are you using when you edit files, what editor, and can you please upload (not paste/etc) the stargate.gate somewhere for me?

Dinnerbone avatar Dec 05 '10 16:12 Dinnerbone

Windows to edit, but my server is on Linux Debian.

Using Notepad.

And here's my Stargate.gate, http://www.mediafire.com/?s5iq6zq5j0kujwp (I've also tried with a space between the -=42 and the diagram, didnt work)

ghost avatar Dec 05 '10 18:12 ghost

The line endings on that file are very messed up. I'd suggest editing it in notepad++ using unix-style endings and uploading in binary mode, or editing directly on your server.

Dinnerbone avatar Dec 05 '10 18:12 Dinnerbone

Alrighty, I'll try that and edit this comment if it still breaks! :D

It worked! Thx.

ghost avatar Dec 05 '10 18:12 ghost