Hanako Games

News, Walkthroughs, and Chat about Anime Games

Beta test of Cute Knight Kingdom for Linux and Mac


Spiky Caterpillar

Beta test of Cute Knight Kingdom for Linux and Mac

#1 by Spiky Caterpillar - Feb 12 2010

The latest beta tests are up for download from
http://spikycaterpillar.dreamhosters.com/beta/

The Linux build should run on both x86 and x86-64 distributions (if you have 32-bit binary compatibility). It requires 24/32 bit color to display correctly - I'm not sure if 16-bit displays are widespread enough to be worth adding special support.

The Mac build should run on both Intel and PPC Macintoshes with OS X 10.4 or higher; it is more thoroughly tested on PPC than on Intel, however. If it crashes, please send me the traceback; if it refuses to launch at all and you have the developer tools installed, you can use gdb to get debugging output by starting Terminal.app, changing to the directory you uncompressed the demo in (i.e, cd ~/Desktop/CuteKnightKingdom-demo-0.9.23.1-mac/ )
gdb CuteKnightKingdom.app
and typing run at the GDB prompt.

This is not yet finished - there are still a few bugs that I know about, and I'm sure there are more bugs that I don't yet know about. Anyhow, try it and let us know what the bugs are.

WARNING: future posts in this thread may contain spoilers!

_SE_

#2 by _SE_ - Feb 13 2010

I may be retarded, but when I try to run this I get
~/Desktop/CuteKnightKingdom-demo$ ./CuteKnightKingdom
RuntimeError: Bad magic number in .pyc file

Spiky Caterpillar

#3 by Spiky Caterpillar - Feb 13 2010

What distribution, CPU type, and Python version (python --version should tell you) are you running? It was built on 2.5;
python2.5 rungm6.pyc
may make it work. If not, I'll be putting together a Renpy-encapsulated build that should come with all the dependencies shortly.

_SE_

#4 by _SE_ - Feb 14 2010

Ah, I have python 2.6.4
I have Ubuntu 9.10 with an Intel i7 (64 bit) cpu.

Spiky Caterpillar

#5 by Spiky Caterpillar - Feb 14 2010

Updated - the new one is built with Ren'Py, so it ships with its own python. (It would have been up yesterday, but I wound up having to figure out how to use MMX to get some of the graphic effects working right in 32-bit.)

Spiky Caterpillar

#6 by Spiky Caterpillar - Feb 19 2010

And bumping to announce that we need fullbuild alpha testers now.

takemitsu

#7 by takemitsu - Feb 27 2010

First of all, thank you very much for porting this game to Linux.

I'm running the 0.8.7-demo on Arch Linux (Rolling Release) with a 32-Bit CPU.
Here are some bugs I have encountered:

When I start this game I get a small information:
Debug: Unidentified machine type i686 - defaulting to i586
Then I have a black window for about 8 seconds. After this I see for about a second "Loading..." and the game starts. I'm not sure if this is how it is supposed to behave.

Whenever I go into the "options" from the main menu and then click on "Return" the music stops. It doesn't seem to matter if I change any options or not. Clicking on "New Game" brings the music back.

If you move your character with the mouse and press an arrow key at the same time the pathfinding seems to mess up. Sometimes your character even goes through buildings and leaves the screen. If you are in some location pressing "To Map" gives you your character back. But if you try to move your character with the mouse the game crashes. Here is the traceback:
I'm sorry, but an exception occured while executing your Ren'Py
script.

IndexError: list index out of range

While running game code:
 - script at line 725 of renpy-6.10.2/common/00library.rpy
 - python at line 729 of renpy-6.10.2/common/00library.rpy.
 - script at line 302 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 307 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

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

  File "renpy-6.10.2/renpy/bootstrap.py", line 260, in bootstrap
  File "renpy-6.10.2/renpy/main.py", line 310, in main
  File "renpy-6.10.2/renpy/main.py", line 93, in run
  File "renpy-6.10.2/renpy/execution.py", line 234, in run
  File "renpy-6.10.2/renpy/ast.py", line 558, in execute
  File "renpy-6.10.2/renpy/python.py", line 937, in py_exec_bytecode
  File "renpy-6.10.2/common/00library.rpy", line 729, in <module>
  File "renpy-6.10.2/renpy/game.py", line 292, in call_in_new_context
  File "renpy-6.10.2/renpy/execution.py", line 234, in run
  File "renpy-6.10.2/renpy/ast.py", line 558, in execute
  File "renpy-6.10.2/renpy/python.py", line 937, in py_exec_bytecode
  File "/home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy", line 307, in <module>
  File "rungm6.py", line 370, in <module>
  File "gm6.py", line 4032, in StepKeyMouse
  File "gm6.py", line 2617, in StepKeyMouse
  File "gm6.py", line 2386, in RunActionGroupOn
  File ":event:#50", line 1, in <module>
  File "<string>", line 10, in __py_603_tmpfunc_645
  File "<string>", line 10, in start_map_move
  File "<string>", line 28, in scr_motion_compute
  File "gmapi.py", line 2387, in mp_grid_path
IndexError: list index out of range

While running game code:
 - script at line 725 of renpy-6.10.2/common/00library.rpy
 - python at line 729 of renpy-6.10.2/common/00library.rpy.
 - script at line 302 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 307 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

Ren'Py Version: Ren'Py 6.10.2e
If you try to move your character with the mouse (arrow keys do not work) while she goes through buildings but didn't leave the screen yet, your stdout is filled with lists of numbers:
Warning: Could not pathfind to 7 8
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 999, 998, 997, 996, 995]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 999, 998, 997, 996]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1001, 1000, 999, 998, 997]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1002, 1001, 1000, 999, 998]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1003, 1002, 1001, 1000, 999]
etc...
You can reproduce this bug as follows:
Go to your home town.
Move your character directly behind Donald.
Press the left arrow key to move your character a little bit.
Click on Michanda immediately afterwards while you are still holding the key.
While your character moves up hold the key for another second and then release it.

