Jump to content

Why step is skip by quest fullcsharpcode type


Recommended Posts

Hello guys

I write simple code with fullcsharpcode type

public sealed class stepfour : QuestClass
    public override bool Pulse() 
        consolelog.write("In step4"); 
        return true;

It’s not work ,debug log display step5,step4 is skip,but it use the overridpulsecode type,it’s ok.

how can I do that work?

Link to comment
Share on other sites

For the fight https://wrobot.eu/forums/topic/2681-snippets-codes-for-quest-profiles/?do=findComment&comment=13088 , 

For regen:

        wManager.wManagerSetting.CurrentSetting.FoodPercent = 1;
        wManager.wManagerSetting.CurrentSetting.FoodMaxPercent = 1;
        wManager.wManagerSetting.CurrentSetting.DrinkPercent = 1;
        wManager.wManagerSetting.CurrentSetting.DrinkMaxPercent = 1;

For stuck:

 wManager.Events.MovementEvents.OnPulseStuckResolver += delegate(CancelEventArgs cancelable) { cancelable.Cancel = true; };


Link to comment
Share on other sites

thanks again,but i have three questions

1.Interact GameObject is locked ,so  return false?

2.i use the GetNearestWoWGameObject to search,but i find it's radius is less than devementTool 's "getobjects", so how to set the search radius?and this api return empty object or null when not find?

3.i use this code to find attack target in partymember's target,but some times ,but not find,all partymeber is attacking,i am not.  

i use robot in island,i use the   Party.GetPartyNumberPlayers() it's empty,is must use GetPartyNumberPlayers(PartyCategoryType.LE_PARTY_CATEGORY_INSTANCE),so the IsTargetingPartyMember include homeandinstance?

GetObjectWoWUnit(). FirstOrDefault(u => u.Reaction != Reaction.Friendly &&
                                 u.Type != WoWObjectType.Player &&


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...