Apollo Seven

Active Member
Game Developer
Sep 15, 2018
837
3,521
When I run Naked Ambition.exe, It crash with log :


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

While running game code:
  File "game/script.rpy", line 78, in <module>
TypeError: '<' not supported between instances of 'NoneType' and 'int'

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

Full traceback:
  File "C:\Users\PC\Downloads\NakedAmbition-82-pc\NakedAmbition-82-pc\renpy\bootstrap.py", line 277, in bootstrap
    renpy.main.main()
  File "C:\Users\PC\Downloads\NakedAmbition-82-pc\NakedAmbition-82-pc\renpy\main.py", line 558, in main
    renpy.game.context().run(node)
  File "script.rpyc", line 1, in script
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 441, in raise_
  File "script.rpyc", line 1, in script
  File "C:\Users\PC\Downloads\NakedAmbition-82-pc\NakedAmbition-82-pc\renpy\ast.py", line 1131, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\PC\Downloads\NakedAmbition-82-pc\NakedAmbition-82-pc\renpy\python.py", line 1061, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/script.rpy", line 78, in <module>
TypeError: '<' not supported between instances of 'NoneType' and 'int'

Windows-10-10.0.22621 AMD64
Ren'Py 8.0.3.22090809
Naked Ambition .82 Naked Ambition .82
Sun Jul 30 22:03:27 2023
Ugh, this again? Python didn't have any problem comparing stuff like that in past versions. Pretty annoying, I've had to cast stuff where I didn't in several places going from .81 to .82. I'll stealth update it.
 

terirheken

Active Member
Jan 7, 2019
513
557
I've got it working by downloading .81:


Then run .81 once and exit. Copy all the .81 files over to .82 (overwrite everything).
Then extract the .82 zip into .82, again overwriting everything.
didn't work for me. still same issue.
traceback suggests some wrong type definitions "TypeError: '<' not supported between instances of 'NoneType' and 'int'"
 

Apollo Seven

Active Member
Game Developer
Sep 15, 2018
837
3,521
didn't work for me. still same issue.
traceback suggests some wrong type definitions "TypeError: '<' not supported between instances of 'NoneType' and 'int'"
What's happening is that the code tests if a variable is less than 1. Before a recent python/Renpy update doing that with a nondefined variable would give you true, which then triggers a call to set the variable to 0. So basically, if you didn't have this persistent variable initialized, it would set it to 0. This only does anything on first launch of a game with no persistent file.

I'm uploading a fixed version.
 

shundi82

Member
Sep 7, 2022
139
197
didn't work for me. still same issue.
traceback suggests some wrong type definitions "TypeError: '<' not supported between instances of 'NoneType' and 'int'"
In case the update is slower than my answer:
- run .81
- copy everything except the game folder to .82
- run .82 (it'll error out)
- copy everything including game folder from .81 to .82
- run .82 again (it'll error out)
- unzip .82 into .82 folder (overwrite)
- run .82 (should run w/o errors)
 

shundi82

Member
Sep 7, 2022
139
197
Stealth update complete. If the game won't launch redownload it.
I've run into an error:

While running game code:
Exception: Sayer 'Girl' is not defined.

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

Full traceback:
File "story_scripts/winter events.rpyc", line 1869, in script
File "C:\Users\Shun\Downloads\NakedAmbition-82-pc\renpy\ast.py", line 881, in execute
who = eval_who(self.who, self.who_fast)
File "C:\Users\Shun\Downloads\NakedAmbition-82-pc\renpy\ast.py", line 774, in eval_who
raise Exception("Sayer '%s' is not defined." % who)
Exception: Sayer 'Girl' is not defined.

Windows-10-10.0.19045 AMD64
Ren'Py 8.0.3.22090809
Naked Ambition .82 Naked Ambition .82
Mon Jul 31 00:10:58 2023
 

kbfemcrypt

Newbie
Aug 6, 2020
43
36
In case the update is slower than my answer:
- run .81
- copy everything except the game folder to .82
- run .82 (it'll error out)
- copy everything including game folder from .81 to .82
- run .82 again (it'll error out)
- unzip .82 into .82 folder (overwrite)
- run .82 (should run w/o errors)
MY man!
 

Ze0s

New Member
Aug 19, 2017
3
3
Glad to see this game back from it's Hiatus, keep up the good work dev! Your game is awesome!
 

molocoll

Newbie
Jul 11, 2022
16
18
does anyone have the full gallery unlocked I have played the game 4 times and am still missing a lot of events
 

LowLevelLesser

Active Member
Feb 8, 2021
907
1,170
Naked Ambition is pretty unique, gameplay-wise, there's no game like this.
But if you want to corrupt a princess look at my signature ;)
The only similar games to this one aren't porn games. Lair Land Story, Long Live the Queen, and the Princess Maker series are all SFW "trainer" games.
 
Last edited:

Essalar

Member
Aug 2, 2017
102
68
I looked through the last 10 pages, but did not find an answer to the question: what does a cheat mod do?
 

Essalar

Member
Aug 2, 2017
102
68
Позвольте вам максимизировать статистику и выиграть любой чек, связанный с картой.
+ Разрешить вам выбирать маршрут.
[/ЦИТИРОВАТЬ]
Does this happen automatically, or do I need to activate it less often?
 

Jambalam

Newbie
Jan 28, 2019
28
95
It seems that the cheat mod breaks the game. If you max out your stats, Ren'py returns the gray error screen anytime a skill check happens, and if you choose "Ignore" to continue along, you fail the skill check.
 
4.30 star(s) 64 Votes