qq47

Member
Aug 4, 2018
277
90
I have a daily exception: NameError: name '_ins_log_supp_max' is not defined. daily_changes.rpy line 15. Where should I add variable initialization and what is preferable value for it?
 

HeavyEavy

Member
Feb 8, 2018
430
361
I have a daily exception: NameError: name '_ins_log_supp_max' is not defined. daily_changes.rpy line 15. Where should I add variable initialization and what is preferable value for it?
Not sure why that happened, he does define it in his update script:
$ _ins_log_supp_max = 0
 

acidblue811

New Member
Mar 19, 2018
8
17
Hi just wanted to report the following:

Whenever I try to open the Insurgency Section in the new journal I get the following:

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script/screens/screen journal.rpy", line 15, in script
    call screen screen_diary_production
  File "renpy/common/000statements.rpy", line 471, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "game/script/screens/journal/production/screen production.rpy", line 9, in execute
    screen screen_diary_production:
  File "game/script/screens/journal/production/screen production.rpy", line 9, in execute
    screen screen_diary_production:
  File "game/script/screens/journal/production/screen production.rpy", line 12, in execute
    frame:
  File "game/script/screens/journal/production/screen production.rpy", line 129, in execute
    if res_screen == "insurgency":
  File "game/script/screens/journal/production/screen production.rpy", line 130, in execute
    use screen_diary_insurgency
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 9, in execute
    screen screen_diary_insurgency: ## for now, then change this to be the logistics one
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 9, in execute
    screen screen_diary_insurgency: ## for now, then change this to be the logistics one
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 12, in execute
    frame:
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 16, in execute
    hbox:
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 17, in execute
    vbox:
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 41, in execute
    vbox:
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 46, in execute
    text "{font=KozGoPr6N-Regular.otf}{color=#000000}{size= 18}Luka will take care of your supplies and will keep purchasing them until your warehouse it's full. Right now he is buying [_ins_log_supp_daily] supplies every day at a price of $[_ins_log_supp_cost]x10 supplies. \n\nBe careful, the more supplies you purchase, the higher the amount of suspicion it will generate. Right now suspicion will increase by [_ins_log_susp_daily] each day and buying your supplies will cost you $[_fin_money_logis]. \n\nIf you don't have enough money to pay he will not buy anything. Buying supplies is always the first action calculated (since many tasks needs them) therefore you need to make sure you have enough money at hand to run your operations.{/size}{/color}{/font}"
NameError: Name '_ins_log_supp_daily' is not defined.

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