At last there is a small bug with the time and the game saves. Whenever I either load or save a game I get
Error determining hour for 0.8308
Error determining minute for 0.8308
and the time saved is one hour ahead of the real time.

That's it. I hope I was of any service. And thanks againg for porting this game.

Spiky Caterpillar

#8 by Spiky Caterpillar - Mar 2 2010

Thanks for the detailed bug report! There's a new demo (0.8.13) up for download that should fix the bugs you reported (along with a few others).

(Oh, and now that I have enough coffee in me to think, maybe I should actually link to the new demo dir:
http://spikycaterpillar.dreamhosters.com/alpha/ )

takemitsu

#9 by takemitsu - Mar 7 2010

Running the 0.8.15-demo:
The bugs seem to be mostly fixed. But I still have a black screen for several seconds before I see "Loading..." shortly.

Also I encountered another bug again regarding the pathfinding:
If you click with your mouse somewhere to move your character to that point, you can click on a person to talk with them while your character is still walking. Your character just needs to be near enough to that person. As you are talking with that person your character doesn't stop and keeps walking until she reaches her point.
If you set your character to walk out of a location in the course of this, some problems can occur even though you pretty much have to deliberately provoke them:

If you are fast enough you can start a job. When your character then reaches the exit of the location the job aborts and you are on the world map. The days you have spent on your job are lost as well as the HP and MP you may have used. Also you don't get the money you may have earned.

If a person has something new to chat about and your character reaches the exit before you have finished talking, you once again land on the world map. Then you can't chat with the person about this anymore.


There is another small bug in the beach location. If you arrive there in the time before Deborah is there and do some fishing until the time arrives where she should be there, Deborah doesn't show up until you either go to the menu and then back to the game or leave the location and enter it again.

Well, that's it again. Keep up the good work!

Spiky Caterpillar

#10 by Spiky Caterpillar - Apr 27 2010

Thanks! Deborah not showing up while the PC is there is not being changed at this point in time (we have a reason, really!), but the big pathfinding bug should be fixed in the demos I uploaded today, along with the interminable blank screen before the loading screen.

(Of course, while uploading the newest test demos, I found a new pathfinding bug I need to fix - but this one just looks silly instead of walking out of town.)

neothoron

#11 by neothoron - Apr 28 2010

Thank you for building your game on a cross platform engine - I appreciate it.

I have tested build 0.9.23.1 on an Ubuntu 9.10 - 64bit.

I get the following output when launching the game:
Failed to load fasttint_x86_64.so
Unable to load glowing_spr_inv.png
Unhandled event <Event(28-UserEvent {})>
The first two lines appear nearly immediately, and the third line appears only when the main menu loads.

When exiting, it sometimes produces the following output:
  File "renpy-6.10.2/renpy/bootstrap.py", line 260, in bootstrap
  File "renpy-6.10.2/renpy/main.py", line 310, in main
  File "renpy-6.10.2/renpy/main.py", line 93, in run
  File "renpy-6.10.2/renpy/execution.py", line 234, in run
  File "renpy-6.10.2/renpy/ast.py", line 558, in execute
  File "renpy-6.10.2/renpy/python.py", line 937, in py_exec_bytecode
  File "renpy-6.10.2/common/00library.rpy", line 729, in <module>
  File "renpy-6.10.2/renpy/game.py", line 292, in call_in_new_context
  File "renpy-6.10.2/renpy/execution.py", line 234, in run
  File "renpy-6.10.2/renpy/ast.py", line 558, in execute
  File "renpy-6.10.2/renpy/python.py", line 937, in py_exec_bytecode
  File "/home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy", line 307, in <module>
  File "rungm6.py", line 412, in <module>
  File "rungm6.py", line 355, in handle_events
AttributeError: 'module' object has no attribute 'keyboard_key_press'

While running game code:
 - script at line 725 of renpy-6.10.2/common/00library.rpy
 - python at line 729 of renpy-6.10.2/common/00library.rpy.
 - script at line 302 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 307 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
Otherwise, I have only tried the game for about 15 minutes, but I haven't had any problems running the game.

Trazoi

#12 by Trazoi - Apr 28 2010

I've tried out your alpha demo on my Intel iMac running MacOS 10.5.8 (Leopard). My default version of Python is 2.5.1 although I've also got Python 2.6 installed.

When I try to run the demo, I get this error message:

I'm sorry, but an exception occured while executing your Ren'Py
script.

IOError: [Errno 2] No such file or directory: 'fasttint_i586.so'

While executing init code:
 - script at line 269 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 291 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

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

  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.23.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/bootstrap.py", line 260, in bootstrap
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.23.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/main.py", line 255, in main
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.23.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/execution.py", line 234, in run
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.23.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/ast.py", line 558, in execute
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.23.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/python.py", line 937, in py_exec_bytecode
  File "/home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy", line 291, in <module>
  File "gmapi.py", line 51, in <module>
  File "gmapi.py", line 49, in py_import_fasttint
IOError: [Errno 2] No such file or directory: 'fasttint_i586.so'

While executing init code:
 - script at line 269 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 291 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

Ren'Py Version: Ren'Py 6.10.2e

Spiky Caterpillar

#13 by Spiky Caterpillar - Apr 29 2010

0.9.24 should fix the Linux crash bugs and hopefully give the right error message when it crashes on Intel Macs (the error loading fasttint_i586.so occurs because it was falling back to loading the i586 Linux lib if it couldn't load the correct fasttint - which doesn't give the information I need to fix the actual bug.)

Thanks!
(Now I must return to poking around trying to figure out why it catches fire on intel.)

Trazoi

#14 by Trazoi - Apr 29 2010

Here's the new and improved error message from running 0.9.24 on an Intel Mac under Leopard. Hope it helps!

Edit: Do you prefer to have the tracebacks posted here, or sent by email? These things get very bulky if posted in a form thread in succession!

I'm sorry, but an exception occured while executing your Ren'Py
script.

ImportError: dlopen(./fasttint_macos_i386.dylib, 2): Symbol not found: _PyType_GenericNew
  Referenced from: /Applications/Games/Demos/CuteKnightKingdom-demo-0.9.24-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_i386.dylib
  Expected in: /Applications/Games/Demos/CuteKnightKingdom-demo-0.9.24-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_i386.dylib


While executing init code:
 - script at line 269 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 291 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

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

  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.24-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/bootstrap.py", line 260, in bootstrap
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.24-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/main.py", line 255, in main
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.24-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/execution.py", line 234, in run
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.24-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/ast.py", line 558, in execute
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.24-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/python.py", line 937, in py_exec_bytecode
  File "/home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy", line 291, in <module>
  File "/home/deekoo/code/renpy-projects/CuteKnightKingdom/game/gmapi.py", line 54, in <module>
  File "/home/deekoo/code/renpy-projects/CuteKnightKingdom/game/gmapi.py", line 45, in py_import_fasttint
ImportError: dlopen(./fasttint_macos_i386.dylib, 2): Symbol not found: _PyType_GenericNew
  Referenced from: /Applications/Games/Demos/CuteKnightKingdom-demo-0.9.24-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_i386.dylib
  Expected in: /Applications/Games/Demos/CuteKnightKingdom-demo-0.9.24-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_i386.dylib


While executing init code:
 - script at line 269 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 291 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

Ren'Py Version: Ren'Py 6.10.2e

Spiky Caterpillar

#15 by Spiky Caterpillar - Apr 29 2010

Here's the new and improved error message from running 0.9.24 on an Intel Mac under Leopard. Hope it helps!
It does; 0.9.25.1 might work (or might show a different bug, depending).
Edit: Do you prefer to have the tracebacks posted here, or sent by email? These things get very bulky if posted in a form thread in succession!


For the alpha, either one will work (and this thread's pretty much guaranteed to be full of tracebacks no matter what) - once it's released, I'd prefer forum posts to make it easier for users to find patches.

Trazoi

#16 by Trazoi - Apr 29 2010

I'm afraid 0.9.25.1 is showing the same error on my Intel iMac:

I'm sorry, but an exception occured while executing your Ren'Py
script.

ImportError: dlopen(./fasttint_macos_i386.dylib, 2): Symbol not found: _PyType_GenericNew
  Referenced from: /Applications/Games/Demos/CuteKnightKingdom-demo-0.9.25.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_i386.dylib
  Expected in: /Applications/Games/Demos/CuteKnightKingdom-demo-0.9.25.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_i386.dylib


While executing init code:
 - script at line 269 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 291 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.
[/quote]

Spiky Caterpillar

#17 by Spiky Caterpillar - Apr 29 2010

Hm. I'm not sure why it's failing to find _PyType_GenericNew in Ren'Py's Python; I've compiled a couple new builds (0.9.26-twolevel and -flat) with different options for the intel fasttint to see if either of those will work.

neothoron

#18 by neothoron - Apr 29 2010

Played the demo alpha 0.9.25.1 on the same system.

Only "problem" I have seen is that sometimes, I get the following output:
[<ObjectInstanceBase: exit_monitor>, <ObjectInstanceBase: fx_transition>, <ObjectInstanceBase: girl_walker_fort>] 0 101
0.0 0.0 [] 500.0 300.0 -1.0
0.0 0.0
And whenever I save my game, I get, on the console:
open_w /home/{username}/.renpy/CuteKnightKingdom/saves/{Number}-{Number}-{savename}.sav
Otherwise, it seems to be working fine.

Trazoi

#19 by Trazoi - Apr 29 2010

Spiky Caterpillar:

Hm. I'm not sure why it's failing to find _PyType_GenericNew in Ren'Py's Python; I've compiled a couple new builds (0.9.26-twolevel and -flat) with different options for the intel fasttint to see if either of those will work.
I've tried both, and I'm still getting the same "Symbol not found: _PyType_GenericNew" error trace messages for both builds.

Is there any more info I could send you to help diagnose the problem?

Spiky Caterpillar

#20 by Spiky Caterpillar - May 1 2010

I've tried linking it with yet another set of options for 0.9.27. If that doesn't work, the output of

otool -L CuteKnightKingdom.app/Contents/Resources/autorun/game/fasttint*
should tell me something about why it's failing.
(And if it fails with a different error message, otool -L for both 0.9.25/.26 and .27 should help even more.)

Trazoi

#21 by Trazoi - May 1 2010

Well, the good news is I'm not getting the same error message with 0.9.27. The bad news is I'm getting a different one. ;) A missing library with something to do with fasttint and/or SDL, maybe?
I'm sorry, but an exception occured while executing your Ren'Py
script.

ImportError: dlopen(./fasttint_macos_i386.so, 2): Library not loaded: /Users/user1/fat/renpy-deps/install/lib/libSDL_gfx.13.dylib
  Referenced from: /Applications/Games/Demos/CuteKnightKingdom-demo-0.9.27-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_i386.so
  Reason: image not found

While executing init code:
 - script at line 269 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 291 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

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

  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.27-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/bootstrap.py", line 260, in bootstrap
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.27-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/main.py", line 255, in main
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.27-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/execution.py", line 234, in run
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.27-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/ast.py", line 558, in execute
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.27-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/python.py", line 937, in py_exec_bytecode
  File "/home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy", line 291, in <module>
  File "gmapi.py", line 54, in <module>
  File "gmapi.py", line 45, in py_import_fasttint
ImportError: dlopen(./fasttint_macos_i386.so, 2): Library not loaded: /Users/user1/fat/renpy-deps/install/lib/libSDL_gfx.13.dylib
  Referenced from: /Applications/Games/Demos/CuteKnightKingdom-demo-0.9.27-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_i386.so
  Reason: image not found

While executing init code:
 - script at line 269 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 291 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

Ren'Py Version: Ren'Py 6.10.2e
The output of the otool command is:

CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_i386.so:
	/Users/user1/fat/renpy-deps/install/lib/libSDL_gfx.13.dylib (compatibility version 19.0.0, current version 19.2.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.9)
CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_ppc.so:
	/Users/user1/desktop/shellslave/tmp/renpy-deps/install/lib/libSDL-1.2.0.dylib (compatibility version 12.0.0, current version 12.2.0)
	/Users/user1/desktop/shellslave/tmp/renpy-deps/install//lib/libSDL_gfx.13.dylib (compatibility version 19.0.0, current version 19.2.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.12)
Hope that helps!

Spiky Caterpillar

#22 by Spiky Caterpillar - May 1 2010

Ah, it's hardcoding library paths (AND I was stupid and failed to put SDL_gfx in the actual distribution). 0.9.29 should change the error yet again - or maybe even actually work. *crosses fingers*

Trazoi

#23 by Trazoi - May 1 2010

Great, 0.9.29 runs on my Intel Mac! That seems to have done the trick.

I'll test it a bit more; so far I've only tried clicking on each of the main menu items. "Exit game" works fine, as does the "Buy game" button (opens up the purchase page in my default browser). The options appear to work, although the music won't immediately start when I toggle it to on until I go back to the main menu (minor issue).

There is a crash problem with clicking on save or load game however due to a missing save directory. Here's the error trace:

I'm sorry, but an exception occured while executing your Ren'Py
script.

OSError: [Errno 2] No such file or directory: '/Users/trazoi/Library/RenPy/CuteKnightKingdom/saves'

While running game code:
 - script at line 725 of renpy-6.10.2/common/00library.rpy
 - python at line 729 of renpy-6.10.2/common/00library.rpy.
 - script at line 302 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 307 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

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

  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.29-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/bootstrap.py", line 260, in bootstrap
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.29-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/main.py", line 310, in main
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.29-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/main.py", line 93, in run
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.29-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/execution.py", line 234, in run
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.29-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/ast.py", line 558, in execute
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.29-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/python.py", line 937, in py_exec_bytecode
  File "renpy-6.10.2/common/00library.rpy", line 729, in <module>
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.29-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/game.py", line 292, in call_in_new_context
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.29-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/execution.py", line 234, in run
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.29-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/ast.py", line 558, in execute
  File "/Applications/Games/Demos/CuteKnightKingdom-demo-0.9.29-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/python.py", line 937, in py_exec_bytecode
  File "/home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy", line 307, in <module>
  File "rungm6.py", line 417, in <module>
  File "rungm6.py", line 308, in handle_events
  File "gm6.py", line 3963, in Room_MouseButtonDown
  File "gm6.py", line 2429, in RunActionGroupOn
  File ":event:#53", line 1, in <module>
  File "<string>", line 16, in __py_603_tmpfunc_4
  File "gmapi.py", line 2804, in script_execute
  File "<string>", line 1, in <module>
  File "<string>", line 17, in prepare_load_games
  File "gmapi.py", line 1922, in instance_change
  File "gm6.py", line 2521, in RunCreateEvent
  File "gm6.py", line 2429, in RunActionGroupOn
  File ":event:#0", line 1, in <module>
  File "<string>", line 9, in __py_603_tmpfunc_319
  File "gmapi.py", line 1731, in file_find_first
  File "/home/deekoo/code/renpy-projects/CuteKnightKingdom/game/renpy_glue.py", line 138, in listdir
OSError: [Errno 2] No such file or directory: '/Users/trazoi/Library/RenPy/CuteKnightKingdom/saves'

While running game code:
 - script at line 725 of renpy-6.10.2/common/00library.rpy
 - python at line 729 of renpy-6.10.2/common/00library.rpy.
 - script at line 302 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 307 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

Ren'Py Version: Ren'Py 6.10.2e
Edit: Additional

If I manually create the save directory, saving and loading appears to work fine at least with a simple cursory test (I saved at the start of a game, saved again one week into the game, and can load between the two saves).

There is a weird glitch though if I save before creating a new game. If I load that save, I'll see the main menu screen with the info panels for a phantom girl "Sorami", date: 00/00/0 with HP 0/10 and MP 0/10 transposed on top of it. It doesn't appear to be a serious crash issue; I can start a new game albeit with the info panels showing and they'll revert when the game starts. (I can post or send you a screenshot if it helps).

Spiky Caterpillar

#24 by Spiky Caterpillar - May 2 2010

Okay, there's a new build up which fixes the ability to save before starting and creates the correct save directory. (And also applies the absolute library path fix to PPC, so it should work on PPCs that aren't the one I'm using.) Thanks!

Trazoi

#25 by Trazoi - May 3 2010

I've tried generally playing 0.9.32 on my Intel iMac and trying out most of the interactions I can find. Everything seems to be working so far; I've been playing for quite a while without issue.

There was one crash without an error trace the first time I tried casting a spell in battle, but that crash doesn't seem to be repeatable; every other time I've tried to cast a spell it has worked fine.

liz4187

#26 by liz4187 - May 3 2010

I just tried out several different scenarios and paths, everything seems to be working fine, I will let you know if I encounter anything strange

liz4187

#27 by liz4187 - May 4 2010

I'm sorry, but an exception occured while executing your Ren'Py
script.

UnicodeEncodeError: 'ascii' codec can't encode character u'\uf70d' in position 30: ordinal not in range(128)

While running game code:
- script at line 725 of renpy-6.10.2/common/00library.rpy
- python at line 729 of renpy-6.10.2/common/00library.rpy.
- script at line 302 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
- python at line 307 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

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

File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-demo-0.9.32-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/bootstrap.py", line 260, in bootstrap
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-demo-0.9.32-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/main.py", line 310, in main
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-demo-0.9.32-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/main.py", line 93, in run
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-demo-0.9.32-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/execution.py", line 234, in run
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-demo-0.9.32-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/ast.py", line 558, in execute
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-demo-0.9.32-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/python.py", line 937, in py_exec_bytecode
File "renpy-6.10.2/common/00library.rpy", line 729, in <module>
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-demo-0.9.32-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/game.py", line 292, in call_in_new_context
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-demo-0.9.32-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/execution.py", line 234, in run
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-demo-0.9.32-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/ast.py", line 558, in execute
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-demo-0.9.32-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/python.py", line 937, in py_exec_bytecode
File "/home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy", line 307, in <module>
File "rungm6.py", line 424, in <module>
File "rungm6.py", line 338, in handle_events
File "rungm6.py", line 237, in debug_prompt
UnicodeEncodeError: 'ascii' codec can't encode character u'\uf70d' in position 30: ordinal not in range(128)

While running game code:
- script at line 725 of renpy-6.10.2/common/00library.rpy
- python at line 729 of renpy-6.10.2/common/00library.rpy.
- script at line 302 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
- python at line 307 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

Ren'Py Version: Ren'Py 6.10.2e




--------

I acquired this error while trying to figure out if I code access the area for cheat codes. I managed to get something that said enter code in the top left hand corner after hitting the fn, f10, and command . If my memory is correct it did not look the same as it had on windows (and may have been unrelated) I entered global.gold=5000 and as far as I can see there was no way to submit this. When I hit enter the first time it dropped down a line, if I hit enter again after this it did not change. The error occurred as I hit various keys to try and get out of that enter code area.

Hope this helped Smile

Spiky Caterpillar

#28 by Spiky Caterpillar - May 4 2010

Trazoi:
There was one crash without an error trace the first time I tried casting a spell in battle, but that crash doesn't seem to be repeatable; every other time I've tried to cast a spell it has worked fine.
Did it give you an Apple crash message or just quit? I haven't been able to reproduce the crash, though I did find an uninitialized variable in that area that might have been responsible - if it was, it's fixed as of 0.9.35.
liz4187: I acquired this error while trying to figure out if I code access the area for cheat codes. I managed to get something that said enter code in the top left hand corner after hitting the fn, f10, and command . If my memory is correct it did not look the same as it had on windows (and may have been unrelated) I entered global.gold=5000 and as far as I can see there was no way to submit this. When I hit enter the first time it dropped down a line, if I hit enter again after this it did not change. The error occurred as I hit various keys to try and get out of that enter code area.
I'll have the crash bug fixed in the next version. The Mac/Linux version uses a slightly different cheat console; as you noticed, you have to hit enter twice after entering a cheat code, and all codes that had 'global' in them have just plain 'g' instead. (Also, since command-FN-F10 is rather annoying, you can get to the cheat console using tab as well.)

Trazoi

#29 by Trazoi - May 5 2010

Spiky Caterpillar:

Did it give you an Apple crash message or just quit? I haven't been able to reproduce the crash, though I did find an uninitialized variable in that area that might have been responsible - if it was, it's fixed as of 0.9.35.
It did give a standard Apple crash message. Unfortunately my instincts were to close the box before I copied down the information (sorry). That was the only crash I've seen, and when I tried repeating the battle and spell casting it worked fine. However I think that was the longest session I had been running Cute Knight Kingdom - I was exploring the main towns, talking to all the people and trying all the dialog options and jobs available before I started the first random encounter fight.

liz4187

#30 by liz4187 - May 5 2010

another quick note I have been playing around with this for a bit now and absolutely none of the recipes work. I'm not sure if this is because its a demo or what but whether my cooking level was 10 or 300 nothing worked. I am going to assume that ending aren't activated for the demo as well because I performed everything necessary for the partner ending but the last dialogue from Helena never popped up

Update: crafting system is working so no trouble there, also I managed to "complete" the blacksmith ending... obviously no picture just the end of the demo message so it is possible I missed a step with partners. I am going to double check just in case but I had received the last dialogue from helena's mom (the she needs a companion, i think she likes you, etc) but not that last chat option from Helena

Spiky Caterpillar

#31 by Spiky Caterpillar - May 5 2010

The endings are supposed to be missing from the demo; the cooking should now work (and has been fixed as of 0.9.36, along with the crash on non-ascii characters in the debug console.)

takemitsu

#32 by takemitsu - May 5 2010

There is a small bug in the Linux version (don't know about the Mac one):

In your home town only your parents have a chat icon over their head. Since you can only ask your father about some things his icon doesn't disappear. With your mother you can chat without problems.
If you chat with Donald, you get an empty message box and then his introducing text. This happens every time you chat with him and doesn't seem to change.
All the other people just say their standard text.
After at least one day has passed, the chatting behaves normally again.

This bug has been introduced in 0.9.23.1.

hanako

#33 by hanako - May 5 2010

The chat icon change is not entirely a bug; it's something introduced to try and combat new-player confusion by channeling them to talk to Mom and Dad FIRST, since they have useful newbie information. Some people get overwhelmed by seeing a whole village ALL light up with talk-to-me bubbles and thus miss out on things they need to know.

But donald saying an empty box sounds like an oops. Smile

Spiky Caterpillar

#34 by Spiky Caterpillar - May 6 2010

The empty box is fixed as of 0.9.37.

namia4

#35 by namia4 - May 6 2010

the mac demo works just fine! I'm very pleased with the game i hope to try more.

liz4187

#36 by liz4187 - May 10 2010

I checked every spell I could get in the demo and got each one, they all worked great. I've worked with the recipe and crafting system, done every job and talked with every character (which is accessible in the demo) they all seem to be working great Very Happy

Spiky Caterpillar

#37 by Spiky Caterpillar - May 10 2010

Excellent.

There are still a few known bugs (and undoubtably some unknown ones), but I *think* (well, okay, hope!) it's now close enough to completion to move into beta next time I fix something. Soooo... if you've already bought Cute Knight Kingdom from Hanako, PM me your receipt and whether you want to test for Linux or OS X and I'll give you access to the betas as they go up. (And, of course, existing fullbuild alpha testers will also have access to the betas.)

takemitsu

#38 by takemitsu - May 11 2010

Linux version 0.9.4.2:

When Alaric and Alana reveal who they are, you can't see Alana. She seems to be talking to you but only Alaric is visible. Alana can only be seen after you go to the map and then come back or go to the menu and return.
This confused me a little bit before I realized what was going on.

- - - -

If you have the hints turned on and spend all of your HP and MP during a job, you get an empty hint box afterwards.

- - - -

Fullbuild:

If you move the text down at an ending, you can keep moving endlessly. Alternatively moving the text up, it stops at the beginning.

- - - -

Fullbuild:

You can see every picture in the gallery but you can't click on them to see them in color and full size. But after you get your first ending all the pictures are black except the one for your ending.
After you exit the game and start it again, you can see the whole gallery again.

Spiky Caterpillar

#39 by Spiky Caterpillar - May 13 2010

The Alaric/Alana bug is intended behaviour (at least for now); the other bugs have been fixed as of 0.9.50. The gallery report was particularly helpful, as that bug also manifested in a few other places in much more subtle and difficult-to-debug ways.

takemitsu

#40 by takemitsu - May 15 2010

Linux version 0.9.58:

"buy game" links to
~/.renpy/.renpy/CuteKnightKingdom/"http://www.hanakogames.com/ckk.shtml"
which obviously is not the right url. I have seen similar behaviour with other Ren'Py demos. "Order Game" in the Linux demo of Cute Knight Deluxe for example links to
dir-of-the-game/"http://www.hanakogames.com/ckd-rpy.shtml?posix"
- - - -

Fullbuild:

At an ending you can still keep moving the text down endlessly if you click on one of those arrows to speed the moving up.

- - - -

In the fullbuild, if you set the game speed to fast, your character also moves faster in locations. But in the demo you alway move at normal speed if you are in a location. I don't know what the intended behaviour is.

Spiky Caterpillar

#41 by Spiky Caterpillar - May 15 2010

Hm, I'm not sure why it's trying to open a local file instead of the URL, and I can't reproduce it on my main box (64-bit Debian). You're still on 32-bit Arch? What web browser (and version) is it trying to load the links in? Does it behave differently if the browser was already running when the 'buy game' page is loaded? What command line does ps show the browser being invoked with?

If you press F10 and enter
import webbrowser
webbrowser.open('http://127.0.0.1/')
webbrowser.open_new('http://127.0.0.1/')
webbrowser.open_new_tab('http://127.0.0.1/')

do any of them load the URL instead of looking for a file under the data directory?

Spiky Caterpillar

#42 by Spiky Caterpillar - May 15 2010

Also, what does
import os
print os.environ['BROWSER']
output?

takemitsu

#43 by takemitsu - May 16 2010

Spiky Caterpillar:

You're still on 32-bit Arch?
Yes.

Spiky Caterpillar:

What web browser (and version) is it trying to load the links in?
Firefox 3.6.3

Spiky Caterpillar:

Does it behave differently if the browser was already running when the 'buy game' page is loaded?
If the browser already runs, it will open both a new tab and a new window. Otherwise it just opens a new window.

Spiky Caterpillar:

What command line does ps show the browser being invoked with?
/usr/bin/firefox "http://www.hanakogames.com/ckk.shtml"

Spiky Caterpillar:

If you press F10 and enter
import webbrowser
webbrowser.open('http://127.0.0.1/')
webbrowser.open_new('http://127.0.0.1/')
webbrowser.open_new_tab('http://127.0.0.1/')

do any of them load the URL instead of looking for a file under the data directory?
No.

Spiky Caterpillar:

Also, what does
import os
print os.environ['BROWSER']
output?
Execution of ' import os
print os.environ['BROWSER']
' failed. <type 'exceptions.KeyError'> 'BROWSER' <traceback object at 0xa55b70c>

Spiky Caterpillar

#44 by Spiky Caterpillar - May 18 2010

Hm. I suspect it's a bug in the version of the webbrowser module that ships with Ren'Py and/or its interaction with Arch's firefox package, then. What does
import webbrowser
print dir(webbrowser.get())
output?

takemitsu

#45 by takemitsu - May 18 2010

['__class__', '__delattr__', '__dict__', '__doc__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', '__weakref__', 'args', 'basename', 'name', 'open', 'open_new', 'open_new_tab']

takemitsu

#46 by takemitsu - May 18 2010

(-_-)

Okay, I figured out what the problem was. Since I didn't use a desktop environment for the longest time I had to set the $BROWSER variable manually to 'firefox'. And lo and behold, as soon as I did that, Firefox loaded the URL correctly.
Sorry for taking up your time for this.

takemitsu

#47 by takemitsu - May 21 2010

Linux version 0.9.76.1 (demo) and 0.9.75 (fullbuild):

Settng the game speed to fast, your character still walks at normal speed if you click on Gordy or Donald in your home town. You have to stand at about the same height as they do if you want to move at fast speed after clicking on them.

- - - -

In a location, if you click somewhere to move you character and then click on her feet while she is still moving, she stops but still has the walking animation. This happens regardless of the game speed.

- - - -

If Deborah has a chat icon and you do a job or take a class at the beach while the 10th month changes into the 11th, Deborah's icon stays after she disappears. The icon then disappears if you go to the world map or to the menu.

- - - -

In the demo and the fullbuild the hint message for taking a class is the same, while the one for the job is different. In the demo there is a bar you have to fill. In the fullbuild there is a text similar to the one for the classes.

- - - -

The price for taking a class can rise while you are taking one. So you suddenly have to pay more for each day. At least this happened with the Beauty Workshop at the beach.

chibichadiana

I tried beta mac

#48 by chibichadiana - May 22 2010

I tried the alpha demo and that worked.
The beta mac demo didn't open up.


A text opened up saying this:

I'm sorry, but an exception occured while executing your Ren'Py
script.

ImportError: dlopen(./fasttint_macos_i386.so, 2): Symbol not found: _scale
Referenced from: /Users[name]/Downloads/CuteKnightKingdom-demo-0.9.76.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_i386.so
Expected in: dynamic lookup


While executing init code:
- script at line 269 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
- python at line 291 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

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

File "/Users/[name]/Downloads/CuteKnightKingdom-demo-0.9.76.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/bootstrap.py", line 260, in bootstrap
File "/Users/[name][name]/Downloads/CuteKnightKingdom-demo-0.9.76.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/main.py", line 255, in main
File "/Users/[name]/Downloads/CuteKnightKingdom-demo-0.9.76.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/execution.py", line 234, in run
File "/Users/[name]/Downloads/CuteKnightKingdom-demo-0.9.76.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/ast.py", line 558, in execute
File "/Users/[name]/Downloads/CuteKnightKingdom-demo-0.9.76.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/renpy/python.py", line 937, in py_exec_bytecode
File "/home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy", line 291, in <module>
File "gmapi.py", line 63, in <module>
File "gmapi.py", line 54, in py_import_fasttint
ImportError: dlopen(./fasttint_macos_i386.so, 2): Symbol not found: _scale
Referenced from: /Users/[name]/Downloads/CuteKnightKingdom-demo-0.9.76.1-mac/CuteKnightKingdom-demo.app/Contents/Resources/autorun/game/fasttint_macos_i386.so
Expected in: dynamic lookup


While executing init code:
- script at line 269 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
- python at line 291 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

Ren'Py Version: Ren'Py 6.10.2e

Spiky Caterpillar

#49 by Spiky Caterpillar - May 24 2010

chibichadiana:

I tried the alpha demo and that worked.
The beta mac demo didn't open up.
That should be fixed as of 0.9.78.1 - I'd forgotten to add the new source file to the intel mac build script.

takemitsu:

Linux version 0.9.76.1 (demo) and 0.9.75 (fullbuild):

Settng the game speed to fast, your character still walks at normal speed if you click on Gordy or Donald in your home town. You have to stand at about the same height as they do if you want to move at fast speed after clicking on them.
That's weird (I've verified it, but haven't been able to figure out why it's actually happening) and will probably wind up deferred 'till 1.1 at least.
In a location, if you click somewhere to move you character and then click on her feet while she is still moving, she stops but still has the walking animation. This happens regardless of the game speed.
Fixed.
If Deborah has a chat icon and you do a job or take a class at the beach while the 10th month changes into the 11th, Deborah's icon stays after she disappears. The icon then disappears if you go to the world map or to the menu.
Not fixed yet.
In the demo and the fullbuild the hint message for taking a class is the same, while the one for the job is different. In the demo there is a bar you have to fill. In the fullbuild there is a text similar to the one for the classes.
We're trying to see if the old text hint or the new one with the bars is better for users, so for a while there will be a different one in each build. (Also, it's more likely that a demo player needs the extra help.)
The price for taking a class can rise while you are taking one. So you suddenly have to pay more for each day. At least this happened with the Beauty Workshop at the beach.
Fixed as of 0.9.77.

