Register for your free account! | Forgot your password?


You last visited: Today at 01:51

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

Advertisement




item mall buy problem !

Discussion on item mall buy problem ! within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2011
Posts: 62
Received Thanks: 12
item mall buy problem !

Hello friends, I left silkroad for a long time and I came back again I have new works but I am facing some problems I have fixed the window, but the item does not shop, I observed that there was a package error in my review results.


Trapezun is offline  
Old 09/12/2020, 02:56   #2

 
elite*gold: 0
Join Date: Jan 2020
Posts: 159
Received Thanks: 121
how you maked the old itemmall ?
Goosxc is offline  
Old 09/12/2020, 04:37   #3
 
elite*gold: 0
Join Date: Apr 2011
Posts: 62
Received Thanks: 12
just hang the buy window asm dude
Trapezun is offline  
Old 09/12/2020, 09:40   #4


 
elite*gold: 2571
Join Date: May 2013
Posts: 1,975
Received Thanks: 1,278
Quote:
Originally Posted by Goosxc View Post
how you maked the old itemmall ?
change in Media/resinfo/ginterface.txt
Quote:
#ifdef NEW_ITEMMALL
Section = NewItemMall,"0,0,0,0","0"
{
GDR_RENEWAL_ITEM_MALL:CIFNewItemMall
{
ClientRect=RECT,"0,0,0,0"
Color=COLOR,"255,255,255,255"
DDJ=STRING,"interface\\frame\\mall_wnd_"
FontColor=COLOR,"255,255,255,255"
FontIndex=INTEGER,"0"
HAlign=INTEGER,"1"
ID=INTEGER,"167"
Rect=RECT,"0,0,800,600"
Style=INTEGER,"0"
SubSection=STRING,""
Text=STRING,"UIIT_STT_SILKMALL"
UV_LB=POINT,"0,1"
UV_LT=POINT,"0,0"
UV_RB=POINT,"1,1"
UV_RT=POINT,"1,0"
VAlign=INTEGER,"0"
}
}
to
Quote:
#ifdef NEW_ITEMMALL
Section = NewItemMall,"0,0,0,0","0"
{
GDR_ITEM_MALL:CIFItemMall
{
ClientRect=RECT,"0,0,0,0"
Color=COLOR,"255,255,255,255"
DDJ=STRING,"interface\\frame\\mall_wnd_"
FontColor=COLOR,"255,255,255,255"
FontIndex=INTEGER,"0"
HAlign=INTEGER,"1"
ID=INTEGER,"167"
Rect=RECT,"0,0,800,600"
Style=INTEGER,"0"
SubSection=STRING,""
Text=STRING,"UIIT_STT_SILKMALL"
UV_LB=POINT,"0,1"
UV_LT=POINT,"0,0"
UV_RB=POINT,"1,1"
UV_RT=POINT,"1,0"
VAlign=INTEGER,"0"
}
}
NorseGodTyr is offline  
Old 09/12/2020, 15:30   #5

 
elite*gold: 0
Join Date: Jan 2020
Posts: 159
Received Thanks: 121
Quote:
Originally Posted by NorseGodTyr View Post
change in Media/resinfo/ginterface.txt

to
crash after i buying ?
Goosxc is offline  
Old 09/12/2020, 19:37   #6


 
elite*gold: 2571
Join Date: May 2013
Posts: 1,975
Received Thanks: 1,278
Quote:
Originally Posted by Goosxc View Post
crash after i buying ?
its normal you have to edit your sro_client.exe
NorseGodTyr is offline  
Old 09/12/2020, 20:29   #7

 
elite*gold: 0
Join Date: Jan 2020
Posts: 159
Received Thanks: 121
Quote:
Originally Posted by NorseGodTyr View Post
its normal you have to edit your sro_client.exe
no more crash but what about i can't buy anything ?
Goosxc is offline  
Old 09/12/2020, 20:48   #8


 
elite*gold: 2571
Join Date: May 2013
Posts: 1,975
Received Thanks: 1,278
Quote:
Originally Posted by Goosxc View Post
no more crash but what about i can't buy anything ?
like i say you have to edit sro_client.exe if you buy will get crash^^
NorseGodTyr is offline  
Old 09/12/2020, 21:42   #9

 
elite*gold: 0
Join Date: Jan 2020
Posts: 159
Received Thanks: 121
Quote:
Originally Posted by NorseGodTyr View Post
like i say you have to edit sro_client.exe if you buy will get crash^^
Nah I donít get crash only that item mall stack no crash
Goosxc is offline  
Old 10/07/2020, 15:48   #10
 
elite*gold: 0
Join Date: Apr 2019
Posts: 73
Received Thanks: 57
Quote:
Originally Posted by Goosxc View Post
Nah I donít get crash only that item mall stack no crash
You need to change 0x7034[61] in SR_GameServer to the old 0x7034[22],
If you can solve it, you will succeed
qq909047432 is offline  
Old 10/08/2020, 07:26   #11

 
elite*gold: 0
Join Date: Jan 2020
Posts: 159
Received Thanks: 121
Quote:
Originally Posted by qq909047432 View Post
You need to change 0x7034[61] in SR_GameServer to the old 0x7034[22],
If you can solve it, you will succeed
how i can find this ? with dbg or ghidra ?
Goosxc is offline  
Old 01/13/2022, 22:57   #12
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1,248
Received Thanks: 576
Any updates?
Judgelemental is offline  
Old 01/14/2022, 22:32   #13
 
elite*gold: 0
Join Date: Apr 2011
Posts: 62
Received Thanks: 12
const DWORD BuyItemHookAddr = 0x00799600; // vsro 0x00799600
const DWORD Jmp= 0x0079960F; // vsro 0x0079960F
const DWORD CallAddr = 0x8B51F0; // vsro 0x8B51F0

__declspec(naked) void ASM_OnItemMallBuy()
{
__asm
{
PUSH 1;
PUSH 0xA7;
ADD ECX, 0x36C;
CALL CallAddr;
jmp Jmp;
}
}

MemoryHelper:: Detour(false, reinterpret_cast<void*>(BuyItemHookAddr ), ASM_OnItemMallBuy);
Trapezun is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
Metin2 United! <3 Join Today! Mall/Non-Mall Server.
10/30/2013 - Metin2 PServer Advertising - 8 Replies
Join Metin2United today! There are 3 Servers, Mall Server - Weak Mall Server - Non-Mall server! And plus we have our own launcher! Visit our site http://metin2.gamezunited.com. We currenlty have 7 Different private servers! Be sure to check it out at http://gamezunited.com :) We supports all kinds of languages, so you have the option to change English to Spanish in client and lots of more. See you ingame :o
[Mall] Item Mall Problem
02/01/2013 - SRO Private Server - 0 Replies
when buying items in ITEM MALL = dc but have item in inv after log in again we want fix it
[REQUEST] Item mall item for 0 silk
12/02/2011 - SRO Private Server - 11 Replies
Hello , I am trying to make some item mall items to 0 silk but there is a problem when i put the cost to 0 silk the users can not purchase the items. Only cost to 1 or more is working ... Any idea where is the restriction about this ( maybe a stored procedure ? ) Cordialy,
How do I add item item Mall
10/06/2011 - SRO Private Server - 3 Replies
Vsro How do I add the Item mall new item?



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


Powered by vBulletin®
Copyright ©2000 - 2022, 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 ©2021 elitepvpers All Rights Reserved.