Hello, I am in the middle of making an Admin Demo. I'm having problems on the Ban Code. I can't figure out how to Save the ban list so that person is banned for good. If you help, you will get credit! Thanks!
~~SSJ4_Gohan_Majin
ID:268063
![]() Feb 29 2004, 6:15 am
|
|
That doesn't save the ban code. You can log right back in. And thats directly from RaeKwon's R_Admin.
~~SSJ4_Gohan_Majin |
Are you sure that doesn't save the ban code? It won't save the ban list on different servers/hosts, but it should work if the host remains the same.
~Ease~ |
I'm positive. You can log right back in. Its just like a Boot Code. I banned myself, and was able to Log back in.
~~SSJ4_Gohan_Majin |
proc/WorldSave()
var/savefile/S=new("Settings.sav") S["Whatever1"] << Variable proc/WorldLoad() if(!fexists("Settings.sav")) return var/savefile/S=new("Settings.sav") S["Whatever1"] >> Variable world/Del() WorldSave() ..() world/New() WorldLoad() ..() Somthing like that will probably (not too sure, however) work. |
SSJ4_Gohan_Majin wrote:
Hello, I am in the middle of making an Admin Demo. I'm having problems on the Ban Code. I can't figure out how to Save the ban list so that person is banned for good. If you help, you will get credit! Thanks! If you don't know what you're doing, demo writing is not for you. The point of a demo is to show how to do something to someone who doesn't know. Hence, the person doing the showing should know their way around the problem. As it is, admin controls are better suited to a library than a demo. And since several libraries and demos both exist for this, why are you trying to reinvent the wheel? If you must, then it would pay to be an expert in circles. Lummox JR |
That should do it. I think.
~Ease~