Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 15:00

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Question] signed integers defined in the client ?

Discussion on [Question] signed integers defined in the client ? within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2008
Posts: 167
Received Thanks: 2
[Question] signed integers defined in the client ?

hi there
if someone knows anything about signed integers defined in the client
cuz i tried a lots of times to edit the party matching max level to higher than 127 and it always shows a negative numbers ..
please some expert person to help me
multiuses is offline  
Old 03/25/2018, 20:50   #2
 
elite*gold: 0
Join Date: May 2008
Posts: 167
Received Thanks: 2
anyone knows ?
multiuses is offline  
Old 03/27/2018, 02:06   #3
 
elite*gold: 0
Join Date: May 2008
Posts: 167
Received Thanks: 2
still nobody knows ?
multiuses is offline  
Old 03/27/2018, 14:40   #4
 
elite*gold: 0
Join Date: Feb 2012
Posts: 25
Received Thanks: 142
I don't know whether storage type of level is signed or not, probably not.

"push imm8" performs sign extension to operand before pushing the value into stack. So changing "push 6e" to any value that is higher than 127 does not do what we expect. (in that case, value becomes [imm8 FF FF FF] on stack, not [imm8 00 00 00])

This one does work for default max. level (thanks to kanift for testing)


Code:
pop edx
movzx eax,al
push eax
push E18B1C
jmp edx
Iwa13 is offline  
Thanks
1 User
Old 03/28/2018, 01:46   #5
 
elite*gold: 0
Join Date: May 2008
Posts: 167
Received Thanks: 2
Quote:
Originally Posted by Iwa13 View Post
I don't know whether storage type of level is signed or not, probably not.

"push imm8" performs sign extension to operand before pushing the value into stack. So changing "push 6e" to any value that is higher than 127 does not do what we expect. (in that case, value becomes [imm8 FF FF FF] on stack, not [imm8 00 00 00])

This one does work for default max. level (thanks to kanift for testing)


Code:
pop edx
movzx eax,al
push eax
push E18B1C
jmp edx




its seems there is a solution but i cant understand where did u get ' call <sro_client.pushzx_al_%d> ' ?
please can u explain more details ?
multiuses is offline  
Old 03/28/2018, 02:08   #6
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,486
Quote:
Originally Posted by multiuses View Post
where did u get ' call <sro_client.pushzx_al_%d> ' ?
please can u explain more details ?
This technique is called a codecave. "pushzx_al_%d" is a custom defined function containing the instructions listed in the post.
There are many tutorials on basic codecaving. Choose "any" location in the binary that fits the size of these instructions, then redirect the original call to this call.
Make sure that no instructions "go missing" as you are going to possibly override some instructions.
florian0 is offline  
Old 03/28/2018, 05:55   #7
 
elite*gold: 0
Join Date: May 2008
Posts: 167
Received Thanks: 2
Quote:
Originally Posted by florian0 View Post
This technique is called a codecave. "pushzx_al_%d" is a custom defined function containing the instructions listed in the post.
There are many tutorials on basic codecaving. Choose "any" location in the binary that fits the size of these instructions, then redirect the original call to this call.
Make sure that no instructions "go missing" as you are going to possibly override some instructions.
could u give me some hints ?
i searched about codecaving and found nothing i can use
please help if u dont mind ..
multiuses is offline  
Old 03/28/2018, 10:51   #8
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,486
Doesn't explain as in-depth as it could be, but includes all the required steps.
florian0 is offline  
Thanks
1 User
Old 03/29/2018, 08:22   #9
 
elite*gold: 0
Join Date: May 2008
Posts: 167
Received Thanks: 2
Quote:
Originally Posted by florian0 View Post
Doesn't explain as in-depth as it could be, but includes all the required steps.
I see lots of "INT3" and "NOP" assembles
which one should i choose ?
multiuses is offline  
Reply


Similar Threads Similar Threads
[C] Scanf nur Integers ausgeben lassen
01/09/2017 - C/C++ - 5 Replies
Hey ich habe mir eine einfache Funktion rausgesucht, welche nur integer ausgibt und dazu eine Frage: int lese_int() { int number = 0; int ret = 0; char c; printf("Bitte geben sie eine Nummer ein: "); while (ret == 0) { ret = scanf("%d%c", &number, &c);
EUGC *Contract Signed*
04/25/2011 - Grand Chase - 40 Replies
So as the title says, EUGC is coming this year. SG Interactive the one who hosts NAGC signed a contract with the game developer KoG to host a different server for Europe. For me this news ruins my day. Cuz I am from europe and I invested alot of money and time on my NAGC account and i don't want to lose it. For more info: >>Read<<



All times are GMT +1. The time now is 15:01.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.