# Thread: EVERYTHING you need to know about JaGex cache files! [UID/Random.dat]

1. ## EVERYTHING you need to know about JaGex cache files! [UID/Random.dat]

.

Everything you need to know about JaGex cache files!

Hi, and thank you for taking the time to read this tutorial.

Browsig the forums, I was surpised to encounter a great amount of people unaware of the presence of uid.dat and random.dat on their computers.

This tutorial will cover basic knowledge about RuneScape cache files, also known as the UID.dat and the Random.dat files stored on your computer by JaGex at the startup of the RuneScape client.

If you’ve never heard about this before, the first natural question to pop up in your head is "What are these files?"
These files are files that are stored on your computer when you load the RuneScape client. As far as I know, no one except JaGex employees have knowledge of what theese files contain. But, I did some research on the .dat file extension. From what I managed to read, the file extension is used by some programs to mark that certain files with that extension simply contain data. Confused? Lets take matters into our own hands () and check it out by ourselves;

Here is what you need to do:

Open the start menu -> My computer -> Search
Click All files and folders -> Type in UID and click search.
Wait a couple minutes until the search is complete or until you have a lot of results.
Normally, you would recognize JaGex cache files by the .uid/.dat extensions (and most usually also their “unrecognizable” icons that looks like .), folder locations* – and the names of these files, usually “random” or “uid”.

* - List over known uid.dat/random.dat file locations:
 C:\Windows\.jagex_cache_32\random.dat C:\Windows\.file_store_32\random.dat C:\Windows\.file_store_32\uid.dat C:\Windows\uid.dat C:\Windows\random.dat C:\uid.dat C:\random.dat C:\Documents and settings\uid.dat C:\Documents and settings\random.dat C:\Program Files\Mozilla Firefox\uid.dat C:\Program Files\Mozilla Firefox\random.dat C:\Administrator\random.dat C:\Administrator\uid.dat C:\RSCache\uid.dat C:\RSCache\random.dat

Here is a screenshot of a typical result of the search:

In the red box are two of the files we are looking for.
Ignore the other files, they are included in the picture just to set examples for what results to ignore.
So, you say to yourself (or most likely you don't, but lets say you do) "Is there a way to open '.dat' files?"
Yes. Do like so:

Right-click on the .uid file, and choose "Open with.."
(Norwegian, but you still get the point, don't you?)
You will (in most cases) get a pop-up dialog, press "Open in.." or "Open with.."

Now you get a (second) dialog about that there is no software on your computer
for that type of files. Click the lowest option ("Choose the program from a list")
and click "OK".

If the checkbox next to "1" is checked, uncheck it. Then, if ' NotePad is the hightlighted program next to "2", click "OK". If its not, scroll down the list until you find ' Notepad and click that icon, then click "OK".

Wow, surprise, the file is.. not empty?!

Originally Posted by Hy71194
Not really... think Jagex did an update on them? Now they contain random ASCII characters.
Code:
Cè‰¸]é.¨ÝCÿùç«»í|
(removed a few, incase the mean something...)
Now, this is beginning to get kind of creepy.

I don't know what theese files are used for. JaGex may just use them for just checking wether they exist or not to give them the info they need. The charachters in the UID file may be encrypted and actually mean something. Notice that if you use FireFox, the cahce files go to your FireFox folder.
And if you use Internet Explorer, they go to the IE folder. But what if you use S.M.A.R.T? (I seriously don't know where they are stored if so.)
That may be the kind of information JaGex wants. Maybe theese files are filled with data every time you play RS, then completely emptied
at logout? Maybe the purpose of these is so JaGex simply can do a "If FileExists(...)" (in Java) at the startup of the RS client? Maybe every .dat file stored to your computer has its purpose? (For JaGex.) No one knows. But, theese files obviously have a use, and as I've allways said - the small things add up. You should by now know that the recent update checks certain
JaGex folders (listed above). I would strongly advice against installing this and any other software from JaGex. To be on the safe side.

Now, the final point: Deleting these files!
One may think that deleting is a simple job. It is. Kind of. It requires strategy. A thumb rule is:

Delete your RS cache files every time you switch between using an account you auto on and an account you don't want to loose.

Also, deleting your Cache files should not be done too often either. The great WT-Fakawi did an experiment with theese. As far as I remember, he tried deleting his cache files between each logout when he autoed with his guild miners. This resulted in ALL of his guild miner accounts being banned - and, in my opinion, prooving that these .dat files do have their purpose for JaGex.

With this thread, I have attached a small .rar, which I made. They contain two files, both are .bat files. One of them is an IP adress renewer which I cannot guarantee that works because I have a static IP adress. And, the second file is the uid/random.dat deleter. All that is needed to delete the cache files is to run the .bat file attached! In addition to deleting the cache files when you switch between autoing and valuable accounts, this should be done once every two weeks in my opinion. This is that which has worked for me, and that is how often I delete them. I am not responsible for any bans due to extensivly repeated deleting of the JaGex cache files, although this should prevent bans in stead of causing them.

And, one more thing: You should know that logging in with an unsigned client will will prevent cache files to be saved to your computer. Here is how to do it:

This is the end of this tutorial, I hope you've enjoyed it. Please give me feedback on wether you liked it or not, and give me reputation and rate this thread five stars if you liked it. This tutorial took two days to make. Please let me know if I have forgotten some locations in the cache deleter!

If you liked tutorial, and want to do something in return, check out my other tut here: http://www.villavu.com/forum/showthread.php?t=31942

The end.

2. Banned
Join Date
May 2007
Location
Ohio
Posts
2,296
Mentioned
0 Post(s)
Quoted
0 Post(s)
Nice.

3. Senior SRL Member
Join Date
Jun 2006
Posts
3,861
Mentioned
3 Post(s)
Quoted
0 Post(s)
Why did you put "Do NOT send in your specs"? There's absolutely no evidence at all that they do anything bad with it...

Other than that, nice.

4. @ Bullzeye-Timer makes a good point in this thread http://www.villavu.com/forum/showthr...30033?p=397369 Jagex adds something about they can search for anything that violates Terms of service which... guess what is violating it... US!

5. SRL Junior Member
Join Date
Oct 2007
Location
Michigan
Posts
557
Mentioned
0 Post(s)
Quoted
0 Post(s)
I was honestly just playing on a legit character, and used your uid program right before I logged on to it. After chopping trees for a few I received; the old man, drunken dwarf, genie and then the sandwich lady within minutes. Thing is this account is one day old and has never been autoed on.
So I said, 'I'll post on the forums to see if I can find any info on this'. But low and behold
Another thing I noticed was after using this program about one week ago and then hopping on one of my mains to play legit, I was running the fight pit/caves back and forth for about 3 hours while talking to my girlfriend and then bam! I kept getting randoms as well.
Just stating some prior experience that may be of assistance.

Nice guide though!

6. SRL Junior Member
Join Date
Jul 2007
Posts
8
Mentioned
0 Post(s)
Quoted
0 Post(s)
hmmph. It didn't occur to me that they would put files on your computer, it seems their server side protection is strong enough.

7. lee
Registered User
Join Date
May 2008
Posts
7
Mentioned
0 Post(s)
Quoted
0 Post(s)
these files are so stupid!

thanks for this guide i will have a look myself, the files are really bugging me, i keep worrying about them. but in my opinion, this is what JaGeX wants, they want people to see the files and not auto because of the worries about them, i could be wrong but this is my thoughts.
__________________________________________________ __________________________

he is right in saying not to send in your specs, there have been many rumours of it finding programs that are against the rules, e.g SCAR, EliteSwitch.......

i wouldnt risk it if i were you

8. lee
Registered User
Join Date
May 2008
Posts
7
Mentioned
0 Post(s)
Quoted
0 Post(s)
just checked, and my random.dat fo
lder in notepad has the following in: îÁh‚XÝ3¨fÁ-‰ÔcPÉ4WK
µ

9. SRL Member
Join Date
Apr 2007
Location
The Netherlands
Posts
5,564
Mentioned
0 Post(s)
Quoted
0 Post(s)
Good Job

10. SRL Junior Member
Join Date
Oct 2007
Location
Michigan
Posts
557
Mentioned
0 Post(s)
Quoted
0 Post(s)
I am curious though if anyone has had any retributions after removing these files similar to my experience of seemingly receiving 'more' randoms than normal.

Anyone else?

11. SRL Member
Join Date
Oct 2007
Posts
302
Mentioned
0 Post(s)
Quoted
0 Post(s)
Very usefull, i didn't know about these untill recently =x
XD

When using moparscape, silab, it also creates a UID... Perhaps we should ask her what she uses it for on her silab client? =x

12. The .dat files are actually used while you play. If you try and delete them WHILE having RS open; they say 'File in use by another program. Access Denied' or something along those lines. I don't advise trying to delete them while RS is open.

Nava2

13. SRL Junior Member
Join Date
Mar 2007
Posts
57
Mentioned
0 Post(s)
Quoted
0 Post(s)
they are for loading the client faster etc.

use unsigned if you don't want jagex to access your comp.

random.dat can tie your accounts together and get them banned.

14. SRL Junior Member
Join Date
Oct 2007
Location
Michigan
Posts
557
Mentioned
0 Post(s)
Quoted
0 Post(s)
Ah so that's what random.dat does? Shows all the characters that logged onto Runescape from your ip?
Makes sense how an army can get banned then.

Thanks again for this guide Evil. Educating the ignorant, like myself.

15. Originally Posted by EvilChicken!
Wow, surprise, the file is empty!
Not really... think Jagex did an update on them? Now they contain random ASCII characters.
Cè‰¸]é.¨ÝCÿùç«»í|
(removed a few, incase the mean something...)

16. Banned
Join Date
Apr 2007
Posts
224
Mentioned
0 Post(s)
Quoted
0 Post(s)
Umm dude should'nt the chace deleter code be:

SCAR Code:
@echo offmkdir BACKUPxcopy "%systemroot%\.jagex_cache_32\random.dat" "BackUP\" xcopy "%systemroot%\.file_store_32\random.dat" "BackUP\"xcopy "%systemroot%\.file_store_32\uid.dat" "BackUP\" xcopy "%systemroot%\uid.dat" "BackUP\" xcopy "%systemroot%\random.dat" "BackUP\" xcopy "C:\uid.dat" "BackUP\" xcopy "C:\random.dat" "BackUP\" xcopy "C:\Documents and settings\uid.dat" "BackUP\" xcopy "C:\Documents and settings\random.dat" "BackUP\" xcopy "C:\Program Files\Mozilla Firefox\uid.dat" "BackUP\" xcopy "C:\Program Files\Mozilla Firefox\random.dat" "BackUP\" xcopy "C:\Administrator\random.dat" "BackUP\"xcopy "C:\Administrator\uid.dat" "BackUP\"xcopy "C:\RSCache\uid.dat" "BackUP\" xcopy "C:\RSCache\random.dat" "BackUP\"ping localhost -n 2 >nulping localhost -n 2 >nulecho @echo off>> BACKUP.batecho xcopy "BackUP\random.dat"  "C:\Windows\.jagex_cache_32\random.dat">> BACKUP.bat echo xcopy "BackUP\random.dat" "C:\Windows\.file_store_32\random.dat">> BACKUP.bat echo xcopy "BackUP\uid.dat" "C:\Windows\.file_store_32\uid.dat">> BACKUP.bat echo xcopy "BackUP\uid.dat" "C:\Windows\uid.dat">> BACKUP.bat echo xcopy "BackUP\random.dat" "C:\Windows\random.dat">> BACKUP.bat echo xcopy "BackUP\uid.dat" "C:\uid.dat">> BACKUP.batecho xcopy "BackUP\random.dat" "C:\random.dat">> BACKUP.bat echo xcopy "BackUP\uid.dat" "C:\Documents and settings\uid.dat">> BACKUP.bat echo xcopy "BackUP\random.dat" "C:\Documents and settings\random.dat">> BACKUP.bat echo xcopy "BackUP\uid.dat" "C:\Program Files\Mozilla Firefox\uid.dat">> BACKUP.bat echo xcopy "BackUP\random.dat" "C:\Program Files\Mozilla Firefox\random.dat">> BACKUP.bat echo xcopy "BackUP\random.dat" "C:\Administrator\random.dat">> BACKUP.bat echo xcopy "BackUP\uid.dat" "C:\Administrator\uid.dat">> BACKUP.bat echo xcopy "BackUP\uid.dat" "C:\RSCache\uid.dat">> BACKUP.bat echo xcopy "BackUP\random.dat" "C:\RSCache\random.dat">> BACKUP.bat echo ping localhost -n 2 >nul>> BACKUP.batecho Done.>> BACKUP.batecho ping localhost -n 2 >nul>> BACKUP.batecho exit>> BACKUP.batping localhost -n 2 >nulping localhost -n 2 >nulecho Nowping localhost -n 2 >nulping localhost -n 2 >nulecho Deleteing filesping localhost -n 2 >nulping localhost -n 2 >nulecho Made a back up just in case :Dping localhost -n 2 >nulping localhost -n 2 >nuldel %systemroot%\.jagex_cache_32\random.dat del %systemroot%\.file_store_32\random.datdel %systemroot%\.file_store_32\uid.dat del %systemroot%\uid.dat del %systemroot%\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:\Administrator\random.datdel C:\Administrator\uid.datdel C:\RSCache\uid.dat del C:\RSCache\random.datping localhost -n 2 >nulecho Done.ping localhost -n 2 >nulexit

Edit your one and add this to it.
Its much more better and is faster, also has a backup just in case you want them back
you can just click backup and it will do it, Soz for being a pain in the ass :S

PS: Have fun

~Vikrant60

17. SRL Junior Member
Join Date
May 2008
Posts
93
Mentioned
0 Post(s)
Quoted
0 Post(s)
Great turotial, i knew there was some files JaGex used to look my pc for autos but never knew the name, you saved me a big time searching for them thanks

18. SRL Junior Member
Join Date
May 2008
Posts
9
Mentioned
0 Post(s)
Quoted
0 Post(s)
Cant find em

19. PvH
Banned
Join Date
Nov 2007
Location
The Netherlands
Posts
1,490
Mentioned
0 Post(s)
Quoted
0 Post(s)
really great guide
i already knew this..
but is good to warn people
rep++

EDIT:
sorry for the double post which was there
I removed the 2nd one
my pc lagged

20. omg sum1 actualy rep+'d meh!

Thanks a lot for the reputation.
I updated the cache files deleter and the IP renewer.
(Learned a lil' bit of batch language Link to the webside if you want to learn too.)
Huge thanks to Vikram60, you've recieved credits in the new deleter.

21. PvH
Banned
Join Date
Nov 2007
Location
The Netherlands
Posts
1,490
Mentioned
0 Post(s)
Quoted
0 Post(s)
evilchicken!, read my post lol...
if i tell i rep.. then i rep for sure lol >_<
XD
it is a great tut

22. SRL Junior Member
Join Date
Mar 2008
Posts
15
Mentioned
0 Post(s)
Quoted
0 Post(s)
interesting...does deleting the files effect what goes on in the game?
chrisn2323 is right after loading the client the first time the second time it loads much faster. Could someone explain what ASCII characters are to me plz...

23. SRL Junior Member
Join Date
May 2008
Posts
31
Mentioned
0 Post(s)
Quoted
2 Post(s)
that's helpful thanks i lost my level 5 account by not doing this

24. SRL Junior Member
Join Date
May 2008
Posts
31
Mentioned
0 Post(s)
Quoted
2 Post(s)
if i hadn't seen this i probably would have lost my level 50 account so thanks evil chicken

25. SRL Junior Member
Join Date
May 2008
Location
Australia
Posts
152
Mentioned
0 Post(s)
Quoted
0 Post(s)

## Yay

Thank you VERY MUCH I was so confused about all this!
Very good guide indeed.

Thankyou, Thankyou, Thankyou!!!