MAD BOSS Posted September 12, 2010 Share Posted September 12, 2010 Ok, I myself don't like CLEO because it's buggy, so first question would be: - Would the code transfer from CLEO to MAIN.scm do any good? Second is, how to transfer it. This is the CLEO script: // This file was decompiled using vicescm.ini published by GtaForums.com on 27.7.07{$VERSION 2.2.0000}{$CLEO .cs}//-------------MAIN---------------05DF: write_memory 5815984 size 4 value 8488724 virtual_protect 1 05DF: write_memory 8488724 size 4 value 0.58 virtual_protect 0 05DF: write_memory 5815978 size 4 value 8488728 virtual_protect 1 05DF: write_memory 8488728 size 4 value -0.35 virtual_protect 0 05DF: write_memory 5815972 size 4 value 8488732 virtual_protect 1 05DF: write_memory 8488732 size 4 value 0.75 virtual_protect 0 05DF: write_memory 5816034 size 4 value 8488712 virtual_protect 1 05DF: write_memory 8488712 size 4 value -0.58 virtual_protect 0 05DF: write_memory 5816028 size 4 value 8488716 virtual_protect 1 05DF: write_memory 8488716 size 4 value -0.35 virtual_protect 0 05DF: write_memory 5816022 size 4 value 8488720 virtual_protect 1 05DF: write_memory 8488720 size 4 value 0.75 virtual_protect 0 05DF: write_memory 5816122 size 4 value 8488700 virtual_protect 1 05DF: write_memory 8488700 size 4 value 0.8 virtual_protect 0 05DF: write_memory 5816116 size 4 value 8488704 virtual_protect 1 05DF: write_memory 8488704 size 4 value 0.6 virtual_protect 0 05DF: write_memory 5816110 size 4 value 8488708 virtual_protect 1 05DF: write_memory 8488708 size 4 value 1.1 virtual_protect 0 05DF: write_memory 5816172 size 4 value 8488688 virtual_protect 1 05DF: write_memory 8488688 size 4 value -0.8 virtual_protect 0 05DF: write_memory 5816166 size 4 value 8488692 virtual_protect 1 05DF: write_memory 8488692 size 4 value 0.6 virtual_protect 0 05DF: write_memory 5816160 size 4 value 8488696 virtual_protect 1 05DF: write_memory 8488696 size 4 value 1.1 virtual_protect 0 05DC: end_custom_thread Once I tried to copy it to MAIN.SCM like this: create_thread @SIRENS:SIRENS05DF: write_memory 5815984 size 4 value 8488724 virtual_protect 1 05DF: write_memory 8488724 size 4 value 0.58 virtual_protect 0 05DF: write_memory 5815978 size 4 value 8488728 virtual_protect 1 05DF: write_memory 8488728 size 4 value -0.35 virtual_protect 0 05DF: write_memory 5815972 size 4 value 8488732 virtual_protect 1 05DF: write_memory 8488732 size 4 value 0.75 virtual_protect 0 05DF: write_memory 5816034 size 4 value 8488712 virtual_protect 1 05DF: write_memory 8488712 size 4 value -0.58 virtual_protect 0 05DF: write_memory 5816028 size 4 value 8488716 virtual_protect 1 05DF: write_memory 8488716 size 4 value -0.35 virtual_protect 0 05DF: write_memory 5816022 size 4 value 8488720 virtual_protect 1 05DF: write_memory 8488720 size 4 value 0.75 virtual_protect 0 05DF: write_memory 5816122 size 4 value 8488700 virtual_protect 1 05DF: write_memory 8488700 size 4 value 0.8 virtual_protect 0 05DF: write_memory 5816116 size 4 value 8488704 virtual_protect 1 05DF: write_memory 8488704 size 4 value 0.6 virtual_protect 0 05DF: write_memory 5816110 size 4 value 8488708 virtual_protect 1 05DF: write_memory 8488708 size 4 value 1.1 virtual_protect 0 05DF: write_memory 5816172 size 4 value 8488688 virtual_protect 1 05DF: write_memory 8488688 size 4 value -0.8 virtual_protect 0 05DF: write_memory 5816166 size 4 value 8488692 virtual_protect 1 05DF: write_memory 8488692 size 4 value 0.6 virtual_protect 0 05DF: write_memory 5816160 size 4 value 8488696 virtual_protect 1 05DF: write_memory 8488696 size 4 value 1.1 virtual_protect 0 end_thread ...The game won't load showing me an error. What am I doing wrong? Link to comment https://gtaforums.com/topic/459056-q-memory-adresses/ Share on other sites More sharing options...
Deji Posted September 12, 2010 Share Posted September 12, 2010 If CLEO Opcodes are causing problems, putting them inside a main.scm wouldn't make that much difference Link to comment https://gtaforums.com/topic/459056-q-memory-adresses/#findComment-1060123416 Share on other sites More sharing options...
MAD BOSS Posted September 12, 2010 Author Share Posted September 12, 2010 If CLEO Opcodes are causing problems, putting them inside a main.scm wouldn't make that much difference They work fine as CLEO. But sometimes, if I save, the game won't load again. I thought it was because CLEO messes up memory adresses.... Link to comment https://gtaforums.com/topic/459056-q-memory-adresses/#findComment-1060123447 Share on other sites More sharing options...
Deji Posted September 13, 2010 Share Posted September 13, 2010 All memory addresses are reset every time you start up San Andreas. I doubt a load game issue is caused by memory, since most of the memory is temporary (except the few ones that get stored in the save files, of course). An issue with the memory should result in an instant crash. I'm not sure what the problem is here Link to comment https://gtaforums.com/topic/459056-q-memory-adresses/#findComment-1060123486 Share on other sites More sharing options...
MAD BOSS Posted September 13, 2010 Author Share Posted September 13, 2010 Meh, I'd never understand how memory adresses work... But once I removed CLEO.asi, and started new game, saved, and loaded that one, it actually worked. Link to comment https://gtaforums.com/topic/459056-q-memory-adresses/#findComment-1060123515 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now