Custom Item SpellBar - now with XML, auto open, and gump positioner Ver 2.1 [ Final ]

SpellBar - a hot bar for spells

  1. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    zerodowned submitted a new resource:

    SpellBar - SpellBar - a hot bar for spells

    Read more about this resource...
     
    • Like Like x 1
  2. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    If you want it to update on execution/change of Ninjitsu and Bushido spells, download the files below.
    Backup your Bushido and Ninjitsu files and replace with these.

    I'm looking into possibly using EventSink to make these change unnecessary in the future.
     

    Attached Files:

  3. Tasanar

    Tasanar Super Contributor

    Looks awesome, I added it but when I click the option on the spellbar to re-open the book or sometimes on changing it from vertical to horizontal my client freezes up then crashes. I am using latest UOSteam client and the latest EA UO client. Any ideas?
     
  4. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    what expansion are you using?
     
  5. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    and what emulator?
     
  6. Tasanar

    Tasanar Super Contributor

    RunUO latest and ML. I removed the Mystic stuff no problem and it does work. It just freezes up the client a lot.
     
  7. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    can you post your edited script and what version of runuo? i think there's a newer ver that's on github but not the runuo site
     
  8. Tasanar

    Tasanar Super Contributor

    I use the latest SVN one. Could I get the github address? I think I have the googlecodes address want to compare them.
     
  9. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

  10. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    editing to work with runuo the only button i can find that crashes everything is the minimize button. not sure why it does yet
     
  11. Tasanar

    Tasanar Super Contributor

    Ive sent you a PM to remove this conversation from here.
     
    • Like Like x 1
  12. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    Figured it out, the background should be imagetiled. It's the black area you put behind an alpharegion. *facepalm*

    if you've already edited it and don't want to redownload, go to line 3458 in SpellBarGump and change like shown below

    Code:
           AddPage(2); // minimize _ horizontal
         
           this.AddImage( 24, 0, 2234, 0);
           AddImageTiled( 0,0, 25,80, 2624 ); //options background
           //this.AddBackground( 0,0, 25,80, 9270 ); //options background
           AddAlphaRegion( 0,0, 25,80 ); //options background
           this.AddButton( 2, 5,  5601, 5601, 0, GumpButtonType.Page, 1); // minimize
         
           AddPage(3); // minimize _ vertical
         
           this.AddImage( 0, 0, 2234, 0);
           AddImageTiled( 42,0, 47,51, 2624 ); //options background
           //this.AddBackground( 42,0, 47,51, 9270 );
           AddAlphaRegion( 42,0, 47,51 );
           this.AddButton( 48, 7,  5602, 5602, 0, GumpButtonType.Page, 1); // minimize
    
     
    • Like Like x 1
  13. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

  14. Tasanar

    Tasanar Super Contributor

    It works great now on latest RunUO svn. I gave it to 15 of my most active players to test it for now using the deed form method. Thanks a lot sir!
     
  15. Tasanar

    Tasanar Super Contributor

    Players so far reported a grammar mistake found if you click on Help in the spellbar menu

    Your selection is limited based on how many Columns and are Rows are selected in the Options Menu

    I fixed mine just pointing out for others!
     
  16. Tasanar

    Tasanar Super Contributor

    Ok so I also found a bug and a few players also reported it. I do not know why and I will try to replicate it - Sometimes on a restart the spell bar does not remain. It "locks up" when I double click the deed to re-open it it deletes itself. When I spawn a new one my changes are not saved. It says I have selected 0 out of XX spells but before I had spells selected.
     
  17. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    ty, i'll fix that

    i can't think of any reason why it would delete itself, unless you're changing the ser/deser of the scroll ( but that would prompt to delete in the console)

    the scroll stores all the settings so if it's deleted, you'll have to redo the settings
     
  18. Tasanar

    Tasanar Super Contributor

    Yeah it was weird it happened to myself any one other. I did not change anything there. I will try to replicate it again today.
     
  19. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    okay, let me know. i've restarted the shard a lot with that script running and never had any problems with it.
     
  20. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    Has this problem happened again?
    After reading/learning more about C# I realized that the int in the spellscroll being set to public instead of private can randomly cause weird errors. This may have been part of the problem. Working on fixing that now but it requires several edits in the gump as well.
     
  21. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

  22. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    Last edited: Dec 26, 2014
  23. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    Last edited: Dec 26, 2014
  24. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    Last edited: Dec 26, 2014
  25. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    the file isn't updating to the new version

    fixed, had to delete an older version of the file in order for it to upload the new one
     

Share This Page