FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

FIFE 0.4.0 has been released on 15th of January, 2017!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Nihathrael

Pages: [1]
1
Framework development / Re: Prioritizing our time/efforts
« on: April 03, 2012, 03:25:11 pm »
Here's a list from the top of my head going through the list at the wiki:
Number 1-10:
  • Proper support for multi-cell objects
(Yep, it is that important :P)

11 and following (no order):
  • VFS doesnt support unicode objects
  • Dynamically resize an image at runtime
  • Dummy render backend
  • Better implementation of UTF8 Strings
  • Add the ability to have triggers on map files for when instances enter the trigger area something happens
  • Need a Mac dev kit
  • All of Soundmanager tasks
  • Unit tests + jenkins
  • Animation Overlays
  • All of Guichan/Pychan
  • Editor plugins

Basically none of the features here http://wiki.fifengine.net/PrioritizedTasks#New_and_required_features_for_FIFE_1.0 are required by Unknown Horizons. I'd rather focus on improving the other stuff.

Cheers

2
Framework development / Re: view_performance branch testing
« on: December 04, 2009, 10:53:39 am »
Hi,
first the performance improvement is running pretty nicely on full zoom in(70fps=>170fps). Zoomed out there is no difference. There is a little glitch though:
http://img229.imageshack.us/img229/3937/200912041742451024x768s.png
This happens if i zoom full out and then back in. (rev 3107)

Keep up the great work!
Nihathrael

