All pastes #806023 Raw Edit

Someone

public text v1 · immutable
·published 2007-12-04 22:12 UTC
rendered paste body
--updater_version = GetPatcherVersion( )
--if( updater_version < 1001 ) then
--    DownloadFile( "PatcherUpdater1001.exe" )
--    RunFile( "PatcherUpdater1001.exe" )
--    return 0
--end

if( GetFileChecksum( "AruaGuard.dll" ) ~= 0x4EE8E32B ) then
    DownloadFile( "AruaGuard.dll.rar" )
end

--afs_version = GetAfsVersion( )
--if( afs_version < 1001 ) then
--    DoPatchFile( "patch_1000_1001.pfs" )
--    afs_version = 1001
--end

SetRosePath( "login.aruarose.com" )
return 2

-- RETURN VALUES:
--   0. OKAY, RESTART UPDATER
--   1. FAILED, DISABLE PLAY BUTTON
--   2. SUCCESS, ENABLE PLAY BUTTON