| Blockland Forums > General Discussion |
| Anyone know why Client_ChatLogger is in the list of bad CRCs? |
| << < (2/2) |
| elm:
--- Quote from: Greek2me on December 10, 2012, 12:58:52 AM ---Here's one that the folks over at SS use: http://scatteredspace.com/forum/index.php?topic=1171.msg16090#msg16090 Edit: Restricted link, sorry. Try this one. --- End quote --- --- Code: --- //CLEANING for(%i=0;%i<10;%i++) eval("%line = strReplace(%line,\"\\c"@%i@"\",\"\");"); %spos = 0; %epos = 0; if((%spos = striPos(%line,"<color:")) != -1) { if((%epos = strPos(%line,">",%spos)) != -1) { %line = getSubStr(%line,0,%spos) @ getSubStr(%line,%epos+1,255); } } %spos = 0; %epos = 0; if((%spos = striPos(%line,"<bitmap:")) != -1) { if((%epos = strPos(%line,">",%spos)) != -1) { %line = getSubStr(%line,0,%spos) @ getSubStr(%line,%epos+1,255); } } %spos = 0; %epos = 0; if((%spos = striPos(%line,"<font:")) != -1) { if((%epos = strPos(%line,">",%spos)) != -1) { %line = getSubStr(%line,0,%spos) @ getSubStr(%line,%epos+1,255); } } //END CLEANING --- End code --- Oh god, lol. |
| Navigation |
| Message Index |
| Previous page |