3
Framework development / Re: Pathfinder Rework
« on: July 01, 2009, 06:30:54 am »
Here is another backtrace from UH using the newest fife rev 2942:
Code: [Select]
*** glibc detected *** /usr/bin/python: free(): invalid pointer: 0xb77c47e0 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7d51281]
/lib/libc.so.6[0xb7d529ba]
/lib/libc.so.6(cfree+0x6d)[0xb7d55abd]
/usr/lib/libnvidia-tls.so.1[0xb7ff6aa0]
/home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so(_ZN4FIFE19SquareGridHeuristicD0Ev+0x6a)[0xb74ae61a]
/home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so(_ZN4FIFE17RoutePatherSearchD1Ev+0x3c)[0xb74ac7cc]
/home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so(_ZN4FIFE11RoutePather6updateEv+0x211)[0xb74abd51]
/home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so(_ZN4FIFE5Model6updateEv+0x55)[0xb74f3465]
/home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so(_ZN4FIFE6Engine4pumpEv+0x42)[0xb753dc62]
/home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so[0xb75b594b]
/usr/lib/libpython2.6.so.1.0(PyCFunction_Call+0x112)[0xb7ee0592]
/usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x494c)[0xb7f3e05c]
/usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x523e)[0xb7f3e94e]
/usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x523e)[0xb7f3e94e]
/usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x523e)[0xb7f3e94e]
/usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x523e)[0xb7f3e94e]
/usr/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x7d9)[0xb7f3f669]
/usr/lib/libpython2.6.so.1.0(PyEval_EvalCode+0x63)[0xb7f3f773]
/usr/lib/libpython2.6.so.1.0(PyRun_FileExFlags+0xb1)[0xb7f5e9d1]
/usr/lib/libpython2.6.so.1.0(PyRun_SimpleFileExFlags+0xdc)[0xb7f5ec0c]
/usr/lib/libpython2.6.so.1.0(PyRun_AnyFileExFlags+0x7a)[0xb7f5f03a]
/usr/lib/libpython2.6.so.1.0(Py_Main+0xb92)[0xb7f6b112]
/usr/bin/python(main+0x27)[0x8048637]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb7cfba36]
/usr/bin/python[0x8048571]
======= Memory map: ========
08048000-08049000 r-xp 00000000 08:05 322458     /usr/bin/python2.6
08049000-0804a000 rwxp 00000000 08:05 322458     /usr/bin/python2.6
0987a000-0ce76000 rwxp 00000000 00:00 0          [heap]
b346a000-b3933000 rwxp 00000000 00:00 0
b3946000-b3dfa000 rwxp 00000000 00:00 0
b3e43000-b4034000 rwxp 00000000 00:00 0
b40ea000-b413f000 rwxp 00000000 00:00 0
b4158000-b41bb000 rwxp 00000000 00:00 0
b41bb000-b41df000 r-xp 00000000 08:05 491604     /usr/lib/libexpat.so.1.5.2
b41df000-b41e1000 rwxp 00023000 08:05 491604     /usr/lib/libexpat.so.1.5.2
b41f7000-b4202000 r-xp 00000000 08:05 8584       /usr/lib/python2.6/lib-dynload/pyexpat.so
b4202000-b4204000 rwxp 0000a000 08:05 8584       /usr/lib/python2.6/lib-dynload/pyexpat.so
b4204000-b4209000 rwxp 00000000 00:00 0
b4209000-b420a000 ---p 00000000 00:00 0
b420a000-b4a0a000 rwxp 00000000 00:00 0
b4a0a000-b4a1a000 rwxs 00000000 00:08 1081347    /SYSV0056a4d6 (deleted)
b4a1a000-b4a24000 r-xp 00000000 08:05 911302     /lib/libnss_files-2.10.1.so
b4a24000-b4a25000 r-xp 00009000 08:05 911302     /lib/libnss_files-2.10.1.so
b4a25000-b4a26000 rwxp 0000a000 08:05 911302     /lib/libnss_files-2.10.1.so
b4a26000-b4ae9000 r-xp 00000000 08:05 737290     /usr/lib/libasound.so.2.0.0
b4ae9000-b4aed000 rwxp 000c3000 08:05 737290     /usr/lib/libasound.so.2.0.0
b4aed000-b4af0000 rwxp 00000000 00:00 0
b4af0000-b4b00000 rwxs 00000000 00:0d 1903       /dev/snd/pcmC0D0p
b4b00000-b4b01000 rwxs 81000000 00:0d 1903       /dev/snd/pcmC0D0p
b4b01000-b4b02000 r-xs 80000000 00:0d 1903       /dev/snd/pcmC0D0p
b4b02000-b4b03000 rwxs 00000000 00:08 1048578    /SYSV0056a4d5 (deleted)
b4b03000-b4b05000 rwxp 00000000 00:00 0
b4b05000-b4d05000 rwxs 35771000 00:0d 7243       /dev/nvidia0
b4d05000-b4e05000 rwxs 358fb000 00:0d 7243       /dev/nvidia0
b4e05000-b4e06000 rwxs f5c06000 00:0d 7243       /dev/nvidia0
b4e06000-b4e46000 rwxs 35c72000 00:0d 7243       /dev/nvidia0
b4e46000-b4f03000 rwxp 00000000 00:00 0
b4f03000-b4f04000 rwxp 00000000 00:00 0
b4f04000-b4f0b000 r-xp 00000000 08:05 911316     /lib/librt-2.10.1.so
b4f0b000-b4f0c000 r-xp 00006000 08:05 911316     /lib/librt-2.10.1.so
b4f0c000-b4f0d000 rwxp 00007000 08:05 911316     /lib/librt-2.10.1.so
b4f0d000-b4f11000 rwxs 3576f000 00:0d 7243       /dev/nvidia0
b4f11000-b4f15000 rwxs 35514000 00:0d 7243       /dev/nvidia0
b4f15000-b4f16000 rwxs e0002000 00:0d 7243       /dev/nvidia0
b4f16000-b4f17000 rwxs 35d3d000 00:0d 7243       /dev/nvidia0
b4f17000-b4f18000 rwxs 35d3c000 00:0d 7243       /dev/nvidia0
b4f26000-b4f2b000 r-xp 00000000 08:05 8590       /usr/lib/python2.6/lib-dynload/_multiprocessing.so
b4f2b000-b4f2c000 rwxp 00004000 08:05 8590       /usr/lib/python2.6/lib-dynload/_multiprocessing.so
b4f2c000-b4f34000 r-xp 00000000 08:05 8515       /usr/lib/python2.6/lib-dynload/itertools.so
b4f34000-b4f37000 rwxp 00007000 08:05 8515       /usr/lib/python2.6/lib-dynload/itertools.so
b4f37000-b4f38000 rwxp 00000000 00:00 0
b4f38000-b4f39000 rwxs f5641000 00:0d 7243       /dev/nvidia0
b4f39000-b4f85000 rwxp 00000000 00:0d 1497       /dev/zero
b4f85000-b4f86000 rwxs f5060000 00:0d 7243       /dev/nvidia0
b4f86000-b4fa7000 rwxs 00000000 00:08 0          /SYSV00000000 (deleted)
b4fa7000-b4fad000 rwxp 00000000 00:00 0
b4fad000-b4fae000 ---p 00000000 00:00 0
b4fae000-b57ae000 rwxp 00000000 00:00 0
b57ae000-b5825000 r-xp 00000000 08:05 322355     /usr/lib/libsqlite3.so.0.8.6
b5825000-b5827000 rwxp 00076000 08:05 322355     /usr/lib/libsqlite3.so.0.8.6
b5827000-b5836000 r-xp 00000000 08:05 8625       /usr/lib/python2.6/lib-dynload/_sqlite3.so
b5836000-b5838000 rwxp 0000e000 08:05 8625       /usr/lib/python2.6/lib-dynload/_sqlite3.so
b5838000-b5848000 r-xp 00000000 08:05 8512       /usr/lib/python2.6/lib-dynload/datetime.so
b5848000-b584b000 rwxp 0000f000 08:05 8512       /usr/lib/python2.6/lib-dynload/datetime.so
b584b000-b584f000 r-xp 00000000 08:05 8627       /usr/lib/python2.6/lib-dynload/binascii.so
b584f000-b5850000 rwxp 00003000 08:05 8627       /usr/lib/python2.6/lib-dynload/binascii.so
b5850000-b5854000 r-xp 00000000 08:05 8505       /usr/lib/python2.6/lib-dynload/math.so
b5854000-b5856000 rwxp 00003000 08:05 8505       /usr/lib/python2.6/lib-dynload/math.so
b5856000-b5897000 rwxp 00000000 00:00 0
b5897000-b589b000 r-xp 00000000 08:05 8510       /usr/lib/python2.6/lib-dynload/select.so
b589b000-b589d000 rwxp 00003000 08:05 8510       /usr/lib/python2.6/lib-dynload/select.so
b589d000-b59da000 r-xp 00000000 08:05 492937     /usr/lib/libcrypto.so.0.9.8
b59da000-b59f0000 rwxp 0013c000 08:05 492937     /usr/lib/libcrypto.so.0.9.8
b59f0000-b59f3000 rwxp 00000000 00:00 0
b59f3000-b5a36000 r-xp 00000000 08:05 492959     /usr/lib/libssl.so.0.9.8
b5a36000-b5a3a000 rwxp 00042000 08:05 492959     /usr/lib/libssl.so.0.9.8
b5a3a000-b5a3b000 rwxs 36bc0000 00:0d 7243       /dev/nvidia0
b5a3b000-b5a3d000 r-xp 00000000 08:05 8585       /usr/lib/python2.6/lib-dynload/_random.so
b5a3d000-b5a3e000 rwxp 00002000 08:05 8585       /usr/lib/python2.6/lib-dynload/_random.so
b5a3e000-b5a4f000 r-xp 00000000 08:05 8518       /usr/lib/python2.6/lib-dynload/cPickle.so
b5a4f000-b5a50000 rwxp 00011000 08:05 8518       /usr/lib/python2.6/lib-dynload/cPickle.so
b5a50000-b5a56000 r-xp 00000000 08:05 8586       /usr/lib/python2.6/lib-dynload/_ssl.so
b5a56000-b5a57000 rwxp 00006000 08:05 8586       /usr/lib/python2.6/lib-dynload/_ssl.so
b5a57000-b5a62000 r-xp 00000000 08:05 8618       /usr/lib/python2.6/lib-dynload/_socket.so
b5a62000-b5a65000 rwxp 0000b000 08:05 8618       /usr/lib/python2.6/lib-dynload/_socket.so
b5a65000-b5a6b000 r-xp 00000000 08:05 8626       /usr/lib/python2.6/lib-dynload/_collections.so
b5a6b000-b5a6c000 rwxp 00005000 08:05 8626       /usr/lib/python2.6/lib-dynload/_collections.so
b5a6c000-b5a70000 r-xp 00000000 08:05 8516       /usr/lib/python2.6/lib-dynload/strop.so
b5a70000-b5a72000 rwxp 00004000 08:05 8516       /usr/lib/python2.6/lib-dynload/strop.so
b5a72000-b5a75000 r-xp 00000000 08:05 8628       /usr/lib/python2.6/lib-dynload/time.so
b5a75000-b5a77000 rwxp 00002000 08:05 8628       /usr/lib/python2.6/lib-dynload/time.so
b5a77000-b5af9000 rwxp 00000000 00:00 0
b5af9000-b5afd000 r-xp 00000000 08:05 326787     /usr/lib/libXdmcp.so.6.0.0
b5afd000-b5afe000 rwxp 00003000 08:05 326787     /usr/lib/libXdmcp.so.6.0.0
b5afe000-b5b00000 r-xp 00000000 08:05 326802     /usr/lib/libXau.so.6.0.0
b5b00000-b5b01000 rwxp 00001000 08:05 326802     /usr/lib/libXau.so.6.0.0
b5b01000-b5b19000 r-xp 00000000 08:05 326779     /usr/lib/libxcb.so.1.1.0
b5b19000-b5b1a000 rwxp 00017000 08:05 326779     /usr/lib/libxcb.so.1.1.0
b5b1a000-b5b28000 r-xp 00000000 08:05 491526     /usr/lib/libXext.so.6.4.0
b5b28000-b5b29000 rwxp 0000d000 08:05 491526     /usr/lib/libXext.so.6.4.0
b5b29000-b6894000 r-xp 00000000 08:05 741580     /usr/lib/libGLcore.so.185.18.14
b6894000-b6a81000 rwxp 00d6a000 08:05 741580     /usr/lib/libGLcore.so.185.18.14
b6a81000-b6a8e000 rwxp 00000000 00:00 0
b6a8e000-b6ba7000 r-xp 00000000 08:05 492971     /usr/lib/libX11.so.6.2.0
b6ba7000-b6bab000 rwxp 00118000 08:05 492971     /usr/lib/libX11.so.6.2.0
b6bab000-b6baf000 r-xp 00000000 08:05 491658     /usr/lib/libXfixes.so.3.1.0
b6baf000-b6bb0000 rwxp 00003000 08:05 491658     /usr/lib/libXfixes.so.3.1.0
b6bb0000-b6bb8000 r-xp 00000000 08:05 491596     /usr/lib/libXrender.so.1.3.0
b6bb8000-b6bb9000 rwxp 00007000 08:05 491596     /usr/lib/libXrender.so.1.3.0
b6bb9000-b6bbc000 r-xp 00000000 08:05 492581     /usr/lib/libboost_system.so
b6bbc000-b6bbd000 rwxp 00002000 08:05 492581     /usr/lib/libboost_system.so
b6bbd000-b6bd0000 r-xp 00000000 08:05 324758     /usr/lib/libz.so.1.2.3.3
b6bd0000-b6bd1000 rwxp 00012000 08:05 324758     /usr/lib/libz.so.1.2.3.3
b6bd1000-b6c52000 r-xp 00000000 08:05 492147     /usr/lib/libfreetype.so.6.3.20
b6c52000-b6c56000 rwxp 00081000 08:05 492147     /usr/lib/libfreetype.so.6.3.20
b6c56000-b6c73000 r-xp 00000000 08:05 58567      /usr/lib/libgcc_s.so.1
b6c73000-b6c74000 rwxp 0001c000 08:05 58567      /usr/lib/libgcc_s.so.1
b6c74000-b6c7a000 r-xp 00000000 08:06 974886     /home/nihathrael/projects/fife/ext/install/lib/libguichan_opengl-0.8.1.so.1.0.0
b6c7a000-b6c7b000 rwxp 00006000 08:06 974886     /home/nihathrael/projects/fife/ext/install/lib/libguichan_opengl-0.8.1.so.1.0.0
b6c7b000-b6ce8000 r-xp 00000000 08:05 57454      /usr/lib/libGLU.so.1.3.070404
b6ce8000-b6ce9000 rwxp 0006d000 08:05 57454      /usr/lib/libGLU.so.1.3.070404
b6ce9000-b6d69000 r-xp 00000000 08:05 741587     /usr/lib/libGL.so.185.18.14
b6d69000-b6d81000 rwxp 0007f000 08:05 741587     /usr/lib/libGL.so.185.18.14
b6d81000-b6d90000 rwxp 00000000 00:00 0
b6d90000-b6e76000 r-xp 00000000 08:05 58425      /usr/lib/libstdc++.so.6.0.12
b6e76000-b6e7a000 r-xp 000e6000 08:05 58425      /usr/lib/libstdc++.so.6.0.12
b6e7a000-b6e7b000 rwxp 000ea000 08:05 58425      /usr/lib/libstdc++.so.6.0.12
b6e7b000-b6e82000 rwxp 00000000 00:00 0
b6e82000-b6e8a000 r-xp 00000000 08:05 491659     /usr/lib/libXcursor.so.1.0.2
b6e8a000-b6e8b000 rwxp 00007000 08:05 491659     /usr/lib/libXcursor.so.1.0.2
b6e8b000-b6eae000 r-xp 00000000 08:06 974994     /home/nihathrael/projects/fife/ext/install/lib/libpng12.so.0.29.0
b6eae000-b6eaf000 rwxp 00022000 08:06 974994     /home/nihathrael/projects/fife/ext/install/lib/libpng12.so.0.29.0
b6eaf000-b6f5f000 r-xp 00000000 08:05 492547     /usr/lib/libboost_regex.so
b6f5f000-b6f62000 rwxp 000b0000 08:05 492547     /usr/lib/libboost_regex.so
b6f62000-b6f75000 r-xp 00000000 08:05 492607     /usr/lib/libboost_filesystem.so
b6f75000-b6f76000 rwxp 00012000 08:05 492607     /usr/lib/libboost_filesystem.so
b6f76000-b6f82000 r-xp 00000000 08:06 974964     /home/nihathrael/projects/fife/ext/install/lib/libguichan_sdl-0.8.1.so.1.0.0
b6f82000-b6f83000 rwxp 0000b000 08:06 974964     /home/nihathrael/projects/fife/ext/install/lib/libguichan_sdl-0.8.1.so.1.0.0
b6f83000-b6fd1000 r-xp 00000000 08:06 975069     /home/nihathrael/projects/fife/ext/install/lib/libguichan-0.8.1.so.1.0.0
b6fd1000-b6fd4000 rwxp 0004d000 08:06 975069     /home/nihathrael/projects/fife/ext/install/lib/libguichan-0.8.1.so.1.0.0
b6fd4000-b6fde000 r-xp 00000000 08:05 492542     /usr/lib/libSDL_image-1.2.so.0.1.6
b6fde000-b6fdf000 rwxp 0000a000 08:05 492542     /usr/lib/libSDL_image-1.2.so.0.1.6
b6fdf000-b6fef000 rwxp 00000000 00:00 0
b6fef000-b6ff3000 r-xp 00000000 08:05 492538     /usr/lib/libSDL_ttf-2.0.so.0.6.3
b6ff3000-b6ff4000 rwxp 00003000 08:05 492538     /usr/lib/libSDL_ttf-2.0.so.0.6.3
b6ff4000-b705a000 r-xp 00000000 08:05 492240     /usr/lib/libSDL-1.2.so.0.11.2
b705a000-b705c000 rwxp 00066000 08:05 492240     /usr/lib/libSDL-1.2.so.0.11.2
b705c000-b7089000 rwxp 00000000 00:00 0
b7089000-b70aa000 r-xp 00000000 08:06 975331     /home/nihathrael/projects/fife/ext/install/lib/libopenal_soft.so
b70aa000-b70ab000 rwxp 00021000 08:06 975331     /home/nihathrael/projects/fife/ext/install/lib/libopenal_soft.so
b70ab000-b73ca000 rwxp 00000000 00:00 0
b73ca000-b73e5000 r-xp 00000000 08:05 492039     /usr/lib/libvorbis.so.0.4.1
b73e5000-b73f3000 rwxp 0001b000 08:05 492039     /usr/lib/libvorbis.so.0.4.1
b73f3000-b73fa000 r-xp 00000000 08:05 492046     /usr/lib/libvorbisfile.so.3.3.0
b73fa000-b73fb000 rwxp 00006000 08:05 492046     /usr/lib/libvorbisfile.so.3.3.0
b73fb000-b73fe000 r-xp 00000000 08:05 8611       /usr/lib/python2.6/lib-dynload/cStringIO.so
b73fe000-b73ff000 rwxp 00003000 08:05 8611       /usr/lib/python2.6/lib-dynload/cStringIO.so
b73ff000-b7400000 r-xp 00000000 08:05 8630       /usr/lib/python2.6/lib-dynload/_weakref.so
b7400000-b7401000 rwxp 00000000 08:05 8630       /usr/lib/python2.6/lib-dynload/_weakref.so
b7401000-b740f000 rwxp 00000000 00:00 0
b740f000-b7411000 rwxp 00000000 00:0d 1497       /dev/zero
b7411000-b77ae000 r-xp 00000000 08:06 1147074    /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
b77ae000-b77c5000 rwxp 0039c000 08:06 1147074    /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
b77c5000-b792b000 rwxp 00000000 00:00 0
b792b000-b7931000 r-xp 00000000 08:05 8609       /usr/lib/python2.6/lib-dynload/_struct.so
b7931000-b7933000 rwxp 00006000 08:05 8609       /usr/lib/python2.6/lib-dynload/_struct.so
b7933000-b7974000 rwxp 00000000 00:00 0
b7974000-b7a62000 r-xp 00183000 08:05 180689     /usr/lib/locale/locale-archive
b7a62000-b7c62000 r-xp 00000000 08:05 180689     /usr/lib/locale/locale-archive
b7c62000-b7ce5000 rwxp 00000000 00:00 0
b7ce5000-b7e27000 r-xp 00000000 08:05 911324     /lib/libc-2.10.1.so
b7e27000-b7e29000 r-xp 00142000 08:05 911324     /lib/libc-2.10.1.so
b7e29000-b7e2a000 rwxp 00144000 08:05 911324     /lib/libc-2.10.1.so
b7e2a000-b7e2e000 rwxp 00000000 00:00 0
b7e2e000-b7e52000 r-xp 00000000 08:05 911299     /lib/libm-2.10.1.so
b7e52000-b7e53000 r-xp 00023000 08:05 911299     /lib/libm-2.10.1.so
b7e53000-b7e54000 rwxp 00024000 08:05 911299     /lib/libm-2.10.1.so
b7e54000-b7e56000 r-xp 00000000 08:05 911321     /lib/libutil-2.10.1.so
b7e56000-b7e57000 r-xp 00001000 08:05 911321     /lib/libutil-2.10.1.so
b7e57000-b7e58000 rwxp 00002000 08:05 911321     /lib/libutil-2.10.1.so
b7e58000-b7e5a000 r-xp 00000000 08:05 911325     /lib/libdl-2.10.1.so
b7e5a000-b7e5b000 r-xp 00001000 08:05 911325     /lib/libdl-2.10.1.so
b7e5b000-b7e5c000 rwxp 00002000 08:05 911325     /lib/libdl-2.10.1.so
b7e5c000-b7e70000 r-xp 00000000 08:05 911314     /lib/libpthread-2.10.1.so
b7e70000-b7e71000 r-xp 00014000 08:05 911314     /lib/libpthread-2.10.1.so
b7e71000-b7e72000 rwxp 00015000 08:05 911314     /lib/libpthread-2.10.1.so
b7e72000-b7e74000 rwxp 00000000 00:00 0
b7e74000-b7fc1000 r-xp 00000000 08:05 323139     /usr/lib/libpython2.6.so.1.0
b7fc1000-b7fed000 rwxp 0014c000 08:05 323139     /usr/lib/libpython2.6.so.1.0
b7fed000-b7ff6000 rwxp 00000000 00:00 0
b7ff6000-b7ff7000 r-xp 00000000 08:05 741585     /usr/lib/libnvidia-tls.so.185.18.14
b7ff7000-b7ff8000 rwxp 00000000 08:05 741585     /usr/lib/libnvidia-tls.so.185.18.14
b7ff8000-b7ffc000 r-xp 00000000 08:05 492012     /usr/lib/libogg.so.0.5.3
b7ffc000-b7ffd000 rwxp 00003000 08:05 492012     /usr/lib/libogg.so.0.5.3
b7ffd000-b8003000 r-xp 00000000 08:05 8517       /usr/lib/python2.6/lib-dynload/operator.so
b8003000-b8005000 rwxp 00005000 08:05 8517       /usr/lib/python2.6/lib-dynload/operator.so
b8005000-b8008000 r-xp 00000000 08:05 8583       /usr/lib/python2.6/lib-dynload/_locale.so
b8008000-b8009000 rwxp 00003000 08:05 8583       /usr/lib/python2.6/lib-dynload/_locale.so
b8009000-b800b000 r-xp 00000000 08:05 8588       /usr/lib/python2.6/lib-dynload/_functools.so
b800b000-b800c000 rwxp 00001000 08:05 8588       /usr/lib/python2.6/lib-dynload/_functools.so
b800c000-b800d000 rwxp 00000000 00:00 0
b800d000-b800e000 r-xp 00000000 00:00 0          [vdso]
b800e000-b802a000 r-xp 00000000 08:05 909439     /lib/ld-2.10.1.so
b802a000-b802b000 r-xp 0001b000 08:05 909439     /lib/ld-2.10.1.so
b802b000-b802c000 rwxp 0001c000 08:05 909439     /lib/ld-2.10.1.so
bf927000-bf94d000 rwxp 00000000 00:00 0          [stack]
bf94d000-bf94e000 rw-p 00000000 00:00 0
Aborted

