LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Lua Programming Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=50)
-   -   Help Needed With 'Horsey' (https://www.lotrointerface.com/forums/showthread.php?t=1717)

Vald 12-24-2011 04:11 PM

Help Needed With 'Horsey'
 
Hi! I'm using the Horsey! plugin by rushl. The problem is I have SO many horses (47) that the "stable" bar goes all the way across my screen. The bar is horizontal and is the one where you add each individual mount.

Can someone help me figure out how to add a bit of code to the HorseyBar.lua file to split that line into two rows?

Thanks!

D.H1cks 12-27-2011 09:36 AM

I changed Horsey a long time ago to be 2 bars high. I have uploaded the file here: http://www.mediafire.com/?u029mlj57md5lsw

To be honest, I don't remember what changes I made to make it work.

scubastitch 12-28-2011 03:46 AM

If anyone figures out how to get this to work please let me know, as I want to use this as well.
I did look but coding is not my strong point :p

Adder 12-28-2011 05:17 AM

You need to delete one line in both the HorseyBar.lua and the HorseyWrapper.lua files... import "Turbine.Utils" which can be found at the top of the code in both files (not sure which line exactly since I already deleted them). Just use Notepad to open the file and then save it after you delete the line. Just make sure you save it as .lua and NOT as the default .txt used by Notepad. Or simply download the free Notepad++ which will save it as .lua automatically.

scubastitch 12-28-2011 06:41 AM

That line is already missing in my files.´
The horsey icon is there but it doesn't allow me to open it and add horses

scubastitch 12-30-2011 08:35 AM

Any more suggestions?

Vald 01-05-2012 06:01 PM

Thank you so much for the help guys! It's working now but I have one other request.

I'd like a code change to lock the button in place. Many plugins do so in some fashion. You have to CNTRL+\ or shift+drag to move the buttons. Horsey doesn't have that, unfortunately. You can simply drag the button. The problem is that my mouse is sensitive and the button often shifts slightly when I'm just trying to click on it.

Any way to change the code to allow the button to be locked in place or only move when shift+drug or CTRL+\ are used?

Vald 01-09-2012 03:20 PM

Bump. :)

Vald 02-01-2012 02:15 PM

Still need help locking the button down somehow.

scubastitch 02-29-2012 01:31 PM

I lost all my plugins recently and had to redownload them. Does anyone have a working copy of Horsey that has 2 or more lines and can take 50+ horses?


All times are GMT -5. The time now is 05:02 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI