ID:1661034
 
(See the best response by Nadrew.)
Code:
mob
proc
s_Support()
if(src.client.IsByondMember())
var/http[]=world.Export("http://members.byond.com/[src.key]")
if(!http){src<<"Connection to hub failed.";return}
var/a=http["CONTENT"]
var/b=findtextEx(findtextEx(a),"My favorite games")
if(b)
var/c=copytext(file2text(a),b)
var/d=1
while(d){var/e=findtextEx(c,"Posted by");if(e)c=copytext(c,e+10);else d=0}
var/f=findtextEx(c,"http://games.byond.com/hub/Kinotsu/BleachUnleashed")
if(f)return 1
return 0
return src.key


Problem description:
Hi, I haven't been on Byond and have not coded in about 6 years. I recently had an update to my Byond and when I compiled my old game, it said I needed to change findText to findtextEx, and after changing it I now have an error that I can't fix. The error message is

"Login.dm:490:error: findtextEx: expected 2 to 4 arguments (found 1)"

Also for some reason my map completely messed up after recompiling after 6 years....no idea what caused that.
Best response
var/b=findtextEx(findtextEx(a),"My favorite games")

You used findtextEx(a), which is invalid usage.