Link? :)
wow, I started Launcher.exe and it updated, now I can't join my own server anymore :S
nvm, the ptrex.rgx was edited ;E
Printable View
You'd have to edit the exe of the updater to make it connect to your server. XD
It's not all about "programming" as such. There is a lot of data (like the text you want to translate) in the executables... and many people begin changing the executables with a hex editor treating them just like a binary data file.
Of course, any executable file is a binary data file that just happens to be executable and contain code as well as (or, actually part of the) data.
I prefer to use a debugger over a hex editor, because a debugger knows what is code and what is data, what code points to what data where, and what is constant data embedded in the code. There are no limitations to what you can do with a hex editor, but a debugger can edit hex data and provides considerable "hints".
I got a second look at the client, mainly the login screen messages, logout message, ect. Minor things. Less BR translation than I thought. It's mainly the items from what i've seen. Havent checked item table, thats going to probably be a pain in my butt because i've never bothered with it before.
I've spent over half a day working on translation, adding shops, cleaning up some client code, ect. It's not fun, and very boring to be honest. But I think it'll be worth it in the long run.
By the way, if you're not wanting to learn how to hex you might as well quit now or find someone else willing to do it. This is something you cant get around for long. And as for a hex editor or debugger I reccomend Hex Editor Neo and OllyDbg2.0. Google them and you'll have em in no time.
As for the updater not making it so you can play, you're not supposed to run that. That updates your client from the Official pt server and modifes files, changing them so your client connects to thier server. Delete it, not of any use to you.
Hope this helps.
As mentioned before, I am a noob at this, I don't really know what hexing means.. ATM I'm figuring out how I can be GM(lmao) I get some kind of error message when I'm online...
I am more than willing to learn about this :) Where can I begin? I have downloaded and installed those program you suggested. I am very lost atm :E
Add special items
BI130
BI131
BI132
BI133
BI134
BI135
BI136
BI137
BI138
BI139
BI140
BI141
BI142
BI143
BI144
BI145
BI146
BI147
BI148
BI149
OS114
This are some new systems with them.
4 types of phoenix the fire and the birds small.
Stone Age and maturity skills
"Saphira" -> OS114 mature age +19 to +20
Added potion down -> BI129
Add new cities -> Atlântis town, Fo1, FO2, FO3, S3 - KPT.
Native clients full-recommended StylusPT -> http://www.megaupload.com/?d=QRIMK24E
only problem when relog with Premium items add up = /.
if anyone knows tidy and want to share will be grateful.
for more questions -> developer-MRX@hotmail.com
Information in a computer is all stored as on or off states in silicone switches. 8 switches = 1 byte of data, 1 byte can store a number between 0 and 255 in the normal Decimal number system (base 10) but in Hexadecimal, (Base 16) that is 0 to FF.
You can represent any data, of an arbitrary size as hexadecimal numbers with leading zeros. 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 etc.
Represented in an editor in this form you can edit any data or file, regardless of it's content.
Good Hex editors HxD, MadEdit, Hex Workshop. Good debuggers, OllyDbg, Syser, Rr0d (not for noobs). Olly is the debugger of choice around here. :wink:
thanks again for the answer :) I tried to edit the game.exe(I found some portugese that needed to be translated), but when I saved, it said it wasn't a "Real" .exe-file.. Weird...
Well, right now, I'd like to start out with adding all the items that I will need. There is guides, right?
There are discussions on item lists. Adding is very difficult, because there is an unknown factor which determines how a character holds an item as a weapon.
Usually people replace very low level gear, because there are a lot of items from level 0 - level 20 that is rarely used, with something more useful.
When editing an executable as Hex (Hexing as Cloak says it) be careful not to add or remove... if your editor allows you to insert or delete, DON'T! Instead Over-type information, or else make very sure the information you insert is at the same place and exact same size as what you have deleted. There are a couple of other rules which are preserved automatically by Olly, but easy to "corrupt" with a Hex editor, but you can learn as you go.
There is a lot of information on the internet about Win32 executable file format, known as a PE (or Portable Executable) a little reading would probably not sink in enough to feel you know it, but may help avoid some broken exes... you will still make them. I still make the odd one or two trying a new tool. Don't let it get you down.
Executables are meant to be made once and only run after that... if you want to change the code or data you are supposed to edit the source and re-compile it, but we don't have the luxury of source code we can re-compile from. XD
right now, I got some issues with some things.. I can't see any shops, I can't see any monsters and I can't either login as a GM..
I'm using the usual hotuk.ini for the game, and use the hotuk.ini that came with the server(except I edited the IP to mine and changed the admin name to "admin" instead of adm).
You know what I could have done wrong?
Have you copied the Field folder from the Client folder into the server folder... that usually solves missing NPCs and Mobs.
For GM login:-
Server hotuk.iniIn this case, I have to log in with the user ID "floppy" and then whisper (private message) "Level3" to a fictitious player called "GM" in the chat to gain full GM powers.Code:*ADMIN_LOGIN "floppy"
*ADMIN_NAME "GM"
*ADMIN_COMMAND "Level1"
*ADMIN_COMMAND "Level2"
*ADMIN_COMMAND "Level3"
You can specify the player by ADMIN_IP instead of ADMIN_LOGIN using their IP address rather than their Login ID, but don't uncomment both. Sometimes it works, but often it causes problems.
still don't see any shops, I saw them before.. don't know what I've done :/
The GM function is, kinda, not working either..
I get "xx.xxx.xxx.xxx Recv TimeOut Message" :S
You only see the "TimeOut" messages if you are GM. You get more of them the newer you OS is past 9x. But Vista it's almost impossible to see anything but that, but it's normal.
Gregoory has a good guide on disabling that message completely. The timeouts will still happen, but you don't get notified.
On 98 it used to be you got one now and then, by XP you got one every one or two seconds and if you got more than that, you where on to a good bet if you predicted a "DC Server Main" in the next 30 seconds... but when you are seeing 50 a second, you can't tell when that increases to 100. XD
You could also check that you didn't disable "*SERVER_AUTOSTART" in the server hotuk.ini... That will do for your NPCs and Monsters too. Many servers you can "start" manually from the menu if you don't have it, but most of the time you just want it to start all the AIs as soon as the server is up.
please again uplode