Jump to content

Need help compiling scripts


Recommended Posts

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

 

 

Link to comment
https://gtaforums.com/topic/437735-need-help-compiling-scripts/
Share on other sites

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.

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

Edited by pijotero

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

 

Change

 

 

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

 

 

into

 

 

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.