A few questions about pserver

10/13/2013 19:51 ushiro#1
delete
10/13/2013 20:12 turk55#2
Quote:
Originally Posted by ushiro View Post
1) How can i disable client function going to co website after client close? or at least change it for my website.
The conquer.exe opens the Conquer Online website, using a loader will disable/modify this.

2) Where can i edit npcs: add, remove, translate their dialogs?
It depends on how the source is programmed and is different per source.
But since you are asking on how you want to translate the dialogs, you are most likely talking about TQ Binaries. Those binaries are illegal on the forum because of copyrights.


3) How can i fix this problem: when create account on cyrillic, it shows '?????' name instead of the correct one. How can i fix that?
See answer on question 2.

4) Where can i find system things to be edited? Like, all that system messages that appear when player online in center of screen and in chat.
See answer on question 2.
.
10/14/2013 16:53 pro4never#3
Assuming it's already set up and supporting cyrillic properly then you need to re-write the npcs with the proper translated text.

This is something you need to do manually for each and every npc as well as a number of client files to change things like system messages and the UI.

Npcs and all other content are controlled server side
10/14/2013 21:32 .Beatz#4
Quote:
Originally Posted by ushiro View Post
Thanks! But when i translate NPC names, it works correctly. The problem is, i can't make a player in cyrillic name. When log in, it shows '????' question marks. This is my problem...
I am not 100% sure as I dont work with client files but I believe that the fints displayed on names and such are embedded in the Conquer.exe itself... If I am wrong please someone correct me
10/14/2013 21:43 Spirited#5
Quote:
Originally Posted by .Beatz View Post
I am not 100% sure as I dont work with client files but I believe that the fints displayed on names and such are embedded in the Conquer.exe itself... If I am wrong please someone correct me
You're right. It's the encoding that the client uses to read the file, not too much the file itself, though it does have to be written in the new encoding for text to be displayed properly. The client uses CP1252. If you know some reverse engineering, you could change the encoding, though it's not just in one area, it's almost anywhere there's text. You'd also have to edit the resources.
10/14/2013 22:53 CptSky#6
Quote:
Originally Posted by Fang View Post
You're right. It's the encoding that the client uses to read the file, not too much the file itself, though it does have to be written in the new encoding for text to be displayed properly. The client uses CP1252. If you know some reverse engineering, you could change the encoding, though it's not just in one area, it's almost anywhere there's text. You'd also have to edit the resources.
Well, probably only needing a call to set locale to change the program locale at the entry point. I don't think there is any forced locale in the client, except for validating few strings.
10/15/2013 05:27 LordGragen.#7
Quote:
Originally Posted by ushiro View Post
Yuki,
Thanks, you are right. And russian version of TQ was really supporting cyrillic. I would also say that all casino things and poker in conquer was my suggestion :) if you need proof i have it.
And my source supported cyrillic too, until i changed System Locale on dedic server to Russia :) lol. After that all cyrillic names became question marks.

I can do a simple code, i can edit some things, but yes, serious things in coding is not for me. So, i just want to know, how can i change what NPC says and other things from 1st post.
if casino and poker was your idea then you fucked up conquer, thx XD
10/15/2013 11:51 _DreadNought_#8
Quote:
Originally Posted by LordGragen. View Post
if casino and poker was your idea then you fucked up conquer, thx XD
Those are the least of co problems, what are you talking about? :confused:
10/15/2013 22:19 pro4never#9
The fact the server is sending NPCS properly to the client means that you are already encoding it properly server side. This leaves two possibilities.

#1: The client treats names differently and you need to do some reverse engineering which was already suggested

#2: The server is not loading the name properly from the database (you already suspected that but have you tried breakpointing the hero information packet to ensure it's reading and formatted properly before its sent to the client?)


That's really all that can go wrong here as you've already got the server encoring cyrillic properly when writing to packets (aka the npcs), you've already got the client displaying cyrillic properly when displaying server messages ('you cannot move here' type messages in syres.ini or w/e file it is) as well as displaying the npcs properly (received from server)



All that's left is the two possible issues listed above.