MORNING Posted March 23 Share Posted March 23 (edited) Quote {$CLEO .cs} 0000: NOP :BOSS_MAIN thread 'BOSS' wait 0 // Constants const FLY_KEY = 70 // F key LASER_KEY = 76 // L key FREEZE_KEY = 71 // G key PUNCH_KEY = 80 // P key AURA_KEY = 65 // A key end // Variables 0@ = 0 // Fly mode toggle 1@ = 0 // Laser toggle 2@ = 0 // Aura object ID while true if 0256: player $PLAYER_CHAR defined then // Flying Ability if 0AB0: key_pressed FLY_KEY then if 0@ == 0 then 0@ = 1 01B6: set_actor $PLAYER_ACTOR flying 1 01C9: set_actor $PLAYER_ACTOR max_speed 1.5 // Increased movement speed 0392: make_actor $PLAYER_ACTOR fireproof 1 0A0D: show_text_highpriority "Flight Mode On!" time 1000 else 0@ = 0 01B6: set_actor $PLAYER_ACTOR flying 0 01C9: set_actor $PLAYER_ACTOR max_speed 1.0 // Normal speed 0392: make_actor $PLAYER_ACTOR fireproof 0 0A0D: show_text_highpriority "Flight Mode Off!" time 1000 end wait 1000 end // Laser Eyes if 0AB0: key_pressed LASER_KEY then 0AB5: store_actor $PLAYER_ACTOR position_to 6@ 7@ 8@ 06BC: create_explosion 9 at 6@ 7@ 8@ 09E5: damage_nearby_peds 6@ 7@ 8@ radius 5.0 damage 1000 // Burns everything nearby 0AAB: play_sound 1132 at 6@ 7@ 8@ wait 2000 end // Freeze Breath if 0AB0: key_pressed FREEZE_KEY then 05E2: AS_actor $PLAYER_ACTOR perform_animation "SPRAYCAN_FIRE" IFP_file "PED" 4.0 loopA 0 lockX 0 lockY 0 lockF 0 time -1 0AB5: store_actor $PLAYER_ACTOR position_to 18@ 19@ 20@ 06BC: create_explosion 8 at 18@ 19@ 20@ 09E6: freeze_nearby_peds 18@ 19@ 20@ radius 7.0 time 10 // Freezes everything 0AAB: play_sound 1137 at 18@ 19@ 20@ wait 3000 end // Mega Punch if 0AB0: key_pressed PUNCH_KEY then 05E2: AS_actor $PLAYER_ACTOR perform_animation "FIGHT_C_1" IFP_file "PED" 4.0 loopA 0 lockX 0 lockY 0 lockF 0 time -1 06BC: create_explosion 7 at_actor $PLAYER_ACTOR 09E5: damage_nearby_peds 0.0 0.0 0.0 radius 6.0 damage 5000 // High knockback and damage 0AAB: play_sound 1130 at 0.0 0.0 0.0 wait 5000 end // Aura Effect if 0AB0: key_pressed AURA_KEY then 0AB5: store_actor $PLAYER_ACTOR position_to 28@ 29@ 30@ 2@ = 0907: create_object 18632 at 28@ 29@ 30@ 0946: set_object_scale 2@ to 2.0 09E5: damage_nearby_peds 28@ 29@ 30@ radius 8.0 damage 9999 // Destroys everything wait 30000 0908: destroy_object 2@ end end wait 0 end """ Hi i made a cleo script using chat gpt and installed latest cleo version and when I tried the script in the game this error showed and chat gpt couldn't solve it Custom opcode [247B] not registered! Called in script Boss.Abilities.cs at offset {0} - 247B previously called opcode [0001] script suspended Can someone help ? Edited March 23 by MORNING The code Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/ Share on other sites More sharing options...
OrionSR Posted March 23 Share Posted March 23 A common problem with ChatGTP is that when it doesn't know something it will make up an answer that seems convincing. Of the opcode IDs I reviewed in your script, only two will do what they say, 0256 and 0AB0. MORNING 1 Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522193 Share on other sites More sharing options...
MORNING Posted March 23 Author Share Posted March 23 Yeah he does that always , so will deepseek solve this or what ? Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522214 Share on other sites More sharing options...
ZAZ Posted March 23 Share Posted March 23 (edited) 13 hours ago, MORNING said: Yeah he does that always , so will deepseek solve this or what ? Bullsh*t, read tutorials and learn scripting How will chat gpt or deepseek test the script ingame? Oh ok, they write the script and you test it I bet that doesn't make fun Edited March 23 by ZAZ Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522451 Share on other sites More sharing options...
MORNING Posted March 23 Author Share Posted March 23 Where ? 10 minutes ago, ZAZ said: Bullsh*t, read tutorials and learn scripting How will chat gpt or deepseek test the script ingame? Oh ok, they write the script and you test it I bet that doesn't make fun Yeah they write it and I test it and each time I get error, and as OrionSR said chat gpt convince me that solved the problem and he doesn't even changed a word in the code Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522455 Share on other sites More sharing options...
ZAZ Posted March 23 Share Posted March 23 1. look in sannybuilder install dir 2. here 3. here 4. here Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522463 Share on other sites More sharing options...
MORNING Posted March 23 Author Share Posted March 23 Just now, ZAZ said: 1. look in sannybuilder install dir 2. here 3. here 4. here Can you just help me with the code Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522464 Share on other sites More sharing options...
ZAZ Posted March 24 Share Posted March 24 (edited) No, sorry. The script is full of wrong codes It's like using a spiderman comic as user manual for a machine Edited March 24 by ZAZ Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522554 Share on other sites More sharing options...
MORNING Posted March 24 Author Share Posted March 24 3 hours ago, ZAZ said: No, sorry. The script is full of wrong codes It's like using a spiderman comic as user manual for a machine I don't know how to code , will I have problems learning Cleo programming? Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522610 Share on other sites More sharing options...
ZAZ Posted March 24 Share Posted March 24 (edited) 6 hours ago, MORNING said: I don't know how to code That's normal. We all started at point zero. When you visit a town the first time, then you don't know where is what. When stay there for longer time, you go here and go there, do this and do that. And after a while you know much more about the town. Quote will I have problems learning Cleo programming? I don't know. Important is: You have to want it. You have to enjoy it. You have to be able to find relevant information on your own. Edited March 24 by ZAZ Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522667 Share on other sites More sharing options...
MORNING Posted March 24 Author Share Posted March 24 (edited) 4 hours ago, ZAZ said: That's normal. We all started at point zero.. When you visit a town the first time, then you don't know where is what. When stay there for longer time, you go here and go there, do this and do that. And after a while you know much more about the town. I don't know. Important is: You must want to do it You must have fun when you do it You must be able to find relevant informations by yourself Deepseek generated me a big code for a weapon I asked , learning cleo scripting will take so so long to just check if he wrote it right or not , is there a documentation or something to send it to him so he can learn? Edited March 24 by MORNING Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522773 Share on other sites More sharing options...
Another GTA Fan Posted March 24 Share Posted March 24 "Teach a man to fish and he can feed himself for a lifetime." Cleo scripting can be a really fun and rewarding experience, and knowing how to do it would mean never needing to rely on bullsh*t AI. The fact people even use AI to make cleo scripts for them is... sorry to say: asinine. If I can do it, anyone can. You don't need to learn everything; Start with something simple as I did, and then over time you learn more and more and push your limits. Whether it's following a tutorial, reading the SannyBuilder docs or simply reverse-engineering other peoples scripts to get an idea of how they work and how you can put yours together. Never hurts to ask for help, I literally recently asked for help myself, but using AI to solve your problems is sh*tty. Just like how AI steals artwork, it steals peoples passion to learn and create. Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522791 Share on other sites More sharing options...
MORNING Posted March 24 Author Share Posted March 24 (edited) 31 minutes ago, Another GTA Fan said: "Teach a man to fish and he can feed himself for a lifetime." Cleo scripting can be a really fun and rewarding experience, and knowing how to do it would mean never needing to rely on bullsh*t AI. The fact people even use AI to make cleo scripts for them is... sorry to say: asinine. If I can do it, anyone can. You don't need to learn everything; Start with something simple as I did, and then over time you learn more and more and push your limits. Whether it's following a tutorial, reading the SannyBuilder docs or simply reverse-engineering other peoples scripts to get an idea of how they work and how you can put yours together. Never hurts to ask for help, I literally recently asked for help myself, but using AI to solve your problems is sh*tty. Just like how AI steals artwork, it steals peoples passion to learn and create. I know the fish thing and I learned a bit samp scripting but cleo is different and I reverse engineered a super man script but the main thing here is my pc is currently broken and I rely on one of my friends pc and i came here for help fixing the script to test but suddenly everyone is a philosopher and other thing is the weapons and other things I want are advanced and require a big coding knowledge generally and cleo scripting specifically so if relying on Ai is no way to work and can never generate correct and accurate scripts so I may try to learn but I really hope that Ai can do the job because as I said the things I want are advanced and may rely on the other weapon , for example a weapon that can return the attacks it receives back Edited March 24 by MORNING Link to comment https://gtaforums.com/topic/1001418-cleo-script-custom-opcode-not-registered/#findComment-1072522805 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now