proc/RefreshServers()
for(var/A in Servers)
var/Name = copytext(A,1,"|")
var/Address = copytext(A,"|","||")
var/list/Servers=list("Test Server | 127.0.0.1 ||")
Problem description: This is Oceans Code Problem week!
runtime error: bad text or out of bounds
proc name: RefreshServers (/proc/RefreshServers)
source file: Main.dm,6
usr: null
src: null
call stack:
RefreshServers()
: New()
Don't know if there's another problem. :0
The 2 arguments after the first one in copytext are positions within the text, not parts of the text itself.