Skip to content
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

[Crash] Inviting Bot to Raid causes crash at raids.cpp 1505 #3131

Closed
neckkola opened this issue Mar 19, 2023 · 6 comments
Closed

[Crash] Inviting Bot to Raid causes crash at raids.cpp 1505 #3131

neckkola opened this issue Mar 19, 2023 · 6 comments
Assignees

Comments

@neckkola
Copy link
Contributor

I updated to the current master and now bot raiding no longer works for me. Simple use case; spawn a single Bot, invite to raid. Crash on raids.cpp:1505 on the GetPlayerIndex(c) check. @Aeadoin Do you get the same?

[03-19-2023 18:32:12] [Zone] [Crash] C:\GitHubRepo\Server\zone\raids.cpp (1505): Raid::SendGroupLeadershipAA
[03-19-2023 18:32:12] [Zone] [Crash] C:\GitHubRepo\Server\zone\raids.cpp (144): Raid::AddMember
[03-19-2023 18:32:12] [Zone] [Crash] C:\GitHubRepo\Server\zone\bot_raid.cpp (212): Bot::CreateBotRaid
[03-19-2023 18:32:12] [Zone] [Crash] C:\GitHubRepo\Server\zone\bot_raid.cpp (177): Bot::ProcessRaidInvite
[03-19-2023 18:32:12] [Zone] [Crash] C:\GitHubRepo\Server\zone\client_packet.cpp (11815): Client::Handle_OP_RaidCommand
[03-19-2023 18:32:12] [Zone] [Crash] C:\GitHubRepo\Server\zone\client_packet.cpp (508): Client::HandlePacket
[03-19-2023 18:32:12] [Zone] [Crash] C:\GitHubRepo\Server\zone\client_process.cpp (591): Client::Process

@Aeadoin Aeadoin self-assigned this Mar 19, 2023
@Aeadoin
Copy link
Contributor

Aeadoin commented Mar 19, 2023

I can't seem to reproduce this on master.

@neckkola
Copy link
Contributor Author

OK, thanks. I will investigate further on my end and let you know. Thank you.

@Aeadoin
Copy link
Contributor

Aeadoin commented Mar 19, 2023

can you try testing on #3125

@neckkola
Copy link
Contributor Author

Traced it to the db update for bot_id as it failed on 3125 as well.
The manifest has
9225|2023_01_21_bots_raid_members.sql|SHOW COLUMNS FROM raid_members LIKE 'botid'|empty|
though the sql is ALTER TABLE raid_members ADD COLUMN bot_id int(4) NOT NULL DEFAULT 0 AFTER charid;

As I had a botid from the previous versions, it was not running the the script.

It should be changed to check for bot_id instead of botid.

@Kinglykrab
Copy link
Contributor

Should be good once #3132 is merged.

@Kinglykrab
Copy link
Contributor

Merged #3132.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants