Skip to content

Fix Nex return trips#6690

Open
BartSimp3 wants to merge 2 commits intooldschoolgg:bsofrom
BartSimp3:BsoNex
Open

Fix Nex return trips#6690
BartSimp3 wants to merge 2 commits intooldschoolgg:bsofrom
BartSimp3:BsoNex

Conversation

@BartSimp3
Copy link

@BartSimp3 BartSimp3 commented Dec 13, 2025

Description:

Will fix solo return trip showing loot and also in teams of 5+ people the trip will return.

Changes:

Will make a 2nd message when the character limit exceeds in the return trip.

Other checks:

  • I have tested all my changes thoroughly.
@github-actions github-actions bot added the BSO Bot School Old label Dec 13, 2025
data
});

if (messages[1]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only the first two segments from splitMessage are sent. If splitMessage returns more than two parts, the extras are dropped. Consider iterating over all message parts.

@themrrobert
Copy link
Contributor

So that is a serious thing.

You can't send handleTripFinish multiple times for the same trip, because it will trigger all of the end-of-trip handlers multiple times.

You'll need to figure out another way.... Iiirc Ignecarus had the same problem, why don't you look there to see how I fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants