Register for your free account! | Forgot your password?

You last visited: Today at 11:23

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

Advertisement



[RELEASE] Radial Menu using DevKit

Discussion on [RELEASE] Radial Menu using DevKit within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
Exoria's Avatar
 
elite*gold: 0
Join Date: Jul 2016
Posts: 22
Received Thanks: 87
Cool [RELEASE] Radial Menu using DevKit

❒ HI EVERYONE,





I saw a very cool feature on Electus Online called Orbit menu which has a range of commands around a circle. These commands make accessing game features easily. So, I managed to implement that feature using DevKit and Electus assets.



Registering a new slot to the menu:
Call the RegisterMenuSlot method in the CIFCircularMenu::OnCreate() method.
* The max slot number you can have is 20.

Code:
RegisterMenuSlot("icon_path", L"Title", L"Description");

Callback method for every slot:
In the SlotCallbackMethod you can define a callback function for each slot in the menu.
Code:
void CIFCircularMenu::SlotCallbackMethod(int slotId)
{
	// register a callback method for each slot here..
    switch (slotId) {
        case 0:
            g_pCGInterface->ShowMessage_Warning(L"SlotCallbackMethod is called 1");
            break;
        case 1:
            g_pCGInterface->ShowMessage_Notice(L"SlotCallbackMethod is called 2");
            break;
	    // ... Up to 19
    }
}

Menu usage:
- Hold the tab button while keeping the mouse arrow on a direction to any slot.
- When the tab button is pressed the selected slot will execute its command.


Note:
This is not the best version of the feature and the code might have some problems, but at least it gives you an idea of how such a feature can be implemented.



❒ DOWNLOAD LINK

● Media:
● Source files are attached to the topic files.


❒ CREDITS


* The idea and the media assets belongs to ELECTUS ONLINE.
Attached Files
File Type: rar Source.rar (5.8 KB, 249 views)
Exoria is offline  
Thanks
27 Users
Old 03/02/2022, 22:50   #2
 
elite*gold: 0
Join Date: Mar 2010
Posts: 568
Received Thanks: 228
Nice work bro
Laag#82 is offline  
Old 03/03/2022, 02:02   #3
 
painmaker_'s Avatar
 
elite*gold: 0
Join Date: Dec 2021
Posts: 85
Received Thanks: 74
awesome!
painmaker_ is offline  
Old 03/03/2022, 03:15   #4
 
HypnosĄ's Avatar
 
elite*gold: 1
Join Date: Mar 2016
Posts: 1,204
Received Thanks: 964
That's pretty cool, thank you!
HypnosĄ is offline  
Old 03/03/2022, 08:37   #5
 
elite*gold: 0
Join Date: Jan 2022
Posts: 93
Received Thanks: 87
im glad bcs exoria still here after all this years
THANK YOU Bro
can u upload pic ?
Sk4Dius is offline  
Old 03/04/2022, 17:19   #6
 
elite*gold: 0
Join Date: Mar 2020
Posts: 303
Received Thanks: 20
Someone can fix this?
Beba Army is offline  
Old 03/04/2022, 18:11   #7
 
elite*gold: 0
Join Date: Apr 2015
Posts: 53
Received Thanks: 16
nice work
machine019 is offline  
Old 07/05/2025, 04:39   #8
 
elite*gold: 0
Join Date: Oct 2024
Posts: 38
Received Thanks: 0
That's awesome, man. I'm just getting started with the dev kit. I solved the errors and got it working it looks great Thank you I can use it right as a base for the things I wanna build side to side with the side menu?
hneko is offline  
Old 07/05/2025, 21:45   #9
 
mtm567's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 57
Received Thanks: 5
nice work
mtm567 is offline  
Reply

Tags
exoria, psro, radial menu, silkroad, sro


Similar Threads Similar Threads
[Release] fortresswar kill counter ,#DEVKIT
05/15/2021 - SRO PServer Guides & Releases - 8 Replies
Heyo everyone, same as previous release it toke me just 2 hours to implement this idea for those who aren't building their own filters. Code snippets else if (strMessageCopy == '1' && strMessageCopy == 'N') { //remove the first&second chars strMessageCopy.erase(0, 2); // Get the position of the space separating the name and the message int pos = strMessageCopy.find_first_of('#');
[Release] Colored global,notices source code via DevKit
04/06/2021 - SRO PServer Guides & Releases - 11 Replies
Heyo everyone, its a very very simple release and i am sure it'll going to help too much people who is coding in the DevKit Project, ClientLib->SourceFiles->unsorted.cpp Under ( case CHAT_Notice: { ) put the following code if (strMessageCopy == '~') { strMessageCopy.erase(0, 1); g_pCGInterface->ShowMessage_Notice(strMessageCo py); local_64 = L"("; local_64 += TSM_GETTEXTPTR("UIIT_MSG_NOTIFY"); local_64 += L"):";
[Release] Merging HB's Code into the devkit
11/20/2020 - SRO PServer Guides & Releases - 7 Replies
Whatsup everyone around here? this is my first release, i am merging @HB's client notification handler into the devkit , so you should be able to create new types of server notification aka 0x300C as HB mentioned. You can find CPSMisson.cpp, .h Here Code in .cpp #define UNIQUE_SPAWN 0x0C05 #define UNIQUE_DIE 0x0C06 #define MOB_CH_TIGERWOMAN 1954
After Effects Radial Array
10/06/2017 - Video Art - 0 Replies
Hello, is it possible to array multiple lights in a circle and rotate them around the center?
Radial Blur/Smudge Tutorial
05/06/2006 - Artist Tutorials - 3 Replies
http://img148.imageshack.us/img148/1078/radialsmud gebyturtle1copy1tn.jpg



All times are GMT +1. The time now is 11:23.


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.