Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load custom gates #9

Open
ghost opened this issue Dec 5, 2010 · 4 comments
Open

Can't load custom gates #9

ghost opened this issue Dec 5, 2010 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 5, 2010

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

@Dinnerbone
Copy link
Collaborator

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?

@ghost
Copy link
Author

ghost commented Dec 5, 2010

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)

@Dinnerbone
Copy link
Collaborator

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.

@ghost
Copy link
Author

ghost commented Dec 5, 2010

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

It worked! Thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant