Jump to content

Cache mechanizm in MTA


abadabadu

Recommended Posts

Posted

Example...

I have resource "resCool". It is gamemode for 100 players.

Resurce has 1000mb client files.

I run server1 "MTA Server1" on machine with IP1:port1. Set maxplayers value to 100. Install resource "resCool" to server1 and start it.

Invite my friend Mike. Mike joins server1 "MTA Server1" and download 1000 mb client files.

Next day I realize that my "MTA Server1" contains 100 players and i cant accept new players.

I run server2 "MTA Server2" in same machine with IP1:port2. Install same resource "resCool" to server2 and start it.

Invite my friend Mike to this new server2.

Question:

1) Will Mike download 1000mb client files again? IP is not new, port is new, server is new, resource is not new ( same files, same name ).

I think answer is "Yes, Mike will download the same client files again. Because client files are cached to each new IP:PORT/recoursename".

2) Is it possible to avoid this?

I mean, if i write resource "res" ( has 1000 mb client files), run server1 with IP1:port1 contains my resource "res", then players join server and download all client files. If then i run next server2 with IP1:port2 contains same resource "res" ( same 1000 mb client files), is it possible to re-use those 1000 mb client files in any way? Or all same players must re-download it when join server2?

Posted
1000 MB?

Hope thats just an example.

No normal person would download that much stuff just to play on some server.

lol if i enterd a server if the download was over 100 Mb , Quit Button instantly .

- New , Kill System

- New, GameMode Intro

- Leve / Exp System

- New nametag showing style

- New , Hud For Players

- Skin Selection from SA-MP

- Money System / Buy Weapons

- Drop Weapons

- New, Flood System

- New , Group Assign

- Gun license For Weapons

- Random Rule System For Money

Posted

Unless some of the files are made private, he shouldn't have to re-download it. He'd have to download the private ones again though, I reckon.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...