Register for your free account! | Forgot your password?

You last visited: Today at 05:15

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

Advertisement



[Tiny Release] Keep Unique Selected.

Discussion on [Tiny Release] Keep Unique Selected. within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
painmaker_'s Avatar
 
elite*gold: 0
Join Date: Dec 2021
Posts: 85
Received Thanks: 74
[Tiny Release] Keep Unique Selected.

Hello Dead community, this option just took me about 15 seconds to fully implement it. use any form OnUpdate Function.

Code:

Code:
    if (CIFMainMenu::UFOptions->m_keepunqSelect->GetCheckedState_MAYBE())
    {
        std::map<int, CIObject*> entities = g_pGfxEttManager->entities;
        for (std::map<int, CIObject*>::iterator it = entities.begin();
            it != entities.end(); ++it) {
            if (!strcmp(it->second->GetRuntimeClass()->m_lpszClassName, "CICMonster")) {
                int mobID = *(int*)((int)(it->second) + 0x21C);
                if (CGlobalDataManager* g_datamanager = CGlobalDataManager::Get())
                {
                    if (CharData* uqdata = g_datamanager->GetCharData(mobID))
                    {
                        if (uqdata->Rarity == 3 || uqdata->Rarity == 8)
                        {
                            if (g_pCGInterface->Get_SelectedObjectId() != 0)
                            {
                                CICharactor* SelectdObject = GetCharacterObjectByID_MAYBE(g_pCGInterface->Get_SelectedObjectId());
                                ObjectData* data = g_CGlobalDataManager->GetObjectData(SelectdObject->m_refObjID);
                                if (data != NULL && data->Rarity == 8 || data->Rarity == 3)//Yea if you have already selected a unique
                                {
                                    return;//Then nothing to do, preventing from packet spamming.
                                }
                            }
                            NEWMSG(0x7045)
                                pReq << (UINT)((CICharactor*)it->second)->GetUniqueID();
                            SENDMSG()
                        }
                    }
                }
            }
        }
    }
painmaker_ is offline  
Thanks
9 Users
Old 01/25/2023, 14:43   #2
 
elite*gold: 0
Join Date: Dec 2012
Posts: 72
Received Thanks: 7
nice work
790312795 is offline  
Old 01/25/2023, 16:07   #3
 
Mc-Diesel's Avatar
 
elite*gold: 80
Join Date: May 2015
Posts: 374
Received Thanks: 118
useful if u use it in marco Smth like bots
Mc-Diesel is offline  
Old 01/25/2023, 16:52   #4
 
painmaker_'s Avatar
 
elite*gold: 0
Join Date: Dec 2021
Posts: 85
Received Thanks: 74
Quote:
Originally Posted by Mc-Diesel View Post
useful if u use it in marco Smth like bots
my pleasure ya3m el dezel

Quote:
Originally Posted by 790312795 View Post
nice work
theres a button for it
painmaker_ is offline  
Old 01/25/2023, 21:15   #5
 
elite*gold: 0
Join Date: Oct 2011
Posts: 163
Received Thanks: 28
this "this option just took me about 15 seconds" overshadows your performance so badly. dont need to say that bro, even if its true. gj
NagySandor96 is offline  
Thanks
1 User
Old 01/25/2023, 21:48   #6
 
painmaker_'s Avatar
 
elite*gold: 0
Join Date: Dec 2021
Posts: 85
Received Thanks: 74
Quote:
Originally Posted by NagySandor96 View Post
this "this option just took me about 15 seconds" overshadows your performance so badly. dont need to say that bro, even if its true. gj
i Understand, but in the end. who cares? 15 seconds or 15 days. Nobody.
painmaker_ is offline  
Old 10/03/2024, 01:07   #7
 
elite*gold: 0
Join Date: Jan 2023
Posts: 3
Received Thanks: 1
ty ya bro 3la el 4o8l el 3aly da bs dy 3mlha add fen momkn t3rfny
abomalek2612 is offline  
Reply


Similar Threads Similar Threads
Borderlands 2 Tiny Tinas Assault on Dragon Keep Schatzkammer???
08/03/2013 - General Gaming Discussion - 4 Replies
Ich weiß zwar nicht, ob das hier die richtige Abteilung ist aber nuja.. :D (Falls es doch falsch sein soll wäre es nett wenn jemand es verschieben könnte) Hey ho! Ich hab nun die Tage mal BL2 gesuchtet hehe und hab eben Tiny Tinas Dlc durchgespielt, sprich den Endboss besiegt. Nun zur meiner Frage: Wo ist die Schatzkammer, wie in den anderen Dlcs?? -.- Ich weiß das es eine beim Raid-Boss gibt aber diese Waffenkisten sind die mit den Würfeln drauf dort soll man angeblich die besonderen...
*FREE* [ios] Tiny Wings und Tiny Wings HD kostenlos
07/08/2013 - Off Topic - 0 Replies
gibt es jetzt kostenlos. wie lange es kostenlos ist bleibt ungewiss. have fun Tiny wings: https://itunes.apple.com/de/app/tiny-wings/id4178 17520?mt=8 Tiny Wings HD: https://itunes.apple.com/de/app/tiny-wings-hd/id5 41517597?mt=8
[HTML/CSS] Frage: Navigation Hover/Selected/Selected Hover
08/28/2010 - Web Development - 1 Replies
Hallo zusammen. Ich bin gerade dabei ein Wordpress Layout umzusetzen und habe in Photoshop eine schicke Navigation gebastelt. Ich habe 5 Navipunkte, jedoch soll später im design unterschieden werden zwischen: Normal, Hover, Selected und Selected Hover. Einen einfachen Hovereffekt konnte ich ganz einfach erzeugen mit: <a href="http://lalala.lala/"><img src="http://localhost/wordpress/wp-content/th emes/eskapism/images/home.png"></a> <img...



All times are GMT +1. The time now is 05:15.


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.