Originally Posted by
Ni3ls
Can you explain it a little bit?
the address 0x0815D584 points to SV_BeginDownload_f that you call when you type /download.
I set it to my own function and inside this function i check if it is a valid iwd. When the iwd is valid then it calls the original function.
file + len - 4 gets the pointer to '.' in the file text. So you basically skip the first x chars.
Originally Posted by
IzNoGoD
Can you add a check for issubstr("_svr_") or issubstr("svr")?
PHP Code:
char * pch = strstr (s, "_svr_");
if(pch != NULL) // found _svr_