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

Allow hexadecimal and octal offsets #1426

Merged
merged 3 commits into from
Mar 15, 2021
Merged

Allow hexadecimal and octal offsets #1426

merged 3 commits into from
Mar 15, 2021

Conversation

sirdigbot
Copy link
Contributor

@sirdigbot sirdigbot commented Feb 7, 2021

I think swapping atoi for strtol correctly implements this? I haven't really read the sourcemod code before.
For issue #1415

@sirdigbot
Copy link
Contributor Author

Only a professional could mess up a single line commit ._.

Copy link
Member

@KyleSanderson KyleSanderson left a comment

Choose a reason for hiding this comment

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

@psychonic are you okay with this? I haven't seen Paul in ages.

@peace-maker
Copy link
Member

Could apply the same patch to the "Addresses" offsets while you're at it!

@asherkin
Copy link
Member

asherkin commented Mar 8, 2021

I'm a little concerned about octal support here, just because of the general soup of issues with the leading-zero prefix - but it's very minor and hex support is far more useful.

@Headline Headline added the Feature Request user requested feature label Mar 9, 2021
@KyleSanderson KyleSanderson merged commit 65043ba into alliedmodders:master Mar 15, 2021
@peace-maker peace-maker linked an issue Mar 23, 2021 that may be closed by this pull request
@sirdigbot sirdigbot deleted the hex-gamedata-offsets branch April 4, 2021 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request user requested feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to use hexadecimal offsets in gamedata
5 participants