ID:1852154
 
(See the best response by FKI.)
Code:
world/New()
world.SetConfig("APP/admin", ckey("Inutaishos"), "role=root")
..()

Problem description:
I wanted to access profiler without being the Host; using BYONDPanel...
I have researched the forums and I fount that SetConfig() is how we do it however I tried in many diffrent ways, and my profiler... option keeps gray...

I tried doing it manually too by editing the cfg/admin.txt but I had the same result



OH! Fixed it; the problem was that everytime I packaged the files it kept removing the debug tag :X sorry
PS: When I test this on my computer (while I am the host) it works.. D:
Best response
Two things:
  • I'm pretty sure you don't need to covert your key to ckey form, I never have.
  • I believe role should be admin, not root.


if(!world.GetConfig("admin", "Inutaishos"))
world.SetConfig("APP/admin", "Inutaishos", "role=admin")
Fixed, the problem was when packaging the files :X
While I'm not one for anime games, your graphics are gorgeous.
So its role=admin now, I was told root worked. I'll need to update that info then.
In response to Lummox JR
@Lummox JR *I agree with you, the graphics are gorgeous.
@Everyone Else *I don't really play anime games though either, I might try it out but probably wont play it for long.
In response to A.T.H.K
I'm wondering if there are any differences between the two we should know about.
In response to FKI
Yea me too, sorry I was in a rush when I posted that link.. Probably should've said something similar to FKI.