If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Official bored at work / just shooting the shit / no rails to derail thread
Everything in there should currently be working except for the part where I'm trying to dynamically grab my max mp total after converting, since that's the only difference right now between that file and my stable version. As it stands it's just grabbing my MP from before Converting because MPAfterCast doesn't understand that there's MP changes involved with certain JAs, or at least that's my guess as to what's happening with it.
Re: Official bored at work / just shooting the shit / no rails to derail thread
Thanks. That reminded me I needed to add chainspell exemptions and a fishing set to my xml, too. I finally figured out how to get spellcast to upload to Guildwork, so it's up there if you care to critique: Lago | Guildwork
Re: Official bored at work / just shooting the shit / no rails to derail thread
Under healing magic, you're gonna trigger Cursna with that "Cur*" bit. I had that pointed out to me in mine, so it seems to be a common oversight. Anyway, put that on pastebin so I can browse it more thoroughly at work tomorrow. Pretty sure the firewall doesn't like Guildwork.
---------- Post added at 09:37 PM ---------- Previous post was at 09:31 PM ----------
Looking at your code again, you could make it more efficient with more liberal use of elseif statements. If the spell is "Protect*|Shell*" then there's no reason to check if it's "Sneak|Invisible" for example.
---------- Post added at 09:58 PM ---------- Previous post was at 09:37 PM ----------
Also, you have the opposite problem I have with my Cur* rule. Cure* won't catch Curagas.
Re: Official bored at work / just shooting the shit / no rails to derail thread
Other thought: do we actually need our XML to be even moderately efficient? I can't imagine these rulesets are complex enough that it's actually slowing down the response time to the point where it actually makes a difference. Or am I totally off base on that? I mean it's not like we're putting in while(true) loops in the middle of stuff or anything.
---------- Post added at 12:35 AM ---------- Previous post was Yesterday at 11:28 PM ----------
Holy cow! I think I figured out my Convert dilemma.
Instead of running it all through the rules, I can do it through the in-game macros.
//sc set maxMP
//sc var set ConvertMP %MPMax
//convert
That should get me a dynamic maximum mp shoved into a variable for gear staggering. It's not elegant, but I think it'll work until I can figure out how to make Spellcast do it properly for me on the XML side.
It's always right before bed that I come up with all my solutions to programming problems for some reason.
Re: Official bored at work / just shooting the shit / no rails to derail thread
I just assume that if you're of the mind to demand the added efficiency of xml-managed gearswaps and savvy enough to code your own, your the type of person to want clean, lean code. That's me, anyway. As to whether it makes a difference, probably not at the level we're currently using it, but if you want it to do more interesting things like incrementally stepping down your max mp gear and such then you might start to notice, especially as finicky as XI can be about timing in moderate lag.
---------- Post added at 11:38 PM ---------- Previous post was at 11:38 PM ----------
Re: Official bored at work / just shooting the shit / no rails to derail thread
ARGH! Monkey wrench in the plans. I can't get right syntax for the line: //sc var set ConvertMP %MPMax
I've tried every combination I can think of, but it always parses it as a string and not as a variable, so my ConvertMP variable gets assigned text instead of a number. This is gonna bug me all day.
Re: Official bored at work / just shooting the shit / no rails to derail thread
You know how I know Facebook is killing America?
My cousin, whose birthday is the same day (and year) as mine, apparently changed his birthday on his profile for whatever reason, and when I happened to look at his wall, more than three dozen people had wished him a happy birthday - a mere three months after he already had his 30th birthday. Some of these people are family members.
Granted, I don't remember the birthdays of all my friends - but those would be the friends I wouldn't wish a happy birthday at all if not for Facebook, honestly. I'm really not sure if it's funny or if it's just sad.
Comment