SRL Archive - RS Scripts

Deletes uid.dat + random.dat in most (all?) possible places


Kik

2007-08-15 19:32:11

Uid.dat and Random.dat Overwriter (not deleter)

Overwrites uid.dat and random.dat in most possible places with a blank document.

You must have runescape closed or you'll get a file access error.

program New;
begin
ReWriteFile('C:\\Windows\.jagex_cache_32\random.dat',true);
ReWriteFile('C:\\Windows\.file_store_32\random.dat', true);
ReWriteFile('C:\\Windows\.file_store_32\uid.dat',true);
ReWriteFile('C:\\Windows\uid.dat',true);
ReWriteFile('C:\\Windows\random.dat',true);
ReWriteFile('C:\\uid.dat',true);
ReWriteFile('C:\\random.dat',true);
ReWriteFile('C:\\Current Login Name Here\uid.dat',true);
ReWriteFile('C:\\Current Login Name Here\random.dat',true);
ReWriteFile('C:\\Program Files\Mozilla Firefox\uid.dat',true);
ReWriteFile('C:\\Program Files\Mozilla Firefox\random.dat',true);
ReWriteFile('C:\\RSCache\uid.dat',true);
ReWriteFile('C:\\RSCache\random.dat',true); //Thanks for pointing that out JuKKa
end.

Dunno if this will help anybody - I just made it in two seconds for personal use and decided to post it here. BTW, you have to allow it to access some of your files (just to delete the uid.dat and random.dat).

This actually rewrites it, not deletes it (put wrong thing in title).

Dude

2007-08-15 20:36:11

I personally just prefer to search for both files, but nice little script!

3Garrett3

2007-08-15 20:51:43

Mpr Store or whatever is MoparScape, isnt it?

Kik

2007-08-15 23:02:48

Oh, yes, it does stand for moparscape. I tried it once a few months ago and it didn't work. I'll take that out of my script.

JuKKa

2007-08-16 01:12:46

You forgot "RSCache".. ;P

C:\RSCache\

lordsaturn

2007-08-16 03:21:31

I made this my newscript.txt (default scar file), so I can delete quickly whenever I'm ready to auto. I recommend everyone else to do this aswell. =]

Kik

2007-08-16 09:21:13

EDITS:

-Added RSCache - thanks JuKKa.
-Switched False to True - false would make a blank copy if none existed.
-Deleted mpr_store (that was moparscape) - thanks garrett


Hope this helps everybody.

hacker

2007-08-26 20:52:27

I get this:

Successfully compiled
File access error
File access error
Successfully executed

EDIT: Fixed it! I had to run scar in administrator because i have vista on this computer. THX!!

red eyes 20

2007-11-06 22:13:35

sweet cause i don't know how to delet these one my own =ppp
and do i have to do this every time before i auto? once a week once only??

EvilChicken!

2007-11-08 13:28:25

Wow, useful. Saved! :D

Thanks, gl.

IMORTANT EDIT: What is the command for deleting a file from scar? I dont want it to just rewrite files. Thanks:D

Banci

2007-11-15 04:05:27

Deleting and rewriting are helping littel, if Jag staff are looking for You. I deleted files before trade, after trade ( from all computers that i used) and after third login - but getted banned :) - so it's not the best way - but littel help anyway.

Cerium

2007-11-24 18:41:02

I made a .bat file… Much easier!

Download and run:)

Kik

2007-11-26 17:09:08

Eh, I made this 3 months ago. I'm not sure what the command is for delete file (deletefile(), maybe? I'll go try it…).

EDIT: DeleteFile() isn't a valid command… hmm… oh well, rewritefile does the same job. Funny how I still use this… I bet they have uid.dat's everywhere. I could just make a .bat though, would be easier.

I'm a little uneasy about downloading bat files - I'll make one myself.

BTW, if you get a 'File Access Error' and you have RS running, you need to close rs and run it again. Unfortunately, you can't delete uid.dat's and stuff while RS is running.

EDIT: Cerium's .bat is safe, incase anybody was wondering. Guess I can just use this one and not have uid.dat/random.dat running around.

cd C:\\

@echo Let's Get Rid Of This Fucking Noob Files! =)

@pause

del C:\Windows\.jagex_cache_32\random.dat
del C:\Windows\.file_store_32\random.dat
del C:\Windows\.file_store_32\uid.dat
del C:\Windows\uid.dat
del C:\Windows\random.dat
del C:\uid.dat
del C:\random.dat
del C:\Documents And Settings\uid.dat
del C:\Documents And Settings\random.dat
del C:\Program Files\Mozilla Firefox\uid.dat
del C:\Program Files\Mozilla Firefox\random.dat
del C:\RSCache\uid.dat
del C:\RSCache\random.dat

@echo =====DONE!=====

@pause

nething

2007-11-27 19:08:00

redeyes20 please don't gravedig. Since it is already dug:

I like my bat file I made :) its fancy. It's only on my mom's comp though so I can't upload it here :(.