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!

Interact - bug or not

Vies

New Member
Joined
Dec 19, 2014
Messages
3
So, tried to do some harvesting profiles for survivalist last night, but faced problem with interaction range:
Image 056.webp
Many trees succesfully harvested, but some are not because of this.
Tried to use MoveTo before interacting, but bot uses interaction before it's final move point. Is there any command to prevent interaction before finishing movement?

Oh and also: Is there any conditions for checking exists object or not (for plants, trees and ores)?
 
Last edited:
Hello,

You should be able to use InteractRange="x" to set a specific range (in meters.)

The collect tag may be better to use for something like this, although I think currently the collect tag only works with Quests.

I'll chat with Apoc about it.
 
You should be able to use InteractRange="x" to set a specific range (in meters.)

Thanks for reply, but I tried this. I dont know why is this working sometimes and sometimes not.
Also i'm tested this in Celestion if you want to know.
 
Thanks for reply, but I tried this. I dont know why is this working sometimes and sometimes not.
Also i'm tested this in Celestion if you want to know.
What range did you set it to?
Also, do you have a log of it?
 
Tried again in another zone:

Code:
<Interact InteractRange="1" QuestId="-1" QuestObjective="-1" CreatureId="29552" CreatureName="Celestion Tree" MapId="51" X="3152.411" Y="-951.2943" Z="-2094.81372" />
<Interact InteractRange="1" QuestId="-1" QuestObjective="-1" CreatureId="29552" CreatureName="Celestion Tree" MapId="51" X="3173.995" Y="-953.0458" Z="-2077.37817" />

Code:
Setting game spell cast behavior to Normal
Moved to new profile element: <If Condition="GameManager.CurrentWorldId == 51" /> (Line #4)
Element line number: 4
If Tag executing <Echo LogLevel="Info" Message="Compiling Celestion..." /> (Line #5)
If Tag executing [Interact] CreatureId: 29552, X: 3152,411, Y: -951,2943, Z: -2094,814, MapId: 51
Moving towards interact creature.
Moving to next hop. Distance from current: 0, distance to next: 20,75312
Proceeding to next hop at X:3152,411 Y:-951,2943 Z:-2094,814. Distance: 20,75312
Waiting up to 300 seconds for the interact creature to spawn.
Interact NPC has spawned!
Interacting with creature.
Moving to next hop. Distance from current: 0,0004608053, distance to next: 26,92196
Proceeding to next hop at X:3173,995 Y:-953,0458 Z:-2077,378. Distance: 26,92196
Interact: Facing interact target at X:3173,995 Y:-953,0458 Z:-2077,378
Interact: Attempting to target actor. (May not actually target!)
Interact: Interacting with actor.
Interact: Waiting up to 1000ms for the player to begin casting...
Image 061.webp
Code:
Moving towards interact creature.

Same thing. First tree successfully harvested, next one - not.
And in another place too.

This solution is working (with some small problems like bot falling from cliffs):
Code:
<Collect CreatureIds="29552" InteractRange="1">
                    <SearchAreas>
                        <Hotspot X="3017.025" Y="-906.809265" Z="-2057.43945" Range="25" Timeout="2000" Name="#1 - Celestion" />
                    </SearchAreas>
                </Collect>
And also:
Image 062.webp
He's indefinitely trying to run toward scarp to the next target.
 
Tried again in another zone:

Code:
<Interact InteractRange="1" QuestId="-1" QuestObjective="-1" CreatureId="29552" CreatureName="Celestion Tree" MapId="51" X="3152.411" Y="-951.2943" Z="-2094.81372" />
<Interact InteractRange="1" QuestId="-1" QuestObjective="-1" CreatureId="29552" CreatureName="Celestion Tree" MapId="51" X="3173.995" Y="-953.0458" Z="-2077.37817" />

Code:
Setting game spell cast behavior to Normal
Moved to new profile element: <If Condition="GameManager.CurrentWorldId == 51" /> (Line #4)
Element line number: 4
If Tag executing <Echo LogLevel="Info" Message="Compiling Celestion..." /> (Line #5)
If Tag executing [Interact] CreatureId: 29552, X: 3152,411, Y: -951,2943, Z: -2094,814, MapId: 51
Moving towards interact creature.
Moving to next hop. Distance from current: 0, distance to next: 20,75312
Proceeding to next hop at X:3152,411 Y:-951,2943 Z:-2094,814. Distance: 20,75312
Waiting up to 300 seconds for the interact creature to spawn.
Interact NPC has spawned!
Interacting with creature.
Moving to next hop. Distance from current: 0,0004608053, distance to next: 26,92196
Proceeding to next hop at X:3173,995 Y:-953,0458 Z:-2077,378. Distance: 26,92196
Interact: Facing interact target at X:3173,995 Y:-953,0458 Z:-2077,378
Interact: Attempting to target actor. (May not actually target!)
Interact: Interacting with actor.
Interact: Waiting up to 1000ms for the player to begin casting...
View attachment 159089
Code:
Moving towards interact creature.

Same thing. First tree successfully harvested, next one - not.
And in another place too.

This solution is working (with some small problems like bot falling from cliffs):
Code:
<Collect CreatureIds="29552" InteractRange="1">
                    <SearchAreas>
                        <Hotspot X="3017.025" Y="-906.809265" Z="-2057.43945" Range="25" Timeout="2000" Name="#1 - Celestion" />
                    </SearchAreas>
                </Collect>
And also:
View attachment 159094
He's indefinitely trying to run toward scarp to the next target.

Thanks for all the info! I'll drop in a quick fix for the "falling off cliff" issue. (It'll just create a new path if it happens to fall)
 
Back
Top