4
Framework development / Re: Pathfinder Rework
« on: June 28, 2009, 06:08:57 am »
Just a small test report.  I just updated to the newest fife revision and got a nullpointer exception once and a HUGE memory leak reproducably.  When i try to build a lumberjack in unknown horizons (just look at the preview and move it arround, don't build it). That will produce some memory leak even in the old version, but it's not a killer. In the new revision it will bang up my 3gigs of ram. I will do some more research and report back again later :)

BT #1 (no memory leak):
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7c6e6c0 (LWP 20654)]
0xb7437d6c in FIFE::RoutePatherSearch::calcPath ()
   from /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
(gdb) bt
#0  0xb7437d6c in FIFE::RoutePatherSearch::calcPath ()
   from /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
#1  0xb7436c76 in FIFE::RoutePather::update ()
   from /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
#2  0xb747e175 in FIFE::Model::update () from /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
#3  0xb74c8972 in FIFE::Engine::pump () from /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
#4  0xb754065b in _wrap_Engine_pump () from /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
#5  0xb7e6a592 in PyCFunction_Call () from /usr/lib/libpython2.6.so.1.0
#6  0xb7ec805c in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#7  0xb7ec894e in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#8  0xb7ec894e in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#9  0xb7ec894e in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#10 0xb7ec894e in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#11 0xb7ec9669 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#12 0xb7ec9773 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0
#13 0xb7ee89d1 in PyRun_FileExFlags () from /usr/lib/libpython2.6.so.1.0
#14 0xb7ee8c0c in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.6.so.1.0
#15 0xb7ee903a in PyRun_AnyFileExFlags () from /usr/lib/libpython2.6.so.1.0
#16 0xb7ef5112 in Py_Main () from /usr/lib/libpython2.6.so.1.0
#17 0x08048637 in main ()

Backtrace #2 (HUGE memory leak)
Code: [Select]
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7c3e6c0 (LWP 20669)]
0xb7f67424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7f67424 in __kernel_vsyscall ()
#1  0xb7c697a1 in raise () from /lib/libc.so.6
#2  0xb7c6afd4 in abort () from /lib/libc.so.6
#3  0xb6da6b0f in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#4  0xb6da44d5 in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.6
#5  0xb6da4512 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0xb6da4651 in __cxa_throw () from /usr/lib/libstdc++.so.6
#7  0xb6da523b in operator new () from /usr/lib/libstdc++.so.6
#8  0xb7407dd9 in FIFE::RoutePatherSearch::calcPath ()
   from /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
#9  0xb7406c76 in FIFE::RoutePather::update ()
   from /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
#10 0xb744e175 in FIFE::Model::update () from /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
#11 0xb7498972 in FIFE::Engine::pump () from /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
#12 0xb751065b in _wrap_Engine_pump () from /home/nihathrael/projects/fife/engine/swigwrappers/python/_fife.so
#13 0xb7e3a592 in PyCFunction_Call () from /usr/lib/libpython2.6.so.1.0
#14 0xb7e9805c in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#15 0xb7e9894e in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#16 0xb7e9894e in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#17 0xb7e9894e in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#18 0xb7e9894e in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#19 0xb7e99669 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#20 0xb7e99773 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0
#21 0xb7eb89d1 in PyRun_FileExFlags () from /usr/lib/libpython2.6.so.1.0
#22 0xb7eb8c0c in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.6.so.1.0
#23 0xb7eb903a in PyRun_AnyFileExFlags () from /usr/lib/libpython2.6.so.1.0
#24 0xb7ec5112 in Py_Main () from /usr/lib/libpython2.6.so.1.0
#25 0x08048637 in main ()

