CLEO Help Sanny Builder error

CLEO related
Status
Not open for further replies.

Schinko

Active member
Joined
Mar 5, 2013
Messages
187
Reaction score
1
Sup. I'm getting always this shitty error when I wanna compile ANY cleo without putting EVERY opcode in front of the function. For example: "wait 0" shows up the error below

YiEWhp3.png

It's german and means "incorrect directive"

And if I add "0001:" in front of "wait 0" it works. I need to write the opcode infront of every line to avoid all error of this type.

The error is also showing up when I just open any cleo script and save/compile it again without changing something (because the opcodes are missing also)
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Look in your sanny builder instalation folder, "Sanny Builder 3\data\sa", there should be a keywords.txt, if you don't have it, or it doesn't contains this line '0001=wait', that should be the problem.

If you don't have it, create a simple text file, name it keywords.txt and add the spoiler content
0001=wait
0002=goto
0002=jump
0003=shake_camera
004f=create_thread
004d=else_jump
004d=jf
004e=end_thread
00d6=if
0051=return
0050=gosub
016B=fading
00d7=create_thread_wb
016a=fade
01B6=set_weather
03a4=thread
04BB=select_interior
0112=wasted_or_busted
0417=start_mission
00d8=mission_cleanup
0317=increment_mission_attempts
0111=set_wb_check_to
0459=end_thread_named
0a92=run
0aa0=gf
0aa1=rf
0ab0=key_down
0ab1=call
0ab2=ret
0ac8=alloc
0ac9=free
0acd=print
0ad1=printf
0ad3=format
0b43=cmdret
0b78=log
059A=return_false
0485=return_true
0AF8=chatmsg
0AF9=say
 

Schinko

Active member
Joined
Mar 5, 2013
Messages
187
Reaction score
1
I got the file. Every code you listed is included. I also tried to copy & paste the content of your spoiler. But it's alle the same.

It shows now "Incorrect directive: thread 'TESTCLEO'." But I got my labels named TESTCLEO (just like in the code of xzytro)
 

Schinko

Active member
Joined
Mar 5, 2013
Messages
187
Reaction score
1
bump, edited the first post, hope you understand what I've meant. Do I need to change something in the sanny builder options or something? Please help me fixing this.

[member=60]Opcode.eXe[/member] [member=23540]Mr.Christmas[/member] [member=43183]SobFoX[/member] [member=2318]NarutoUA[/member] [member=7901]hnnssy[/member]
 

MrChristmas

Expert
Joined
Jul 29, 2014
Messages
563
Reaction score
26
Reinstall your sb from official site, If it doesn't help then I will upload my one on the Web for you do download. This is purely sb problem.
 

maximko

Well-known member
Joined
Apr 16, 2014
Messages
394
Reaction score
1
Location
Russia
I got that problem also, but I fixed it by myself, simple.

After opening the file, do not select "decompile this original file", select the opposite one. ("do not decompile this file"
 
Status
Not open for further replies.
Top