Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


I fucked up OpenSave.pas

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
Drkgodz
Flash moderator
Reputation: 2

Joined: 17 Jul 2006
Posts: 2997
Location: Houston

PostPosted: Sat Apr 21, 2007 9:07 pm    Post subject: I fucked up OpenSave.pas Reply with quote

Yeah, I am pretty sure only DB can answer this, but I was adding my own value type to the UCE(got that done already. Value type 254 Wink ).
So I added another option to store a seperate script(the script lets the user control the uce I.E Scan(100)), called ControlUtilScript. I got it to save, blah blah, but somehow along the line, I messed up it loading an auto assembler script. I am sure it is because I somehow overwrote the 'autoassemblescript' loading, but I am not sure. If you want me to send opensave.pas, then okay, but it will give you errors on memrec.controlutilscript. Razz

_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Sun Apr 22, 2007 5:24 am    Post subject: Reply with quote

can be a lot, perhaps you put the new datatype at the end of the file, where usually the comments are stored, or you didn't give a valid size for the entry, etc...
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Drkgodz
Flash moderator
Reputation: 2

Joined: 17 Jul 2006
Posts: 2997
Location: Houston

PostPosted: Sun Apr 22, 2007 1:47 pm    Post subject: Reply with quote

In OpenSave.pas, I just searched for 'autoassemblescript', and added after it, the same code, except with autoassemblescript -> controlutilscript.
I also added:
ctfile.ReadBuffer(newrec.ControlUtilScript, sizeof(newrec.ControlUtilScript));

Is that right?
EDIT:
I removed the extra value type Razz
My scripting language will be like ACTools style, a textbox where you can type stuff and it'll happen. Surprised

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites