SphereCommunity
56b,attack stops after 2-3sec - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: 56b,attack stops after 2-3sec (/Thread-56b-attack-stops-after-2-3sec)



56b,attack stops after 2-3sec - Q23A - 04-26-2012 01:22 AM

I have a problem. When I hit npc my attack stops after 2-3 sec.
any suggestions?


RE: 56b,attack stops after 2-3sec - Crusader - 04-26-2012 01:34 AM

if the npc doesn't attack u, it's normal... u need a macro with attacklast after using a target on him ,-)


RE: 56b,attack stops after 2-3sec - Q23A - 04-26-2012 01:52 AM

Have can I get this macro?
And Can I make It automatic?


RE: 56b,attack stops after 2-3sec - Crusader - 04-26-2012 02:06 AM

well if it doesn't attack u, try to write .invul in order to get rid of invulnerability so the monster will attack u.
chars will be attacked normally...

if u want to attack and be invul, u should:
Dclick a weapon to have a target and click on the monster
then use the macro "attacklast" (simply, not more) and loop it with 5000 delay with uoloop.


RE: 56b,attack stops after 2-3sec - Q23A - 04-26-2012 02:09 AM

Ok,but If on my server has player who use bow,always Big Grin Then He should dblclick on target every time?


RE: 56b,attack stops after 2-3sec - Crusader - 04-26-2012 02:20 AM

no, is the same.
Even if u use dclicking a dagger and then use a bow, the macro will work anyway.


RE: 56b,attack stops after 2-3sec - Q23A - 04-26-2012 02:45 AM

Is possibility to make script for server? Players don't like this issue.
On 55i wasn't this problem :/


RE: 56b,attack stops after 2-3sec - Shaklaban - 04-27-2012 01:06 AM

(04-26-2012 01:22 AM)Q23A Wrote:  I have a problem. When I hit npc my attack stops after 2-3 sec.
any suggestions?

is it the same with clean sphere with no custom scripts? if same you can look to your combat settings in sphere.ini. i never seen something like this.


RE: 56b,attack stops after 2-3sec - Q23A - 04-27-2012 03:52 AM

Ok. I find a problem why it is like that.
When I use my newbie transport I have this problem.
Anybody knows why?


[itemdef i_et_eh]
name=Newbie Item
id=i_pet_horse
type=t_normal

on=@create
color=0870
attr=14

on=@dclick
if !(<src.findlayer.25.uid>)
src.newitem i_et_horse
src.act.more1=c_et
src.act.more2=<src.uid>
src.act.equip
src.update
remove
return 1
else
src.message you are already mounted
return 1
endif



on=@equip
link=<src.uid>
IF <SRC.findlayer.layer_robe.COLOR>
COLOR=<SRC.findlayer.layer_robe.COLOR>
ELIF <src.findlayer.layer_chest.color>
color=<src.findlayer.layer_chest.color>
ENDIF
ENDIF



on=@unequip
src.newitem i_et_eh
src.act.name Newbie Item owned by <src.name>
src.act.bounce

[itemdef i_et_horse]
name=Newbie horse
id=i_mt_horse_gray
TDATA3=c_et
layer=25

on=@create
color=0
attr=14

on=@equip
link=<src.uid>
IF <SRC.findlayer.layer_robe.COLOR>
COLOR=<SRC.findlayer.layer_robe.COLOR>
ELIF <src.findlayer.layer_chest.color>
color=<src.findlayer.layer_chest.color>
ENDIF
ENDIF


on=@unequip
src.newitem i_et_eh
src.act.name Newbie Item owned by <src.name>
src.act.bounce


[chardef c_et]
id=c_horse_gray

on=@click
remove
return 1

on=@npcrestock
remove
return 1

on=@skillstart
remove
return 1

on=@death
remove
return 1