Quantcast

Jump to content

» «
Photo

New Opcodes

2 replies to this topic
Ashwin the new boy
  • Ashwin the new boy

    Back again...

  • Members
  • Joined: 14 Nov 2010
  • India

#1

Posted 26 March 2013 - 02:40 AM

Hello M8s,
As i Am having some Free Time,
I want to learn some new coding related Things.

My Big Question is "How to Create a New Opcode" ?
I know a mod on Garage which can help me in this but can someone
Give me a Working Example of Creating a Simple opcode,

Like as we know 0x7E49C0 is pointer to player car,
& at offset +0x23C the value of current radio station is present,

What will be the Code to to make a opcode Which
will store the Current Radio station of Player car to a Variable ?
So that we can use it like > " 0@ = Current_Radio_Station" or " 0@ = Car 3@ radio Station"

--------------------
I forgot the Command to used for editing the Memory address of a Process While Making a Dll
it as something like Byte*(&9062CF1, 25) or *Float(&9A24E56, 963.5)
......Solved.......
thanks fastman92,
that was *(float*)0x68F1F4 = 99999.99;
--------------------

other Questing is
What will be the Code of condition if i want something to execute only if i press F12


Ashwin the new boy
  • Ashwin the new boy

    Back again...

  • Members
  • Joined: 14 Nov 2010
  • India

#2

Posted 02 April 2013 - 02:55 PM Edited by Ashwin the new boy, 02 April 2013 - 03:00 PM.

So Nobody Knows Here,
or don't have enough time to explain it to Me,
Okay,

Did someone tried VC Opcode Hook by ModelingMan
Can someone provide the Source of a Good & Working Example of this Mod,
other than the Given Sample,(i don't get it)

Ashwin the new boy
  • Ashwin the new boy

    Back again...

  • Members
  • Joined: 14 Nov 2010
  • India

#3

Posted 24 April 2013 - 04:48 PM

It seems that all the Coding Legends of Our Form are on Vacations,
So Nobody gonna tell me how do they do it,
well okay,

I was Looking for the Source of any mod which Make Script Usable Opcode,
I didn't found that of Cleo.asi (vc) lol.gif
BTW tell me if you did,

Another Mod is GTAMA, available with Source Code,
I read it & Still Reading it to get How did they Insert a New Opcode,

So can anyone Help me by reading its opcode Portion & Tell me something about it ?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users