Problems compilling with scriptor
Moderator: Moderators
- lgustavomp
- Posts: 27
- Joined: 18 Mar 2007, 14:13
Problems compilling with scriptor
Heya... wasup?
I created some stuff for TA some years ago. And never had troubles with scripter (or at least i dont remember ^^).
Ok.. here's the problem. always when i try to compile something i got an error msg on the final line. F*ck i'm not a coder but i don't rementer of that kind of thing happening a time ago.
As you can see... i used the ROCKO cob decripted by the scriptor and don't touched anything. Just decripted (ajusted some kind of bugs thar "0"s has turned on "$") and tried to compile.
btw sorry for my tarzanish english
grrr.. i hosted an img on imgshack.. but as i'm a 'new member' i can't post hyperlinks and blablabla.
I created some stuff for TA some years ago. And never had troubles with scripter (or at least i dont remember ^^).
Ok.. here's the problem. always when i try to compile something i got an error msg on the final line. F*ck i'm not a coder but i don't rementer of that kind of thing happening a time ago.
As you can see... i used the ROCKO cob decripted by the scriptor and don't touched anything. Just decripted (ajusted some kind of bugs thar "0"s has turned on "$") and tried to compile.
btw sorry for my tarzanish english
grrr.. i hosted an img on imgshack.. but as i'm a 'new member' i can't post hyperlinks and blablabla.
- lgustavomp
- Posts: 27
- Joined: 18 Mar 2007, 14:13
- lgustavomp
- Posts: 27
- Joined: 18 Mar 2007, 14:13
Code: Select all
if( severity <= 99 )
{
corpsetype = 3;
explode ground type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP1;
explode lbarrel type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP2;
explode lfirept2 type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP3;
explode lfoot type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP4;
explode lleg type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP5;
explode lmisspod type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP1;
explode lthigh type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP2;
explode pelvis type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP3;
explode rfoot type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP4;
explode rleg type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP5;
explode rshield type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP1;
explode rthigh type FALL | SMOKE | FIRE | EXPLODE_ON_HIT | BITMAP2;
explode torso type SHATTER | BITMAP3;
return (0);
}
}
Compiling Bos...
Compiling sfxtype.h
Compiling exptype.h
Compiling SmokeUnit.h
Compiling SFXtype.h
Compiling EXPtype.h
Making Cob...
Error (551): Could not create cob [ C:\Documents and Settings\grr\Desktop\scripts\ARMROCK.bos ]
One or more errors occured while compiling the script.
- lgustavomp
- Posts: 27
- Joined: 18 Mar 2007, 14:13
here on the same directory? Didn't understand exacltly what do you meant
i decompiled on another place to have no need to overwrite anything when i need to compile again
http://img402.imageshack.us/img402/5816/imagemdt9.png
i decompiled on another place to have no need to overwrite anything when i need to compile again
http://img402.imageshack.us/img402/5816/imagemdt9.png
- lgustavomp
- Posts: 27
- Joined: 18 Mar 2007, 14:13
- lgustavomp
- Posts: 27
- Joined: 18 Mar 2007, 14:13
Here's something wrong...
Look the img below. On left side is a decripted BOS from the TOTALA1.HPI... Look that numeric values... all of them. Is that right? I don't think so... on the right side you can see the original BOS (not decripted)
http://img338.imageshack.us/img338/8945/imagemsr1.png
Does it happen with everyone?
Look the img below. On left side is a decripted BOS from the TOTALA1.HPI... Look that numeric values... all of them. Is that right? I don't think so... on the right side you can see the original BOS (not decripted)
http://img338.imageshack.us/img338/8945/imagemsr1.png
Does it happen with everyone?
- Guessmyname
- Posts: 3301
- Joined: 28 Apr 2005, 21:07
Yeah. Scriptor's decompiler strips out any comments (the grey bits with "//" before them) and renames static-vars (ie bCanAim) to generic stuff like Static_Var_3. It also removes any empty lines. As for
and they do the same (while bCanAim is false - ie, the unit could not be able to aim - do stuff)
Code: Select all
while( !Static_Var_3)
Code: Select all
while( NOT bCanAim)
The decompiled COB on the left probably doesn't belong to the BOS the right. Compile and decompile the BOS to see for yourself.lgustavomp wrote:Here's something wrong...
Look the img below. On left side is a decripted BOS from the TOTALA1.HPI... Look that numeric values... all of them. Is that right? I don't think so... on the right side you can see the original BOS (not decripted)
http://img338.imageshack.us/img338/8945/imagemsr1.png
Does it happen with everyone?
Yeah, try it on a different drive/partition. Check if you have enough rights in that directory etc.KDR_11k wrote:Something prevents it from writing the COB.