Conditions

#21

Changing the UI a little bit.

1 Like

#22

Not possible unless I add another value field to let you specify the item.

1 Like

#23

Monster scrolls and Pandora boxes: use ‘x’ MS/PB at the same time.

0 Likes

#24

Can’t add things that require waiting without some serious work.

1 Like

#25

can you add another value field ?

0 Likes

#26

Yes, I am.

I gave it some more thought and I may be able to add delays to conditions. It’d just be a field for “ifs” that allows you to wait X number of seconds that you can add on to other “ifs”.

image

1 Like

#27

In that case when this timer will start? Actually, when this all conditions will be checked? In every 500 ms for example?

0 Likes

#28

It isn’t a timer. It’s simply keeping track of the time.

  1. When the config is loaded the value is not set, so the condition will fire immediately if the other conditions are met in the same if statement.
  2. If they all meet the values you set, the time is then set to “now” so in another X number of seconds that pass it will trigger again.

I could make it so the time is set on config load instead so it won’t trigger until after X number of seconds have actually passed.

Edit: Conditions are checked the same way as the old script conditions. About every 250ms give or take depending on if the bot is also attacking, buffing, picking items, etc.

1 Like

#29

Thank you for all the answers and sorry for asking a lot of them :slight_smile:

0 Likes

#30

Added this. Adding “drop” to this gets complicated so not sure if I will or not.

image

1 Like

#31

Here’s some interesting ones i thought up.
If Buff x active then …
If PartyAverageLevel x then …
If PartyMembersLowestLevel x then …
If GoldAmount x then …
If MonsterTypeCount x then … (e.g. 2x giant party)
If Died x Amount then …
If Missing x Item then… (e.g Missing primary/secondary weapon)

… then PreventCasting x Buff (e.g certain party member missing, prevent using life turnover buff)

0 Likes

#32

I have already added skill active / inactive and I can add some of the ones you listed. I can’t really make it prevent casting without removing a buff. The conditions just check certain things with ifs and can only toggle specific settings on/off at the moment. It doesn’t check the conditions to see if it can cast a certain buff or not.

0 Likes

#33

Hmm. Maybe if something then remove from/add to buff list instead? x)

Also is it possible to add to select random current level monster spot. e.g. you reach a certain level and want the bot to change spot without having to make a script myself (since there’s the list u can manually choose from already)

0 Likes

#34

Just came out, maybe
If call python func == true
Then x

0 Likes

#35

That is what the Python option is in the list. You can use Python for ifs and thens.

0 Likes

#36

that wasn’t in the ifs list thats why i suggested :slight_smile:

0 Likes

#37

Oh, I added it shortly after.

Updated list:

If

PlayerInTrainingArea,
PlayerNotInTrainingArea,
PlayerInRange,
PlayerNotInRange,
PlayerInParty,
PlayerNotInParty,
PlayerInGuild,
PlayerNotInGuild,
PlayerInAcademy,
PlayerNotInAcademy,
Python,
InTrainingArea,
Botting,
Tracing,
Level,
BottingTime,
NotAttacked,
Elapsed,
SkillActive,
SkillNotActive,
ItemExists,
ItemCount,
Monsters,
MonsterGeneral,
MonsterChampion,
MonsterGiant,
MonsterParty,
MonsterPartyChampion,
MonsterPartyGiant,
MonsterTitan,
MonsterElite,
MonsterUnique,
MonsterStrong,
MonsterEvent,
MonsterAttacking,
PartyMemberCount,
PartyMemberDead,
PlayersNearbyCount,
QuestCompleted

Then

StopBot,
StopTrace,
StartAttack,
StopAttack,
StartLure,
StopLure,
StartPick,
StopPick,
StartPartyPick,
StopPartyPick,
StartOtherPlayerPick,
StopOtherPlayerPick,
StartPetPick,
StopPetPick,
Cast,
Return,
Python,
ChangeScript,
ChangeTrainingArea,
ChatGeneral,
Wait,
PartyInvite,
GuildInvite,
AcademyInvite,
PartyKick,
Terminate,
Disconnect,
EnableRelog,
DisableRelog
2 Likes

#38

I thought of some other ones I could potentially add: walk to coordinates, execute script, in area (name), leave party. I may not add them all.

2 Likes

#39

maybe good idea
If (message “x” in chat)

1 Like

#40

Since it’s polled I can’t do things like that without tracking chat messages or adding specific events for chat.

0 Likes