NinthOrdeal

Newbie
Donor
Jul 3, 2017
64
20
Seems to be a script error. Maybe save related. I edited my savefile so the "has_usb" variable is true. After that i can continue with the event in the bedroom.
Having the same problem, there is no USB in store, how do you edit the save file and avoid this script error?
 
  • Like
Reactions: Taboo Lord

Kane100

Newbie
May 25, 2017
55
18
I have "End of contents" everywhere (even after updating to version 1.0), only the repeating scenes with Mother and Chloe and the Company........but for the company I don't have Mysterious perk 3 and I can't get it because the mysterious man has nothing too.

How do I proceed? Bug?
jj.jpg
 

Lurtz

New Member
Dec 4, 2018
2
0
Error USb not defined, in a seconde try i used your cheat engine so start with the newest patch same problem
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/map.rpy", line 911, in script call
    ' '
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 727, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "dale")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 1805, in script
    $ check_usb(user_inv, usb)
  File "game/map.rpy", line 1805, in <module>
    $ check_usb(user_inv, usb)
NameError: name 'usb' is not defined

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

Full traceback:
  File "game/map.rpy", line 911, in script call
    ' '
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 727, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "dale")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 662, in script call
    $ act_manage(2 + vehicle_time, -2 + vehicle_energy, place = "acre")
  File "game/map.rpy", line 1805, in script
    $ check_usb(user_inv, usb)
  File "renpy/ast.py", line 928, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2245, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/map.rpy", line 1805, in <module>
    $ check_usb(user_inv, usb)
NameError: name 'usb' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
A Tale of One City 1.0
Mon Jan 31 10:22:53 2022
 

Miep64

New Member
Jul 26, 2020
13
29
Having the same problem, there is no USB in store, how do you edit the save file and avoid this script error?
i use this piece of software: [Tool] - [Ren'Py] - Ren'Py Save Editor [v1.6.1] [Last Moment] | F95zone
The save files for Renpy games are located here C:\Users\XXX\AppData\Roaming\RenPy\
Open the Programm, select the file and search for "usb" make sure to unselect both check boxes at the top. The search result should show 3 things. One of those three is the variable "has_usb" with the value "false". You double click on "false" and make it "true". Beware of capital letters. If the original is "False" the replacement should be "True". Save the file and start the Renpy Game and load the modified Save.
 

CoKeMaN2

New Member
Jun 11, 2020
3
2
I have "End of contents" everywhere (even after updating to version 1.0), only the repeating scenes with Mother and Chloe and the Company........but for the company I don't have Mysterious perk 3 and I can't get it because the mysterious man has nothing too.

How do I proceed? Bug?
I'm at the same point and, looking into rpy files, there's no perk3, so I keep working and with perk2 is enough to raise next event
 
Last edited:
2.10 star(s) 29 Votes