5
General discussion / Python 2.6
« on: November 20, 2008, 11:14:58 am »
Evening all,
Since ArchLinux recently updated python to version 2.6 i also updated. Resulting in a not compiling FIFE ;) So here's the patch to make it work again. Big Question would be on when to make the big switch for FIFE officially?

Please note:
It might be necessary to also change some things in the windows config-dist.py, i haven't looked into that, as i do not run windows here and am not able to test the changes.

So long,
Nihathrael

Patch:
Code: [Select]
Index: build/linux2-config-dist.py
===================================================================
--- build/linux2-config-dist.py (revision 2677)
+++ build/linux2-config-dist.py (working copy)
@@ -6,13 +6,13 @@
  context.env.Replace(LIBPATH = ['/opt/lib', '%s/ext/install/lib' % context.env['SCONS_ROOT_PATH']])
  context.env.Append(CPPPATH = ['/opt/include',
                                '/usr/include/vorbis',
-                               '/usr/include/python2.5',
+                               '/usr/include/python2.6',
                                '%s/ext/install/include' % context.env['SCONS_ROOT_PATH']])
  context.env.Append(CPPPATH = [])
 
  context.checkSimpleLib(['vorbisfile'], 'vorbisfile.h')
  context.checkSimpleLib(['openal_soft'], 'AL/al.h')
