Skip to content

CAPI Fix [closed due to branch issues]#1230

Closed
markski1 wants to merge 1 commit into
openmultiplayer:masterfrom
markski1:master
Closed

CAPI Fix [closed due to branch issues]#1230
markski1 wants to merge 1 commit into
openmultiplayer:masterfrom
markski1:master

Conversation

@markski1

@markski1 markski1 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Fixes #1199

Currently attempts to release legacy id after real id is released, which destroys the gz and causes the legacy id to be -1. This patch first stores the legacy id to avoid this, which is how it seems to already be done for pawn (Gangzones/Natives.cpp line 44 to 58)

Disclaimer: I've been unable to test this because I cannot make conan and PyYAML play ball with my windows python env. I'll try again when I have time, but this seems straightforwards enough.

@markski1 markski1 deleted the branch openmultiplayer:master June 7, 2026 00:33
@markski1 markski1 closed this Jun 7, 2026
@markski1 markski1 deleted the master branch June 7, 2026 00:33
@markski1

markski1 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

Oops. Seems something I did on my fork closed this.

It is now at #1231

@markski1 markski1 changed the title CAPI: Fix legacy slots not being released for GZ and Pickups CAPI Fix [closed due to branch issues] Jun 7, 2026
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

Successfully merging this pull request may close these issues.

Gangzone IDs are never recycled after destroy, causing pool exhaustion after 1024 creates

1 participant