Quantcast

Jump to content

» «
Photo

Need help compiling scripts

3 replies to this topic
pijotero
  • pijotero

    Homie

  • Members
  • Joined: 27 Feb 2006

#1

Posted 09 January 2010 - 12:13 AM

Hi, I made a script for a map that I made. But when I load the script, the script compiler(miss2) closes instantly, I tried it with the example bil.mis and the same thing happens.

I tried too with the other compiler that comes with the GTA2mispad but I can t load anything. This image shows what happens with the compiler of the mispad(not miss2, compiler.exe)

user posted image


Lantyz
  • Lantyz

    S Q R L

  • Members
  • Joined: 24 Sep 2005

#2

Posted 09 January 2010 - 12:36 AM

When using the original script compiler, make sure the files MSVCIRTD.DLL, MSVCRTD.DLL, miss2.dfa and miss2.llr are in the same folder as the miss2.exe.

The compiler that came with Delfi's MIS Pad is modified and can't be used on its own: you have to compile the script by using the button "Compile" in MIS Pad itself.

pijotero
  • pijotero

    Homie

  • Members
  • Joined: 27 Feb 2006

#3

Posted 09 January 2010 - 03:54 AM Edited by pijotero, 09 January 2010 - 03:56 AM.

Thanks Lantyz, but it still doesn t work. The files MSVCIRTD.DLL, MSVCRTD.DLL, miss2.dfa and miss2.llr are in the same folder as miss2.exe and it still doesn t load the files

With the delphi s MIS pad, it stays in checking compiler output and doesn t advance.(see the image for see the "checking compiler output")

http://img706.images...95/c0mpiler.jpg

thanks anyway

Lantyz
  • Lantyz

    S Q R L

  • Members
  • Joined: 24 Sep 2005

#4

Posted 09 January 2010 - 11:43 AM

I do see an error in your script, but the compiler should simply produce a "fatal error" instead of hanging completely.

Change

CODE
PARKED_CAR_DATA = stingerp (123.0, 145.0, 2.0) 15 0 STINGRAY


into

CODE
PARKED_CAR_DATA stingerp = (123.0, 145.0, 2.0) 15 0 STINGRAY


Also, the timermin and timermax of a GENERATOR do not work as GTA2 Scripting.doc describes: make them the same value (like 3000 3000) to make sure they will spawn at the appropriate time.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users