Jump to content



Photo

Updater software! MD5


  • Please log in to reply
13 replies to this topic

#1 slaughter

slaughter

    Prodigy

  • Active Members
  • PipPipPip
  • 153 posts

Posted 02 December 2007 - 04:20 PM

This is game loader witch check files with MD5 checksum.
Why is good? You dont have to change anyting when you update your game or app
just upload changed files to server. Thats it. Client automaticly check file and if its difrent on client side will delete it and replace with updated one in server.

Screenshoot:
SS.JPG


Only beta version baisicly made it for Lineage 2

TDL:
direct seciurity data transfer to memory withuot saving on disk
sub folders check
custom files out of game directory
protection, preventing app start without loader


Requiriments:
Web server with PHP.



Files:
Attached File  file_list.php   287bytes   196 downloads
$dir = Path to original files to compare with client ones. Dont put folder there it dosent support sub folder check.
This file goes to Web server.
And your originl files witch have to be cheked goes to on web server. Take a look at PHP code


logo.jpg
Original name: bg.jpg
Backgruond picture for loader. Add some text with photosop and you have your news shown every time they start client.


Attached File  MD5Hash.dll   56.36K   188 downloads
name: loader.dll
(you can find it in forum search to. It's not my dll I borowed it)
save it as loader.dll it is dll witch i fuond on autoit forums it does MD5 checksumm function, as autoit dosent have it.
name: Loader.au3
Attached File  Loader.au3   4.16K   331 downloads
AU3 script :)

Comments? Offers? ^_^ Greatfull

Edited by slaughter, 03 December 2007 - 11:16 PM.






#2 James

James

    jbrooksuk

  • MVPs
  • 9,468 posts

Posted 02 December 2007 - 04:34 PM

You really should make this work from other drives and not V:

#3 ashley

ashley

    Universalist

  • Banned (NOT IN USE)
  • 1,044 posts

Posted 02 December 2007 - 04:40 PM

agreed

#4 James

James

    jbrooksuk

  • MVPs
  • 9,468 posts

Posted 02 December 2007 - 04:50 PM

That is, as easy as it is (try saying that in the morning) to change it, it should be easily customisable.

#5 slaughter

slaughter

    Prodigy

  • Active Members
  • PipPipPip
  • 153 posts

Posted 02 December 2007 - 06:29 PM

sorry for dump witch I posted. at 8:00 +2GTM will be full with guide.
Just wanted to see is this use full. SO I carry on on this.

#6 JustinReno

JustinReno

    My custom made Vortex.

  • Banned (NOT IN USE)
  • 2,330 posts

Posted 02 December 2007 - 06:46 PM

Nevermind, yes, Use @Homepath

Reason I deleted the previous post (Thought it was the wrong thread)

#7 slaughter

slaughter

    Prodigy

  • Active Members
  • PipPipPip
  • 153 posts

Posted 03 December 2007 - 04:57 AM

Some update. As promised

#8 slaughter

slaughter

    Prodigy

  • Active Members
  • PipPipPip
  • 153 posts

Posted 03 December 2007 - 11:01 PM

And? good, bad? Errors? Tested? opinion?

#9 DirtDBaK

DirtDBaK

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 978 posts

Posted 03 December 2007 - 11:10 PM

you should check out the VersionCompare udf
the function you would find useful is VersionCompareX
It can handel any version number that is numbers or letters...

like 10.3.4.5.2 and 11.34.4.5.2A

i use it in my AutoUpdater

Posted Image


#10 slaughter

slaughter

    Prodigy

  • Active Members
  • PipPipPip
  • 153 posts

Posted 03 December 2007 - 11:18 PM

you should check out the VersionCompare udf
the function you would find useful is VersionCompareX
It can handel any version number that is numbers or letters...

like 10.3.4.5.2 and 11.34.4.5.2A

i use it in my AutoUpdater

Thanks I will tke a look :)

#11 DirtDBaK

DirtDBaK

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 978 posts

Posted 05 December 2007 - 12:27 AM

-1 means $sOne > $sTwo
0 means $sOne = $sTwo
1 means $sOne < $sTwo

BTW: I'm not the author of this... Im unsure of the author...

AutoIt         
Func _VersionCompareX($sOne, $sTwo)     Local $returnValue = 0     Local $tempOne = StringSplit($sOne, "."), $tempTwo = StringSplit($sTwo, ".")     Local $numPositions = $tempOne[0]     If $tempTwo[0] > $tempOne[0] Then $numPositions = $tempTwo[0]     Dim $arrayOne[$numPositions], $arrayTwo[$numPositions]     For $X = 0 to $numPositions - 1         $arrayOne[$X] = 0         $arrayTwo[$X] = 0     Next     For $X = 1 to $tempOne[0]         If $X > $numPositions Then ExitLoop         $stripped = StringRegExpReplace ($tempOne[$X], "^0+", "")         If $stripped <> "" Then $arrayOne[$X - 1] = $stripped     Next     For $X = 1 to $tempTwo[0]         If $X > $numPositions Then ExitLoop         $stripped = StringRegExpReplace ($tempTwo[$X], "^0+", "")                 If $stripped <> "" Then $arrayTwo[$X - 1] = $stripped         Next     For $X = 0 to $numPositions - 1         Switch StringCompare ($arrayOne[$X],$arrayTwo[$X])             Case 0                 $returnValue = 0             Case -1                 $returnValue = -1                 ExitLoop             Case 1                 $returnValue = 1                 ExitLoop         EndSwitch     Next     Return $returnValue EndFunc

Hope it helps!

Edited by DBak, 05 December 2007 - 12:27 AM.

Posted Image


#12 slaughter

slaughter

    Prodigy

  • Active Members
  • PipPipPip
  • 153 posts

Posted 05 December 2007 - 07:29 AM

This culd help to check file version more quicker than it is now. Thats gona be one of seciurity modules later =]

#13 slaughter

slaughter

    Prodigy

  • Active Members
  • PipPipPip
  • 153 posts

Posted 06 December 2007 - 05:08 PM

so nayone tested it? working or not? :/

#14 Chris86

Chris86

    Prodigy

  • Active Members
  • PipPipPip
  • 183 posts

Posted 17 August 2008 - 03:45 AM

Why not put all the files in a zip? getting tired of following guides just for getting the program files xP




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users