vSRO Old MainPop

08/21/2019 09:00 paradise1992#1

Quest UI part of the current question. @florian0
08/21/2019 09:18 _SGA_#2
Am I missing something, I haven't seen anything related to magic pop in this video.
08/21/2019 11:22 JellyBitz#3
Am I missing something, I haven't seen anything related to coding in this video.
08/21/2019 15:14 paradise1992#4
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
08/21/2019 19:15 florian0#5
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.
08/23/2019 18:24 $WeGs#6
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
09/14/2019 22:56 paradise1992#7
Fixed.

[Only registered and activated users can see links. Click Here To Register...]
09/15/2019 09:38 florian0#8
Quote:
Originally Posted by paradise1992 View Post
Fixed.
NICE! Was the original implementation also jumping around like this? Or did it have one position?
09/15/2019 11:03 b0ykoe#9
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 :D
09/15/2019 17:40 sirout1#10
Quote:
Originally Posted by paradise1992 View Post
Fixed.

[Only registered and activated users can see links. Click Here To Register...]

and does not intend to share it :rolleyes:
09/15/2019 22:47 florian0#11
Quote:
Originally Posted by sirout1 View Post
and does not intend to share it :rolleyes:
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!

[Only registered and activated users can see links. Click Here To Register...]

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.
09/16/2019 03:50 ZαKuRα#12
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!

[Only registered and activated users can see links. Click Here To Register...]

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
09/16/2019 06:08 #HB#13
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 god...
09/16/2019 07:51 florian0#14
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.
09/16/2019 15:07 ZαKuRα#15
Quote:
Originally Posted by #HB View Post
Oh my god...
Has anyone mentioned you here?:confused:

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