Modified files for 9D Thailand

01/26/2011 16:09 Edarax#46
Yeah I only have 6 posts, but thats because I have nothing to say lol.
Anyway, if you prefer to do it yourself i'll be posting a guide to do it, it's pretty simple, and it worked for me (at least for this patch).
01/26/2011 16:39 dreamerdd#47
ill wait for a guide so i dont have to run here every time i need a patch...








better to learn how to fish than beg to be fed...
01/26/2011 17:00 Edarax#48
There you go

[Only registered and activated users can see links. Click Here To Register...]
02/03/2011 21:20 lordzsolt#49
Well, modifying the ndreg made me unable to connect to game server...
02/07/2011 06:56 saweet#50
The real way to modify ndreg.xrg is not done like the "[GUIDE] 9Disciples ndreg.xrg update" thread. The strings (specifically ndc info, etc) in ndreg.xrg are XOR'd. For example, "localhost-9d" in base 16 (hex) is:
6c 6f 63 61 6c 68 6f 73 74 2d 39 64

In order to put that in your ndreg.xrg you have to XOR each with 0xDC. So 6c XOR dc = b0 (you can do this with your calculator). This "localhost-9d" becomes:
b0 b3 bf bd b0 b4 b3 af a8 f1 e5 b8

There are two places for the server IP in the ndreg.xrg. The D9 Server address is "202.43.39.25", thus if you convert that to base 16 you get:
32 30 32 2e 34 33 2e 33 39 2e 32 35

XOR'd it becomes:
ee ec ee f2 e8 ef f2 ef e5 f2 ee e9

So if you want to modify your unmodified D9 ndreg.xrg, just search for the XOR'd server address and change with the XOR'd localhost-9d. They are the same length so you don't have to modify the string length. That's right, there's an offset in each field that indicates how long the segment is. You can change that yourself or use a string length that is same as the server's IP and not have to change it, like I did.

Edit:
I use Python for converting and xor'ing the string (and removing the 0x so I can paste into my hex editor), this can be accomplished in a nice 1-liner:
' '.join(hex(ord(c) ^ 0xdc)[2:] for c in "localhost-9d")

If you don't have Python and don't want to install it, just go to codepad.org and select python then paste the code and submit. As seen here: [Only registered and activated users can see links. Click Here To Register...]
02/07/2011 09:56 spiralmatrix#51
no matter what i have tried, access is denied to the host file path, in regard to 9disciple. i give up. have fun guys.
02/07/2011 12:32 abdulquade#52
well spiral download the take ownership from web and install it then go to the hosts file right click the hosts file and select take ownership from that right click menu then try running 9discipleTH u will get it working for sure
02/10/2011 03:02 Edarax#53
Quote:
Originally Posted by saweet View Post
The real way to modify ndreg.xrg is not done like the "[GUIDE] 9Disciples ndreg.xrg update" thread. The strings (specifically ndc info, etc) in ndreg.xrg are XOR'd. For example, "localhost-9d" in base 16 (hex) is:
6c 6f 63 61 6c 68 6f 73 74 2d 39 64

In order to put that in your ndreg.xrg you have to XOR each with 0xDC. So 6c XOR dc = b0 (you can do this with your calculator). This "localhost-9d" becomes:
b0 b3 bf bd b0 b4 b3 af a8 f1 e5 b8

There are two places for the server IP in the ndreg.xrg. The D9 Server address is "202.43.39.25", thus if you convert that to base 16 you get:
32 30 32 2e 34 33 2e 33 39 2e 32 35

XOR'd it becomes:
ee ec ee f2 e8 ef f2 ef e5 f2 ee e9

So if you want to modify your unmodified D9 ndreg.xrg, just search for the XOR'd server address and change with the XOR'd localhost-9d. They are the same length so you don't have to modify the string length. That's right, there's an offset in each field that indicates how long the segment is. You can change that yourself or use a string length that is same as the server's IP and not have to change it, like I did.

