Page 4 of 4

Re: Ren'Py 6.12.1 Pre-Released

Posted: Sun May 01, 2011 12:54 pm
by jack_norton
Well so far I haven't had much complaints about the GL version. Only an user in my forums about Planet Stronghold, weird because he has a powerful PC: http://www.winterwolves.net/viewtopic.php?f=23&t=1559
he was using previous version of Ren'Py though.

Re: Ren'Py 6.12.1 Pre-Released

Posted: Sun May 01, 2011 12:55 pm
by Lotus
I think I've got a bug. A few minutes ago, I updated my version of Ren'py by using Shift + U in the launcher. When used Lint afterwards, I keep getting this error

Code: Select all

On line 35 of G:\Lauren\Renpy Games\Secret 10560/game/endings.rpy: expected ':' not found.
else num :
     ^
Even though that's not what the code looks like on line 35 of that .rpy file.

Code: Select all

label parentsneutral:
    "I wake up later than I had intended."
    $ num = renpy.random.randint(0,100) 
    if num <= 50:
        "Mom left a note saying she went out shopping, but Dad is off from work."
        e "Dad?..."
        d "What is it, Emily?"
        "parentsneutral"
    else : ##this is line 35
        "Dad got called in to work, but Mom is still home."
        e "Mom?..."
        m "Yes, sweetie?"
        "parentsneutral"
    return
It didn't do this before I updated it a few minutes ago. I knew I'd mess something up eventually, gah xD;
I deleted my persistent data and save games, but it still keeps getting this error.

Edit: Ok, I definitely know it's a bug. It doesn't matter if I switch my project, I still keep getting that error for that game. I'm working with a different project and I got that error Oo

Re: Ren'Py 6.12.1 Pre-Released

Posted: Sun May 01, 2011 1:03 pm
by Lotus
Update: I think I fixed the error by going into the Renpy folder and deleting the lint and error files. ^^;

Re: Ren'Py 6.12.1 Pre-Released

Posted: Sun May 01, 2011 1:04 pm
by PyTom
I'd double-check your code, and maybe reload it from disk. Ren'Py can't just make code up like that - or at least, I don't think it can. If you can't make it work, do a build distributions and PM a link to me, so I can take a look at the files themselves - I'd probably need them to figure out what's going on.

Edit: Okay, let me know if it comes back.

Re: Ren'Py 6.12.1 Pre-Released

Posted: Sun May 01, 2011 4:33 pm
by Lotus
To clarify, I don't think Ren'py came up with that code out of the blue. That was an error I had gotten from a previous lint though not the last lint I did before updating. The last lint I did before updating didn't have any errors.

Re: Ren'Py 6.12.1 Pre-Released

Posted: Thu Jun 30, 2011 7:32 pm
by 0ion9
Lint always opens an empty file for me, heh.

As for the awesome image tagging, I want to mention that that also applies to extend statements (which is mostly where I want to use it).
When I read the changelog, it wasn't clear to me whether extend got that feature too or not.

Re: Ren'Py 6.12.1 Pre-Released

Posted: Wed Jul 06, 2011 2:42 pm
by yummy
The renpy.vibrate() function allows Ren'Py to ask Android devices to vibrate.
Sorry for the lateness. I just happened to imagine all the possible uses for this next gen command line.

Re: Ren'Py 6.12.1 Pre-Released

Posted: Thu Jul 21, 2011 4:49 am
by jack_norton
I don't know if you want feedback on the current beta version of Renpy. I updated to the latest one via the autoupdater and got this error, while before always worked fine:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/global_init.rpy", line 556, in python
                    add "gfx/starshadow.png" at blink(0.05) xpos 0 ypos 450 xzoom(1.75)
IndexError: string index out of range

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

Full traceback:
  File "C:\- indie dev -\games\renpy\renpy\execution.py", line 261, in run
  File "C:\- indie dev -\games\renpy\renpy\ast.py", line 630, in execute
  File "C:\- indie dev -\games\renpy\renpy\python.py", line 974, in py_exec_bytecode
  File "common/_layout/screen_main_menu.rpym", line 11, in <module>
  File "C:\- indie dev -\games\renpy\renpy\ui.py", line 236, in interact
  File "C:\- indie dev -\games\renpy\renpy\display\core.py", line 1648, in interact
  File "C:\- indie dev -\games\renpy\renpy\display\core.py", line 1950, in interact_core
  File "C:\- indie dev -\games\renpy\renpy\display\core.py", line 246, in visit_all
  File "C:\- indie dev -\games\renpy\renpy\display\core.py", line 246, in visit_all
  File "C:\- indie dev -\games\renpy\renpy\display\core.py", line 246, in visit_all
  File "C:\- indie dev -\games\renpy\renpy\display\core.py", line 248, in visit_all
  File "C:\- indie dev -\games\renpy\renpy\display\core.py", line 1950, in <lambda>
  File "C:\- indie dev -\games\renpy\renpy\display\screen.py", line 152, in per_interact
  File "C:\- indie dev -\games\renpy\renpy\display\screen.py", line 244, in update
  File "C:\- indie dev -\games\renpy\renpy\screenlang.py", line 1151, in __call__
  File "C:\- indie dev -\games\renpy\renpy\python.py", line 974, in py_exec_bytecode
  File "game/global_init.rpy", line 556, in <module>
  File "C:\- indie dev -\games\renpy\renpy\atl.py", line 261, in __call__
  File "C:\- indie dev -\games\renpy\renpy\atl.py", line 339, in execute
  File "C:\- indie dev -\games\renpy\renpy\atl.py", line 315, in compile
IndexError: string index out of range

Windows-post2008Server-6.1.7601-SP1
Ren'Py 6.12.1.1520
 

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Jul 25, 2011 9:48 pm
by PyTom
I'm going to come out with a 6.12.2 that fixes this and other bugs. I've uploaded a pre-release with a fix for this, hit shift+U to update to it.

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Jul 25, 2011 10:07 pm
by Camille
Just tried to update and got this:

Image

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Jul 25, 2011 10:41 pm
by PyTom
Sorry about that. It should be fixed now.

Re: Ren'Py 6.12.1 Pre-Released

Posted: Tue Jul 26, 2011 2:54 am
by jack_norton
PyTom wrote:I'm going to come out with a 6.12.2 that fixes this and other bugs. I've uploaded a pre-release with a fix for this, hit shift+U to update to it.
Thanks, works now. Looking forward to the new Text by the way 8)

Re: Ren'Py 6.12.1 Pre-Released

Posted: Tue Jul 26, 2011 4:49 am
by backansi
1.JPG
1.JPG (26.97 KiB) Viewed 1359 times
Mm I've set _default.font but I can't see unicode characters only in parse error screen.

Re: Ren'Py 6.12.1 Pre-Released

Posted: Sat Jul 30, 2011 10:23 am
by KomiTsuku
I just noticed the updates you made to image attributes and full realized what that meant. I thought things were different when I made a mess-up with the position code and things still worked. My piles of hodge-podge code just became so much simpler! You've just become my #1 hero, Py'Tom.