Spellcast

Eorzea Time
 
 
 
Language: JP EN FR DE
users online
Spellcast
First Page 2 3 4
 Ifrit.Vextra
Offline
Server: Ifrit
Game: FFXI
user: Vextra
Posts: 397
By Ifrit.Vextra 2010-10-30 14:51:39
Link | Quote | Reply
 
Would anyone mind taking a look at my spellcast? It works fine except for sorc latent gear swap and then switching back to nuke gear for the cast.
[+]
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-10-30 15:03:31
Link | Quote | Reply
 
I'll take a look at it if you like~

For reference, here's my Sorc Ring latent switch.

It's set to midcast because I put on FastCast+ gear beforehand~
[+]
 Ifrit.Vextra
Offline
Server: Ifrit
Game: FFXI
user: Vextra
Posts: 397
By Ifrit.Vextra 2010-10-30 15:14:01
Link | Quote | Reply
 
Its basically the same except I dont use a .txt for gear swaps

The gear swaps work fine if I am already below 75% but above 75% it doesnt completely swap out the gear.
[+]
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-10-30 15:26:20
Link | Quote | Reply
 
Hmm, try adding a midcastdelay in there to delay your second gearswap.


<action type="equip" when="midcast">
<rring>Sorcerer's Ring</rring>
<action type="midcastdelay" delay="2.0" />
</action>

That'll make sure all your gear has the time to swap in/out before it puts on all your midcast gear.

EDIT: Quickfix on MidCastDelay synxtax
[+]
 Unicorn.Moldtech
Offline
Server: Unicorn
Game: FFXI
user: Moldtech
Posts: 611
By Unicorn.Moldtech 2010-10-30 15:28:57
Link | Quote | Reply
 
If I used windower, mine might possibly look like this:

<!-- Sorcerer's Ring Rule (Support Job Variables Pre-Set) -->
<if advanced='$Ring == 1'>
<!-- Sorcerer's Ring HP Latent Check and Activation -->
<if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'>
<if Advanced='%HP > $%SubJobRingHP'>
<action type="equip" set="MinusHP" />
</if>
</if>
<!-- Resistance of Mob Allowing, Active and Equip Sorcerer's Ring on all Nukes -->
<else>
<action type="equip" set="MinusHP" />
</else>
<action type="equip" when="midcast">
<lring>Sorcerer's Ring</lring>
</action>
</if>
[+]
 Ifrit.Vextra
Offline
Server: Ifrit
Game: FFXI
user: Vextra
Posts: 397
By Ifrit.Vextra 2010-10-30 16:24:16
Link | Quote | Reply
 
Well I give up how do you do a .txt command with spellcast?
[+]
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-10-30 16:26:13
Link | Quote | Reply
 
<action="command" when="midcast">exec file.txt</action>

Should do it (for Spellcast 2.2* versions, for 2.30+ then the <command> line in my spellcast should work fine)
[+]
 Ragnarok.Cerelyn
Offline
Server: Ragnarok
Game: FFXI
Posts: 278
By Ragnarok.Cerelyn 2010-10-30 17:21:35
Link | Quote | Reply
 
why use a txt file though?
Just add a set in the profile
[+]
 Ifrit.Vextra
Offline
Server: Ifrit
Game: FFXI
user: Vextra
Posts: 397
By Ifrit.Vextra 2010-10-30 17:53:05
Link | Quote | Reply
 
Its not swapping correctly
[+]
 Lakshmi.Leonien
Offline
Server: Lakshmi
Game: FFXI
user: Leonien
Posts: 35
By Lakshmi.Leonien 2010-10-30 18:45:10
Link | Quote | Reply
 
Make sure your HP variable is set correctly in your variables section.

Your latent code is fine.
[+]
 Quetzalcoatl.Giazz
Offline
Server: Quetzalcoatl
Game: FFXI
user: Gias
Posts: 1308
By Quetzalcoatl.Giazz 2010-10-30 18:47:52
Link | Quote | Reply
 
