Item Search
     
BG-Wiki Search
Page 324 of 328 FirstFirst ... 274 314 322 323 324 325 326 ... LastLast
Results 6461 to 6480 of 6548
  1. #6461
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    Quote Originally Posted by Yugl View Post
    Use Autoexec to detect/trigger gear equips and use spellcast to hold variables/sets.

    http://wiki.windower.net/doku.php?id=plugins:autoexec

    http://www.bluegartr.com/threads/749...=1#post5306835

    This post details how you can use HPP (HP Percent) with multiple values.

    Ok I figured out some of the code but not all, if you could help I would be grateful.

    Code:
    <register event="jobchange_mnk/*" silent="true">
    	ae register 10012 "(regex)hpp_100(/regex)" input /ws "Dancing Chains" &lt;t&gt;;
    </register>
    I got the above to work ingame with a /echo each time i reached 100% HP. So that would trigger SpellCast to fire "Dancing Chains" and then change out Gear as needed.

    But I am not sure how to write it for when I am not 100% HP... I tried:

    Code:
    (regex)hpp_(?!100)(/regex)
    Thinking the "?!" meant "if not" but I couldnt get an /echo to work.

    Also since I want "Dancing Chains" to fire and parse my SpellCast I dont want that to happen at every single HP percent under 100%.

    What am I missing?
    Thank you.

  2. #6462
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    You can try:

    (regex)hpp_[0-9][0-9](/regex)

    I'm not sure if this triggers once or multiple times. If you only want one check, you would have to either force that check (via trigger spell) or have the game check at intervals (Not recommended since that may crash your game).

  3. #6463
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    I guess trigger spell wouldn't work since it would still check constantly.
    Trying to automate this change completely.

    Code:
    ae register 10012 "(regex)hpp_100(/regex)|(regex)hpp_[0-9][0-9](/regex)" input /ws "Netherspikes" &lt;t&gt;;
    Do you think it would be ok to use a pipe or would I need two separate events?
    Extra question. How many Pipes are too many???

    I am thankful for your help so far.
    /kneel

  4. #6464
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Use two separate events (not sure about the pipe method since they moved the previous documentation). The line I gave you checks for HPP=00 to 90, so you would need another line for HPP=100. The trigger spell remark would be a purely spellcast approach where you use a trigger spell that checks your HP and decides your idle set based on HP% at that moment.

  5. #6465
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    I was also curious about these trigger spells i noticed tonight. Some seem to work for me while others dont. Are you able to shed any light on this topic?
    Such as are these spells SE has not yet introduced or are these spells just for SC?
    Would there be any reason why one seems to work while another doesnt?

  6. #6466
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    If you're referring to the issues someone pointed out earlier, it seems SE broke most of the weird spell triggers (Spells within dats, but not available to players). The customer triggers (ex: Trigger01 through 99, classtriggers, etc) seem to work. If that is how the spells are divided, I would guess SE revamped the spells/how they appear within the dats. I know they messed with DAT structure and added new general items recently, so that may have to do with this. The customer triggers are independent of SE's spells and added to the resources separately. Anyways, replace them with custom triggers for now imo.

  7. #6467
    Melee Summoner
    Join Date
    Mar 2012
    Posts
    34
    BG Level
    1

    Quote Originally Posted by nikia View Post
    I was wondering what would be the best way to write in a regen Idle set with autoexe and spellcast?

    What I was hoping to do was if HP is between say 98-100 percent i would be in a PDT non regen set, but if HP was under that percent range it would change set var to an idle-regen set.
    I am not sure of the syntax, if anyone is able to help me would I would be grateful.

    Thank you very much.
    Spellcast has built in MP/HP rules... You could write your aftercast rule to be something like this:

    Code:
    <if HPPGT="97">
      <equip when="aftercast set="idle" />
    </if>
    <else>
       <equip when="aftercast" set="idle-regen" />
    </else>

  8. #6468
    New Spam Forum
    Join Date
    Jul 2008
    Posts
    153
    BG Level
    3

    Hi!

    I quit for a few months and made the mistake of uninstalling. As such, my macros were lost but my spellcast remain.

    I use a 90 Daurdabla and had set a variable up such that one macro toggled it on and off. The relevant portions of my spellcast are as follows:

    Code:
        />
    	<variables>
    		   <var name="Harp">0</var>
    	</variables>	
    
     <rules>
    	<if spell="ClassTrigger">
    		<if SpellTargetRaw="SetVariables">
    		</if>
    		
    	 <if SpellTargetRaw="HarpLock">
    		    <if advanced='"$Harp" = "0"'>
    			 <var cmd="set Harp 1"/>
    			 <command when="Precast">input /echo DUARDABLA = ON!</command>
    			 </if>
         
    	 <else>
            <var cmd="set Harp 0"/>
    		<command when="Precast">input /echo DUARDABLA = OFF!</command>
    	</else>
    	</if>
    	</if>
    I cannot, for the life of me, remember what the text in that one in-game macro was.

    What would happen is I'd hit it, I would see in /echo Duardabla = ON or = OFF depending on which direction it had toggled.

    Does anyone know what that macro might have been?

  9. #6469
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    Type /magic ClassTrigger HarpLock

    See if that works.

  10. #6470
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    OK I kinda have it working 100% the way I want but for some reason I need a 5 second wait to force a idle HPP check.
    Here is the Code:

    AutoExe:
    Code:
    ae register 10012 "hpp_100" input /ja "IdleMode";
    This is used to fire once I get 100% so it will go to just PDT only gear.

    SpellCast:
    Code:
    	<variables clear="true">
    		<var name="CheckIdleHPP">yes</var>
    		<var name="Idle">Idle-PDT</var>
    	</variables>
    Code:
    <if spell="CombatMode">
    	<!-- Idle Set auto swap -->
    	<if status="Idle">
    		<if hpplt="95">
    			<addtochat color="121">[ Idle-Regen-10tic Set ]</addtochat>
    			<var cmd="set Idle Idle-Regen-10tic" />
    		</if>
    		<elseif hpptg="94" hpplt="100">
    			<addtochat color="121">[ Idle Idle-Regen-6tic ]</addtochat>
    			<var cmd="set Idle Idle-Regen-6tic" />
    		</elseif>
    		<else>
    			<addtochat color="121">[ Idle Idle-PDT ]</addtochat>
    			<var cmd="set Idle Idle-PDT" />
    		</else>
    		<if advanced='"$CheckIdleHPP" == "yes"'>
    			<var cmd="set CheckIdleHPP no" />
    			<addtochat color="121">[ Idle Checking Idle HP Variable ]</addtochat>
    			<cmd>wait 5; CombatMode</cmd>
    		</if>
    	</if>
    	<!-- General gear handling -->
    	<if advanced='"$Active" == "0"'>
    		<if status="Engaged">
    			<var cmd="set CheckIdleHPP yes" />
    			<equip set="TP|$Armor" />
    		</if>
    		<elseif advanced='"%status" != "zoning|dead"'>
    			<equip set="$Idle|$Armor|Movement" />
    		</elseif>
    	</if>
    	<cancelspell />
    	<return />
    </if>
    <elseif spell="IdleMode">
    	<if  status="Idle">
    		<cmd>CombatMode</cmd>
    	</if>
    </elseif>
    Ninjutsu/Job Abilities use the
    Code:
    <var cmd="set CheckIdleHPP yes" />
    check so after each cast if I am at ~98% HP it will fill me back up.


    I been using the variable because when I disengage from enemy I will sit at just under full HP because it seems SC thinks I am 100% even though I'm not.
    IE: Engaged I am 1000/1000 HP then go Idle and now 999/1000 cause of gear change.

    So I had to add the wait 5 when I am idle/disengaging to get it to work.

    I guess my biggest question is is there a better way to write this in so SC will run the check and change to the right regen set soon as I disengage or right after cast/job ability?
    Mainly trying to get rid of that 5 second wait after performing an acton/ending a fight.

    Any help would be great, thank you.

  11. #6471
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    First, make sure that second HPP check reads as HPPGT instead of HPPTG.

    Second, I think the reason SC does that is because the the spellcast triggers the idle trigger after you've finished disengaging (So you would still have 100% HP if your TP set has less HP than your idle set). The delay may simply be necessary in this case.

  12. #6472
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    I didnt even notice the HPPGT mistake, thank you.
    So there is no way to have i register faster than 5 seconds?

  13. #6473
    Smells like Onions
    Join Date
    Nov 2013
    Posts
    8
    BG Level
    0
    FFXI Server
    Phoenix

    I am new to Spellcast and have no clue how to set this stuff up or where to even begin. I'm a ps2 player who just started playing on PC. I only have 3 jobs that I play DRG BLU BST. What I'm trying to do is set up something for Tp gear, ws gear, jumps on drg, HB for drg etc... Is there a site that has a walk through for noobs to spellcast that explain everything? Macros just not enough room and slow compared to ppl using spellcast.

  14. #6474
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

  15. #6475
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    Please forgive all the questions.
    AutoExe is set to parse spellcast via a trigger spell every ~72 seconds, I was wondering if that mean every 72 seconds am I sending a gear change command to the SE servers or only if a gear change can happen?

    Basicly I changed to a time based check for regen gear, so if I afk for the day i know 50 times an hour spellcast will check my variables/etc but didnt know if SE servers are interacted with. Thank you.

  16. #6476
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    You wouldn't be sending a gear change command every 72s unless you actually can change gear, but you would be sending a trigger spell command (Essentially, the same as typing /magic "blah" every 72s). I'm not sure whether SE receives the input or whether SC/Windower catches that first. I would imagine windower catches that since addtochat isn't detected, but trigger spells could be different. You should ask Arcon or Byrthnoth this question.

  17. #6477
    Cerberus
    Join Date
    Jun 2010
    Posts
    461
    BG Level
    4

    Can anyone tell me why my /ra <stnpc> macro no longer works with spellcast?
    If i unload spellcast it works fine.

    Also if I add:
    Code:
    		<elseif commandprefix="/range">
    			<changetarget target="&lt;stnpc&gt;" />
    		</elseif>
    With macro set to /range
    the game crashes....
    If macro is /range <stnpc> it allows me to tab through enemies but soon as i hit enter it still crashes. I dont get why this is.

    Also I noticed if i make ingame macro of /raw /range <stnpc> then it will select nearest enemy and immediately aim to fire shot.
    If /raw /range <st> it will select me and give error about not attacking that target..
    I dont get this at all...

    Spellcast version is 2.51 if that matters at all. I did try to load different xmls thinking it was something with me but still cant get it to work.
    Found some info on the /raw issue:
    https://github.com/Windower/Issues/issues/331

  18. #6478
    Melee Summoner
    Join Date
    Apr 2010
    Posts
    41
    BG Level
    1
    FFXI Server
    Odin

    skill up issue

    So, i copied this spellcast into a blank notepad++ and saved it as an xml, and sc cant get past an error on line 11, which looks fine to me, and other users say they've had it work. i'm at a loss right now, if anyone could help, much appreciation.

    Also, if this isn't looping, could someone recommend how to get it to? Thank you.

    Code:
    <?xml version="1.0" ?>
    <spellcast>
        <config> 
            Debug = "True" 
            ShowGearSwaps = "False" />
        </config>
        <rules>
    <!-- Rule: Gear Based on Spell Type -->
            <action type="AfterCastDelay" Delay="0.7" />
            <if Spell="Foe Lullaby">
                <action type="Command" when="AfterCast">wait 3;input /ma "Fire Threnody" <t></action>
            </if>
            <elseif Spell="Fire Threnody">
                <action type="Command" when="AfterCast">wait 3;input /ma "Ice Threnody" <t></action>
            </elseif>
            <elseif Spell="Ice Threnody">
                <action type="Command" when="AfterCast">wait 3;input /ma "Wind Threnody" <t></action>
            </elseif>
            <elseif Spell="Wind Threnody">
                <action type="Command" when="AfterCast">wait 3;input /ma "Foe Lullaby II" <t></action>
            </elseif>
            <elseif Spell="Foe Lullaby II">
                <action type="Command" when="AfterCast">wait 3;input /ma "Earth Threnody" <t></action>
            </elseif>
            <elseif Spell="Earth Threnody">
                <action type="Command" when="AfterCast">wait 3;input /ma "Ltng. Threnody" <t></action>
            </elseif>
            <elseif Spell="Ltng. Threnody">
                <action type="Command" when="AfterCast">wait 3;input /ma "Water Threnody" <t></action>
            </elseif>
            <elseif Spell="Water Threnody">
                <action type="Command" when="AfterCast">wait 3;input /ma "Foe Lullaby" <t></action>
            </elseif>
        </rules>
    </spellcast>

  19. #6479
    An exploitable mess of a card game
    Join Date
    Sep 2008
    Posts
    13,197
    BG Level
    9
    FFXIV Character
    Gouka Mekkyaku
    FFXIV Server
    Gilgamesh
    FFXI Server
    Diabolos

    The problem is likely related to the <t>s there. If you use XML, you need to use &lt;t&gt; instead.

  20. #6480
    E. Body
    Join Date
    Nov 2008
    Posts
    2,048
    BG Level
    7
    FFXI Server
    Bismarck

    is there an easy way to put in an obi rule for weather/day check into a SCH xml?

Page 324 of 328 FirstFirst ... 274 314 322 323 324 325 326 ... LastLast

Similar Threads

  1. Spellcast Shop Thread
    By Yugl in forum FFXI: Everything
    Replies: 232
    Last Post: 2014-03-18, 04:47
  2. time spent on ls events, helping friends and your own time
    By freewind in forum FFXI: Everything
    Replies: 6
    Last Post: 2005-09-06, 16:42