Quantcast

Jump to content

» «
Photo

Load Own Mission Coding Script

3 replies to this topic
why_scripter
  • why_scripter

    Player Hater

  • Members
  • Joined: 26 May 2005

#1

Posted 26 May 2005 - 09:13 PM Edited by why_scripter, 26 May 2005 - 09:24 PM.

Hi,

I don't know if this is earlier discussed..
and I don't have the time to search for that sad.gif sorry..

But to the point:

You all know MTA. they load a scm (called: mtad(/s).scm (You all know..)) but i dunnow how they load that scm!

i think it goes through the memory or something ?

who knows ? ( I'm programming in VB and i can write into the memory!)


Greetz,

Why

edit:
now i know,, the MTA team put's the string of mtad.scm into vc's memory..
but who knows these adressess ? (Static biggrin.gif )

Cray
  • Cray

    MTA Developer

  • Members
  • Joined: 01 Jul 2002

#2

Posted 26 May 2005 - 10:12 PM

If memory serves me correctly, they are as follows (been awhile since we used them). Please be advised that the internal char size is the size of the original text (main.scm) itself, therefore you can only write a maximum of 8 characters. If you do less than 8, I would recommend 'padding' or escaping the extra characters.

GTA:VC 1.0

Location 1: 0x006886AC
Location 2: 0x006D736D

GTA:VC 1.1

Location 1: 0x006886AC
Location 2: 0x006D7345

GTA3 1.0

Location 1: 0x005EE79C
Location 2: 0x006108A5

GTA3 1.1

Location 1: 0x005EE79C
Location 2: 0x0061016D

why_scripter
  • why_scripter

    Player Hater

  • Members
  • Joined: 26 May 2005

#3

Posted 27 May 2005 - 03:21 PM

Thank you!

{DBC}Lance
  • {DBC}Lance

    Most Wanted

  • Members
  • Joined: 14 Jun 2004

#4

Posted 28 May 2005 - 05:26 PM

still planning to create a custom mta client why?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users