Gearswap And New Timers

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » FFXI » Jobs » Summoner » Gearswap and new timers
Gearswap and new timers
 Asura.Shiraiyuki
Offline
Server: Asura
Game: FFXI
user: Shirai
By Asura.Shiraiyuki 2015-05-11 06:02:34
Link | Quote | Reply
 
Well, I know there are.
But I am afraid that it will be one hell of a job to implement it in my current gearswap.
 Asura.Sechs
Offline
Server: Asura
Game: FFXI
user: Akumasama
Posts: 9893
By Asura.Sechs 2015-05-11 06:12:38
Link | Quote | Reply
 
At this moment the only thing we can do is keep our fingers crossed and hope in Byrth's benevolence <3
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2015-05-11 06:27:59
Link | Quote | Reply
 
When is the next free login period? I can try to fix it then.
Offline
By Nyruul 2015-05-11 06:28:59
Link | Quote | Reply
 
Lakshmi.Byrth said: »
When is the next free login period? I can try to fix it then.

15th - 25th
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2015-05-13 07:17:12
Link | Quote | Reply
 
I just attempted to log in to make sure they hadn't banned me or anything, but I keep getting POL-1160 errors (on two different computers on two different networks both of which used to work and haven't changed afaik). Can anyone else log in to POL right now?
 Asura.Rinuko
Offline
Server: Asura
Game: FFXI
user: Rinuko
Posts: 144
By Asura.Rinuko 2015-05-13 07:19:14
Link | Quote | Reply
 
I just managed to get in after did a flushdns in cmd.
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2015-05-13 07:24:48
Link | Quote | Reply
 
Didn't work for me. Could just have been random luck for you. 1160 is their excessive traffic error, so it could be that their POL servers are getting DDOS'd right now.
 Asura.Shiraiyuki
Offline
Server: Asura
Game: FFXI
user: Shirai
By Asura.Shiraiyuki 2015-05-13 09:05:07
Link | Quote | Reply
 
There seem to be quite a few people experiencing this from all over the planet right now.
They mentioned something about a hardware malfunction earlier which they said they fixed.

I could get in myself about an hour ago as well, but I could just have been lucky.
 Ragnarok.Umii
Offline
Server: Ragnarok
Game: FFXI
user: umii
Posts: 12
By Ragnarok.Umii 2015-05-13 09:09:24
Link | Quote | Reply
 
I logged in 10 minutes ago. Seems is working now.
Offline
Posts: 761
By Elizabet 2015-05-14 06:57:32
Link | Quote | Reply
 
Seems timers all out of whack indeed. Even on wards it's goes back to non-pet idle for me.. and my favor set is completely ignored.
 Asura.Sechs
Offline
Server: Asura
Game: FFXI
user: Akumasama
Posts: 9893
By Asura.Sechs 2015-05-16 16:47:05
Link | Quote | Reply
 
Any news about this guys? Is it working for you or still the same issue?
 Asura.Shiraiyuki
Offline
Server: Asura
Game: FFXI
user: Shirai
By Asura.Shiraiyuki 2015-05-16 16:52:06
Link | Quote | Reply
 
Did Salvage last night after GS was fixed, the problem's still there.
 Asura.Sechs
Offline
Server: Asura
Game: FFXI
user: Akumasama
Posts: 9893
By Asura.Sechs 2015-05-16 16:56:29
Link | Quote | Reply
 
Did we at least found what is causing it?
And what is happening?
Is GS swapping too fast? (BP executed in Idle/Perp) or too slow? (BP executed in BP- gear)
 Asura.Shiraiyuki
Offline
Server: Asura
Game: FFXI
user: Shirai
By Asura.Shiraiyuki 2015-05-16 17:42:13
Link | Quote | Reply
 
¯\_(ツ)_/¯
 Phoenix.Elizabet
Offline
Server: Phoenix
Game: FFXI
user: Elizabet
Posts: 22
By Phoenix.Elizabet 2015-05-17 02:46:42
Link | Quote | Reply
 
When I do //gs load SMN.lua WITHOUT a pet summonned... my perp set shows up again... however it gets *** zoning with pet active.
 Asura.Lewyo
Offline
Server: Asura
Game: FFXI
user: Lewyo
Posts: 84
By Asura.Lewyo 2015-05-17 07:03:25
Link | Quote | Reply
 
I notice that when i preform a BPR and have showswaps on it goes from precast to aftercast to petmidcast to pet aftercast is the aftercast after precast a normal process or do i maybe have a problem with my lua.

Is there also anyway that you can delay pet aftercast so petmidcast set gets held on longer as a temp fix for the timers issue?
 Asura.Sechs
Offline
Server: Asura
Game: FFXI
user: Akumasama
Posts: 9893
By Asura.Sechs 2015-05-17 08:04:06
Link | Quote | Reply
 
Not sure if Aftercast (player) should be procced or not by GS when you execute a BP.
What I'm sure of is that if your Lua doesn't have errors, Aftercast (Player) should do absolutely nothing when the action executed is a BP Rage or a BP Ward.
As long as Aftercast performs nothing, then even a process like this should be fine.

Precast (Player) > Pet_Midcast > Aftercast (Player) > Pet_aftercast

As long as Aftercast does nothing, you'd still remain in your Pet_Midcast gear.
 Asura.Sechs
Offline
Server: Asura
Game: FFXI
user: Akumasama
Posts: 9893
By Asura.Sechs 2015-05-18 04:26:10
Link | Quote | Reply
 
I wonder, will Rooks be the mantainer of Gearswap as well, now that Byrth got busy?
If so maybe we could try to summarize this issue and let Rooks know about it so he can work on it and so we can do our best to help him solve it?
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2015-05-18 06:41:22
Link | Quote | Reply
 
Typically (this depends on which order SE sends packets in) it occurs pretarget, precast, midcast, after cast, pet_midcast, pet_after cast, but I did not trust it so I have my own SMN lua ignore aftercast swaps if I just used a BP.

Hopefully the campaign is still going on tonight. I will try to lognin and take a look at this again. Last time I made it to my moghouse and was like, "Running around is such a chore without clipper q.q; /logout"
 Lakshmi.Rooks
Administrator
Offline
Server: Lakshmi
Game: FFXI
user: Rooks
Posts: 1566
By Lakshmi.Rooks 2015-05-18 07:01:55
Link | Quote | Reply
 
Asura.Sechs said: »
I wonder, will Rooks be the mantainer of Gearswap as well, now that Byrth abandoned us?

Gearswap itself is functionally complete; I'm happy to fix bugs if need be (like after a patch), but it doesn't really need a maintainer in the way that something like Organizer (which still has room to grow) does.
 Asura.Sechs
Offline
Server: Asura
Game: FFXI
user: Akumasama
Posts: 9893
By Asura.Sechs 2015-05-18 07:57:09
Link | Quote | Reply
 
That is correct Rooks and I agree with that, sorry if I implied I meant anything different.
I'm no longer a programmer myself, but this "bug" SMNs are experiencing looks very tricky because we don't even know what's happening yet, would need more detailed tracking tools to see what causes the issue.

All that we noticed is that BPs get executed (midcast) with a wrong set. Which exactely we don't know, neither why it happens.
It's not 100% either, but happens often and tends to happen more in laggy (instances) situations.


It sounds really really really tricky to solve honestly. At the same time it's something really vital, as a SMN you cannot afford to execute BPs with the wrong set so often.
 Lakshmi.Rooks
Administrator
Offline
Server: Lakshmi
Game: FFXI
user: Rooks
Posts: 1566
By Lakshmi.Rooks 2015-05-18 08:30:18
Link | Quote | Reply
 
Oh, I'm not doubting the need for a fix. If Byrth doesn't find something, I'll see what I can do.

Honestly, given the rapid-fire timing of the packets in that sequence, Byrth's workaround (don't call aftercast after BP) might be the only reliable answer. You'd just call aftercast() in pet_aftercast and roll with it.
 Asura.Sechs
Offline
Server: Asura
Game: FFXI
user: Akumasama
Posts: 9893
By Asura.Sechs 2015-05-18 08:59:08
Link | Quote | Reply
 
I have these lines in my aftercast (player)
Code
function aftercast(spell,action)
	if spell.type ~= 'BloodPactRage' and spell.type ~= 'BloodPactWard' and spell.type ~= 'SummonerPact' then
		if pet.isvalid then
			equip(sets.idle.avatar[petmode])
		else
			equip(sets.idle)
		end
	end
end


So even if Aftercast (player) gets executed, no matter when, it should perform no action at all if the current spell is a BP.
As far as I know it always worked for me until when SE decided to change the activation timer of BPs (altough I'm not really sure that's the source of the issue)
[+]
 Asura.Shiraiyuki
Offline
Server: Asura
Game: FFXI
user: Shirai
By Asura.Shiraiyuki 2015-05-18 09:09:53
Link | Quote | Reply
 
