Quote:
Originally Posted by JimRaynerd
Updated to the new version few things I noticed after some testing:
-Without heroes, the flag all doesn't work. edit: tried again and it works. Gonna test it a few times to see what's up.
-yo-yoing while using the flagging still occurs if using the flag all (needs a hero to be in the party, as it doesn't work as stated above). Individual flags work just fine. edit:same as above, tested it again with different characters and it worked without the yoyoing.
-The loot disables itself much too easily and quickly even when an item can be reached. So you have to continually monitor the followers to see if their loot function got disabled or not. You can easily test it by dropping a bunch of loot on the ground and then toggling loot on a follower, after 1 item it turns off.
edit: so tried a bunch more with the flagging, it's still very hit and miss. Sometimes I can flag all sometimes I can't. With or without a hero.
The yoyoing seems to be connected with the all flag. I've noticed that when flag all works, there's no yoyoing. If it fails, then the yoyoing happens (needs you to have a hero to be able to place the flag).
The debugger is also not showing when a follower is all flagged, only when you use an individual flag will it says it's all flagged. The "is flagged" works well.
It also sets both to Yes on the leader, which is a bit weird. He does the flagging but is not flagged. Dropping an all flag turns both the Yes, dropping a single flag works.
|
As you can see in the code above neither the follow nor the scatter function has any code relating to anything different than tye actual target they are following, if its a flag, then it's a flag, if it's the hero the it's the hero, can't be both since the function doesn't address both, individual flags, work the same but with each coord in they slots.
If the flag is still not working most be something else not related , i cannot reproduce, need more data, I did tests with and without heroes and the flagging was correct, in and out of combat.
The all flag works by sending a flag signal on the leader (player 0) flag.
Then they take the position of the flag and construct a dummy agent to follow with all the data of the flag, the leader is not even checked after that, only the dummy agent.
Check if there's any flickering in the memory monitor.
Check if the leader position ever gets to be offline(it shouldn't, it's even exempted from keepalive checking) that's the only way the all flag could be dissapearing..
Keepalive counters will go back and forth, it's the "is online flag" the important part, that should never, ever flicker, if it does, then that's the problem.
The keepalive always has to be > 0 or the flag will be taken as offline and following to the regular player 0 will resume.
Try overriding the movement when the yoyoing happens,
If its because of the new keepalive function, it will be stuck, forever I the loop, you couldn't even override it because the keepaloves are done ever 200ms.
If you indeed can take control of your follower while yo-yo ing, then must be something else interfering . Need to know how to reproduce.
If you can give me more data to test, specific conditions apart from just using the flag, if aggro range takes part, if autonomy ranges are involved, if loot or other factor needs to be taken I to account .i will be testing thoroughly but I have reduced time this week, if I can test , will be the weekend.
The timeout on items happens after 2 seconds of issuing the loot command and the distance from the item has either not changed, or has increased, please try to identify the issue , the function will make comparisons against the item you're looting and with the nearest item in range (supposedly the same item since you're walking to it or should) when timeout fires, try and see if there is anything interfering , or try to give parameter for me to reproduce.
The functions work, now it's a matter of identifying the bugs, and they are not that easy to find anymore, will need more specific data to be able to reproduce with ease and attack issues directly without spending all night trying to make them happen.
It could be great, if you could take like a series of steps so I can follow and pin point the issues.
Something like.
Create a party with 1 hero(any class)
Go to great temple of balthazar.
Stand in x,y
Flag all in X1,y1
Flag hero in X2,y2
And reproduce.
Something like that would help me greatly identifying issues.
I can expose more debug data to make that process easier, just let me know what do you need.
I can either show data like it's happening now or draw lines to targets or on the ground, or do both. Or you tell me what's better for you and I'll make it happen.