- context.checkSimpleLib(['python', 'python2.5'], ['python2.5/Python.h'])
+ context.checkSimpleLib(['python', 'python2.6'], ['python2.6/Python.h'])
  context.checkSimpleLib(['SDL'], 'SDL.h')
  context.checkSimpleLib(['SDL_ttf'], 'SDL_ttf.h')
  context.checkSimpleLib(['SDL_image'], 'SDL_image.h')
Index: engine/SConscript
===================================================================
--- engine/SConscript (revision 2677)
+++ engine/SConscript (working copy)
@@ -281,7 +281,7 @@
  interfacefiles.append(f)
 
 swig = env.SwigWrappers('swigwrappers/python/fife', interfacefiles)
-env.Install('$PREFIX/lib/python2.5/site-packages/fife', ['swigwrappers/python/fife.py'])
+env.Install('$PREFIX/lib/python2.6/site-packages/fife', ['swigwrappers/python/fife.py'])
 
 allfiles = list(enginepath.walkfiles())
 headerfiles = [f for f in allfiles if is_headerfile(f)]
@@ -310,5 +310,5 @@
  if sys.platform != 'win32':
  env.Command('swigwrappers/%s/_fife.so' % env['script'], flib, [Copy('$TARGET', '$SOURCE')])
  if sys.platform != 'darwin':