I would also recommend upgrading to the newest version of spellcast. It works great, and they've been fixing things on the newer versions etc.
[+]
 Bahamut.Raenryong
Offline
Server: Bahamut
Game: FFXI
user: RaenRyong
Posts: 4554
By Bahamut.Raenryong 2010-10-30 19:00:59
Link | Quote | Reply
 
Unicorn.Moldtech said:
if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'

What does the \ mean there? Not familiar.

Quote:
<if Advanced='%HP > $%SubJobRingHP'>

Change > to, without using spaces or quotes, "& g t ;"

[+]
necroskull Necro Bump Detected! [244 days between previous and next post]
 Leviathan.Angelskiss
Offline
Server: Leviathan
Game: FFXI
Posts: 7227
By Leviathan.Angelskiss 2011-07-01 18:04:03
Link | Quote | Reply
 
bump- since it seemed appropriate to post this question here

If I have the trial magian elemental dmg staves AND HQ staves for my enfeebs etc- how do I work both sets into my spellcast?

I at this time only have the elemental TOM staves in there but loathe using them for enfeebs =(

Any help would be great <3 ty!
 Fenrir.Nightfyre
Offline
Server: Fenrir
Game: FFXI
user: Nightfyre
Posts: 11680
By Fenrir.Nightfyre 2011-07-01 18:17:09
Link | Quote | Reply
 
Create two sets of staff variables, one labeled "Damage-Fire", "Damage-Water", etc and the other "Macc-Fire" etc. Enter the appropriate staff for each element.

In your nuke set, your weapon entry will be <main>$Damage-%SpellElement</main>. In any set where you want to use the macc staff, it's $Macc-%SpellElement.
[+]
 Leviathan.Angelskiss
Offline
Server: Leviathan
Game: FFXI
Posts: 7227
By Leviathan.Angelskiss 2011-07-01 18:38:29
Link | Quote | Reply
 
Forgive me Night- I am still *kinda* newbish

SO I take this : (my current)

<!-- Elemental Staffs, input what staff to use for each element here -->
<var name="IceStaff">Varuna's Staff +2</var>
<var name="DarkStaff">Pluto's Staff</var>
<var name="ThunderStaff">Indra's Staff +2</var>
<var name="WindStaff">Vayu's Staff +2</var>
<var name="FireStaff">Teiwaz</var>
<var name="EarthStaff">Terra's Staff</var>
<var name="LightStaff">Surya's Staff +2</var>
<var name="WaterStaff">Neptune's Staff</var>

and name that <var name="Damage-ICE">Varuna's staff +2</var> ?
 Fenrir.Nightfyre
Offline
Server: Fenrir
Game: FFXI
user: Nightfyre
Posts: 11680
By Fenrir.Nightfyre 2011-07-01 19:34:09
Link | Quote | Reply
 
Right. Then you have 8 more variables for macc.
 Leviathan.Angelskiss
Offline
Server: Leviathan
Game: FFXI
Posts: 7227
By Leviathan.Angelskiss 2011-07-01 19:46:26
Link | Quote | Reply
 
thank u Night <3

You saved me a lot of headaches!
 Cerberus.Sey
Offline
Server: Cerberus
Game: FFXI
user: Sey
Posts: 256
By Cerberus.Sey 2011-07-01 20:08:33
Link | Quote | Reply
 
Here's one. I can't get spellcast to equip the sword for sub. How can I change this?
 Fenrir.Nightfyre
Offline
Server: Fenrir
Game: FFXI
user: Nightfyre
Posts: 11680
By Fenrir.Nightfyre 2011-07-01 20:16:07
Link | Quote | Reply
 
Would need to see the script.
 Cerberus.Sey
Offline
Server: Cerberus
Game: FFXI
user: Sey
Posts: 256
By Cerberus.Sey 2011-07-01 20:39:21
Link | Quote | Reply
 
 Fenrir.Nightfyre
Offline
Server: Fenrir
Game: FFXI
user: Nightfyre
Posts: 11680
By Fenrir.Nightfyre 2011-07-01 20:46:52
Link | Quote | Reply
 
Does it never equip as written or only when trying to equip both main and offhand weapons?
 Cerberus.Sey
Offline
Server: Cerberus
Game: FFXI
user: Sey
Posts: 256
By Cerberus.Sey 2011-07-01 20:46:53
Link | Quote | Reply
 
I'm sure there is a way to make the twilight cape set shorter instead of all 8 elements but still learning.
 Fenrir.Nightfyre
Offline
Server: Fenrir
Game: FFXI
user: Nightfyre
Posts: 11680
By Fenrir.Nightfyre 2011-07-01 20:48:37
Link | Quote | Reply
 
You don't need to check for the individual elements at all. The weather/day check alone will prevent it equipping Twilight Cape on physical spells.
 Cerberus.Sey
Offline
Server: Cerberus
Game: FFXI
user: Sey
Posts: 256
By Cerberus.Sey 2011-07-01 20:49:34
Link | Quote | Reply
 
It will equip if there's a sword in main hand already but if I had a staff on, then it'll only equip main and the sub will get equip on the next equipment change.
 Fenrir.Nightfyre
Offline
Server: Fenrir
Game: FFXI
user: Nightfyre
Posts: 11680
By Fenrir.Nightfyre 2011-07-01 20:52:43
Link | Quote | Reply
 
It's just trying to swap in too fast for the game client to handle; it still thinks you have nothing in the mainhand so it won't let you equip it. If you want Spellcast to handle the swap, you'll need to set a small delay between equipping your mainhand weapon and the offhand in order to circumvent that.
 Leviathan.Angelskiss
Offline
Server: Leviathan
Game: FFXI
Posts: 7227
By Leviathan.Angelskiss 2011-07-05 19:38:56
Link | Quote | Reply
 
SO I tried to update my SC for sch and I did this~ as was suggested

and I get this error :

Parsing Error: line 47- Error reading end tag.

Line 47 is the </variables>

Is it the two sets of staff variables?
 Fenrir.Nightfyre
Offline
Server: Fenrir
Game: FFXI
user: Nightfyre
Posts: 11680
By Fenrir.Nightfyre 2011-07-05 19:46:04
Link | Quote | Reply
 
It's this: <var name="MACC-IceStaff">Aquilo's Staff/var>. Close the tag properly and it'll go away.
 Leviathan.Angelskiss
Offline
Server: Leviathan
Game: FFXI
Posts: 7227
By Leviathan.Angelskiss 2011-07-05 19:50:02
Link | Quote | Reply
 
Thank night 1 more question @@ It got rid of it and says 374 now.

<if CommandPrefix="/ma|/Magic" notskill="Enfeeblingmagic">
<equip when="Midcast">
<main>$%SpellElementStaff</main>
</equip>
</if>
<if CommandPrefix="/ma|/Magic" skill="Enfeeblingmagic">
<equip when="Midcast">
<main>$%SpellElementStaff2</main>
</equip>
</if>
</rules>
</spellcast>

374 is in there. This is the only new thing I tossed in there, see what the issue may be?

Edit: also will this work for my helixes? :o
 Fenrir.Nightfyre
Offline
Server: Fenrir
Game: FFXI
user: Nightfyre
Posts: 11680
By Fenrir.Nightfyre 2011-07-05 19:53:50
Link | Quote | Reply
 
Same error type? I'm not getting any errors with just that section, so it looks like it's somewhere else if it's another tag error.

Quote:
Edit: also will this work for my helixes? :o
They're elemental, so yeah it'll follow the elemental rules. I'm not sure if the way you've set it up will process properly though.
First Page 2 3 4