Full traceback:
  File "game/script/screens/screen journal.rpy", line 15, in script
    call screen screen_diary_production
  File "C:\H\Take Over\renpy\ast.py", line 1706, in execute
    self.call("execute")
  File "C:\H\Take Over\renpy\ast.py", line 1724, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "C:\H\Take Over\renpy\statements.py", line 145, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 471, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "C:\H\Take Over\renpy\exports.py", line 2526, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "C:\H\Take Over\renpy\ui.py", line 285, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\H\Take Over\renpy\display\core.py", line 2538, in interact
    scene_lists.replace_transient()
  File "C:\H\Take Over\renpy\display\core.py", line 822, in replace_transient
    self.remove(layer, tag)
  File "C:\H\Take Over\renpy\display\core.py", line 1107, in remove
    self.hide_or_replace(layer, remove_index, "hide")
  File "C:\H\Take Over\renpy\display\core.py", line 1031, in hide_or_replace
    d = oldsle.displayable._hide(now - st, now - at, prefix)
  File "C:\H\Take Over\renpy\display\screen.py", line 443, in _hide
    self.update()
  File "C:\H\Take Over\renpy\display\screen.py", line 578, in update
    self.screen.function(**self.scope)
  File "game/script/screens/journal/production/screen production.rpy", line 9, in execute
    screen screen_diary_production:
  File "game/script/screens/journal/production/screen production.rpy", line 9, in execute
    screen screen_diary_production:
  File "game/script/screens/journal/production/screen production.rpy", line 12, in execute
    frame:
  File "game/script/screens/journal/production/screen production.rpy", line 129, in execute
    if res_screen == "insurgency":
  File "game/script/screens/journal/production/screen production.rpy", line 130, in execute
    use screen_diary_insurgency
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 9, in execute
    screen screen_diary_insurgency: ## for now, then change this to be the logistics one
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 9, in execute
    screen screen_diary_insurgency: ## for now, then change this to be the logistics one
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 12, in execute
    frame:
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 16, in execute
    hbox:
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 17, in execute
    vbox:
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 41, in execute
    vbox:
  File "game/script/screens/journal/insurgency/screen insurgency.rpy", line 46, in execute
    text "{font=KozGoPr6N-Regular.otf}{color=#000000}{size= 18}Luka will take care of your supplies and will keep purchasing them until your warehouse it's full. Right now he is buying [_ins_log_supp_daily] supplies every day at a price of $[_ins_log_supp_cost]x10 supplies. \n\nBe careful, the more supplies you purchase, the higher the amount of suspicion it will generate. Right now suspicion will increase by [_ins_log_susp_daily] each day and buying your supplies will cost you $[_fin_money_logis]. \n\nIf you don't have enough money to pay he will not buy anything. Buying supplies is always the first action calculated (since many tasks needs them) therefore you need to make sure you have enough money at hand to run your operations.{/size}{/color}{/font}"
  File "C:\H\Take Over\renpy\text\text.py", line 1328, in __init__
    self.set_text(text, scope, substitute)
  File "C:\H\Take Over\renpy\text\text.py", line 1426, in set_text
    i, did_sub = renpy.substitutions.substitute(i, scope, substitute)
  File "C:\H\Take Over\renpy\substitutions.py", line 232, in substitute
    s = formatter.vformat(s, (), kwargs)
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 563, in vformat
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 585, in _vformat
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 646, in get_field
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 605, in get_value
  File "C:\H\Take Over\renpy\substitutions.py", line 194, in __getitem__
    raise NameError("Name '{}' is not defined.".format(key))
NameError: Name '_ins_log_supp_daily' is not defined.

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Take Over 0.6a
Whenever I cross over to the next day after taking over the PPF:

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script/production/daily changes.rpy", line 15, in script
    if supplies < _ins_log_supp_max:
  File "game/script/production/daily changes.rpy", line 15, in <module>
    if supplies < _ins_log_supp_max:
NameError: name '_ins_log_supp_max' is not defined

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

Full traceback:
  File "game/script/production/daily changes.rpy", line 15, in script
    if supplies < _ins_log_supp_max:
  File "C:\H\Take Over\renpy\ast.py", line 1656, in execute
    if renpy.python.py_eval(condition):
  File "C:\H\Take Over\renpy\python.py", line 1749, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "C:\H\Take Over\renpy\python.py", line 1743, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/script/production/daily changes.rpy", line 15, in <module>
    if supplies < _ins_log_supp_max:
NameError: name '_ins_log_supp_max' is not defined

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Take Over 0.6a
plus if I click "Ignore" I automatically use up 30 supplies.

Hope this helps
 

Murakami2099

Member
Aug 27, 2018
337
146
I am also getting the previously reported error every time I go to sleep.

Not sure what is going on after the new stuff kicks in. Things are happening which are not explained or are explained during that huge dump and get lost in it. You introduce a lot of new mechanics all at once in a single giant info dump and expect the player to instantly have a grasp of all of it or suffer penalties and resource depletion. I very much recommend phasing in the new mechanics more gradually, as you did the initial mechanics, rather than a huge dump as they are now.
 

MaraTDuoDev

Well-Known Member
Game Developer
Dec 4, 2016
1,570
2,498
I am also getting the previously reported error every time I go to sleep.

Not sure what is going on after the new stuff kicks in. Things are happening which are not explained or are explained during that huge dump and get lost in it. You introduce a lot of new mechanics all at once in a single giant info dump and expect the player to instantly have a grasp of all of it or suffer penalties and resource depletion. I very much recommend phasing in the new mechanics more gradually, as you did the initial mechanics, rather than a huge dump as they are now.
you could already assign tasks before, thats not new, the only new thing its the logistic thing, since vera is automatically assigned so you dont have to do anything
 
