Mennims
Active member
- Joined
- Mar 18, 2014
- Messages
- 41
- Reaction score
- 0
Hi, I want to display a variable in text, now I'm still new to cleo, and the text confuses me with all the GTX's and stuff like that. For now I want to show a integer as a variable, I saw this
Now I do not understand this. IG that says "This is a 0AD1 opcode"
Wow, HOW THE HELL DOES THAT WORK.What is %.4X? Why is it telling my the memory address? I can't find any answers for any questions about Cleo. Where do I need to look? Where are the explanations for these functions?
Also. What is writing to memory? Can someone explain these please, what they do, how to use them and when to use them
What is virtual protect? And what does it mean by write memory 0xC0BC15? What I mean is, how did he get that number? Does it have to be in a specific range? And what can you write to memory? numbers? Size, that's obviously the size of the memory you want to allocate in bytes, value is what you're writing? Can you write text there? Then with the read memory, why is there a size argument? Is it how much of the memory you want to read? And what does allocate memory do? Make it available? And free allocated memory? Does it clear it? I don't see a tutorial for these, like I said earlier, I find it so hard to find answers, it's like they gave you one terrible example and you must learn from just that. And how are these commands used in conjunction? For example. You allocate the memory, free it, then write, then maybe keep object in memory, then read? If it's used in a order like that why must you allocate a memory size 260 for example, then still have the option to write a different size memory, AND READ A DIFFERENT SIZE???? I'm new this is obviously the basics. But please guys can you tutor me :bawww: :angry:
Code:
0AD1: show_formatted_text_highpriority "This is %.4X opcode" time 2000 0x0AD1
Wow, HOW THE HELL DOES THAT WORK.What is %.4X? Why is it telling my the memory address? I can't find any answers for any questions about Cleo. Where do I need to look? Where are the explanations for these functions?
Also. What is writing to memory? Can someone explain these please, what they do, how to use them and when to use them
Code:
0550: keep_object 0@ in_memory 1
0A8C: write_memory 0xC0BC15 size 1 value 1 virtual_protect 0
0A8D: $result = read_memory 1@ size 4 virtual_protect 0
0AC8: 0@ = allocate_memory_size 260
0AC9: free_allocated_memory 0@