Also, I put in a workaround for the browser extraneously quoting URLs (I believe the actual bug is in the interaction between Firefox, Gnome, and python 2.5's webbrowser.py, but I'm not familiar enough with the Firefox/Gnome codebases to tell what the Right Approach is - and at any rate there will be a lot of old Firefox and Gnome installs deployed even if they do change it.)

takemitsu

#50 by takemitsu - May 24 2010

Linux version 0.9.78:

The bug where your character walks through buildings if you move her with the mouse while pressing an arrow key is back.
Here is the post where I first described this bug:
The only difference in reproducing the bug is that at fast speed you have to release the key immediately after your character begins to move up.

Traceback of the demo version:
I'm sorry, but an exception occured while executing your Ren'Py
script.

IndexError: list index out of range

While running game code:
 - script at line 725 of renpy-6.10.2/common/00library.rpy
 - python at line 729 of renpy-6.10.2/common/00library.rpy.
 - script at line 302 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 307 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

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

  File "renpy-6.10.2/renpy/bootstrap.py", line 260, in bootstrap
  File "renpy-6.10.2/renpy/main.py", line 310, in main
  File "renpy-6.10.2/renpy/main.py", line 93, in run
  File "renpy-6.10.2/renpy/execution.py", line 234, in run
  File "renpy-6.10.2/renpy/ast.py", line 558, in execute
  File "renpy-6.10.2/renpy/python.py", line 937, in py_exec_bytecode
  File "renpy-6.10.2/common/00library.rpy", line 729, in <module>
  File "renpy-6.10.2/renpy/game.py", line 292, in call_in_new_context
  File "renpy-6.10.2/renpy/execution.py", line 234, in run
  File "renpy-6.10.2/renpy/ast.py", line 558, in execute
  File "renpy-6.10.2/renpy/python.py", line 937, in py_exec_bytecode
  File "/home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy", line 307, in <module>
  File "rungm6.py", line 479, in <module>
  File "gm6.py", line 3951, in Room_StepKeyMouse
  File "gm6.py", line 2672, in StepKeyMouse
  File "gm6.py", line 2438, in RunActionGroupOn
  File ":event:#50", line 1, in <module>
  File "<string>", line 10, in __py_603_tmpfunc_52
  File "<string>", line 10, in start_map_move
  File "<string>", line 28, in scr_motion_compute
  File "gmapi.py", line 2444, in mp_grid_path
