-
Notifications
You must be signed in to change notification settings - Fork 34
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
Ini read int/float cleo4 mode fixes #150
Closed
MiranDMC
wants to merge
251
commits into
cleolibrary:master
from
cleolibrary:INI_read_int/float_CLEO4_mode_fixes_
Closed
Ini read int/float cleo4 mode fixes #150
MiranDMC
wants to merge
251
commits into
cleolibrary:master
from
cleolibrary:INI_read_int/float_CLEO4_mode_fixes_
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixed SDK includes. Configured post build events and debug settings. Added setup_env.bat and SETUP.md
* cleo_call and cleo_return scope now save and restore GOSUB call stack and stack pointer. * Introduced CModuleSystem class. * Working prototype. * Support of path resolving for modules. * Path normalization updated. * Review fixes. * Disabled virtual absolute paths feature. * Fixed script location and name related functions. * Used game's APIs to resolve paths. Figured out using plugin_sdk classes in project. * Names case insensitive handling. * Modules reloading. * Automatic modules reloading.
* Added CLEO version info to log file. * Fixed problem with export references releasing. Review fixes.
CLEO.h from sdk used in CLEO project.
… plugin�added more detailed error messages in some cases�updated general methods for getting and setting string parameters added some CLEO properties and methods to CRunningScript struct�export addded: CLEO_RegisterCallback export addded: CLEO_GetScriptVersion
cleo.cpp removed from CLEO SDK new opcode 0DD5 (get_platform) new opcode 00CC (breakpoint) new opcode 00CD (trace) new opcode 00CE (log_to_file) support of opcodes 0662, 0663 and 0664 more error and warning messages updated opcodes handling
* Added missing changes to CHANGELOG.md * Header style updated.
* Used CFont from plugin sdk instead of direct memory hacks. Fixed aspect of main menu CLEO text.
* Added 2000 and 2001 opcodes. * Added validation of script pointer parameter in opcode 2001
Updated clearing log list effect. Callback 'ScriptDraw' called after script elements drawing.
Adjusted screen log display times
…120) Now returned string is always null terminated. Removed filling remaining part of target buffer with zeros.
* ReadFormattedString result always null terminated * Skip would not work here anyway.
Added stack pointer validation for call function/method opcodes.
* Keep main script in to be executed before custom scripts. * fixup! Keep main script in to be executed before custom scripts.
Added _Orig suffix to all variables storing original hook addresses.
* Added checks for scripts stuck in dead loop. * fixup! Added checks for scripts stuck in dead loop.
* Added example script. * Added pickup example script
* Fixed display_text_formatted texts overwriting when called from multiple scripts at once. * Added boundary check.
* Fix command limit checking for PluginSDK called commands. Added support of -1 argument for limits config. * fixup! Fix command limit checking for PluginSDK called commands. * fixup! Fix command limit checking for PluginSDK called commands.
* Fix CLEO modules path * Fixes and refactoring of legacy CLEO support. Added legacy option for native scripts to config.ini * fixup! Fixes and refactoring of legacy CLEO support. * fixup! Fixes and refactoring of legacy CLEO support. * fixup! Fixes and refactoring of legacy CLEO support.
* Throw error when executing command past script code. * fixup! Throw error when executing command past script code. * fixup! Throw error when executing command past script code. * fixup! Throw error when executing command past script code.
* Some comments updated. Fixed example scripts to follow function argument type grammar rules. * fixup! Some comments updated.
* Added script lag detection. * fixup! Added script lag detection. * fixup! Added script lag detection.
* Allow source and target block overlap in copy_memory opcode. * copy_memory tests updated.
* Fix scriptLog problems with script callbacks from SAMP * fixup! Fix scriptLog problems with script callbacks from SAMP
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Commands read_int_from_ini_file and read_float_from_ini_file called from scripts in legacy mode now returns success and value 0 in case of invalid data inside ini file.
Fixes #281
Test script.