Deleted member 1571716

Conversation Conqueror
Aug 7, 2019
6,352
10,101
Does this mean you had the same problem with the game crashing at that choice?


Great catch, now I just need to figure out how that plays into everythingo_O
What's really strange is that it would be this variable in particular, when I've been using the same "Choice Menu" system you showed me since the beginning. And it's worked beautifully!
Still works fine for me. Never had any issues.
 
  • Like
Reactions: mr john and Mukashi

Gleemer

Engaged Member
Jun 8, 2018
2,153
12,417


Here is the Italian translation
of Food Truck Story [Ch. 4 v0.40]

This translation is "unofficial, it was created by a fan.



****************************************************

Ecco la traduzione italiana
di un fan Food Truck Story [Ch. 4 v0.40]

Questa traduzione "non è ufficiale" è stata generata da un fan.



************************************************************

Here is the Italian translation
of Food Truck Story [Ch. 3 v0.35]

This translation is "unofficial, it was created by a fan.



****************************************************

Ecco la traduzione italiana
di un fan Food Truck Story [Ch. 3 v0.35]

Questa traduzione "non è ufficiale" è stata generata da un fan.



************************************************************

You don't have permission to view the spoiler content. Log in or register now.
Italian translation

Updated: 2021-09-16
Version: Chapter 4 v0.40
 
  • Red Heart
Reactions: Mukashi

Specter2470

Member
Aug 12, 2019
129
161
Keep getting this error, and ignoring it rolls me back a few lines back to the error:

```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/chapters/chapter 3.rpy", line 949, in script
menu:
File "game/chapters/chapter 3.rpy", line 951, in <module>
"How do we do this?" if choiceflag3_1_1:
NameError: name 'choiceflag3_1_1' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/chapters/chapter 3.rpy", line 949, in script
menu:
File "renpy/ast.py", line 1683, in execute
choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)
File "renpy/exports.py", line 1028, in menu
condition = renpy.python.py_eval(condition)
File "renpy/python.py", line 2266, in py_eval
return py_eval_bytecode(code, globals, locals)
File "renpy/python.py", line 2259, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/chapters/chapter 3.rpy", line 951, in <module>
"How do we do this?" if choiceflag3_1_1:
NameError: name 'choiceflag3_1_1' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Food Truck Story Chapter-4-(v0.40)
Fri Sep 17 09:46:39 2021
```
 

estrada777

Engaged Member
Modder
Donor
Mar 22, 2020
3,541
8,776
Food Truck Story [Ch. 4 v0.40] [Mukashi] crunched

Original / Compressed Size PC: 1,27 GB / 607 MB - FoodTruckStory-Chapter-4-(v0.40)-pc-crunched.zip
Original / Compressed Size Mac: 1,24 GB / 573 MB - FoodTruckStory-Chapter-4-(v0.40)-mac-crunched.zip


Download (PC/Mac): Workupload - - MediaFire

(y)L O A D 'n' L I K E - If you L O A D it then L I K E it!(y) If not, like it anyway! (y) Thanks! ;)

This compression is unofficial and untested, use at your own risk.
Compressing process reduces quality and can break the game.

Tools:
UnRen v0.91 (Sam@f95zone) - YAC v3.1c (hngg@f95zone) - -
Would you link to my port of your crunch?
https://f95zone.to/threads/food-truck-story-ch-4-v0-40-mukashi.86158/post-6591280
 
  • Like
Reactions: Mukashi and "CJ"

Hordragg

Lesser-Known Mesmer
Donor
Compressor
Apr 2, 2019
2,932
10,533
Does this mean you had the same problem with the game crashing at that choice?


Great catch, now I just need to figure out how that plays into everythingo_O
What's really strange is that it would be this variable in particular, when I've been using the same "Choice Menu" system you showed me since the beginning. And it's worked beautifully!
The problematic save (or saves, it seems) doesn't honor the newer default statements: none of the chapter 3 variables get properly initialized on load. This is specific to this save however. None of my older ones do act up like that. Am not really available right now but will try to investigate more later this evening.
 
  • Like
Reactions: Mukashi

Mukashi

