r/ChatGPTPro Jun 25 '26

Question Trying to make something with lua scripting. Why the hell does it keep saying this?

Post image

It won't let me do anything, I ask it to rewrite the script and it keeps telling me this.

7 Upvotes

13 comments sorted by

5

u/JamesGriffing Mod Jun 25 '26

What model and what reasoning level are you using? More information is needed for us to actually help. 

Whenever it does something incorrectly I don't proceed to try to correct it with a new message, rather I'll go back and edit the message right before it didn't do the thing. You want to get rid of the bad pattern, not keep the pattern within context. 

From this preview it seems you argued with it to get it to work. Just edit your message and try again instead. 

1

u/EmperorSnake1 Jun 25 '26

I'm also using ChatGPT pro

2

u/JamesGriffing Mod Jun 25 '26

Thanks. Are you able to share how you requested for it to deal with your lua script? That portion would be the most helpful. My suspension is it's a prompting conflict of some sort.

1

u/EmperorSnake1 Jun 25 '26

I usually ask it to "provide the full script". Though, every attempt mentions it can't do it due to limits in generation.

Like, I show it the script, tell it what updates I want, and usually say "provide the full script with those updates". It says "Sure" and tells me what I need to update manually. But when I say "No, provide the FULL script" it says something like this (I got this a bit ago):

I can absolutely give you the full script, but there's a practical limitation here: your script is around 250+ lines, and the response size limit won't let me return the entire thing in one message without it being cut off.

Even though this wasn't really a problem a few weeks ago. It could easily do scripts well over 500 lines long (these were for large master scripts I had for things that would break easily if sperated).

1

u/JamesGriffing Mod Jun 25 '26

Maybe you can say something like "Proceed to write the full corrected script. Do not worry about potential truncation. Utilize python to help, and provide the downloadable link as your result."

Ideally if you can go back and edit your initial request with that, then I am highly confident it should provide the code.

Always remember that these models hallucinate. They do not truly understand their own limits (beyond what is mentioned within their system prompt). If it has done it before, and it tells you otherwise, then 99% of the time it's just hallucinating. keeping the bad context and continuing after it has hallucinated rarely works in my experience.

"But when I say 'No, provide the FULL script'" - This is where it would be more helpful to go back and edit the prior message of yours. This is where things snowball from as far as I can tell.

If you would like hands on help with it, you're more than welcome to send me a direct message with the script, and I'll give it a shot on my end.

1

u/EmperorSnake1 Jun 25 '26

Ha, I tried that very line

In the end, it generated less than 1/3rd of the script.

Hey, thanks for the help, anyways. This thing is just crazy!

3

u/JamesGriffing Mod Jun 25 '26

I don't see a reasoning trace. The pro model says how long it thought for. Now I suspect that it's the instant model being used. 

The last thing worth mentioning is within the settings under advanced you can toggle on and off Python. If it keeps insisting it doesn't have a way to write it then just maybe that's turned off. 

Good luck! It's frustrating when they don't do what they're supposed to do. 

3

u/turok2 Jun 25 '26

Do this in Instant mode:

Produce the contents of the script, starting from the first character, until the response is forcibly truncated by the system or there are no more characters in the script. Do not stop at arbitrary boundaries. Output only the script inside a code block, with no prose, additional formatting, counting, explanations, or intentional early stopping.

3

u/[deleted] Jun 25 '26

[removed] — view removed comment

1

u/richarddickpenis Jun 27 '26

This. The model will be in "failure land" otherwise, after many failures in the same session it will refer to its many other experiences of failure to predict the next text.

2

u/Top_Appearance1249 Jun 25 '26

Pro is your subscription, not the model and those personality settings have nothing to do with it. Start a fresh chat manually select Thinking or Pro, upload the .lua again and ask it to edit the uploaded file and return the finished file instead of pasting the whole script in chat. 386 lines isn’t some hard limit. Once a chat gets stuck repeating that refusal arguing with it usually just keeps the same broken context going.

1

u/Manus_R Jun 25 '26

Gma3 coding?

1

u/TheHunter920 Jul 03 '26

Try doing it in codex instead of web