Resource icon

Spellbar Ver 2.1 [ Final ]

No permission to download

zerodowned

Moderator
ServUO Developer
zerodowned submitted a new resource:

Spell Bar - All-In-One Magic Hotbar

Why BETA?
This is stable and functional, but missing a lot of planned improvements. I'm submitting for people to try out and report any problems or make suggestions for improvements

What is it

A spell hot bar system similar to Djeryv: Spell toolbars. [ Link: http://www.runuo.com/community/threads/spell-toolbars.522805/ ]
I used his script as a base but expanded it to include all 7 types of magic: magery, necro, chiv, bushido, ninjitsu, spellweaving, and...

Read more about this resource...
 

Milva

Administrator
Moderator
Finally some one released a spell toolbar :) This really works great! Thanks for sharing!
 

Nytewyrm

Citizen
This is a great tool however nothing opens up except for the Magery spells show in the spellbar, none of the other ones work maybe its just me.
 

zerodowned

Moderator
ServUO Developer
This is a great tool however nothing opens up except for the Magery spells show in the spellbar, none of the other ones work maybe its just me.

Interesting, what Expansion are you using?
If you're not sure where to find it, Scripts > Misc > CurrentExpansion.CS
Should be on Line 15

Code:
#region Header
// **********
// ServUO - CurrentExpansion.cs
// **********
#endregion

#region References
using Server.Network;
#endregion

namespace Server
{
	public class CurrentExpansion
	{
		private static readonly Expansion Expansion = Expansion.HS;

Check that and let me know what it says
 

zerodowned

Moderator
ServUO Developer
I should also mention that it will allow you to add any spell to the hotbar, but you won't be able to cast the spell unless you have the correct book with the correct spell in your backpack.
 

zerodowned

Moderator
ServUO Developer
This is a great tool however nothing opens up except for the Magery spells show in the spellbar, none of the other ones work maybe its just me.

Problem confirmed. I downloaded a fresh copy of ServUO, Pub 54.
Thank you Nytewyrm!

Issue seems to happen at the beginning of Bushido. Will take a look at it as soon as possible.

*Edit: Chivalry spell icons weren't going to the spell hotbar because I didn't have a Chivalry spellbook in my backpack. Which is intentional.
But despite having a full Bushido book in my backpack, bushido spells weren't working correctly.
 

zerodowned

Moderator
ServUO Developer
This is a great tool however nothing opens up except for the Magery spells show in the spellbar, none of the other ones work maybe its just me.

All spells now working, just make sure you have the book with the spell you're trying to add in your backpack.
Future release won't allow you to select spell unless it's in your backpack.
 

zerodowned

Moderator
ServUO Developer
Works amazing man thank you!
:) glad you like it

And i have some idea :p Can you convert this toolbar for support ACC all spell system ?
lol, i was waiting for someone to ask about ACC. this code is written with customization in mind. once I get a few features working and added that I want to include then i'll address that.
the only "problem" i can see regarding ACC is that it doesn't have the spell icons. so I'd have to make buttons with labels but the buttons would be fairly small.

I am planning on releasing a version that includes Bard of Masteries, but not right now since some people may not have that system and I want as many people as possible to be able to try it out
 

Saborian

Citizen
Any chance a system for customizing how many columns/rows you can have might be in the future for this script? If you have 25 spells you want to add to this bar - for whatever reason, it makes it pretty difficult to see them all when half of them are off screen. =)

Other than that, I love this script so far. It's absolutely amazing!
 

Hank

Squire
If you have 25 spells you want to add to this bar - for whatever reason, it makes it pretty difficult to see them all when half of them are off screen. =)
Actually I use resolution 1680 x 1050,. so i can have ~32 spell icons in a row and see them all. I keep my spell icons in the black area outside the game window. So if players could customize the number of icons in a rows and the number of rows this could be pretty damn epic in the sense that it will keep things clean looking.

@zerodowned Another feature I'd like to see is multiple spell bars,. I'd like to have one on the top or bottom of my screen going horizontal and one on the left or right side going vertical.
 

zerodowned

Moderator
ServUO Developer
Any chance a system for customizing how many columns/rows you can have might be in the future for this script? If you have 25 spells you want to add to this bar - for whatever reason, it makes it pretty difficult to see them all when half of them are off screen. =) Other than that, I love this script so far. It's absolutely amazing!

That is a feature that I'd like to add in the future, but I'm not sure how I'd do that. Looking a Joeku's Toolbar as a reference...it's beyond my understanding at the moment. Maybe once I spend more time looking it over. I can't think of any other script that does something similar.

Actually I use resolution 1680 x 1050,. so i can have ~32 spell icons in a row and see them all. I keep my spell icons in the black area outside the game window. So if players could customize the number of icons in a rows and the number of rows this could be pretty damn epic in the sense that it will keep things clean looking.

@zerodowned Another feature I'd like to see is multiple spell bars,. I'd like to have one on the top or bottom of my screen going horizontal and one on the left or right side going vertical.

A second spell bar would be pretty easy, I've done it during testing.
Second and third rows if icons should be easy too. But making it customizable...meh
Working on the option to flip the spell bar to make it vertical. :)
 

Saborian

Citizen
Maybe have a simple overflow option and a means to trigger it? So if X amount of spells are reached, it will fall into the next predetermined row?
 

zerodowned

Moderator
ServUO Developer
Maybe have a simple overflow option and a means to trigger it? So if X amount of spells are reached, it will fall into the next predetermined row?

I'm checking the X position of the "button" and if it's > than setamount, it changes the Y position to slide it into the next row.
Which I have working after a fairly big rewrite, but now I'm having a problem with getting a third row to work if I remember correctly you can't use && on an int for something like
if ( x + xoffset >= amount && y + yoffset >= amount ) { }

although a third row probably isn't neccesary for most people, i feel like three rows will/should be the "max" for the moment.

I also have the ability to flip the bar between vertical/horizontal working and serialized so it saves the user's settings.
 

Saborian

Citizen
That's great! That instantly makes it more enjoyable for people like me, I usually don't ever have more than maybe 10 spells up anyways. Just usually a handful of spells I use JUST often enough to not want to dig for them in my book but not often enough to assign a hotkey on the keyboard for. =)

By the way, have you updated the download to reflect these changes yet? I don't see any means to alter direction on the spellbar.