[XP] Versioning for RMX-OS

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

Previous topic - Next topic

Blizzard

September 17, 2010, 04:27:19 pm #60 Last Edit: September 17, 2010, 05:16:15 pm by Blizzard
That's weird. I think you don't have administrative rights on your PC or something because that should be deleting the temporary files. Anyway, I'll edit the script so it handles that a bit better.

EDIT: Ok, try now.
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.

Trider250

hmmm, So now it says "update finished and if game doesn't start automatically then restart it", so It restarts automatically but it still says I have to update again afterwards.  :???:

Blizzard

September 18, 2010, 04:01:50 pm #62 Last Edit: September 18, 2010, 04:04:30 pm by Blizzard
You didn't update your files properly. If the server is set to version 5 and the client is set to version 4, then you have to replace the Game.rgssad that has been compiled with scripts (or the Scripts.rxdata if your game is unencrypted) that has the new client version defined (which would be 5 in this particular example). Then, when the game is restarted, it will use the new scripts that have the version defined as 5 and the client won't have to be updated "again".
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.

Trider250

September 18, 2010, 08:23:17 pm #63 Last Edit: September 18, 2010, 09:06:59 pm by Trider250
oh kk, i'll try it

EDIT:ok I did that, but it keeps getting closed by the 'remote host'

Blizzard

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.

jrbault

ok yet another quick question.  This list time i tried updating it gave me the updating message and then after about a minute it says the server didn't  respond.  Are my updates to large?

Blizzard

I'm not sure, I can't reproduce the problem.
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.

Trider250

yeah The error I get on the client is 'server won't respond' I have the same problem as him lol

Blizzard

I'll take a look at it then. I had no problems with it.
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.

BeAddicted

Whenever I want to connect to the server I become this error "error! Your client is out of date! Client Version: 1.15; Server Version: 1.15"
When I dont use versioning it works normal.

Blizzard

Quote from: Blizzard on September 18, 2010, 04:01:50 pm
You didn't update your files properly. If the server is set to version 5 and the client is set to version 4, then you have to replace the Game.rgssad that has been compiled with scripts (or the Scripts.rxdata if your game is unencrypted) that has the new client version defined (which would be 5 in this particular example). Then, when the game is restarted, it will use the new scripts that have the version defined as 5 and the client won't have to be updated "again".
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.

BeAddicted


Blizzard

Weird. Try changing the version on both client and server to 1.16. It's possible that it's literally a computation error (so-called floating point precision error, you can look it up if you are interested).
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.

BeAddicted

Ok I'm silly^^ when I start the server there stands no extensions found,
but I don't know why. I've made a new rb-file in the extensions folder and copied the script into it

Blizzard

You didn't define in the configuration file which extensions to use. (Also, change back the versions, that obviously wasn't the problem you were having.)
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.

kanade

okaaay... my problem is ... i have a file what is big (177kb ... Scripts.rxdata) ^^ what do u mean with split the file / in the comments on the script?

sry for bad english ... me from switzerland ^^

- kanade-chan

[Luke]

Okay, I haven't read the code, but I bet that Scripts.rxdata is one of the files that you definitely CANNOT update through a script. You know, Versioning is a script, so it's inside that file. But what do I know :p

Blizzard

Actually you can. All scripts are read and loaded upon start up and you can delete or edit the original file without problems. But you have to make sure that the new file works right when you put it up for updating. If you don't set up the new file properly, it will either keep trying to update the scripts or not work at all.
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.

Wizered67

February 20, 2011, 01:55:46 pm #78 Last Edit: February 20, 2011, 01:58:54 pm by Wizered67
After all this time of not realizing my mistake, I've finally figured out what I was doing wrong! Now I think the script should work. Basically my problem now is that my Game.rgssad is too big for the updater and it crashes with "Server has Disconnected". Is there any way for me to make it smaller? Thanks in advance.

edit: The error the server gives is:

An operation was attempted on something that wasn't a socket. In sender line 21. I'm assuming that this is because my update was too big, but I could be wrong.

Blizzard

If the client gets disconnected during the transfer, then yes, this can be the cause of the problem.
You can split up the RGSSAD archive if you don't add the graphic files when you create it. Keep in mind that it would be a good idea to have an alternate encryption for the graphic files then.
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.