Edit:
I use Python for converting and xor'ing the string (and removing the 0x so I can paste into my hex editor), this can be accomplished in a nice 1-liner:
' '.join(hex(ord(c) ^ 0xdc)[2:] for c in "localhost-9d")

If you don't have Python and don't want to install it, just go to codepad.org and select python then paste the code and submit. As seen here: [Only registered and activated users can see links. Click Here To Register...]
Oh now I see what was that meaning, never tought about operators to get the meaning lol. Thanks for the explanation
02/11/2011 20:31 ksa4ever#54
Sorry for bien swearer ..
02/12/2011 02:05 Edarax#55
Is really that hard to copy-paste a single file? Seriously, it's annoying on how people don't even think for a moment and try to get what they want instead of just begging like crybabies.
I have been trying to help some people lately with their errors, but now I'm out. Really, if you can't get it working, you don't deserve to use 9Disciples.

Instead of begging try to do it, I already said how to do it on my guide, I wasn't knowing the meaning of the strings, but what I changed was the correct strings, so that's why it works. And if you don't like my guide, do what saweet said, you can't get it easier.

Quote:
Originally Posted by saweet View Post
The real way to modify ndreg.xrg is not done like the "[GUIDE] 9Disciples ndreg.xrg update" thread. The strings (specifically ndc info, etc) in ndreg.xrg are XOR'd. For example, "localhost-9d" in base 16 (hex) is:
6c 6f 63 61 6c 68 6f 73 74 2d 39 64

In order to put that in your ndreg.xrg you have to XOR each with 0xDC. So 6c XOR dc = b0 (you can do this with your calculator). This "localhost-9d" becomes:
b0 b3 bf bd b0 b4 b3 af a8 f1 e5 b8

There are two places for the server IP in the ndreg.xrg. The D9 Server address is "202.43.39.25", thus if you convert that to base 16 you get:
32 30 32 2e 34 33 2e 33 39 2e 32 35

XOR'd it becomes:
ee ec ee f2 e8 ef f2 ef e5 f2 ee e9

So if you want to modify your unmodified D9 ndreg.xrg, just search for the XOR'd server address and change with the XOR'd localhost-9d. They are the same length so you don't have to modify the string length. That's right, there's an offset in each field that indicates how long the segment is. You can change that yourself or use a string length that is same as the server's IP and not have to change it, like I did.

Edit:
I use Python for converting and xor'ing the string (and removing the 0x so I can paste into my hex editor), this can be accomplished in a nice 1-liner:
' '.join(hex(ord(c) ^ 0xdc)[2:] for c in "localhost-9d")

If you don't have Python and don't want to install it, just go to codepad.org and select python then paste the code and submit. As seen here: [Only registered and activated users can see links. Click Here To Register...]
02/25/2011 13:51 csikiboty6#56
doesn anybody have the ndreg.xrg file for the 32 patch? i dont realy have the time to make it now, and i would like to use the buff trainer . thx
02/25/2011 16:33 DeathByMoogles#57
Quote:
Originally Posted by csikiboty6 View Post
doesn anybody have the ndreg.xrg file for the 32 patch? i dont realy have the time to make it now, and i would like to use the buff trainer . thx
Well, if you "don't have time" to make it (takes ~5 mins)
Why should i "have the time" to upload it here for some random noob?

Just saying...
02/25/2011 23:20 CorYnStyle#58
Hi .. how can I modify the font in 9Dragons[D9]..cuz its different than 9Disciple its compatible with (I got an error ).. Please help me:D
[Only registered and activated users can see links. Click Here To Register...]
02/28/2011 08:06 -MrOfficer-#59
Update Ndreg? That takes maks 5mins, so it would be nice to let others have the fun of playing here, for those who cant do it by themself.. or for those who r 2 lazy to do it :) i quited both 9d atm but, its up 2 those who have edited one ;) Would be nice to earn tons thanks just to upload something tht takes 5 min to edit aint it?
03/29/2011 23:04 berkotiro#60
-.-'' its patch ** ?