Jump to content

question


Kenix

Recommended Posts

Posted

I think he is asking how to check it scripting way?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

No clean way to do this other than open every file in a resource with file funcs and find their length

Do not PM me, im not going to read it anyway.

Posted

scooby lol :D I want to make the comparison well, for example if the file weighs 17 kilobytes downloaded and if we assume the file is 32 kilobytes stopresource.

as a resource base mode.

edit:I just want to put on community their resources but I do not want to change the files in it :D

P.s scripts and files

http://vk.com/the_kenix

Вопросы задавайте на форуме, не пишите мне в личку.

Please don't pm me.

Posted

well, for you information

every files has MD5

every size has same MD5

in BaseMode as i see this used check MD5

you can open BaseMode resource and look at BaseMode/includes/server.lua

you will see MD5 in the file :lol::lol:

like this : 98A08366059CC821D99CD58B497A30BA

and used ::File functions::

like fileGetSize and fileOpen and fileClose and fileRead and fileSetPos

https://wiki.multitheftauto.com/wiki/FileGetSize

https://wiki.multitheftauto.com/wiki/Md5

CiTLh.png

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...