Register for your free account! | Forgot your password?

You last visited: Today at 03:57

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

Advertisement



vSRO Old MainPop

Discussion on vSRO Old MainPop within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 146
Received Thanks: 86
vSRO Old MainPop


Quest UI part of the current question. @florian0
paradise1992 is offline  
Old 08/21/2019, 09:18   #2
 
elite*gold: 0
Join Date: Apr 2019
Posts: 276
Received Thanks: 77
Am I missing something, I haven't seen anything related to magic pop in this video.
_SGA_ is offline  
Old 08/21/2019, 11:22   #3
 
JellyBitz's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 374
Received Thanks: 834
Am I missing something, I haven't seen anything related to coding in this video.
JellyBitz is offline  
Old 08/21/2019, 15:14   #4
 
elite*gold: 0
Join Date: Jan 2011
Posts: 146
Received Thanks: 86
Quote:
Originally Posted by JellyBitz View Post
Am I missing something, I haven't seen anything related to coding in this video.
My point is to restore the Quest window or design the button according to the new interface
paradise1992 is offline  
Old 08/21/2019, 19:15   #5
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,473
The quest window got replaced with a new-style window, thats why it's shown empty.

Code:
CIFMainPopUp__GetInventoryAddress  006A1D20
CIFMainPopup__GetEquipmentAddress  006A1D50
CIFMainPopup__GetSkillAddress      006A1D80
CIFMainPopup__GetActionAddress     006A1DB0
CIFMainPopup__GetPartyAddress      006A1DE0
CIFMainPopUp__GetPlayerInfoAddress 006A1E10
CIFMainPopUp__GetQuestAddress      006A1E40
References to GetQuestAddress reveal that there is no more active usage for the old Quest Window. The only usage is in the old map (CIFWorldMap), which got replaced, too. Reenabling might result in a lot of work.

By the looks of it, the window is working just fine. Just the items of the quest list are not rendered. Lists in Silkroad are usually made of "CIF*WhateverTheItemNameIs*Slot"-instances. For quest there are 3 classes with a relevant name:

* CIFQuestSlot
* CIFQuestSlotMain
* CIFQuestSlotSub

My best guess is to check the resinfo/thing.txt if there are any items hidden.

Another idea I have in mind is just inject the body of the new Quest Window into the old one. I'm really unsure if you can mix old and new UI components. I think I have seen that related to the Item Slot stuff. Would still require a lot of code.
florian0 is offline  
Thanks
3 Users
Old 08/23/2019, 18:24   #6
 
elite*gold: 135
Join Date: May 2015
Posts: 629
Received Thanks: 747
Quote:
Originally Posted by _SGA_ View Post
Am I missing something, I haven't seen anything related to magic pop in this video.
MainPop != magic pop
$WeGs is offline  
Old 09/14/2019, 22:56   #7
 
elite*gold: 0
Join Date: Jan 2011
Posts: 146
Received Thanks: 86
Fixed.

paradise1992 is offline  
Thanks
1 User
Old 09/15/2019, 09:38   #8
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,473
Quote:
Originally Posted by paradise1992 View Post
Fixed.
NICE! Was the original implementation also jumping around like this? Or did it have one position?
florian0 is offline  
Old 09/15/2019, 11:03   #9
 
b0ykoe's Avatar
 
elite*gold: 1046
Join Date: Sep 2011
Posts: 788
Received Thanks: 249
Quote:
Originally Posted by florian0 View Post
NICE! Was the original implementation also jumping around like this? Or did it have one position?
I guess what he did was just not using the old quest window. For me it looks like the new one (also since it opens a new window instead of jumping around like the other ones)

But yes, back in the old clients the windows jumped around like a little kid
b0ykoe is offline  
Old 09/15/2019, 17:40   #10
 
sirout1's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 302
Received Thanks: 33
Quote:
Originally Posted by paradise1992 View Post
Fixed.


and does not intend to share it
sirout1 is offline  
Old 09/15/2019, 22:47   #11
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,473
Quote:
Originally Posted by sirout1 View Post
and does not intend to share it
No worries. We can recreate that. The handler function for the quest button is "fairly easy" to find. If you're interested in the details, feel free to look at the spoiler. If not, just take the addresses ;D.

There it is: The handler!



Now we can patch that to anything we want. For example opening the quest window. Sadly I don't have a runnable client right now, so I can't test any further. There should be a function that shows or hides the quest window that you can easily paste in here ...

PS: Use Ghidra. It's insanely powerful.
florian0 is offline  
Thanks
10 Users
Old 09/16/2019, 03:50   #12

 
ZαKuRα's Avatar
 
elite*gold: 22
Join Date: Feb 2011
Posts: 619
Received Thanks: 449
Quote:
Originally Posted by florian0 View Post
No worries. We can recreate that. The handler for the quest button is "fairly easy" to find. If you're interested in the details, feel free to look at the spoiler. If not, just take the addresses ;D.

There it is: The handler!



Now we can patch that to anything we want. For example opening the quest window. Sadly I don't have a runnable client right now, so I can't test any further. There should be a function that shows or hides the quest window that you can easily paste in here ...

PS: Use Ghidra. It's insanely powerful.

Thank you for sharing your knowledge and input a little, I just wonder this is just for the sale of quest? or for all
ZαKuRα is offline  
Old 09/16/2019, 06:08   #13
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,102
Received Thanks: 891
Quote:
Originally Posted by florian0 View Post
PS: Use Ghidra. It's insanely powerful.
And sexy looking too ;D

Quote:
Originally Posted by ZαKuRα View Post
I just wonder this is just for the sale of quest? or for all
Oh my ***...
#HB is offline  
Old 09/16/2019, 07:51   #14
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,473
Quote:
Originally Posted by ZαKuRα View Post
Thank you for sharing your knowledge and input a little, I just wonder this is just for the sale of quest? or for all
Not sure if I understood correctly. The handler is only for the click event on the quest button in the CIFMainPopup window. You can find any other handler using the technique I showed.
florian0 is offline  
Thanks
1 User
Old 09/16/2019, 15:07   #15

 
ZαKuRα's Avatar
 
elite*gold: 22
Join Date: Feb 2011
Posts: 619
Received Thanks: 449
Quote:
Originally Posted by #HB View Post
Oh my ***...
Has anyone mentioned you here?

Quote:
Originally Posted by florian0 View Post
Not sure if I understood correctly. The handler is only for the click event on the quest button in the CIFMainPopup window. You can find any other handler using the technique I showed.
no, I didn't know how to explain if this quest process works for the rest of the windows too what have you explained
ZαKuRα is offline  
Reply


Similar Threads Similar Threads
[Question]Old vsro files - Old Interface
07/26/2012 - SRO Private Server - 13 Replies
So , the question is kinda simple ,i was just wondering how hard or impossible is it to add old and amazing silkroad interface to vsro 188 files. If you dont really know or remmember the interface itself , it contains another alchemy window , totally different exp / sp , guild and option ( settings ) bar.
(VSRO)Only Vsro players
05/28/2009 - Silkroad Online - 20 Replies
i know i saw 2 sites Vsro and gamevnz.tk there are bots and tuts for vsro agbot or phpbot or revbot. but mz problem is i cant patch there ip i dont know why,if anyone playing on vsro with bot please upload me or if anyone know how i make that bot compatability for vsro tell me here. thx
New Vsro Thread!!!Only Vsro players!!
04/21/2009 - Silkroad Online - 19 Replies
Post ur name and server here from Vsro.....



All times are GMT +1. The time now is 03:57.


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