-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] decay system within 1 hour if no wh information is entered #752
Comments
Better solution would be to detect if player is in pod and don't create new systems or connections if they're in a pod. Would also remove the issue of podding/self-destructing causing the same problem as well. |
that would not address toll gates, unfortunately |
@Solid-State-Society Thanks for your suggestion! Could you describe what you mean with "tollgating" please?
There is just one case, where the new logic will fail:
|
by tollgating I just mean the new jump bridging, taking the player made gates that you have to pay a fee for
Outlook fur Android<https://aka.ms/ghei36> herunterladen
…________________________________
From: Mark Friedrich <[email protected]>
Sent: Friday, April 19, 2019 4:58:13 PM
To: exodus4d/pathfinder
Cc: Solid-State-Society; Mention
Subject: Re: [exodus4d/pathfinder] [feature request] decay system within 1 hour if no wh information is entered (#752)
@Solid-State-Society<https://github.com/Solid-State-Society> Thanks for your suggestion! Could you describe what you mean with "tollgating" please?
@Sakata-MC<https://github.com/Sakata-MC> Connections created in case of podding should now be fixed:
* New ESI API endpoint for Clones<https://esi.evetech.net/ui/#/Clones> added
* Characters home clone location (structure/station) now stored to character data on login
* New connection will not get added if a "pod jump" is detected:
* Current shipType == capsule
* Current character location (structure/station) matches home clone location
* Jump distance between systems > 1
There is just one case, where the new logic will fail:
* Character is in a capsule, sitting in a wh that leads directly to your home clone system. And you manage to jump into the systems, warp to your home clone structure/station and dock within < 5s.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#752 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AIXXE45MLZOBQBBD35RZ6ELPRHMYLANCNFSM4GX6KO7Q>.
|
Is it possible that this issue was reintroduced? We see connections to Jita after someone podded himself on our maps on a daily basis. The capsule itself doesn't seem to trigger it, but as soon as you board a ship in Jita a connection is created. Could it be related to the addition of the jump history feature? |
@tralafiti indeed, the jump history is most likely the issue. Are you able to test two code versions that might fix it under "real life" conditions? - Just temporary change a few code lines, and give me feedback if there is no new connection made after pod kill + ship change in clone location? Version A:Fail-Safe version, flushes jump history after podding detected. (downside of this is, that jump history disappears from UI) pathfinder/app/main/controller/api/map.php Lines 1171 to 1173 in f443e80
... with... if(!$route['routePossible']){
$character->clearCacheDataWithPrefix(Pathfinder\CharacterModel::DATA_CACHE_KEY_LOG_HISTORY);
$addConnection = false;
} Version B:More elegant but higher complexity - needs more testing. We break out of the loop that iterates over all historic jumps and looks for the last relevant history entry. pathfinder/app/main/model/pathfinder/charactermodel.php Lines 1247 to 1249 in f443e80
... with... (add new if below the existing) if(!empty((array)$historyEntry['mapIds'])){
$skipRest = true;
}
if(
!$skipRest &&
(
'station' == $this->cloneLocationType &&
$this->cloneLocationId == (int)$historyEntry['log']['station']['id']
) || (
'structure' == $this->cloneLocationType &&
$this->cloneLocationId == (int)$historyEntry['log']['structure']['id']
)
){
$skipRest = true;
} |
@exodus4d Version B is active on our server now, will give you feedback in a few days. Thanks! |
We are still seeing connections being created when someone is podded. Usually when the podded pilot leaves the station, doesn't seem to matter if he's in a ship or still in his pod |
OK, thanks for feedback. I think I don´t get around making some extensive testing for this issue :( |
To auto purge incorrect connections by jumpcloning or tollgating, how about implementing a function that deletes any system within one hour if no user has entered the corresponding wh information in said system?
The text was updated successfully, but these errors were encountered: