[v7.3] [INTERNATIONAL] [Resu] UrshisGiftPlugin menu

User Tag List

Page 1 of 4 1234 LastLast
Results 1 to 15 of 56
  1. #1
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [v7.3] [INTERNATIONAL] [Resu] UrshisGiftPlugin


    Urshi's gift plugin adds GR level for n% chance of upgrade on the bottom-right of your legendary gems in your stash and your inventory, maxed Gems are labelled "max", hint in itemhovered menu.

    [v7.3] [INTERNATIONAL] [Resu] UrshisGiftPlugin-urshi-png [v7.3] [INTERNATIONAL] [Resu] UrshisGiftPlugin-min-png

    The default setting is 100% chance for all 3 consecutive attempts.

    Download:
    >>>>> UrshisGiftPlugin.cs <<<<<

    Install:
    save as plugins/Resu/UrshisGiftPlugin.cs

    customization : - -> Default theme customization 101 <--
    See GitHub

    Enjoy!
    Attached Thumbnails Attached Thumbnails [v7.3] [INTERNATIONAL] [Resu] UrshisGiftPlugin-enf-png  
    Last edited by User5981; 02-15-2019 at 04:23 AM.

    [v7.3] [INTERNATIONAL] [Resu] UrshisGiftPlugin
  2. Thanks cherouvim13, TobiaSBooN, johnbl, armorvil, aaa111952, BeeAntOS, DoctoreGDL (7 members gave Thanks to User5981 for this useful post)
  3. #2
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    On new versions of TurboHUD : No need to press F3 anymore after Grift. :-)
    Last edited by User5981; 09-23-2019 at 03:04 AM.

  4. #3
    Litespeed0's Avatar Member
    Reputation
    30
    Join Date
    Mar 2017
    Posts
    62
    Thanks G/R
    47/26
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you can press "F2" and it will refresh the value(s).

  5. #4
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Litespeed0 View Post
    I think you can press "F2" and it will refresh the value(s).
    yes F2 works, thank you.

  6. #5
    Stormreaver's Avatar Contributor
    Reputation
    152
    Join Date
    Jul 2012
    Posts
    290
    Thanks G/R
    40/136
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Might actually use this. Thanks

    Waiting for Jack's usual optimizations first! :P

  7. #6
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    1% chance is up to 15!! levels difference from Gem to GR

    for example:
    if your gem is lvl 120 u can 1% this gem with 105 GR the last time.

    so you should alter you line 114 like this
    PHP Code:
    if (ChanceWantedPercentage == 1) {AddPerc = -15;} 

    why??
    PHP Code:
    if (NumberOfAttempts == 1) {AddNum 0;}
    if (
    NumberOfAttempts == 2) {AddNum 1;}
    if (
    NumberOfAttempts == 3) {AddNum 2;}
    if (
    NumberOfAttempts == 4) {AddNum 3;}
    if (
    NumberOfAttempts == 5) {AddNum 4;} 
    since
    PHP Code:
    AddNum NumberOfAttempts -1
    if you want a safe user usage of "NumberOfAttempts"
    PHP Code:
    if (<= NumberOfAttempts && NumberOfAttempts <= 5AddNum NumberOfAttempts 1

    ------------------

    line 61:
    PHP Code:
    var items Hud.Inventory.ItemsInStash.Where(=> x.Location != ItemLocation.Merchant && x.Quality == ItemQuality.Legendary && x.JewelRank > -&& x.SnoItem.MainGroupCode == "gems_unique"); 
    is never used.

    line 43/53
    PHP Code:
    private float rv;
    rv 32.0f 600.0f Hud.Window.Size.Height
    is never used.

    line 15
    PHP Code:
    public bool GRupgradeChanceEnabled getset; } 
    is never used.


    --------------

    and a question:
    PHP Code:
    if ((Hud.Inventory.InventoryLockArea.Width 0) && (Hud.Inventory.InventoryLockArea.Height 0))
    {
        var 
    rect Hud.Inventory.GetRectInInventory(Hud.Inventory.InventoryLockArea.XHud.Inventory.InventoryLockArea.YHud.Inventory.InventoryLockArea.WidthHud.Inventory.InventoryLockArea.Height);
        
    InventoryLockBorderBrush.DrawRectangle(rect.Xrect.Yrect.Widthrect.Height);

    what is this supposed to do? it make no difference for me, to remove it.


    -------------
    can look like this:
    [C#] UrshisGiftPlugin.cs - Pastebin.com

    greetz gjuz

  8. Thanks User5981 (1 members gave Thanks to gjuz for this useful post)
  9. #7
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by gjuz View Post
    Hi,
    1% chance is up to 15!! levels difference from Gem to GR

    for example:
    if your gem is lvl 120 u can 1% this gem with 105 GR the last time.

    so you should alter you line 114 like this
    PHP Code:
    if (ChanceWantedPercentage == 1) {AddPerc = -15;} 

    greetz gjuz
    Thanks, it looks like I read wrong data, every other gem upgrade math is ok ?

    Originally Posted by gjuz View Post
    what is this supposed to do? it make no difference for me, to remove it.
    I think it is the exclusion zone for NotGoodDisplayEnabled, I started this plugin by a copy paste of InventoryAndStashPlugin so...

    Thanks a lot, I will look at your code and update the 1st post

  10. #8
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code updated !

  11. #9
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    i refactored a little bit more, and added a hint in itemhovered menu - like in weapondamagererollcalculatorplugin

    [C#] UrshisGiftPlugin.cs - Pastebin.com


    greetz gjuz

  12. #10
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by User5981 View Post
    Thanks, it looks like I read wrong data, every other gem upgrade math is ok ?



    I think it is the exclusion zone for NotGoodDisplayEnabled, I started this plugin by a copy paste of InventoryAndStashPlugin so...

    Thanks a lot, I will look at your code and update the 1st post
    yes
    100% = +10
    90% = +9
    80% = +8
    70% = +7
    60% = +6 to +0
    30% = -1
    15% = -2
    8% = -3
    4% = -4
    2% = -5
    1% = -6 to -15

    greetz gjuz

  13. Thanks User5981 (1 members gave Thanks to gjuz for this useful post)
  14. #11
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code & customization updated !

  15. #12
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Add
    PHP Code:
    if (item.SnoItem.Sno == 3249876973 && jewelRank == 100 ||    // 3249876973 - Esoteric Alteration
        
    item.SnoItem.Sno == 3249984784 && jewelRank == 100 ||    // 3249984784 - Mutilation Guard
        
    item.SnoItem.Sno == 3248762926 && jewelRank == 150 ||    // 3248762926 - Gogok of Swiftness
        
    item.SnoItem.Sno == 3250883209 && jewelRank == 50 ||    // 3250883209 - Iceblink
        
    item.SnoItem.Sno == 3249805099 && jewelRank == 50)        // 3249805099 - Boon of the Hoarder
        
    return; 
    in DrawTextLine() method, since upgrading is impossible.


    i prefere,
    PHP Code:
    if (GRlevel 1) return; 

    greetz gjuz

  16. #13
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by gjuz View Post
    Add
    PHP Code:
    if (item.SnoItem.Sno == 3249876973 && jewelRank == 100 ||    // 3249876973 - Esoteric Alteration
        
    item.SnoItem.Sno == 3249984784 && jewelRank == 100 ||    // 3249984784 - Mutilation Guard
        
    item.SnoItem.Sno == 3248762926 && jewelRank == 150 ||    // 3248762926 - Gogok of Swiftness
        
    item.SnoItem.Sno == 3250883209 && jewelRank == 50 ||    // 3250883209 - Iceblink
        
    item.SnoItem.Sno == 3249805099 && jewelRank == 50)        // 3249805099 - Boon of the Hoarder
        
    return; 
    in DrawTextLine() method, since upgrading is impossible.
    I added a text for maxed legendary gems and number of attempts. Code updated.

    Originally Posted by gjuz View Post
    i prefere,
    PHP Code:
    if (GRlevel 1) return; 
    I chose to set it to 1 in the case someone has set a 1% chance and has a legendary gem < 16, you prefer not displaying the GR level in that case ?
    Last edited by User5981; 09-11-2017 at 01:08 AM.

  17. #14
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Stormreaver View Post
    Waiting for Jack's usual optimizations first! :P
    Well, there is some twisted logic, but it's pretty good overall.
    Hide the Rum! --> Default theme customization 101 <--

  18. #15
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by User5981 View Post
    I chose to set it to 1 in the case someone has set a 1% chance and has a legendary gem < 16, you prefer not displaying the GR level in that case ?
    yes since this hint might be missleading -> 1% chance for lvl 0 gem at GR 1....


    Originally Posted by JackCeparou View Post
    Well, there is some twisted logic, but it's pretty good overall.
    What's so twisted?


    greetz gjuz

Page 1 of 4 1234 LastLast

Similar Threads

  1. [v7.2] [INTERNATIONAL] [glq] MonsterRiftProgressionPlugin
    By SeaDragon in forum TurboHUD Community Plugins
    Replies: 23
    Last Post: 09-07-2021, 04:46 AM
  2. [v7.3] [INTERNATIONAL] [Resu] ParagonPercentagePlugin
    By User5981 in forum TurboHUD Community Plugins
    Replies: 89
    Last Post: 03-29-2021, 10:18 PM
  3. [v7.3] [INTERNATIONAL] [Resu] CraftersDelightPlugin
    By User5981 in forum TurboHUD Community Plugins
    Replies: 194
    Last Post: 03-07-2021, 05:56 AM
  4. [v7.3] [INTERNATIONAL] [Resu] TimeEverywherePlugin
    By User5981 in forum TurboHUD Community Plugins
    Replies: 4
    Last Post: 08-30-2017, 05:20 PM
All times are GMT -5. The time now is 11:02 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search