Welcome, Guest
Please Login or Register.    Lost Password?

Dread spawn avoidance when landing.
(0 viewing) 
Go to bottomPage: 123
TOPIC: Dread spawn avoidance when landing.
#57218
Re: Dread spawn avoidance when landing. 3 Months, 3 Weeks ago Karma: 0
What I can't seem to find is part of which function is the dread avoidance ? I tried using AvoidShipHunter right after WarpToLocation, but its not that ?
Can you please, tell me where is the Dread avoidance so that I can add that function right after the warp.

Thank you.
naydens
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#57219
Re: Dread spawn avoidance when landing. 3 Months, 3 Weeks ago Karma: 753
I added necessary changes in algorithm in attachment. Can you test it first? AvoidShipsHunter is responsible for check. Cap ship should appear in NPC preset in overview. If necessary need to redo first run
Slav2
Admin
Posts: 15696
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
Send logs to my mail - with subject 'log files' to pass spam filter.
How to record logs in knowledge base
 
#57220
Re: Dread spawn avoidance when landing. 3 Months, 3 Weeks ago Karma: 0
Seems to be crashing with that file:

Ooops, we crashed with message Object reference not set to an instance of an object.
Please screen this info and send to slav2@list.ru
at ‡˜–.‡˜•.›—()
1:›•
2:ThreadStart_Context
3:RunInternal

I don't have more time to tackle this today, when I can I will reproduce and collect the logs. Thanks !
naydens
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#57225
Re: Dread spawn avoidance when landing. 3 Months, 2 Weeks ago Karma: 0
I did the following modifications and the algorithm seems stabled.
Unfortunately, there are no dread spawns at the moment to put it to the test, but I'll keep you posted.



310: UndockSub()[900+;310;410+]
320: WarpingToLocation(1)[900+;070;320;325;160+]
325: AvoidShipsHunter()[900+;070;420+;240+;530+]

330: BeltHunter()[900+;430+;WO;430+;430+]
340: CheckLocal(;[900+;510+;070+]
400: FleetMode()[900+;500+;400;500;500+]
410: CheckAnomalies(True)[900+;620+;220+;900+;002+]
420: CheckLocal(;[900+;425+;060+]
naydens
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#57246
Re: Dread spawn avoidance when landing. 3 Months, 1 Week ago Karma: 0
This did not work as expected, it still does the Player ship check and local check before it checks the NPCs which gets the ship killed.

I'm doing this in a Ishtar which can take about 2-3 hits from the dread.
naydens
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#57298
Re: Dread spawn avoidance when landing. 3 Months ago Karma: 0
Good News Everyone !

I finally had some time to work on this and I found the solution.

The function that checks for the Dread spawn and warps out is in the "BeltHunter" routine and not in "AvoidShipsHunter" as we previously thought.

I tweaked the algorithm to loop trough BeltHunter right after the warp is finished, tested it a few times and the bot always warped out and did not die, most of the time it got 1 hit from the dread, but that's fine as long as you are not pointed.

Now this confuses the bot a little and ads time to check for other players after landing, but so far works like a charm.

I have attached the algorithm I am using here.

Ideally, the best solution would be to add the dread check function in the start of "HunterFightStart" or at the end of "WarpingToLocation" routines, but that's out of my scope its up to Slav on this. Hopefully we'll see it in a future version.
File Attachment:
File Name: AnomalyHunterSpeedTank_DREADFIX.txt
File Size: 2223
naydens
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 123
Moderators: Slav2
© Macro Laboratory 2021
All rights reserved!
Design by Ivan Kozyrin