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

[Download + Tutorial] Joyce's Fixed Updater


Joyce
 Share

Recommended Posts

  • Replies 103
  • Created
  • Last Reply

Top Posters In This Topic

I tried to add maps removal on launch but i get run time 53 errors…

I added

```

Kill (App.Path & "\data files\maps")

```
infront of

```

Shell App.Path & "\" & ClientName, vbNormalFocus

```
Like this

```

If FileExist(App.Path & "\" & ClientName) Then

Kill (App.Path & "\data files\maps")

Shell App.Path & "\" & ClientName, vbNormalFocus

Else

```

Any suggestion on how to get it work? I want it to delete the maps folder when pressing launch
Link to comment
Share on other sites

> I tried to add maps removal on launch but i get run time 53 errors…
>
> I added
>
> ```
>
> Kill (App.Path & "\data files\maps")
>
> ```
> infront of
>
> ```
>
> Shell App.Path & "\" & ClientName, vbNormalFocus
>
> ```
> Like this
>
> ```
>
> If FileExist(App.Path & "\" & ClientName) Then
>
> Kill (App.Path & "\data files\maps")
>
> Shell App.Path & "\" & ClientName, vbNormalFocus
>
> Else
>
> ```
>
> Any suggestion on how to get it work? I want it to delete the maps folder when pressing launch

Make sure that client name is your game name along with '.exe'.

And why make it delete the map cache?
Link to comment
Share on other sites

Use

```

If FileExist(App.Path & "\" & ClientName) Then

Kill (App.Path & "\data files\maps\" & "*.map")

Shell App.Path & "\" & ClientName, vbNormalFocus

Else

```
It will work. I tested it. And Deathbeam you were right it wouldn't delete the folder it would throw the file not found error. I am not sure why the error because the file existed. Oh well.
Link to comment
Share on other sites

> It will work. I tested it. And Deathbeam you were right it wouldn't delete the folder it would throw the file not found error. I am not sure why the error because the file existed. Oh well.

Not really, because a folder is not a file.
Link to comment
Share on other sites

Your host either doesn't support .txt files, or News.txt doesn't exist. In case of the first issue, change the .txt reference and the file to whatever would work.. And in the second case, well.. Put the file there ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)
Link to comment
Share on other sites

  • 3 weeks later...
Hey ! thanks for this joyce ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)

Sorry for bump this topic but actually i released a beta for my game and players launched the updater for some of them everything runs perfectly but for the others it says a message about bad configuration and for others it don't run the client after the update..

so do you thing is there any problem with the dll's ?

Thanks in advance
Link to comment
Share on other sites

Sometimes launching the client make :

**Eclipse Advanced has stopped functionning**

and sometimes :

**[background=rgb(237, 239, 244)]"An unexpected error has occured: Type incompatible It is likely that your configuration is incorrect"

Edit: Btw how can i do updates be version0.1 ? i want it to write

[Updater]

Version= 0.1 [/background]**
Link to comment
Share on other sites

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