[XP] Versioning for RMX-OS

Started by Blizzard, May 30, 2010, 04:42:57 am

Previous topic - Next topic

whitespirits

Thanks for replies blizz, im still having error either way the go :(
I have a folder in server dir called versions with a 2.txt file inside and a folder called 2 with all the updated game files in

Spoiler: ShowHide

Blizzard

July 26, 2014, 12:54:39 pm #121 Last Edit: July 26, 2014, 12:55:55 pm by Blizzard
You should revert the TempDir change to the original.

Also, you haven't configured WHERE the folder should be copied. That's why your path contains two consecutive slash characters ("//") and it doesn't work. You file should look like this.


:dir
versions/2
.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Sylphe

I changed the temp like you said and I get the same error

Invalid Argument RMXP_update2/Game.rgssad

I did'nt do any mistake in my version file (3.txt) :

:file
last_game_version/Stanland_Online/Game.rgssad
Game.rgssad
:file
last_game_version/Stanland_Online/MAJ_Log.txt
MAJ_Log.txt
:dir
last_game_version/Stanland_Online/Audio/SE
Audio/SE

The Game.rgssad isn't created at all in the folder RMXP_update2, it still empty :(
blindly follow his heart can lead to the loss

Sylphe, descendant of Zoldik Family.
Quote from: TedBearTRY KEEP UP

Blizzard

No, you have to change the TempDir back to what it was in the original script.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

whitespirits

Hi Blizz thanks for patience! im rolling with another error :( feel like im getting closer tho :)

Spoiler: ShowHide



Blizzard

You probably should define the proper folders and fine, not just "everything in versions/2".
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

whitespirits

I just tried single files copy and pasting examples and changing the files and its all the same errors on which ever file i choose :(

Blizzard

Then I'm really out of ideas. When I do the same thing, it works.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Blizzard

Alright, I found and fixed the problem with "big" files.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

whitespirits

Great blizz have u changed script for us to use?

Sylphe

 Last Edit: July 29, 2014, 09:58:45 PM by Blizzard ยป

I think he did x)
blindly follow his heart can lead to the loss

Sylphe, descendant of Zoldik Family.
Quote from: TedBearTRY KEEP UP

Blizzard

Yes, I did. I actually only had to change one line in the extension
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ShinoTakado

June 21, 2015, 11:19:17 pm #132 Last Edit: June 22, 2015, 02:08:37 pm by ShinoTakadora
Good day,
We have an error in our test client.
We will be happy if you help us. Thanks in advance.

VERSION_LOG_PATH = 'C:\Ruby\bin\Server\Extensions\versions'

* There is a file 2.txt
:dir
clients\2


"clients\2" directory is exists. Folder "2" is contains files of game client.

When my friend tries to update client, in the console there is an error:
"No such file or directory - clients\2".

Blizzard

Hm, you shouldn't put the logs in the same folder where the versions are supposed to be.

As for the actual error, I'm not sure. Where exactly is the game located? There is no place in the code where a folder named "ver" is referenced.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ShinoTakado

Quote from: Blizzard on June 22, 2015, 02:44:09 am
Hm, you shouldn't put the logs in the same folder where the versions are supposed to be.

As for the actual error, I'm not sure. Where exactly is the game located? There is no place in the code where a folder named "ver" is referenced.


Oh, sorry, I forgot to correct a typographical error.
"No such file or directory - clients\2".

Also we have tried to allocate a separate file using the command ":file", but nothing happened.
Client doesn't see the files and directories.


Blizzard

The files are usually first extracted into a temp directory. Try changing the temp directory name in the client script. Currently it should be something with ENV["TEMP"]
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ShinoTakado

September 02, 2015, 07:54:30 am #136 Last Edit: September 04, 2015, 11:09:01 am by ShinoTakadora
I'm sorry, that I didn't answer soon. Thanks for the help.

Also, there is two small problems.
:delete doesn't remove the directory.
Example:

:delete
Versions/Clients/2/Audio/ME

Directory and files are not deleted, although the client shows: "Updated".

:dir isn't working.
Example:

:dir
Versions/Clients/2/Audio/BGM
Audio/BGM


Instead, I receive: "Server is not responding", even though the folder appeared in the directory "Temp", but not in the client.

However, the :file is working well. Just don't send mp3 files. Also music file in mp3 not removed with :delete. Could there be a problem with this?

I apologize for my English in advance.

Blizzard

It's possible that Windows is being a bitch with permissions. Try to run the game as admin.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ShinoTakado

Quote from: Blizzard on September 02, 2015, 08:56:10 am
It's possible that Windows is being a bitch with permissions. Try to run the game as admin.


Sorry, it hasn't helped. :(

And now, I tried to check a game client with my friend.

Outcome - "Server not responding". :^_^':
He could not update anything, even files with the :file.

Blizzard

This is a network problem. Make sure your firewall and router are configured properly.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.