Can't Cast Paralyna And Silena

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » Windower » Spellcast Scripting » Other » Can't cast paralyna and silena
Can't cast paralyna and silena
 Cerberus.Kellyn
Offline
Server: Cerberus
Game: FFXI
user: tonylo
Posts: 14
By Cerberus.Kellyn 2013-03-02 11:19:31
Link | Quote | Reply
 
Hi, I just started playing again after almost a year long break. I've run into a couple problems with spellcast. For some reason it will not let me cast paralyna or silena whether it's by macro or manually yet I can cast other -na spells. It's giving me the "You cannot attack that target" message. Anyone else have this problem or know the solution?
 Lakshmi.Aelius
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Aelius
By Lakshmi.Aelius 2013-03-02 11:22:46
Link | Quote | Reply
 
Probably would be best if you show us your macros/code.
 Asura.Rucks
Offline
Server: Asura
Game: FFXI
user: Seravolk
Posts: 207
By Asura.Rucks 2013-03-02 11:23:55
Link | Quote | Reply
 
Update your resources file if you haven't already, with the addition of the new GEO and RUN spells, a lot of the ID's have been switched around.
 Asura.Tamoa
Offline
Server: Asura
Game: FFXI
user: Tamoa
Posts: 1341
By Asura.Tamoa 2013-03-02 11:25:48
Link | Quote | Reply
 
I don't know, kind of sounds like your xml is set up so it somehow thinks you're trying to cast paralyze and silence instead?
 Cerberus.Kellyn
Offline
Server: Cerberus
Game: FFXI
user: tonylo
Posts: 14
By Cerberus.Kellyn 2013-03-02 15:36:02
Link | Quote | Reply
 
hmm guess you're right... i just looked at the rdm xml... and it has rules to change to paralyze and silence lol... but they used to work... i think... idk i got the xml from a friend. My macros are just basic /ma paralyna <stpc>, /ma silena <stpc>

is there a way to get these to work still or should i just take it all out?

<!-- spell-reps -->
<if mode="AND" spell="paralyna|silena|haste" targetype="monster">
<if spell="paralyna">
<action type="changespell" spell="Paralyze"/>
</if>

<elseif spell="silena">
<action type="changespell" spell="silence"/>
</elseif>

<else>
<action type="changespell" spell="slow"/>
</else>
</if>

<if mode="AND" spell="paralyze|silence|slow" targettype="Self|Player">
<if spell="paralyze">
<action type="changespell" spell="paralyna"/>
</if>

<elseif spell="silence">
<action type="changespell" spell="silena"/>
</elseif>

<else>
<action type="changespell" spell="haste"/>
</else>
</if>
 Bismarck.Tragedie
Offline
Server: Bismarck
Game: FFXI
Posts: 322
By Bismarck.Tragedie 2013-03-02 16:22:25
Link | Quote | Reply
 
I'd just take em out if you're not gonna use them
 Fenrir.Jinjo
VIP
Offline
Server: Fenrir
Game: FFXI
user: Minjo
Posts: 2269
By Fenrir.Jinjo 2013-03-02 16:29:14
Link | Quote | Reply
 
I don't use this rule but I imagine the issue could be with "targetype".
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
user: Austar
Posts: 10454
By Ramuh.Austar 2013-03-02 17:39:32
Link | Quote | Reply
 
If you copy pasted it directly, you spelled targettype wrong in the first line as targetype
Code
<if spell="paralyna|silena|haste" SpellTargetType="monster">
    <if spell="paralyna">
        <changespell spell="Paralyze" />
    </if>
    <elseif spell="silena">
        <changespell spell="silence" />
    </elseif>
    <else>
        <changespell spell="slow" />
    </else>
</if>
<if spell="paralyze|silence|slow" SpellTargetType="Self|Player">
    <if spell="paralyze">
        <changespell spell="paralyna" />
    </if>
    <elseif spell="silence">
        <changespell spell="silena" />
    </elseif>
    <else>
        <changespell spell="haste" />
    </else>
</if>
 Cerberus.Kellyn
Offline
Server: Cerberus
Game: FFXI
user: tonylo
Posts: 14
By Cerberus.Kellyn 2013-03-05 10:08:59
Link | Quote | Reply
 
oh haha... it was either like that when I got the xml or I accidentally deleted a "t"

Thank you all very much for the help!
Log in to post.