IndexError: list index out of range

While running game code:
 - script at line 725 of renpy-6.10.2/common/00library.rpy
 - python at line 729 of renpy-6.10.2/common/00library.rpy.
 - script at line 302 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy
 - python at line 307 of /home/deekoo/code/renpy-projects/CuteKnightKingdom-demo/game/options.rpy.

Ren'Py Version: Ren'Py 6.10.2e
This bug was reintroduced in 0.9.23.

Your workaround with the browser problem seems to be working. This way I don't have to set up the $BROWSER variable manually.

Spiky Caterpillar

#51 by Spiky Caterpillar - May 25 2010

Argh! Gods below, that pathfinding bug is determined to sneak back into the code.

I *think* I've squashed this incarnation as of 0.9.79. Hopefully it won't find a new way to manifest.

takemitsu

#52 by takemitsu - May 25 2010

This pathfinding bug is still there. Here is a way to reproduce it:
Go to the capital city.
Press the up arrow key.
When you are a little bit above John click on him.
Hold the key for another second until you release it.
After your character has stopped try to move her with an arrow key and she walks through buildings and leaves the screen.

The last output at normal speed is
2606 speed 4.89842541529e-16 -4.0 now 0.0 0.0
At fast speed it is
2606 speed 9.79685083058e-16 -8.0 now 0.0 0.0
The game doesn't crash if you try to move with the mouse or the arrow keys after your character has left the screen.

