xDiffPatcher, xDiffGen2, Packet Parser and Packet Extractor

Support DNS

Disable Multiple Windows

And i can't find the patch to enable space in guildname because rathena is down
default_sad.png


 
@MStream : Ok, little syntax problem

Change :

if($exe) Byif($exe === true)

@Mist : Don't forget it's for dev things tools, there is the patcher with the diff in the Client Support tool, i'll release tomorrow a new exe, and ill ask to a mod to move my topic in the release part
I do apologize, I did not realize it was preliminary release for devs~ Thanks for the instructions Yommy and Shakto, much appreciated! Of course thank every one of you who worked to make a new diff patcher, it looks really nice
default_ani_meow.gif


 
Support DNS

Disable Multiple Windows

And i can't find the patch to enable space in guildname because rathena is down
default_sad.png
Luckily I save my diff patches :3

Guild Space:
6A 20 53 FF D6 83 C4 08
6A 21 53 FF D6 83 C4 08
 
Yup thanks i just retrieved it on rathena few mins ago too xd

I ll release this patch tomorrow

 
Last edited by a moderator:
interesting rathena is back and the first thing i do is provide the wrong password three times --- locked out for an hour derp 
default_laugh.png
.

save all the stuff you want in case it goes back to maintenance mode again
default_biggrin.png


 
interesting rathena is back and the first thing i do is provide the wrong password three times --- locked out for an hour derp 
default_laugh.png
.

save all the stuff you want in case it goes back to maintenance mode again
default_biggrin.png

MStream, update your xdiffgen2 repo and check your palette diff, i corrected the syntax error but it show now an other error. I let you check that
default_tongue.png


I'll look at this now

I added the allow space in guild name patch, i'll release the new diff today

 
Last edited by a moderator:
i think there is an encoding issue because the ascii strings have been treated as UTF8.

$offset = $exe->str("¸Ó¸®¸Ó¸®%s%s_%d.pal","raw"); has gotten converted to
Code:
$offset = $exe->str("¸Ó¸®¸Ó¸®%s%s_%d.pal","raw");
similarly for other strings can you comment this one and use the alternate search pattern i have provided using hex values. that should fix the error

But the diffgen is still not generating any changes for them which is weird. :|

EDIT: Oops looks like the encoding issue was my fault . Apparently notepad++ put the file as UTF8 encoded heh.

 
Last edited by a moderator:
Ok Yommy found the bug
default_smile.png


It's working now with :

Code:
$byte = $exe->read($offset,1, "c"); 
 
Last edited by a moderator:
try using V as a format string to pack

Why is it not generating diff file for me
default_sad.png
.
You forgot the return true in your Nullify function

if ($byte >= 0x50 && $byte <= 0x57){
$exe->replace($offset, array(0=>"x90"));
return true;
}
 
And you forgot the return true at this end of the function
default_biggrin.png

 
Edit ; Update your files, it has been comit
default_smile.png

 
Last edited by a moderator:
lol why do i always forget to return true!!!!

EDIT: but still what about the shared head palette there there is a simple string replace but the function is getting called only once for me so its not running the code below new xPatch:|

 
Last edited by a moderator:
Ok i figured out that the ($exe == true) part becomes true even when $exe is RObin object (which it shouldn't)

Wonder why it is ok for the other patches .... Any idea how to  prevent that?

 
thx yommy thats what was missing .

now i feel like =.=

Anyways for body palette it looks like Nullify function required a slight mod =>

Code:
function Nullify($exe, $offset, $stage){	$byte = $exe->read($offset,1);	if ($byte >= "x50" && $byte <= "x57")		$exe->replace($offset, array(0=>"x90"));	else	{		echo "Failed at Part ".$stage;		return false;	}	return true;}
 
Last edited by a moderator:
We can go the old way.. Putting all the generated diffs into pre-made diff files so the users only get the patcher and done..(? Like the old way

Also.. Can you repair the go back to login screen from the char selection cancel button? I really want that.. Everyone hates that auto-closing -.-

 
Well to answer your questions

1) About the patcher - I was thinking of creating a patcher using Yommy's Diffgen in the background such that you only need to supply the client and everything else will be generated automatically and applied (like you said).

2) About auto-closing : There is only 1 problem we are not using old login screen anymore we are using launchers.

One possible mechanism would be for the launcher to start the client then go to background and if the client gets closed off the launcher returns to normal so you can just press login again.

 
Last edited by a moderator:
hello guys, is this possible

Modify the "Remove Hourly Announce" diff to allow it to accept strings

ex: allow it to modify to hourly advertise your server or announce something

 
Back
Top