Food Truck Story
Game Developer
Jan 29, 2021
100
877
so I have a corrupted save file?
Keep getting this error, and ignoring it rolls me back a few lines back to the error:

```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/chapters/chapter 3.rpy", line 949, in script
menu:
File "game/chapters/chapter 3.rpy", line 951, in <module>
"How do we do this?" if choiceflag3_1_1:
NameError: name 'choiceflag3_1_1' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/chapters/chapter 3.rpy", line 949, in script
menu:
File "renpy/ast.py", line 1683, in execute
choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)
File "renpy/exports.py", line 1028, in menu
condition = renpy.python.py_eval(condition)
File "renpy/python.py", line 2266, in py_eval
return py_eval_bytecode(code, globals, locals)
File "renpy/python.py", line 2259, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/chapters/chapter 3.rpy", line 951, in <module>
"How do we do this?" if choiceflag3_1_1:
NameError: name 'choiceflag3_1_1' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Food Truck Story Chapter-4-(v0.40)
Fri Sep 17 09:46:39 2021
```
I'm not sure that it's corrupted, I have one more idea in mind I'd like you to try if you could:

Please delete the script.rpyc file and the chapter 3.rpyc file
These are in the /game folder and /game/chapters folder respectively

This might force the script to recompile and read the variables correctly. Let me know if this works(fingers crossed!)
 

GrammerCop

Well-Known Member
Donor
Mar 15, 2020
1,730
1,705
I'm not sure that it's corrupted, I have one more idea in mind I'd like you to try if you could:

Please delete the script.rpyc file and the chapter 3.rpyc file
These are in the /game folder and /game/chapters folder respectively

This might force the script to recompile and read the variables correctly. Let me know if this works(fingers crossed!)
That did the trick.
 

WastedTalent

Active Member
Dec 11, 2020
914
1,471
I'm not sure that it's corrupted, I have one more idea in mind I'd like you to try if you could:

Please delete the script.rpyc file and the chapter 3.rpyc file
These are in the /game folder and /game/chapters folder respectively

This might force the script to recompile and read the variables correctly. Let me know if this works(fingers crossed!)
Didn't work for me sorry....
 
  • Sad
Reactions: Mukashi

jish55

Well-Known Member
Nov 23, 2017
1,647
3,714
I'd like to suggest removing credits from the end of previous chapters, because it feels like the end of the current game, especially when you can't just click through it to move onto the next chapter.
 

Hordragg

Lesser-Known Mesmer
Donor
Compressor
Apr 2, 2019
2,932
10,533
so I have a corrupted save file?
Essentially, yes. The variables are missing despite your save seemingly having run though their initialization, hence not executing those statements again. Now, this can be fixed by dropping the following into a .rpy file in the game's game directory
Python:
label after_load:
    if not hasattr(store, "choiceflag3_1_1"):
        $ choiceflag3_1_1 = True
        $ choiceflag3_1_2 = True
        $ choiceflag3_1_3 = True
but a lot more variables will be missing, possibly messing up later events (like people referencing stuff you never did, for instance). Best start over, and if CTRL skipping feels too slow, simply switch to Insta-Skip (UT anyone? No? Kids these days.:D). See these posts on advanced skipping.

:love::love::love:YAY FINALLY:love::love::love:
I will force recompile, rebuild, and upload a hotfix build that should stop the error from happening.
Don't. Ever.

Granted Ren'Py annotating the AST anew will lead to the default statements being executed again, existing saves' call stacks won't match up anymore leading to Ren'Py complaining that it 'Couldn't find a place to stop rolling back.' in the majority of cases. The end.
See this on how keeping .rpyc files ensures save compatibility.

Something odd happening in my game. Fresh install, new game.

You don't have permission to view the spoiler content. Log in or register now.
Will be fixed in the next release. Edit: Does not affect your save.

I'd like to suggest removing credits from the end of previous chapters, because it feels like the end of the current game, especially when you can't just click through it to move onto the next chapter.
Go into options and under skip select credits. Will be made default on the next release, if I recall correctly.
 
Last edited:
4.00 star(s) 27 Votes