Moving the character while she goes through buildings but didn't leave the screen yet fills your stdout with lists of numbers like before. Usually this results in landing on the map

Spiky Caterpillar

#53 by Spiky Caterpillar - May 28 2010

Far too much digging around in strange and mind-devouring APIs later, I *think* I've gotten the pathfinding bug fixed (as of 0.9.81). The fix may slightly increase latency if you try to move while you're already moving, but should sort itself out more cleanly. (Also, there's now more bounds checking, so if you *do* find a way to walk off the edge of the world it should no longer crash.)

takemitsu

#54 by takemitsu - May 28 2010

Linux version 0.9.81:

No, no more pathfinding bugs that I'm reporting here. (At least I didn't find any)

At the outpost, Sophie claims that advanced exercise classes cost 50 gold a day, but in reality it's 60 gold a day.
- - -

If one of your skills is really, really high and you take a class to train it, the bar empties each time you exert until it grows downward. Concentrating works without problems.
I don't know how high exactly that skill needs to be before this behaviour arises. It seems that if only one skill is trained, it needs to be somewhat above 250. If a class trains several skills, it seems to depend on how high the other skills are. But I guess that in general the skill needs to be at least somewhat above 250 and depening on the other skills it may need to be as high as 300 and above.
If the highness of a skill is getting closer to the point where this behaviour arises, but did not arrive there yet, filling the bar with extertion becomes very difficult to nearly impossible. In this state it's much easier to fill the bar with concentration and can even be the only way.
- - - -

