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

2802.0 compatibility update and functionality #443

Merged
merged 17 commits into from
Dec 23, 2022
Merged

2802.0 compatibility update and functionality #443

merged 17 commits into from
Dec 23, 2022

Conversation

itsjustcurtis
Copy link
Contributor

Adding a number of new functions, as well as significant fixes for old ones. Several issues fixed as noted in the commits. Version update to 1.7.3.

- Fixed bug with menu colour display not showing for blue on RGB paints
- Fixed spawn bug with amphibious vehicles when being recovered as saved vehicles
- Added 2nd livery option for those that support it (Tornado Roof)
- Added options to retain Dirt when repairing cars
- Added hidden function to store and print carvariation colours for private use. Option is currently commented out.
Changes made to master were not copied into this before changes made
colours selected using index scroll did not save when navigating back. Issue should now be resolved
Disabled resets the currentop variable, causing the menus to reset to the top when users expect the option to be where they left it. No known consequences in testing are apparent as yet.
Supplement to fix for #427. Two additional versions were added to the list, throwing off the switch/case when applying the despawn global.
Fix for #427, added the new pointer and corrected some old game versions.
Copy link
Owner

@MAFINS MAFINS left a comment

Choose a reason for hiding this comment

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

//Does anyone know what the below does? Caused shit when trying to navigate back and retain menu position - IJC
//if (Menu::currentop > Menu::printingop) { Menu::currentop = Menu::printingop + 1; Menu::Up(false); }
//else if (Menu::currentop < 1) { Menu::currentop = 0; Menu::Down(false); }

This is meant to keep the index of the currently selected item in bounds so it isn't off the screen (and hence is imperative to the functioning of some submenus). The only way it would reset to the first item would be if currentop or printingop becomes 0 or negative.

@itsjustcurtis
Copy link
Contributor Author

Do you know which submenus so I can test properly? This is the only way that I could think to fix the LSC issue. Unless I build a workaround in there to skip it if the sub isn't menyoo customs?

@itsjustcurtis
Copy link
Contributor Author

Some major bugs found in testing. Closing until ready for resubmission

Removed segment that forced selection of a carvariation colour instead of retaining selected colour from paint menus
put back removed code as potential fix for menu jump issue. Put special case to skip this segment for the modshop menu only.
@itsjustcurtis itsjustcurtis reopened this Dec 21, 2022
@metoxys metoxys mentioned this pull request Dec 22, 2022
Add fix for rgb paint scripts when number outside of 0-255 is used.
@itsjustcurtis itsjustcurtis requested a review from MAFINS December 22, 2022 19:34
@alyxandravance
Copy link

Has FiveM compatibility been updated with this as well?

@MAFINS MAFINS merged commit 656b91a into MAFINS:master Dec 23, 2022
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.

3 participants