|
|
#1 |
|
Server: US - Artemis
Gilde: SilentWarriors
Join Date: 19.02.2009
Gender:
![]()
|
a function can now only use one skill/item per ingame calling of that function.
solution make a macro /run function() /wait 1 /run UseAction(#) make the # be the location of the macro on your hotbar and every second the function will be called ingame and use one skill/item if need be |
|
|
|
|
#2 |
|
Server: US - Artemis
Gilde: SilentWarriors
Join Date: 19.02.2009
Gender:
![]()
|
as long as all of the addon is inside of this one function a replacement to nBuff can be made.
|
|
|
|
|
#3 | |
|
Join Date: 14.06.2009
|
you dont have to have all of the addon inside the macro
you just have to remove the OnUpdate event in the xml and call the onupdate function manually using such a macro works well with nbuff and SkillQueue (although the new and nice spellautomove screws with that one a bit) removing one line in the xml and Quote:
Last edited by KiaraAscaria; 08.10.2009 at 12:21.. |
|
|
|
|
|
#4 | |
|
Join Date: 30.03.2009
|
Quote:
![]() Btw is the problem only in functions called from OnUpdate or also in OnEvent?
__________________
50 S/K |
|
|
|
|
|
#5 |
|
Join Date: 23.06.2009
|
this is too confusing for laymen hahha....pls can anyone give a more specific detail as to where and how to program it? for example in game? on macro? where and wht to type exactly etc...
thx |
|
|
|
|
#6 | |
|
Join Date: 14.06.2009
|
not sure
single actions called by onevent work dunno if theres some kind of limit (when a function called by an event is considered part of a loop or somethind individual) all i can say is nbuff works using this workaround and so does skillqueue (if you are already in range, that is) Edit: @brentona remove the line "nBuff_OnUpdate(this)" in nbuff.xml (might not even be necessary (but it is with skillqueue)) create a new macro that executes itself Quote:
(you should know about the hotbarnumbers already if you used nbuff) (first bar 1,2,3... second 21,22,.. third 41,42,... fourth 61,62,...) click the macro everytime you start playing (or add UseAction(#) somewhere) (i added it in the variablesloaded section of OnEvent in nBuff.lua) except for one ugly hotbarbutton more, everything is like it were before Last edited by KiaraAscaria; 08.10.2009 at 14:04.. |
|
|
|
|
|
#7 |
|
Join Date: 23.06.2009
|
make a macro
/run function() /wait 1 /run UseAction(#) Ok I make the above macro but it give me error message on the nBuff_OnUpdate() (a nil value) Do I need to put something in the "(?)" of the line "/run function()"? thx |
|
|
|
|
#8 | |
|
Join Date: 14.06.2009
|
strange
nBuff_OnUpdate() does expect (this) but doesnt actually use it so it should be fine without and it works for me without lua functions usually dont care if a parameter is missing they dont really need for something Quote:
Last edited by KiaraAscaria; 08.10.2009 at 14:53.. |
|
|
|
|
|
#9 |
|
Join Date: 19.05.2009
|
Can somebody explain this step by step for us who havent been schooled as programmers? :-)
|
|
|
|
|
#10 |
|
Join Date: 18.01.2009
|
goto your nbuff directory C:\whereever\Runes of Magic\interface\Addons\nBuff
open nbuff.xml find the following <OnUpdate> nBuff_OnUpdate(arg1); </OnUpdate> delete this chunk save the xml file start rom Create a macro that has the following /script nBuff_OnUpdate() /wait .7 /script UseAction(40) Drag the macro to skill slot 40 click macro in skill slot 40 or use whichever slot you fancy just replace the refs to 40 with the slot number you use done. thanks to KiaraAscaria Last edited by spillageuk; 08.10.2009 at 16:14.. |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|