SphereCommunity
@UserWarmode resets all the attackers - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: @UserWarmode resets all the attackers (/Thread-UserWarmode-resets-all-the-attackers)



@UserWarmode resets all the attackers - Rizz - 09-30-2014 07:29 AM

Checked out, if you tab (trigger @UserWarmode) you'll reset all the attackers.
I think is a bug.


RE: @UserWarmode resets all the attackers - Extreme - 09-30-2014 07:35 AM

(09-30-2014 07:29 AM)Rizz Wrote:  Checked out, if you tab (trigger @UserWarmode) you'll reset all the attackers.
I think is a bug.

If confirmed, yes, its a bug!


RE: @UserWarmode resets all the attackers - Rizz - 09-30-2014 07:54 AM

I reported.
Players in my shard are using it to escape from arena ignoring attacker.last.elapsed.

ON=@UserWarmode
serv.b attacker <src.ATTACKER.LAST>

If you tab one time you'll see the attacker, if you tab again you'll reset.


RE: @UserWarmode resets all the attackers - Extreme - 09-30-2014 08:29 AM

Try this:
PHP Code:
ON=@USERWARMODE
IF (<FLAGS> & STATF_WAR)
 
FLAGS &=~ STATF_WAR
ELSE
 
FLAGS |= STATF_WAR
ENDIF
UPDATEX
RETURN 



RE: @UserWarmode resets all the attackers - Rizz - 09-30-2014 08:35 AM

(09-30-2014 08:29 AM)Extreme Wrote:  Try this:
PHP Code:
ON=@USERWARMODE
IF (<FLAGS> & STATF_WAR)
 
FLAGS &=~ STATF_WAR
ELSE
 
FLAGS |= STATF_WAR
ENDIF
UPDATEX
RETURN 

with this code i stuck in war mode.

I'm stuck in warmode but attackers are not resetted.


RE: @UserWarmode resets all the attackers - Extreme - 09-30-2014 09:45 AM

Apparently only... the cursor just don't turn red because you don't send the packet (return 1)... so...

PHP Code:
ON=@USERWARMODE
IF (<FLAGS> & STATF_WAR)
 
FLAGS &=~ STATF_WAR
 SENDPACKET 072 00 00 32 00
ELSE
 
FLAGS |= STATF_WAR
 SENDPACKET 072 01 00 32 00
ENDIF
RETURN 




RE: @UserWarmode resets all the attackers - Rizz - 09-30-2014 10:19 AM

(09-30-2014 09:45 AM)Extreme Wrote:  Apparently only... the cursor just don't turn red because you don't send the packet (return 1)... so...

PHP Code:
ON=@USERWARMODE
IF (<FLAGS> & STATF_WAR)
 
FLAGS &=~ STATF_WAR
 SENDPACKET 072 00 00 32 00
ELSE
 
FLAGS |= STATF_WAR
 SENDPACKET 072 01 00 32 00
ENDIF
RETURN 


In this way is working for distance < 19.

When you are 19 tiles far away from your opponent, his status bar will become grey and the attacker will be resetted.