Dec 28, 2017
108
98
@MaraTDuoDev I have a question when you get a chance to read this. I've reached the part where you take over PPF and i chose to use serum on Vera instead of allying with her, get my revenge and all. Is the game over at this point or am i missing something? I ask because nothing new unlocked area wise on the map...
 

MaraTDuoDev

Well-Known Member
Game Developer
Dec 4, 2016
1,570
2,498
@MaraTDuoDev I have a question when you get a chance to read this. I've reached the part where you take over PPF and i chose to use serum on Vera instead of allying with her, get my revenge and all. Is the game over at this point or am i missing something? I ask because nothing new unlocked area wise on the map...
yeah thats all for the story so far
 
  • Like
Reactions: TalesOfThatGame

ut1stgear

Well-Known Member
Feb 7, 2018
1,406
578
Guess we will have to wait another day or two for the 0.6.0 (non-alpha) update. No problem, put it out when it's ready.
 

Murakami2099

Member
Aug 27, 2018
337
146
you could already assign tasks before, thats not new, the only new thing its the logistic thing, since vera is automatically assigned so you dont have to do anything
The main interface needs to show more details. It would be better if a summary were in the main details (in the upper left), for example money, supplies, and serum showing a "-X/day" and "+Y/day" or something so you can easily track it. The information is scattered all over the journal if you want to account for what everyone is doing at once, although the journal is good for backstory and for tracking things in detail.

Also a bit confusing why Vera needs supplies instead of serum or money. Supplies in general are a bit awkward since you can only go to the market once a day and then only sometimes if other random things don't get in the way.

Also I've never understood why everything else is in the upper left but serum is in the lower left. Put everything in one place.
 

MaraTDuoDev

Well-Known Member
Game Developer
Dec 4, 2016
1,570
2,498
The main interface needs to show more details. It would be better if a summary were in the main details (in the upper left), for example money, supplies, and serum showing a "-X/day" and "+Y/day" or something so you can easily track it. The information is scattered all over the journal if you want to account for what everyone is doing at once, although the journal is good for backstory and for tracking things in detail.

Also a bit confusing why Vera needs supplies instead of serum or money. Supplies in general are a bit awkward since you can only go to the market once a day and then only sometimes if other random things don't get in the way.

Also I've never understood why everything else is in the upper left but serum is in the lower left. Put everything in one place.
Yes I had a summary page planned but didnt had time to add it, not even in this update, but it will be done in the next one

Supplies are just an ambiguous resource: they are tools, uniforms, drugs, weapons, equipment, food, chemicals. They are pretty much mundane materiel, and certain tasks use it because of balance and because is reasonable (i.e. maybe vera uses them to bribe police officers, to update her tools, to get uniforms and infiltrate places, etc.)

You dont needt o buy them on the market after you get the new journal, you can assign Luka to get them, and he gets them significantly cheaper too, since he knows the city and the black market better than anyone else.

its just because the top left was too crowded, thats the only reason, i dont like to have too much stuff in the screen to begin with
 
  • Like
Reactions: ut1stgear

ut1stgear

Well-Known Member
Feb 7, 2018
1,406
578
I like the way the journal is set up. The summary is great if for some reason something isn't in the summary on the main screen just click on the book and you have it all plus the ability to change what goes on in the city. BTW. You can go over your supplies max storage for a day because they get used so Luka still buys his supplies as long as you end the day below the limit. For example my limit is 300 and I have 298 on hand. Luka bus 40 and I use 30 per day so every day I go over by 10. So I stay right where I am all the time.
 

MaraTDuoDev

Well-Known Member
Game Developer
Dec 4, 2016
1,570
2,498
I hope someone do even dev has not told me any solution for the problem
I think I have mentioned that i dont know whats the problem, Ren'py handles the saves, as in renpy its supposed to save the appropiate variables, i dont really know why renpy wont be saving a specific variable, nor how i could fix that-

it doesnt helps that i dont have that problem, so if i cant duplicate the problem, its harder for me to fix it
 
3.70 star(s) 81 Votes