Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

(tut) Auto Updater with News/graphics/buttons. (New one)


shonist
 Share

Recommended Posts

Hi guys !

> Well… im new on the forum.. and new with EO/CS ...
>
> actually i started working with cs:de...
>
> So.. i see an autoupdate on the forum but. i dont like at all :P..
>
> I program with other developer this Updater for other game and now ... cuz im joining cs:de and the forum ,i want to give some of mi work to the people
>
> (SORRI MI ENGLISH ! IM FROM ARGENTINA :P)

Lets get started !

> FUNCTIONS :
> *A interface Per button (button glowing style)
> *AutoUpdate files automatically from a host (can be free / i use UCOZ.ES )
> *Reading news from the host
> *A form with some options (have to implement on the client too)
> *Execute automatically the game afeter finish the update.
> NOTE : The graphics are in spanish.. sorri for that. but you can desing ours interfaces.

FIRST:

A video showing up the updater

>! http://www.youtube.com/watch?v=kqh73ajUtjg&feature=g-upl&context=G2cd322eAUAAAAAAAAAA

2Cond
Config the updater

Search in all proyect

```
  iX = Inet1.OpenURL("http://YOURHOST.COM/VEREXE.txt") 'Host
```
then you change "YOURHOST.COM" …

that its the link of VEREXE.TXT ... wich will have the number of latest patch.

then look for

```
            #If BuscarLinks Then 'Buscamos el link en el host (1) // We look for the link on the host
                Inet1.URL = Inet1.OpenURL("http://YOURHOST.COM/VEREXE" & dNum & ".txt") 'Host
            #Else                'Generamos Link por defecto (0) // We generate the default link
                Inet1.URL = "http://YOURHOST/Parche" & dNum & ".zip" 'Host
            #End If

```
and do the same like in the other line.. change YOURHOST. for your host.

> Explanation:
>
> You will upload VEREXE.TXT with the number 0 (AND ENTER (LINE BLANK, cuz the notepad read 0 like nule)..
>
> And upload your patches like this /PARCHE1.ZIP …(IF you use rar.. make them ZIP)
>
> note : if you want to change it to english just edit the code on PARCHE" and change like you want.

then you look for

```
  executable = Shell(App.Path & "\mao.exe", 1)
```

and change MAO for the name of your client.

Now.. on the folde of the client.. you must have 2 folders

INIT & Interfaces

INIT:

this folder contains config file ( UPDATE.INI AND L.INI)

the UPDATE.INI (comes with the download) will have the number of the latest patch DOWNLOADES by the client.

and the L.ini is an extra for savvin options config and etc (need to be implemented on game)

INTERFACES:

here you must put your interfaces (the download will come with my images).

then you look for

```
Noti = Inet1.OpenURL("http://YOURHOST.COM/Noticias.txt")
```

and change the HOST URL. ..

this will be the link for the News.

You must upload to the host the file Noticias.txt with the news in ..

LINKS BY MEDIAFIRE

1 - The updater with INIT & Interfaces

[http://www.mediafire.com/?lqxp2g3o5rhkhhm](http://www.mediafire.com/?lqxp2g3o5rhkhhm)

–-------------------------------------------------

2 - The library Unzip32.dll (Need for unraring the patch - place in the update folder)

[http://www.mediafire.com/?a6qbzpreatzpty3](http://www.mediafire.com/?a6qbzpreatzpty3)

–--------------------------------------------------

THE END –--------------

i hope no forggetin anything..

and.. SHIT.. i write a lot on english.. im having a headache

PD: i hope to be welcomed on the forum and can be part of the comunity.
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 3 weeks later...

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
 Share

×
×
  • Create New...