- env.Install('$PREFIX/lib/python2.5/site-packages/fife', flib)
-# env.Install('$PREFIX/lib/python2.5/site-packages/fife', [str(f) for f in extensionfiles])
+ env.Install('$PREFIX/lib/python2.6/site-packages/fife', flib)
+# env.Install('$PREFIX/lib/python2.6/site-packages/fife', [str(f) for f in extensionfiles])

6
Game creators corner / Multilayer pathfinding/blocking
« on: March 19, 2008, 06:36:33 am »
Hi everyone,
I'm currently working on OpenAnno and came up with an idea for the FIFE engine, which i think might be useful to allot of games.

Currently pathfinding only works on the layer an instance is present on, meaning if an instance is on layer1 it will move arround all objects(blocking=1) on that layer. Currently there is no possilibilty to make the pather consider other layers for blocking(correct me if there is).

What I would find a great feature is the following:
In addition to only issuing unit.move(coordinates), i would like to have a second command available simular to unit.move(coordinates, listOfBlockingLayers), where listOfBlockingLayers is a list containing all layers i want the pather to consider for blocking. So if I would put layer1 + layer2 into that list, the unit moves arround all blocking elements on both layers.

As this saves alot of work on the map layout and complexity and saves allot of work in the code, I could very well imagine this be used by many games.