If one of your skills is higher than the bar at classes and jobs displays, that white glowing point moves beyond that bar which can look a little bit strange.

liz4187

#55 by liz4187 - Jun 1 2010

Game won't allow me to fight the demon spider



I'm sorry, but an exception occured while executing your Ren'Py
script.

AttributeError: 'str' object has no attribute 'get_playing'

While running game code:
- script at line 725 of renpy-6.10.2/common/00library.rpy
- python at line 729 of renpy-6.10.2/common/00library.rpy.
- script at line 303 of /home/deekoo/code/renpy-projects/CuteKnightKingdom/game/options.rpy
- python at line 308 of /home/deekoo/code/renpy-projects/CuteKnightKingdom/game/options.rpy.

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

File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-0.9.41-mac/CuteKnightKingdom.app/Contents/Resources/autorun/renpy/bootstrap.py", line 260, in bootstrap
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-0.9.41-mac/CuteKnightKingdom.app/Contents/Resources/autorun/renpy/main.py", line 310, in main
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-0.9.41-mac/CuteKnightKingdom.app/Contents/Resources/autorun/renpy/main.py", line 93, in run
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-0.9.41-mac/CuteKnightKingdom.app/Contents/Resources/autorun/renpy/execution.py", line 234, in run
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-0.9.41-mac/CuteKnightKingdom.app/Contents/Resources/autorun/renpy/ast.py", line 558, in execute
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-0.9.41-mac/CuteKnightKingdom.app/Contents/Resources/autorun/renpy/python.py", line 937, in py_exec_bytecode
File "renpy-6.10.2/common/00library.rpy", line 729, in <module>
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-0.9.41-mac/CuteKnightKingdom.app/Contents/Resources/autorun/renpy/game.py", line 292, in call_in_new_context
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-0.9.41-mac/CuteKnightKingdom.app/Contents/Resources/autorun/renpy/execution.py", line 234, in run
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-0.9.41-mac/CuteKnightKingdom.app/Contents/Resources/autorun/renpy/ast.py", line 558, in execute
File "/Users/elizabeththomson/Downloads/CuteKnightKingdom-0.9.41-mac/CuteKnightKingdom.app/Contents/Resources/autorun/renpy/python.py", line 937, in py_exec_bytecode
File "/home/deekoo/code/renpy-projects/CuteKnightKingdom/game/options.rpy", line 308, in <module>
File "rungm6.py", line 448, in <module>
File "rungm6.py", line 324, in handle_events
File "gm6.py", line 3964, in Room_MouseButtonDown
File "gm6.py", line 2429, in RunActionGroupOn
File ":event:#53", line 1, in <module>
File "<string>", line 26, in __py_603_tmpfunc_14
File "<string>", line 23, in access_dialog
File "gmapi.py", line 1621, in execute_string
File "<string>", line 1, in <module>
File "gmapi.py", line 2871, in sound_stop
File "gm6.py", line 102, in Stop
AttributeError: 'str' object has no attribute 'get_playing'

