ID:176505
 
Here's my code, thanks in advance for helpin:

world
hub = "Koolguy900095.Magical Realm"
view = 6
New()
var/savefile/F=new("saves/IPbanlist.sav")
IPban << F
var/savefile/C=new("saves/Keybanlist.sav")
KeyBan << C

The runtime error is:

runtime error: bad output value
proc name: New (/world/New)
source file: icon.dm,8
usr: null
src:
call stack:
: New()
When using input/output, the file goes on the left, and the variable on the right.
In response to Garthor
would it be:
new("saves/IPbanlist.sav")=var/savefile/F
In response to Koolguy900095
No, F >> Whatever
In response to Garthor
Thanks, i was helping him with making it save, but we ran into this error, also, do you think thats the best way to save those var.
In response to Koolguy900095
I just told you in MSN
In response to Garthor
after adding:

New()
var/savefile/F=new("saves/IPbanlist.sav")
F >> IPban
var/savefile/C=new("saves/Keybanlist.sav")
C >> KeyBan
..()

I get the runtime error:

runtime error: Cannot execute null.Find().
proc name: Login (/mob/Login)
source file: GM Codes.dm,275
usr: Koolguy900095 (/mob/creating_character)
src: Koolguy900095 (/mob/creating_character)
call stack:
Koolguy900095 (/mob/creating_character): Login()
Koolguy900095 (/mob/creating_character): Login()
Koolguy900095 (/mob/creating_character): Login()
Koolguy900095 (/mob/creating_character): Read(players/k/koolguy900095.sav (/savefile))
Koolguy900095 (/client): base LoadMob("Koolguy900095")
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): ChooseCharacter()
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): Login()

but after taking out:

New()
var/savefile/F=new("saves/IPbanlist.sav")
F >> IPban
var/savefile/C=new("saves/Keybanlist.sav")
C >> KeyBan
..()

And running i get no errors...Please help, thanks in advance!

P.S Here is my ban code if you need it...:

var/list/IPban = list()
var/list/KeyBan = list()

mob/GM
verb
Ban(mob/M as mob in world)
set category = "GM"
IPban += M.client.address
KeyBan += M.key
M << "You have been banned by [src]!"
var/savefile/F=new("saves/IPbanlist.sav")
F << IPban
var/savefile/C=new("saves/Keybanlist.sav")
C << KeyBan
del(M)

and:

mob/Login()
..()
if(IPban.Find(src.client.address) || KeyBan.Find(src.key))
del(src)

Thanks...