Open fndisme opened 1 year ago
I know. I use the default no self image.
Change my self bg and image. It's has error!
Does that error happen with latest version? https://github.com/kyouryuukunn/renpy-ActionEditor3/releases/tag/230121
Yes, I just create the new game use renpy8 and ActionEidtor, when I press Ctrl-p. It's breaken. When I comment this line pos = renpy.get_placement(d) use pos = None It's can show the editor. but I think what I changed it's wrong. your tool is great but how to use ? The document is too less.
Please replace actioneditor with below.
https://github.com/kyouryuukunn/renpy-ActionEditor3/archive/refs/heads/master.zip
It's start ok. But have some other bugs. It's charcator position not the game postion. and when I change the charactor effect, It's broken.
[code] I'm sorry, but an uncaught exception occurred.
While running game code: File "game/script.rpy", line 43, in script daisy "are you happy?" File "game/ActionEditor.rpy", line 2597, in open_action_editor renpy.call_screen("_new_action_editor") File "game/ActionEditor_screens.rpy", line 1744, in render generate_menu(key=self.key, check_point=c, change_func=self.changed, opened=self.opened, in_graphic_mode=self.in_graphic_mode), File "game/ActionEditor_screens.rpy", line 3059, in generate_menu loop_button_action = [SelectedIf(loops[current_scene][k_list+[(n, l, gn)][0]])] + [ToggleDict(loops[current_scene], k2) for k2 in k_list+[(n, l, gn)]] TypeError: can only concatenate list (not "tuple") to list
-- Full Traceback ------------------------------------------------------------
Full traceback: File "game/script.rpy", line 43, in script daisy "are you happy?" File "E:\renpy8\renpy-8.0.3-sdk\renpy\ast.py", line 921, in execute renpy.exports.say(who, what, *args, kwargs) File "E:\renpy8\renpy-8.0.3-sdk\renpy\exports.py", line 1373, in say who(what, args, kwargs) File "E:\renpy8\renpy-8.0.3-sdk\renpy\character.py", line 1266, in call self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, display_args) File "E:\renpy8\renpy-8.0.3-sdk\renpy\character.py", line 927, in do_display display_say(who, File "E:\renpy8\renpy-8.0.3-sdk\renpy\character.py", line 666, in display_say rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward) File "E:\renpy8\renpy-8.0.3-sdk\renpy\ui.py", line 299, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, kwargs) File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\core.py", line 3377, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, kwargs) # type: ignore File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\core.py", line 4258, in interact_core rv = root_widget.event(ev, x, y, 0) File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event rv = i.event(ev, x - xo, y - yo, cst) File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\behavior.py", line 478, in event rv = run(action) File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\behavior.py", line 329, in run return action(args, kwargs) File "E:\renpy8\renpy-8.0.3-sdk\renpy\game.py", line 286, in invoke_in_new_context return callable(*args, kwargs) File "game/ActionEditor.rpy", line 2597, in open_action_editor renpy.call_screen("_new_action_editor") File "E:\renpy8\renpy-8.0.3-sdk\renpy\exports.py", line 3181, in call_screen rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward) File "E:\renpy8\renpy-8.0.3-sdk\renpy\ui.py", line 299, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, kwargs) File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\core.py", line 3377, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, *kwargs) # type: ignore File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\core.py", line 3912, in interact_core self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn) File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\core.py", line 2602, in draw_screen surftree = renpy.display.render.render_screen( File "render.pyx", line 495, in renpy.display.render.render_screen File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 884, in render surf = render(child, width, height, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 884, in render surf = render(child, width, height, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 884, in render surf = render(child, width, height, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\screen.py", line 704, in render child = renpy.display.render.render(self.child, w, h, st, at) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 884, in render surf = render(child, width, height, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 1334, in render surf = render(child, File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 1105, in render surf = render(d, width - x, rh, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 1847, in render cwidth, cheight = sizeit('c', width, height, 0, 0) File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 1844, in sizeit rend = renpy.display.render.render_for_size(pos_d[pos], width, height, st, at) File "render.pyx", line 318, in renpy.display.render.render_for_size File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\viewport.py", line 256, in render surf = renpy.display.render.render(self.child, child_width, child_height, st, at) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 1105, in render surf = render(d, width - x, rh, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 1060, in render surf = render(d, rw, height - y, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 884, in render surf = render(child, width, height, cst, cat) File "render.pyx", line 170, in renpy.display.render.render File "render.pyx", line 266, in renpy.display.render.render File "game/ActionEditor_screens.rpy", line 1744, in render generate_menu(key=self.key, check_point=c, change_func=self.changed, opened=self.opened, in_graphic_mode=self.in_graphic_mode), File "game/ActionEditor_screens.rpy", line 3059, in generate_menu loop_button_action = [SelectedIf(loops[current_scene][k_list+[(n, l, gn)][0]])] + [ToggleDict(loops[current_scene], k2) for k2 in k_list+[(n, l, gn)]] File "E:\renpy8\renpy-8.0.3-sdk\renpy\revertable.py", line 205, in newmethod l = method(args, **kwargs) # type: ignore TypeError: can only concatenate list (not "tuple") to list
Windows-7-6.1.7601-SP1 AMD64 Ren'Py 8.0.3.22090809 ForeverDaysII 1.0 Sun Jan 29 11:36:14 2023 [/code]
What code did you use to define and show that character?
I just create a new game in renpy8 and use the actionEditor3.
when I press shift-p I has meet some error.
I'm sorry, but an uncaught exception occurred.
While running game code: File "game/script.rpy", line 24, in script e "You create a new renpy game。" File "game/ActionEditor.rpy", line 2536, in open_action_editor action_editor_init() File "game/ActionEditor.rpy", line 164, in action_editor_init pos = renpy.get_placement(d) AttributeError: 'NoneType' object has no attribute 'get_placement'
-- Full Traceback ------------------------------------------------------------
Full traceback: File "game/script.rpy", line 24, in script e "You create a new renpy game。" File "E:\renpy8\renpy-8.0.3-sdk\renpy\ast.py", line 921, in execute renpy.exports.say(who, what, *args, kwargs) File "E:\renpy8\renpy-8.0.3-sdk\renpy\exports.py", line 1373, in say who(what, args, kwargs) File "E:\renpy8\renpy-8.0.3-sdk\renpy\character.py", line 1266, in call self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, display_args) File "E:\renpy8\renpy-8.0.3-sdk\renpy\character.py", line 927, in do_display display_say(who, File "E:\renpy8\renpy-8.0.3-sdk\renpy\character.py", line 666, in display_say rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward) File "E:\renpy8\renpy-8.0.3-sdk\renpy\ui.py", line 299, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, kwargs) File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\core.py", line 3377, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, kwargs) # type: ignore File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\core.py", line 4258, in interact_core rv = root_widget.event(ev, x, y, 0) File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event rv = i.event(ev, x - xo, y - yo, cst) File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\behavior.py", line 478, in event rv = run(action) File "E:\renpy8\renpy-8.0.3-sdk\renpy\display\behavior.py", line 329, in run return action(args, kwargs) File "E:\renpy8\renpy-8.0.3-sdk\renpy\game.py", line 286, in invoke_in_new_context return callable(*args, **kwargs) File "game/ActionEditor.rpy", line 2536, in open_action_editor action_editor_init() File "game/ActionEditor.rpy", line 164, in action_editor_init pos = renpy.get_placement(d) File "E:\renpy8\renpy-8.0.3-sdk\renpy\exports.py", line 2937, in get_placement p = d.get_placement() AttributeError: 'NoneType' object has no attribute 'get_placement'
Windows-7-6.1.7601-SP1 AMD64 Ren'Py 8.0.3.22090809 test 1.0 Sat Jan 28 16:32:26 2023