ID:180738
 
ok i have a code made but here the probem .....Can i save the admin keys in a text file rather then making the code up agin for each new admin so I can update at runtime.

Im asking becaue the problem im having is each new admin i get i need to release an update to the game and shut it down and bring it back up. it would be so much easier if i cound just put the keys in a file and let byond look in it and let those keys have admin powers.

ps.Please post some sample code if you can Thanks.
On 3/2/01 9:34 pm Darkness wrote:
ok i have a code made but here the probem .....Can i save the admin keys in a text file rather then making the code up agin for each new admin so I can update at runtime.

Im asking becaue the problem im having is each new admin i get i need to release an update to the game and shut it down and bring it back up. it would be so much easier if i cound just put the keys in a file and let byond look in it and let those keys have admin powers.

ps.Please post some sample code if you can Thanks.

I'm not going to be much help here. I just wanted to say that I've been thinking about how I want to do the same thing for a while. I should look at file2text() and stuff.

I forget if this is possible... can one create an HTML page of forms through which one could submit info to the game binary, even if it's not currently running? Then it could alter its savefiles. And the admin could change things easily from a secure site.

Z
In response to Zilal
On 3/2/01 10:23 pm Zilal wrote:
I forget if this is possible... can one create an HTML page of forms through which one could submit info to the game binary, even if it's not currently running? Then it could alter its savefiles. And the admin could change things easily from a secure site.

Yes, and long ago I said that you would end up running your game this way while sitting at a bus stop.

How soon they forget!
In response to Deadron
On 3/2/01 11:06 pm Deadron wrote:
ok...now I'll have to change my question...how would I make the HTML forms....do I need to do it in BYOND or can I use any web page I make...and how would I make the HTML affect my game...or just give me a rough draft on how this is done.
In response to Darkness
On 3/3/01 5:41 pm Darkness wrote:
On 3/2/01 11:06 pm Deadron wrote:
ok...now I'll have to change my question...how would I make the HTML forms....do I need to do it in BYOND or can I use any web page I make...and how would I make the HTML affect my game...or just give me a rough draft on how this is done.

Another tutorial that needs to be done...

In the meantime, the Forum Library shows an example of using browser pages. Don't pay any attention to how it saves stuff (that was done before all the savefile enhancements), just look at how browser pages are done.