Hi! This tool is really amazing. I'm trying to run it as an editor, and while the Note function seems to work okay, clicking the Typo button on the overlay gives me this error:
```
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00action_other.rpy", line 578, in __call__
rv = self.callable(*self.args, **self.kwargs)
File "game/renedit/renedit/renedit_functions.rpy", line 12, in add_typo
TypeError: can only concatenate str (not "NoneType") to str```
I'm using Ren'Py 8.0.3, so IDK if that would be the reason? Anyway, I can still use the Note function so I'm not too worried, but I thought I'd let you know. Thank you for making this, it's exactly what I needed!
How odd! Sorry for the trouble. I'm actually working on a new update to the tool that should hopefully fix a lot of issues and be easier to use, but for now if you open up renedit_functions and go to line 12, you may be able to fix this by replacing it with this.
This will make sure the _last_say_what will be written down as text in the event no one spoke last (usually if you're using something different to display text... but not going to discount it being a Ren'Py 8.0 issue!)
Yup, that fixed it! Thanks for the quick response. I won't discount the possibility that I did something wrong in installing it either ... But the main thing is that it's fixed! I'll look forward to the update as well~
Hi! Do you have a video demonstrating how to set this up for editors using it on a project that hasn't integrated this in? I have zero Ren'Py coding experience, so the instructions in the README/renedit.rpy weren't clear to me.
I got these errors when I tried to add Ren'Edit to my game:
[code] I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again.
File "game/renedit/renedit/renedit_screens.rpy", line 8: u'caret' is not a keyword argument or valid child for the input statement. input id "input" color "#90a6ad" outlines [(absolute(2),renedit_blue,0,0)] caret Transform("renedit/pen.png",xzoom=-1,ypos=-0.2) ^
File "game/renedit/renedit/renedit_screens.rpy", line 49: u'tooltip' is not a keyword argument or valid child for the imagebutton statement. tooltip _("Add a note on the current line.") ^
You may have to update your Ren'Py to the latest version. Otherwise, you can comment out the caret transform and the tooltip from the code. Thanks for downloading!
← Return to tool
Comments
Log in with itch.io to leave a comment.
Hi! This tool is really amazing. I'm trying to run it as an editor, and while the Note function seems to work okay, clicking the Typo button on the overlay gives me this error:
```
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00action_other.rpy", line 578, in __call__
rv = self.callable(*self.args, **self.kwargs)
File "game/renedit/renedit/renedit_functions.rpy", line 12, in add_typo
TypeError: can only concatenate str (not "NoneType") to str```
I'm using Ren'Py 8.0.3, so IDK if that would be the reason? Anyway, I can still use the Note function so I'm not too worried, but I thought I'd let you know. Thank you for making this, it's exactly what I needed!
How odd! Sorry for the trouble. I'm actually working on a new update to the tool that should hopefully fix a lot of issues and be easier to use, but for now if you open up renedit_functions and go to line 12, you may be able to fix this by replacing it with this.
editlog.write("\nTypo logged at "+ str(renpy.get_filename_line()) + ":\n" + str(_last_say_what) + "\n\n----------------------------\n")
This will make sure the _last_say_what will be written down as text in the event no one spoke last (usually if you're using something different to display text... but not going to discount it being a Ren'Py 8.0 issue!)
Yup, that fixed it! Thanks for the quick response. I won't discount the possibility that I did something wrong in installing it either ... But the main thing is that it's fixed! I'll look forward to the update as well~
Hi! Do you have a video demonstrating how to set this up for editors using it on a project that hasn't integrated this in? I have zero Ren'Py coding experience, so the instructions in the README/renedit.rpy weren't clear to me.
I don't have a video, but hopefully this will help!
Then, just press "e" on your keyboard in-game to bring up the overlay.
Thanks! Maybe I'll make a download version specifically for drag-and-drop use for these cases.
This helped! Thank you so much, I appreciate it!!
thank you
WHOA, very cool.
Thanks so much for putting this tool together! I'm trying it out with a new project and it's working really well.
I got these errors when I tried to add Ren'Edit to my game:
[code]
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/renedit/renedit/renedit_screens.rpy", line 8: u'caret' is not a keyword argument or valid child for the input statement.
input id "input" color "#90a6ad" outlines [(absolute(2),renedit_blue,0,0)] caret Transform("renedit/pen.png",xzoom=-1,ypos=-0.2)
^
File "game/renedit/renedit/renedit_screens.rpy", line 49: u'tooltip' is not a keyword argument or valid child for the imagebutton statement.
tooltip _("Add a note on the current line.")
^
Ren'Py Version: Ren'Py 6.99.12.2003
[/code]
You may have to update your Ren'Py to the latest version. Otherwise, you can comment out the caret transform and the tooltip from the code. Thanks for downloading!
Awesome tool! Thank you so much!
Thank you for your helpful contributions always!!!!