|
You last visited: Today at 00:18
Advertisement
item mall buy problem !
Discussion on item mall buy problem ! within the SRO Coding Corner forum part of the Silkroad Online category.
09/10/2020, 21:01
|
#1
|
elite*gold: 29
Join Date: Apr 2011
Posts: 87
Received Thanks: 22
|
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.
|
|
|
09/12/2020, 02:56
|
#2
|
elite*gold: 150
Join Date: Jan 2020
Posts: 268
Received Thanks: 283
|
how you maked the old itemmall ?
|
|
|
09/12/2020, 04:37
|
#3
|
elite*gold: 29
Join Date: Apr 2011
Posts: 87
Received Thanks: 22
|
just hang the buy window asm dude
|
|
|
09/12/2020, 09:40
|
#4
|
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,481
|
Quote:
Originally Posted by Goosxc
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"
}
}
|
|
|
|
09/12/2020, 15:30
|
#5
|
elite*gold: 150
Join Date: Jan 2020
Posts: 268
Received Thanks: 283
|
Quote:
Originally Posted by NorseGodTyr
change in Media/resinfo/ginterface.txt
to
|
crash after i buying ?
|
|
|
09/12/2020, 19:37
|
#6
|
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,481
|
Quote:
Originally Posted by Goosxc
crash after i buying ?
|
its normal you have to edit your sro_client.exe
|
|
|
09/12/2020, 20:29
|
#7
|
elite*gold: 150
Join Date: Jan 2020
Posts: 268
Received Thanks: 283
|
Quote:
Originally Posted by NorseGodTyr
its normal you have to edit your sro_client.exe
|
no more crash but what about i can't buy anything ?
|
|
|
09/12/2020, 20:48
|
#8
|
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,481
|
Quote:
Originally Posted by Goosxc
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^^
|
|
|
09/12/2020, 21:42
|
#9
|
elite*gold: 150
Join Date: Jan 2020
Posts: 268
Received Thanks: 283
|
Quote:
Originally Posted by NorseGodTyr
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
|
|
|
10/07/2020, 15:48
|
#10
|
elite*gold: 0
Join Date: Apr 2019
Posts: 87
Received Thanks: 76
|
Quote:
Originally Posted by Goosxc
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
|
|
|
10/08/2020, 07:26
|
#11
|
elite*gold: 150
Join Date: Jan 2020
Posts: 268
Received Thanks: 283
|
Quote:
Originally Posted by qq909047432
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 ?
|
|
|
01/13/2022, 22:57
|
#12
|
elite*gold: 0
Join Date: Aug 2013
Posts: 1,532
Received Thanks: 835
|
Any updates?
|
|
|
01/14/2022, 22:32
|
#13
|
elite*gold: 29
Join Date: Apr 2011
Posts: 87
Received Thanks: 22
|
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);
|
|
|
01/27/2022, 02:04
|
#14
|
elite*gold: 393
Join Date: Feb 2009
Posts: 694
Received Thanks: 414
|
It stuck after buying , any clue ?
|
|
|
02/01/2022, 00:27
|
#15
|
elite*gold: 0
Join Date: Jul 2015
Posts: 32
Received Thanks: 18
|
@ norse, does it work to exclude new itemmall from define too?
|
|
|
 |
|
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 00:23.
|
|