IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
  Reply to this topicStart new topicStart Poll

 Need help compiling scripts

 the compiler doesn t compile
 
pijotero  
Posted: Saturday, Jan 9 2010, 00:13
Quote Post


Homie
Group Icon
Group: Members
Joined: Feb 27, 2006

XXXXX



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

PM
  Top
 

 
Lantyz  
Posted: Saturday, Jan 9 2010, 00:36
Quote Post


S · Q · R · L
Group Icon
Group: Members
Joined: Sep 24, 2005

nl.gif

XXXXX



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.
Users WebsitePMMSN
  Top
 

 
pijotero  
Posted: Saturday, Jan 9 2010, 03:54
Quote Post


Homie
Group Icon
Group: Members
Joined: Feb 27, 2006

XXXXX



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.imageshack.us/img706/5995/c0mpiler.jpg

thanks anyway

This post has been edited by pijotero on Saturday, Jan 9 2010, 03:56
PM
  Top
 

 
Lantyz  
Posted: Saturday, Jan 9 2010, 11:43
Quote Post


S · Q · R · L
Group Icon
Group: Members
Joined: Sep 24, 2005

nl.gif

XXXXX



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.
Users WebsitePMMSN
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG