|
You last visited: Today at 22:09
Advertisement
A few questions about pserver
Discussion on A few questions about pserver within the CO2 Private Server forum part of the Conquer Online 2 category.
10/13/2013, 19:51
|
#1
|
elite*gold: 0
Join Date: Sep 2006
Posts: 281
Received Thanks: 13
|
delete
delete
|
|
|
10/13/2013, 20:12
|
#2
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
Quote:
Originally Posted by ushiro
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
|
#3
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
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
|
#4
|
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
|
Quote:
Originally Posted by ushiro
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
|
#5
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,191
|
Quote:
Originally Posted by .Beatz
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
|
#6
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
|
Quote:
Originally Posted by Fang
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
|
#7
|
elite*gold: 0
Join Date: Dec 2012
Posts: 606
Received Thanks: 68
|
Quote:
Originally Posted by ushiro
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 ****** up conquer, thx XD
|
|
|
10/15/2013, 11:51
|
#8
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
|
Quote:
Originally Posted by LordGragen.
if casino and poker was your idea then you ****** up conquer, thx XD
|
Those are the least of co problems, what are you talking about?
|
|
|
10/15/2013, 22:19
|
#9
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
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.
|
|
|
All times are GMT +1. The time now is 22:11.
|
|