ID:157405
![]() Mar 16 2010, 10:35 pm
|
|
I'm trying to find a way to make some sort of backdoor sequence I can use in-game to access a username+password input to grant myself admin without worrying about what key/computer/internet I'm using on my game. I understand this can cause security risks. I'm fine with that.
|
I was wondering if there was a way to do it without a verb, sorry I didn't include that in the original post.
|
Unless I use a macro, so the question is how do I make the game check if a certain 4 keys are pressed down to activate a login popup?
EDIT: Okay that was stupid. Sorry. Ignore this post. |
None of this will do anything to circumvent the Dream Daemon ban system, if that's at all what you're aiming for.
|
Have a verb that's set hidden that does client stuff. For example, Ruin contains this line of code:
mob/player/verb/xyzzy() Where /mob/player/debug has a bunch of debug verbs for spawning items, jumping to a dungeon level, setting experience total, etc. (Ruin is a single-player game, so I don't care about revealing my little cheat. Also, the source is available). This method only works if you've still got a command prompt, mind. |
I never said I was banned... No one said anything about being banned except popisfizzy and you... lol
|
Here's the scenario:
1 - You give someone your hostfiles and let them host the game, on the criterion that you remain admin (You've said you want to maintain admin) 2 - They host the game for a bit 3 - They decide that they don't want you to be an admin any more. You're removed from the admin list 4 - You use your sneaky backdoor to break back in and be admin-y. 5 - They go "What the hell just happened?" and then ban you. 6 - ??? 7 - Profit! |
Jp wrote:
Here's the scenario: |
I was under the impression the server wasn't under your direct control - if it's just being hosted on a computer under your control and you'd like to make sure that your various keys all have admin, can't you just have a textfile listing the admin keys that you check when people log in? More secure than some sort of password system, and about as easy.
|
You do have a slight point if I end up getting a host (Last time I did he banned me and my entire staff and was threatening to release my host files to the public), which I most likely will not.
If you ever get the chance to meet a person named "Iocamus", careful not to let him host for you. He may seem like a normal kid, but he's just like any other pre-pubescent narutard on byond. Though IsBanned() should work fine on what you were talking about, right? |
There's no way to prevent yourself being banned, if that's what you're asking. Worst-case scenario, they set up a firewall to block connections from your IP address.
My proposed solution to working out if someone is an admin doesn't interact with bans in any way, so I'm not sure if you're referring to something there RE: IsBanned. To be honest, I really don't care about maintaining control of the hosting of games I create (Or the source code, either, really). I've not produced anything worth playing to date, but my thoughts are that generally people hosting the game or playing with the source code are good for the game's popularity and my reputation as a programmer. Plus, I don't really have the right to tell people what to do with a server they're running - it's like if Gabe Newell came into your locally-hosted TF2 server and demanded control. Plus, I develop games for fun. I don't expect to get any money or anything out of it. Why should I care if someone else wants to play with the game? |
Make it so your key cant be banned code that in the ban system!
or, make it so anyone with admin status can only be banned by you? Simple! that should have been coded in, in the first place! |
Ashi Productions wrote:
Make it so your key cant be banned code that in the ban system! He's looking for something to counter a pager-ban. -.-; |
Emasym wrote:
He's looking for something to counter a pager-ban. -.-; No, he does not. As has been mentioned by him multiple times already, world.IsBanned() would handle this just fine. As for the solution, I'd basically set up a hidden verb, which then handles promotion to administrative privileges, based on a dynamically generated hash. |
IsBanned() handles pager bans, Dream Daemon bans can't be bypassed using any type of code. The simple fact is; the host has the right to refuse access to anyone, even the owner of the game. It's their computer and their connection.
|
Type in admin to the input box and the password box pops up.
Probably won't work how you want it to.