While running game code:
- script at line 725 of renpy-6.10.2/common/00library.rpy
- python at line 729 of renpy-6.10.2/common/00library.rpy.
- script at line 303 of /home/deekoo/code/renpy-projects/CuteKnightKingdom/game/options.rpy
- python at line 308 of /home/deekoo/code/renpy-projects/CuteKnightKingdom/game/options.rpy.

Ren'Py Version: Ren'Py 6.10.2e



Before recieving the ending pic and description for each even ending (havent done any natural endings yet) there is a picture of the goblin and mossam shown first. Additionally the gallery originally started showing every ending picture, if i hadn't achieved it the picture would be displayed but the words picture not yet unlocked would appear over it. Then after a few endings it returned to normal black over pictures not achieved with the words over it.... now it has returned to showing every picture with 'not yet unlocked' over listed if it wasnt achieved.

hanako

#56 by hanako - Jun 1 2010

9.41? that's WAY many versions ago. To the best of my knowledge the demon spider crash was fixed several builds back. Smile

liz4187

#57 by liz4187 - Jun 1 2010

I have the newest version. It seems that the wanderer ending can't be achieved now though. With a save file I used to achieve this ending on my old build I continually get star princess even though I am sure I have met the requirements

Spiky Caterpillar

#58 by Spiky Caterpillar - Jun 9 2010

I got Wanderer on a pre-0.9.83 test build - can you upload the save file you were using to http://spikycaterpillar.dreamhosters.com/savegame-upload.html ?
Hanako forum archive - Topic list