Thoughts and comments always welcome!

So long,
Nihathrael

7
Hi all, i get a Segmentation Fault when running any FIFE client.

OS: ArchLinux - x86_64
GCC: 4.2.3
FIFE Version: SVN revision 2318

Backtrace:
Code: [Select]
(gdb) bt
#0  0x00002ae3cf354e05 in __cxa_allocate_exception () from /usr/lib/libstdc++.so.6
#1  0x00002ae3cd560407 in FIFE::MetaModel::createDataset (this=0x19396f0, identifier=@0x1a903b0) at engine/core/model/metamodel/metamodel.cpp:54
#2  0x00002ae3cd6b653b in _wrap_MetaModel_createDataset (args=0x9d6cb0) at engine/swigwrappers/python/fife_wrap.cxx:57413
#3  0x00002ae3cb8e60d3 in PyObject_Call () from /usr/lib/libpython2.5.so.1.0
#4  0x00002ae3cb963275 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#5  0x00002ae3cb9661f6 in PyEval_EvalCodeEx () from /usr/lib/libpython2.5.so.1.0
#6  0x00002ae3cb964247 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#7  0x00002ae3cb965003 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#8  0x00002ae3cb965003 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#9  0x00002ae3cb965003 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#10 0x00002ae3cb965003 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#11 0x00002ae3cb965003 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#12 0x00002ae3cb965003 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#13 0x00002ae3cb965003 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#14 0x00002ae3cb965003 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#15 0x00002ae3cb9661f6 in PyEval_EvalCodeEx () from /usr/lib/libpython2.5.so.1.0
#16 0x00002ae3cb964247 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#17 0x00002ae3cb965003 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#18 0x00002ae3cb9661f6 in PyEval_EvalCodeEx () from /usr/lib/libpython2.5.so.1.0
#19 0x00002ae3cb906b08 in function_call () from /usr/lib/libpython2.5.so.1.0
#20 0x00002ae3cb8e60d3 in PyObject_Call () from /usr/lib/libpython2.5.so.1.0
#21 0x00002ae3cb8ed7b5 in instancemethod_call () from /usr/lib/libpython2.5.so.1.0
#22 0x00002ae3cb8e60d3 in PyObject_Call () from /usr/lib/libpython2.5.so.1.0
#23 0x00002ae3cb92ed2c in slot_tp_init () from /usr/lib/libpython2.5.so.1.0
#24 0x00002ae3cb92e0d8 in type_call () from /usr/lib/libpython2.5.so.1.0
#25 0x00002ae3cb8e60d3 in PyObject_Call () from /usr/lib/libpython2.5.so.1.0
#26 0x00002ae3cb962320 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#27 0x00002ae3cb965003 in PyEval_EvalFrameEx () from /usr/lib/libpython2.5.so.1.0
#28 0x00002ae3cb9661f6 in PyEval_EvalCodeEx () from /usr/lib/libpython2.5.so.1.0
#29 0x00002ae3cb966312 in PyEval_EvalCode () from /usr/lib/libpython2.5.so.1.0
#30 0x00002ae3cb988e91 in PyRun_FileExFlags () from /usr/lib/libpython2.5.so.1.0
#31 0x00002ae3cb98912b in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.5.so.1.0
#32 0x00002ae3cb991eea in Py_Main () from /usr/lib/libpython2.5.so.1.0
#33 0x00002ae3cc4d8164 in __libc_start_main () from /lib/libc.so.6
#34 0x0000000000400679 in _start ()

I hope this is of any help.

So long
Nihathrael

Pages: [1]