[Tutorial] Shaiya Updater

01/30/2011 04:48 RebeccaBlack#31
game.exe and all those be updated in. Just put them in the psxxxx.patch and NOT in the update.saf or update.sah
02/04/2011 17:57 shinru2004#32
I still cant get my updater to work right, i have tried 3 diff. updaters and even used OS's Item.sdata as a control to see if my Item.sdata was the issue and i still get Character Load error. Im not sure whats going on :(
02/04/2011 20:39 SrShaden#33
@ shinru

quote from castor:

Quote:
Nice tuto! Thanks for it -yea I "thanks" at wrong place but it doesn't matter.

Few remarks regarding patch files and comments from that thread:
- so far the "Shaiya Data file Tool 1.0.x" seems to be the best tool to generate them (i plan to add the feature in my own tool but w/o added values)
- during transfer to host web site make sure your ftp client use "binary transfer" mode (if an extension is unknow, some clients use "text mode" as default).
- the config.ini file (client side) has nothing to do with the update process; OOH one wants to check his/her local version.ini file.

cheers.
Maybe this can help...
02/04/2011 20:41 Alladrios#34
I never has any similar issue and did it pretty much by guessing the way it works rather than reading any tutorial.

It might sound stupid but how do you compile your patches? could be the reason i dont know.

You should try eventually with a random official patch and see if it works properly.
03/06/2011 15:04 R0CK7Y#35
ammmm hey its just one stupid Ques i think
i did every think and check it again
but my updater when i try to update it i get "Download Ready" then imm i get "Download Compelet" but didnt download anything

could anyone help me plss ?
03/08/2011 04:29 Deadly-Angel#36
SrShaden i need your help im trying to create my own updater for our game server but for some reason im screwing it all up would love it if you could help me figure out what im doing wrong.. ive worked with the above info for hours and keep deleting everything becasue i cant get it to work.. i have team viewer and would apreciate your help..
03/08/2011 06:01 ac1dtab#37
1 follow the tut exact and 2 dont be a nub like me and add a typoed fiel name lol 3 makeshure each fiel is in corect folders on the site ie [Only registered and activated users can see links. Click Here To Register...] would add folder titeled Shaiya inside that folder would go the UpdateVersion.ini (make shure its set as needed IE checkversion=same as version.ini patch version = curent version+1 so if curent version is 3 patch version would be 4 also inside the Shaiya folder creat a sec folder titled patch inside this folder gose the ps0004.patch you created.. to get the patch download the shaiya patch tool insert into the DATA folder the stuff you want to patch ( make shure they are in exact paths as would apear inside the sah file ie item.sdata gose inside datafolder inside another folder titles item just as it apears inside sah hit the patch make.exe open up the files folder or what ever its called rename the datasah and saf to update.sah and update.saf then take winrar or 7zip and compress the 2 new sah/saf you just created MAKESHURE ITS IN ZIP FORMAT not rar titel the zip as ps0004.patch after its finished compressing upload that patch into the patch folder of your site open uploader and it should patch perfectly aslong as the corect http address's are edited on your updater.
03/09/2011 15:27 SrShaden#38
@ Rocky well at least your updater is working, thats a start, you're problem is when you make your patch, I'm guessing your not putting the updated files in the right folders... example, using Shaiya Make Tool go in your tool's directory, they're 2 folder, data and files, open data. If you modified NPCQuest.SData it needs to be in a folder named NPC if you modified Skills.SData it needs to be in the folder Character... using the same path as the data.sah

@Deadly Angel you can pm me your website details and i'll help you from there ;p
03/09/2011 15:46 Ligeti#39
In fact SrShaden, I had the same problem yesterday as Rocky, the problem was the version number... the one I made was 57 for some reason instead of... 56 (as instructed) because in Version.ini the current version was 55, so maybe he needs to check that first.

The tutorial works, no question, I have couple of notes though... in the link section (when you edit the URL or "http://yourwebsite.com"), check your site's URL length, I had a problem with that because my URL was so long, so I needed to use another hosting service to get it right (webs.com is a good one), here is the rule, a string in binary file (any *.exe for example) MUST terminate with null character or '\0' which is translated as 0x00 in hex, your string should finish with 0x00 when editing the file (this is a MUST), otherwise the program will keep reading till it finds the null character (so it will get it all wrong), of course this all depends on the way the program reads the string, as a sting "object" or as char[], when reading sting object you read till null character, when you read char[] you read N number of characters or till you find a null character.

I hope I confused you enough lol

sorry about that... and good luck.
03/10/2011 15:09 R0CK7Y#40
@SrShaden

look at the update.sah
[Only registered and activated users can see links. Click Here To Register...]

@Ligeti
actuly i am sure about thats :D



EDIT :
i found the proplem it was from the patch path i didnt put it "/Shaiya/Patch"
i just put it "/Patch" in the website because thats the updater didnt read any patch files :D
thx guys :)
05/25/2011 00:01 Svinseladden#41
i followed everything to the letter but i get a error .

the version does not match. please install the client again from the website.

my ini files look like this:


[Version]
CheckVersion=3
CurrentVersion=424
StartUpdate=UPDATE_END

client side.

and this in the page i have the patch on

[Only registered and activated users can see links. Click Here To Register...]

anyone know what i need to do now?


SORRY my Version.ini hade the wrong name LOL..
05/25/2011 01:26 Svinseladden#42
now i get a bad update..

it downloads and everything but when it starts to extract i get:

microsoft visual c++ Runtime library

runtime error!!!

Program c:mygame/updater.exe

this application has requested the runtime to terminate in an
unusual way.

Please contact the application's support team for more information

i have tried with this and the patcher made from Shaiya Data file Tool

same error.

all i try to do is removing the old pictures and adding new. loading. and so on.

what have i done wrong?
06/12/2011 14:15 poleser#43
very very thanks bro, this way work yes, i test. your site members.webs.com this site is nice but any other free site this way not work. download faild: cant read file c25 :(((

exemple free site [Only registered and activated users can see links. Click Here To Register...] and [Only registered and activated users can see links. Click Here To Register...] what problem help pls...
06/18/2011 21:41 SrShaden#44
@ Svin : C++ error could be caused by not selecting Deflate option when you zip your patch.

@ Poleser : c25 error is because it cannot reach your patch file... I have helped a few ppl that the error was the patch file was not at the right place on they're website... Second thing is if your website links is too long it may overwrite some code in hex... but im pretty sure your file is not at the right place.
06/18/2011 21:46 Svinseladden#45
fixed it. sorry forgot to updte the post. but thanks. was an error i used a file that was not the same add data.sah or saf. so could not find the file to update..