What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

rb 381 couldn't get pvp skill

Joined
Aug 27, 2017
Messages
70
coding a pvp combat ,but couldn't get pvp skills
OWUS}87OJ)C43DCT{P$18_Q.png
A1%{VX@@W2%4699`7VKE)@2.png
Q7}0})TT}YDU~D[{HDX(EPW.png
 
PVP actions cannot be executed manually to protect users from executing actions they shouldn't be able to do. You must use DoPVPCombo. GetPVPComboCurrentAction is just for checking how far into a combo you are really.
 
PVP actions cannot be executed manually to protect users from executing actions they shouldn't be able to do. You must use DoPVPCombo. GetPVPComboCurrentAction is just for checking how far into a combo you are really.

my last words not clear.

but now cancast can't return pvp skills available for use or not
 
What class and level are you when you try that, and what zone?
 
What class and level are you when you try that, and what zone?

Log(Core.Player.CurrentJob);
Log(Core.Player.ClassLevel);
Log(WorldManager.ZoneId);
Log(WorldManager.InPvP);
Log(ActionManager.ActionReady(ActionType.Spell, 8848));
Log(ActionManager.CanCast(8848,null));
Log(ActionManager.HasSpell(8848));
Log(ActionManager.GetPvPComboCurrentActionId(18));

Machinist
80
250
True
True
False
False
8848
 
Could you do

Code:
foreach(var item in ActionManager.CurrentActions.Values)
{
Log(item.DynamicString());
}
 
Can you try doing

Code:
SpellData spell;
DataManager.SpellCache.TryGetValue(ActionManager.GetPvPComboCurrentActionId(18),out spell);
Log(ActionManager.CanCast(spell,Core.Target));

I think that should work. I'll need to adjust how GetPvPComboCurrentAction internally. Please let me know if that works or not.
 
Can you try doing

Code:
SpellData spell;
DataManager.SpellCache.TryGetValue(ActionManager.GetPvPComboCurrentActionId(18),out spell);
Log(ActionManager.CanCast(spell,Core.Target));

I think that should work. I'll need to adjust how GetPvPComboCurrentAction internally. Please let me know if that works or not.




SpellData spell;
DataManager.SpellCache.TryGetValue(ActionManager.GetPvPComboCurrentActionId(18),out spell);
Log(ActionManager.CanCast(spell,Core.Target));


True


no more
 
Can you try doing

Code:
SpellData spell;
DataManager.SpellCache.TryGetValue(ActionManager.GetPvPComboCurrentActionId(18),out spell);
Log(ActionManager.CanCast(spell,Core.Target));

I think that should work. I'll need to adjust how GetPvPComboCurrentAction internally. Please let me know if that works or not.



this can work but when out range of skill it alse return true.
 
Back
Top