AutoRA Problems

Langues: JP EN DE FR
users online
Forum » Windower » General » AutoRA problems
AutoRA problems
 Shiva.Socrates
Offline
Serveur: Shiva
Game: FFXI
user: socratess
Posts: 107
By Shiva.Socrates 2013-06-13 14:06:56
Link | Citer | R
 
im getting the error at startup :

lua -- C:\Program Files (x86)\Windower4\addons\AutoRA\AutoRA.lua:115: attempt to compare nll number

It crashes in game when i try to use it as well
[+]
 Shiva.Socrates
Offline
Serveur: Shiva
Game: FFXI
user: socratess
Posts: 107
By Shiva.Socrates 2013-06-13 14:46:30
Link | Citer | R
 
bump
 Sylph.Hitetsu
Offline
Serveur: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-06-13 15:02:15
Link | Citer | R
 
You can get the same basic functionality using Spellcast.

Make a spellcast file, call it Socrates_RNG.xml (or put RNG.xml in a folder called Socrates) and add nothing but:
Code xml
<?xml version="1.0" ?>

<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
    <config
        RequireVersion="2.30"
        debug="false"
        />
		

	
    <variables>
		<var name="AutoRA">1</var>
		<var name="AutoRADelay">1.5</var> <!--Time wait between Auto Ranged Attacks -->
	</variables>
    <sets />
    <rules>
		
		<if spell="Ranged">
			<if advanced='("$AutoRA"="1")'>
				<aftercastdelay delay="$AutoRADelay" />
				<command when="aftercast">input /ra <t></command>
			</if>
		
		</if>

    </rules>
</spellcast>



Alternatively, if you already use Spellcast - then just add the portion in the <rules></rules> section, along with the 2 variables.
 Shiva.Socrates
Offline
Serveur: Shiva
Game: FFXI
user: socratess
Posts: 107
By Shiva.Socrates 2013-06-13 15:19:37
Link | Citer | R
 
Sylph.Hitetsu said: »
You can get the same basic functionality using Spellcast.

Make a spellcast file, call it Socrates_RNG.xml (or put RNG.xml in a folder called Socrates) and add nothing but:
Code xml
<?xml version="1.0" ?>

<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
    <config
        RequireVersion="2.30"
        debug="false"
        />
		

	
    <variables>
		<var name="AutoRA">1</var>
		<var name="AutoRADelay">1.5</var> <!--Time wait between Auto Ranged Attacks -->
	</variables>
    <sets />
    <rules>
		
		<if spell="Ranged">
			<if advanced='("$AutoRA"="1")'>
				<aftercastdelay delay="$AutoRADelay" />
				<command when="aftercast">input /ra <t></command>
			</if>
		
		</if>

    </rules>
</spellcast>



Alternatively, if you already use Spellcast - then just add the portion in the <rules></rules> section, along with the 2 variables.

And how do i use this in game
 Sylph.Hitetsu
Offline
Serveur: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-06-13 15:27:00
Link | Citer | R
 
Download Spellcast
Create a file in: Windower/plugins/Spellcast/ called Socrates_RNG.XML and paste all that stuff into it
Load Spellcast in game
Fire off a Ranged Attack, it'll repeat a Ranged Attack every 1.5 seconds.

If you want it to do a Ranged Attack after every action, I'd recommend changing the delay to around 2.5 or higher, and remove:
Code xml
<if spell="Ranged">
</if>
Offline
Posts: 3206
By Enuyasha 2013-06-13 15:51:37
Link | Citer | R
 
With that addition in spellcast can you do something like <ifTP=100 changespell= "Refulgent Arrow" ifrangedequip="Bow"> and something similar for guns and whatnot?

(didnt mean to hijack your post, but AutoRA crashed me after i tried to use it once and i've never touched it again.)
 Sylph.Hitetsu
Offline
Serveur: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-06-13 16:22:25
Link | Citer | R
 
Should be able to. I had a whole AutoRNG Spellcast setup for levelling my RNG when it was like, 10 >_>.. So I'm basing this off educated guesswork, but it should work:
Code xml
<?xml version="1.0" ?>

<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
    <config
        RequireVersion="2.30"
        debug="false"
        />
		

	
    <variables>
		<var name="AutoRA">1</var>
		<var name="AutoRADelay">1.5</var> <!--Time wait between Auto Ranged Attacks -->
		<var name="AutoWS">1</var>
		<var name="WS">Refulgent Arrow</var>
		<var name="$WS2">Last Stand</var>
		<var name="RefillAmmo">Crossbow Bolt</var>
	</variables>
    <sets />
    <rules>
		
		<if spell="Ranged|$WS">
			<if advanced='("$AutoRA"="1")'>
				<aftercastdelay delay="$AutoRADelay" />
				<command when="aftercast">input /ra <t></command>
			</if>
		
			<if advanced='("%EquipAmmo"=="empty")'>
				<equip when="precast">
					<ammo>$RefillAmmo</ammo>
				</equip>
				<addtochat color="121">No Arrows! Equipping $RefillAmmo..</addtochat>
				<if advanced='("$AutoRA"="1")'>
					<command>input /ra <t></command>
				</if>
			</if>
			
			<if mode="and" TPGT="99" advanced='("$AutoWS"="1")'>
				<if EquipRange="Crossbow|Gun">
					<changespell spell="$WS2" />
					<addtochat color="121">Wrong Weapon Equipped => Swapping $WS to $WS2.</addtochat>
				</if>
				
				<changespell spell="$WS" />
			</if>
			
		</if>

    </rules>
</spellcast>
Offline
Posts: 3206
By Enuyasha 2013-06-13 16:31:41
Link | Citer | R
 
You can have my babehs sir!
 Sylph.Hitetsu
Offline
Serveur: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-06-13 16:34:23
Link | Citer | R
 
No worries :P I'm headed to bed, so if it doesn't work then toss me a PM and I'll see what I can do in the morning!
Log in to post.