Jump to content

Update-Script


{_AntiFreak_}

Recommended Posts

But, i don't know how to do This

Then dont's start it? But yeah you can rip it out of MTA:mA, but don't forget to mention it i wrote that piece of script :):)

Or rip it out, change a line and say that it's yours like Sanzor(Lil'San^,^u<3) always does. (Further don't forget to post it on the forum as yours, Sanzor-style)

Link to comment
  • 2 weeks later...

What means

        if ($exists($scriptdir $+ %b)) && ($md5($scriptdir $+ %b,2) != $readini(gus.update.tmp,n,%b,md5)) { 

and

    if ($md5(%a $+ .tmp,2) != $readini(gus.update.tmp,n,%a,md5)) { 

???

What is md5?

for GUS, the gus.tmp looks like this:

[info] 
Script=MTA:mA:GUS 
Author=Tommis 
[mtagus.mrc] 
Version=x16 Final 
md5=bf6357aba17fd5b6c16caf4851e9d294                       <---There is "md5" 
Info=Update Now, Final Version! Faster, more efficient. 
Size=55629 
[gus.ico] 
Version=1.0 
md5=4b55c31209731185ee6c44919935e668                      <---And here, too. What means it? 
Info=Icon 
Size=1406  

Link to comment

you would generate the md5 checksum when you have a new version then put it in that file, gus had a webpage that generated the .tmp file itself, you just put the version and info into a webpage, i would release the source but i can't remember who actually made it

Link to comment
  • Recently Browsing   0 members

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