Search found 205 matches

by iichan_lolbot
Mon Dec 29, 2014 8:37 pm
Forum: Ren'Py Questions and Announcements
Topic: devision by zero at renpy\display\dragdrop.py
Replies: 8
Views: 996

Re: devision by zero at renpy\display\dragdrop.py

I only don't know why you are so certain it's a Ren'Py bug. Because it is a devision error that happens in snap-related code deep-deep inside ui.interact(), while my code contained no devisions and no implicit snaps. Also this bug is not easy to reproduce even with exactly the same conditions, whic...
by iichan_lolbot
Sun Dec 28, 2014 8:52 pm
Forum: Ren'Py Questions and Announcements
Topic: devision by zero at renpy\display\dragdrop.py
Replies: 8
Views: 996

Re: devision by zero at renpy\display\dragdrop.py

Please, also note the values that i have got: (at, self.at, self.target_at, self.x, self.y, self.target_x, self.target_y) = (0.0, 0.4099998474121094, 0.4099998474121094, 689, 279, 689, 279)

'at' is 0.0, while self.at and self.target_at are bigger and equal.
by iichan_lolbot
Sun Dec 28, 2014 8:50 pm
Forum: Ren'Py Questions and Announcements
Topic: devision by zero at renpy\display\dragdrop.py
Replies: 8
Views: 996

Re: devision by zero at renpy\display\dragdrop.py

Well, devision is in snap-related code, but i don't think that i do any explicit snap calls because i learned about snaps only after i got this error, lol. When you press "plus" actually one of Drag's grandchildren is regenerated and then ui.image is called for DragGroup. Maybe zero-time snap is imp...
by iichan_lolbot
Sun Dec 28, 2014 7:56 pm
Forum: Ren'Py Questions and Announcements
Topic: devision by zero at renpy\display\dragdrop.py
Replies: 8
Views: 996

Re: devision by zero at renpy\display\dragdrop.py

Search for 'ZeroDivisionError: float division by zero' and you will find several threads about this problem, like this: http://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=15211 Looks like math adventures on Pythonland. Have you seen my code? I know what division by zero is and I know haw to avoid...
by iichan_lolbot
Sun Dec 28, 2014 1:28 pm
Forum: Ren'Py Questions and Announcements
Topic: devision by zero at renpy\display\dragdrop.py
Replies: 8
Views: 996

devision by zero at renpy\display\dragdrop.py

Hi! Bug is not stable, sometimes i can't reproduce it at all for some minutes, sometimes i get it just after several clicks. How to reproduce: 1. unzip and run attached sample code 2. click on "plus" button very fast with a mouse (i was never able to reproduce it with a keyboard) 3. some time after ...
by iichan_lolbot
Fri Dec 26, 2014 7:15 am
Forum: Ren'Py Questions and Announcements
Topic: How do i store drags' positions in $ ui.draggroup() ?
Replies: 1
Views: 316

How do i store drags' positions in $ ui.draggroup() ?

For example, in code like this: label loop: scene black $ ui.draggroup() $ ui.drag(name="test") $ ui.window(background=Solid("#a00"),xminimum=300,yminimum=300,xmaximum=300,ymaximum=300) $ ui.vbox() $ ui.label("test") $ ui.button(clicked=test_button) $ ui.label("test") $ ui.close() # window $ ui.clos...
by iichan_lolbot
Mon Feb 03, 2014 4:30 pm
Forum: Development of Ren'Py
Topic: PicklingError on lambdas
Replies: 4
Views: 1615

Re: PicklingError on lambdas

Well, I understand the reasons why this does not work with cpickle. But are there are any plans to fix it in any future? This of course is not a "batteries included" stuff, but this is surely possible to serialize a lambda and even to restore it's python source text. Should things like this be consi...
by iichan_lolbot
Mon Feb 03, 2014 3:51 pm
Forum: Development of Ren'Py
Topic: PicklingError on lambdas
Replies: 4
Views: 1615

PicklingError on lambdas

It is imposible to save game if a value was set to lambda after game start. Tested on RenPy 6.16.5, 6.15.7 and even 6.1.0c. Here is the minimal test case: label start: "You can Save here." $ some_check = lambda: None "You cannot Save here." Error text: I'm sorry, but an uncaught exception occurred. ...
by iichan_lolbot
Fri Jan 03, 2014 4:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Visual imagemap editor/generator
Replies: 2
Views: 591

Visual imagemap editor/generator

Hi! I'm pretty sure I have seen a visual tool for creating a list of active zones and then exporting it to renpy code. I tried to find it here on the forum, but failed. Does anyone have it or at least remember it? It would not be that hard to write it myself, but I would prefer a working solution of...
by iichan_lolbot
Fri Dec 13, 2013 5:33 pm
Forum: Asset Creation: Art
Topic: IIcharacter Alpha (RenPy based sprite generator in English)
Replies: 71
Views: 96025

Re: IIcharacter Alpha (RenPy based sprite generator in Engli

Please, let me know, if you have any success stories of using this.
by iichan_lolbot
Tue Nov 12, 2013 4:51 pm
Forum: Development of Ren'Py
Topic: fast_skip is broken in 6.16.1
Replies: 1
Views: 625

fast_skip is broken in 6.16.1

Nothing happens when I press '>' key.
The same key and the same code worked with some 6.15.x builds and below.
Was something broken?
by iichan_lolbot
Fri Nov 08, 2013 7:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Lost RPY files? Restore them from RPYC!
Replies: 47
Views: 22750

Re: Lost RPY files? Restore them from RPYC!

https://github.com/lolbot-iichan/decomp ... ompile.rpy - current version of decompile can be found here. Some small fixes were done recently to support RenPy 6.15+ and fix minor bugs
by iichan_lolbot
Sun Oct 13, 2013 4:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Lost RPY files? Restore them from RPYC!
Replies: 47
Views: 22750

Re: Lost RPY files? Restore them from RPYC!

Just rename them back to .rpy files, lol.
by iichan_lolbot
Sun Jul 28, 2013 7:04 am
Forum: Asset Creation: Art
Topic: IIcharacter Alpha (RenPy based sprite generator in English)
Replies: 71
Views: 96025

Re: IIcharacter Alpha (RenPy based sprite generator in Engli

According to dobrochan forum, I have at least one user. Yeah!