|
You last visited: Today at 02:49
Advertisement
Change Start-Message on ChatBox in Silkroad
Discussion on Change Start-Message on ChatBox in Silkroad within the SRO Coding Corner forum part of the Silkroad Online category.
10/29/2011, 19:42
|
#1
|
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
|
Change Start-Message on ChatBox in Silkroad
I want to change the Start-Message in Silkroad with my own Message(Clientsided).
This here is the place in Ollydbg:
Code:
0077F5E3 E8 F83A0100 CALL sro_clie.007930E0
0077F5E8 68 3C10D900 PUSH sro_clie.00D9103C ; UNICODE "UIIT_STT_STARTING_MSG"
0077F5ED B9 4883EB00 MOV ECX,sro_clie.00EB8348
0077F5F2 E8 89B41300 CALL sro_clie.008BAA80
0077F5F7 8378 18 08 CMP DWORD PTR DS:[EAX+18],8
0077F5FB 72 05 JB SHORT sro_clie.0077F602
0077F5FD 8B40 04 MOV EAX,DWORD PTR DS:[EAX+4]
0077F600 EB 03 JMP SHORT sro_clie.0077F605
0077F602 83C0 04 ADD EAX,4
0077F605 50 PUSH EAX
0077F606 6A 01 PUSH 1
0077F608 68 9BC9DBFF PUSH FFDBC99B
0077F60D 68 FF000000 PUSH 0FF
0077F612 57 PUSH EDI
0077F613 E8 58BCFEFF CALL sro_clie.0076B270
0077F618 83C4 14 ADD ESP,14
0077F61B 6A FF PUSH -1
0077F61D 8BCF MOV ECX,EDI
I need to recreate this part:
0077F605 50 PUSH EAX ;Stringmessage
0077F606 6A 01 PUSH 1 ;Textsize
0077F608 68 9BC9DBFF PUSH FFDBC99B ;Textcolor
0077F60D 68 FF000000 PUSH 0FF ; dont know
0077F612 57 PUSH EDI ; dont know
For what are the 2 last command lines?
|
|
|
10/29/2011, 20:03
|
#2
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,064
Received Thanks: 539
|
So about which welcome message are you talking?
Most can be changed via pk2 editing
|
|
|
10/29/2011, 20:14
|
#3
|
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
|
yes i know but i want to edit it clientsided. I want to edit the first text in the ChatBox(Welcome to SilkRoad Online Blablabla).
|
|
|
10/29/2011, 22:08
|
#4
|
elite*gold: 0
Join Date: Sep 2010
Posts: 1,003
Received Thanks: 652
|
Quote:
Originally Posted by vitalka
yes i know but i want to edit it clientsided. I want to edit the first text in the ChatBox(Welcome to SilkRoad Online Blablabla).
|
i dont know how to edit by olly but you can edit the start message media.pk2/server_dep/silkroad/textdata/textui
|
|
|
10/29/2011, 22:33
|
#5
|
elite*gold: 0
Join Date: Jun 2008
Posts: 42
Received Thanks: 11
|
@Vitalka
Just an idea; Check same places from different clients, Every clients starting message edited by server owner. Compare with each other. Probably is not a variable.
and out of topic; please answer my private message ^^
|
|
|
10/29/2011, 23:10
|
#6
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,064
Received Thanks: 539
|
The Message is in the pk2 file.
You can find it, just like Manu said, in Media.pk2\server_dep\silkroad\textdata\textuisyste m.txt and in the file search for "UIIT_STT_STARTING_MSG"
Has nothing to do with the server, but i get what you wanna say and agree
|
|
|
10/29/2011, 23:15
|
#7
|
Chat Killer In Duty
elite*gold: 5
Join Date: May 2008
Posts: 16,310
Received Thanks: 6,470
|
dont know why making su much if text is on Media.pk2
but good work
|
|
|
10/30/2011, 16:53
|
#8
|
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
|
i found a solution, can be closed...
|
|
|
10/30/2011, 20:56
|
#9
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,748
Received Thanks: 2,010
|
it's generally accepted that you share your solution when people on this forum helped you. it's just a small thing to do, and it can help people later on
|
|
|
11/03/2011, 09:07
|
#10
|
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
|
Quote:
Originally Posted by vitalka
yes i know but i want to edit it clientsided. I want to edit the first text in the ChatBox(Welcome to SilkRoad Online Blablabla).
|
Umm... Since when are PK2s not client-sided?
|
|
|
11/03/2011, 14:37
|
#11
|
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
|
The sro_client looks for the text in media.pk2. I wanted to do this directly with the client.
Its simple. You need only to look step by step very is the push for the text and when the text will written in the register, then you need to replace it with YOUR Text (only MOV your address with the UNICODE text into the right register) and SRO will show you your text on the ChatBox.
|
|
|
11/04/2011, 08:56
|
#12
|
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
|
Quote:
Originally Posted by vitalka
The sro_client looks for the text in media.pk2. I wanted to do this directly with the client.
Its simple. You need only to look step by step very is the push for the text and when the text will written in the register, then you need to replace it with YOUR Text (only MOV your address with the UNICODE text into the right register) and SRO will show you your text on the ChatBox.
|
That's a really bad way to do it. Just look for a pointer that points to your message (I'd hardcode it tbqh) and use it to change the value of your message.
|
|
|
11/04/2011, 21:41
|
#13
|
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
|
Sorry maybe you missunderstood me(my english^^), i dont replace the text. I Push my text on a other place...
|
|
|
11/11/2011, 15:46
|
#14
|
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
|
Quote:
Originally Posted by vitalka
Sorry maybe you missunderstood me(my english^^), i dont replace the text. I Push my text on a other place...
|
Umm, you said "I want to change the Start-Message in Silkroad with my own Message(Clientsided)."
That means replacing the text, doesn't it?
|
|
|
Similar Threads
|
[HELP]Change empire when start!
08/10/2022 - Metin2 Private Server - 2 Replies
Hi guys!
I am having some trouble with my server
I want when players create a character in yellow kingdom they will be automatically moved to the red one.
For do this i am editing the main_quest_lv1.gotoinformation
i added this in the first 2 lines:
if pc . get_empire ( ) == 21 then
pc . change_empire ( 1 )
|
Start up message on 5165 wont't change??
12/24/2010 - Conquer Online 2 - 1 Replies
"Welcome to korolos socure..."
I have changed it in the Teleport.cs, build then debugged.
When i logged in the message was still the same??
Any help would be appreciated.
|
How to change start.
12/13/2010 - Dekaron Private Server - 7 Replies
I want to have that every body who makes an acc will get some starting equipment, money and etc.
How do i change this?
|
Change Money Start
01/17/2009 - Flyff Private Server - 3 Replies
Hey
were can i change money for start in my server?
|
All times are GMT +2. The time now is 02:49.
|
|