Test server halp

General SS13 Chat
Post Reply
User avatar
Kangaraptor
Joined: Sat Apr 19, 2014 7:33 am
Byond Username: Kangaraptor
Location: dank memes

Test server halp

Post by Kangaraptor » #26457

Probably belongs in Coding, but it didn't exactly seem like a 'code' question.

Dicking around trying to test some stuff on a private server. Added my ckey to admins.cfg with the correct rank in the correct place and it refuses to acknowledge me as a server admin. Insight?
Image
User avatar
Ikarrus
Joined: Fri Apr 18, 2014 2:17 am
Byond Username: Ikarrus
Github Username: Ikarrus
Location: Canada
Contact:

Re: Test server halp

Post by Ikarrus » #26458

Show us how you added yourself to the txt
Former Dev/Headmin
Who is this guy?
User avatar
Kangaraptor
Joined: Sat Apr 19, 2014 7:33 am
Byond Username: Kangaraptor
Location: dank memes

Re: Test server halp

Post by Kangaraptor » #26459

Ikarrus wrote:Show us how you added yourself to the cfg.
http://i.imgur.com/4DgJOeM.jpg

linked because my res is huge

anyway, tried a few different ways but that's the way I tried originally; capitalized my key correctly, tabbed down, etc - none worked.
Image
User avatar
Skorvold
Joined: Fri Apr 18, 2014 2:36 pm
Byond Username: Skorvold

Re: Test server halp

Post by Skorvold » #26466

Remove the hashtag before your name?
Never give up! Trust your instincts!
Spoiler:
http://steamcommunity.com/id/skorvold
Talk to me on steam anytime.
User avatar
Kangaraptor
Joined: Sat Apr 19, 2014 7:33 am
Byond Username: Kangaraptor
Location: dank memes

Re: Test server halp

Post by Kangaraptor » #26467

Skorvold wrote:Remove the hashtag before your name?
No dice. Removing the hashtag or slapping a space between it and my ckey didn't work. Still refusing to acknowledge me when I start up a new world.
Image
User avatar
Jordie0608
Site Admin
Joined: Tue Apr 15, 2014 1:33 pm
Byond Username: Jordie0608
Github Username: Jordie0608
Location: Spiderland, Australia

Re: Test server halp

Post by Jordie0608 » #26468

Is that listed all on one line? I'm pretty sure you need each 'ckey = rank' on a new line.

E.g.

Code: Select all

# NOTE: syntax was changed to allow hyphenation of ranknames, since spaces are stripped.      #
###############################################################################################
razharas = Game Master
Niknakflak = Game Master
rolan7 = Game Master
quarxink = Game Master
Forum Admin
Send me a PM if you have any issues, concerns or praise of fishfood to express about the forums.
User avatar
Kangaraptor
Joined: Sat Apr 19, 2014 7:33 am
Byond Username: Kangaraptor
Location: dank memes

Re: Test server halp

Post by Kangaraptor » #26469

Jordie0608 wrote:Is that listed all on one line? I'm pretty sure you need each 'ckey = rank' on a new line.

E.g.

Code: Select all

# NOTE: syntax was changed to allow hyphenation of ranknames, since spaces are stripped.      #
###############################################################################################
razharas = Game Master
Niknakflak = Game Master
rolan7 = Game Master
quarxink = Game Master
Yeah, it was all on one line in the file, so I assumed it didn't make a difference. I'll give it a look.
Image
User avatar
Kangaraptor
Joined: Sat Apr 19, 2014 7:33 am
Byond Username: Kangaraptor
Location: dank memes

Re: Test server halp

Post by Kangaraptor » #26470

lo and behold it works.

Thanks Jordie, ilu.
Image
Miauw
Joined: Sat Apr 19, 2014 11:23 am
Byond Username: Miauw62

Re: Test server halp

Post by Miauw » #26497

it's all on different lines, if it's on one line that means that notepad fucked up your line endings.
use notepad++ to advoid this
<wb> For one, the spaghetti is killing me. It's everywhere in food code, and makes it harder to clean those up.
<Tobba> I stared into BYOND and it farted
User avatar
MrStonedOne
Host
Joined: Mon Apr 14, 2014 10:56 pm
Byond Username: MrStonedOne
Github Username: MrStonedOne

Re: Test server halp

Post by MrStonedOne » #26500

Or wordpad in a pinch.

but notepad++ is the best.

Basically, what's happening, is that there are two main different ways at the byte level to signify the next line in a file, and notepad only supports one. wordpad, that also comes bundled with windows, supports the other, but is clunky, notepad++ supports them and also is just easier to use.
Forum/Wiki Administrator, Server host, Database King, Master Coder
MrStonedOne on digg(banned), Steam, IRC, Skype Discord. (!vAKvpFcksg)
Image
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

Re: Test server halp

Post by oranges » #26556

Don't listen to these scrubs

vim is the only editor you need
User avatar
Hornygranny
Horny Police
Joined: Tue Apr 15, 2014 4:54 pm
Byond Username: Hornygranny

Re: Test server halp

Post by Hornygranny » #26624

emacs
Image
Post Reply

Who is online

Users browsing this forum: No registered users