So before I get home to try, just change this:
Code
-- Runs when pet completes an action.
function job_pet_aftercast(spell, action, spellMap, eventArgs)
    if not spell.interrupted and spell.type == 'BloodPactWard' and spellMap ~= 'DebuffBloodPactWard' then
        wards.flag = true
        wards.spell = spell.english
        send_command('wait 4; gs c reset_ward_flag')
        end


to This?
Code
-- Runs when pet completes an action.
function job_pet_aftercast()
          end


[edit]
Tried several combinations, didn't solve the problem.
 Lakshmi.Rooks
Administrator
Offline
Server: Lakshmi
Game: FFXI
user: Rooks
Posts: 1566
By Lakshmi.Rooks 2015-05-18 09:10:00
Link | Quote | Reply
 
Asura.Sechs said: »
I have these lines in my aftercast (player)
Code
function aftercast(spell,action)
	if spell.type ~= 'BloodPactRage' and spell.type ~= 'BloodPactWard' and spell.type ~= 'SummonerPact' then
		if pet.isvalid then
			equip(sets.idle.avatar[petmode])
		else
			equip(sets.idle)
		end
	end
end
Err, I don't know how that block could ever trigger. Something can't be both BloodPactRage and Ward, and that's what you're checking for.

[Edit: I am dumb and this is not perl]
 Cerberus.Shadowmeld
Offline
Server: Cerberus
Game: FFXI
Posts: 1668
By Cerberus.Shadowmeld 2015-05-18 09:27:22
Link | Quote | Reply
 
That rule processes when he doesn't use a blood pact of any kind. It ~= means Not equal.

Basically, it makes it so aftercast doesn't do anything if he is using a bloodpact.
 Lakshmi.Rooks
Administrator
Offline
Server: Lakshmi
Game: FFXI
user: Rooks
Posts: 1566
By Lakshmi.Rooks 2015-05-18 09:39:02
Link | Quote | Reply
 
Derp. I was reading that as =~ (which is perl's match operator).
 Asura.Sechs
Offline
Server: Asura
Game: FFXI
user: Akumasama
Posts: 9893
By Asura.Sechs 2015-05-18 10:15:12
Link | Quote | Reply
 
Cerberus.Shadowmeld said: »
That rule processes when he doesn't use a blood pact of any kind. It ~= means Not equal.

Basically, it makes it so aftercast doesn't do anything if he is using a bloodpact.
Yep exactely. This is a rule I created loooong time ago, but it was just to say that no matter when or where my Aftercast (player) gets processed by Gearswap. Regardless of that Aftercast should perform no action if what I used is a BP.

Which leads me to think that the issue we're experiencing (BP going out with a wrong set) has nothing to do with Aftercast (player) function.


The hypothesys I made some time ago are:
1) Too early - GS executes Pet_Aftercast too soon. That means your BP goes off with whatever set you've put in Pet_Aftercast.
2) Too late - GS equips Pet_Midcast gear too late. That means the BP goes off with the Precast (Player) gear you've set up for BPs.
3) ??? Can't think of any other source causing this.


As I mentioned before we do not know what's happening. All we're seeing is our damage being much lower than it should, sign than it got executed with the wrong gear.
 Asura.Pergatory
Offline
Server: Asura
Game: FFXI
user: Pergatory
Posts: 1334
By Asura.Pergatory 2015-05-18 13:46:27
Link | Quote | Reply
 
Again I'm almost positive this is not a problem with Gearswap, it's a problem with Mote's includes.

I'm not using the Mote includes, and my BPs always execute in the correct gear. 100% of the time as far as I can tell. (Aside from the one case I pointed out earlier where pet_midaction() doesn't report the correct status, most likely due to client-server latency.)
 Asura.Sechs
Offline
Server: Asura
Game: FFXI
user: Akumasama
Posts: 9893
By Asura.Sechs 2015-05-18 14:25:02
Link | Quote | Reply
 
Asura.Pergatory said: »
Again I'm almost positive this is not a problem with Gearswap, it's a problem with Mote's includes.
Nope.
Me and Lewyo use our own luas which we built on our own, each of us his own file.
Lewyo took a lot from Acacia's lua whereas mine was built completely from zero.

I've never used any of Mote's luas for any of my jobs.
Not saying it has to be 100% GS's fault, but given how many people reported that it works flawlessly with the game's built-in system I'm leaning to say that yes, it's likely this has something to do with GS, one way or another.
Log in to post.