project-navigation
Personal tools

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.


Topics - cmmps

Pages: [1]
1
Mac / Antimatter transfering problem
« on: December 28, 2017, 12:01:05 am »
Hello dear alien hunters! :)
I'm having a problem on 2.6-dev Nov 25 2017 MacOSX.
When I transfer antimatter to another base, it does not reach the destination. I'm losing the antimatter from the source base and it does not appear in the destination base. Also, when I go for another transfer, the amount of the last antimatter transferring appears in red in the transfer list. I have to quit and load the game again to restore the transfer list.
Any ideas?
I usually play on my Linux box but now I'm using my Mac-Mini. Is this a MacOS bug or a general bug?
Kind regards,
Carlos Santos

2
Linux / Can't compile source with Arch Linux
« on: March 19, 2017, 11:45:59 pm »
Hi there!
I was trying to update ufoai 2.6-dev and now I can't compile it anymore. I tried to delete the folder, clone it again from git but the problem remains.

This is what I get from ./configure (maybe there's a clue here but I'm not sure):
Code: [Select]
use c compiler: cc
use c++ compiler: c++
Debug build
Compile for linux
Compile for x86_64
Disable ccache
Using default CFLAGS
Using default LDFLAGS
Found cc cc
Found cxx c++
Using bindir /usr/local/bin/
Using datadir /usr/local/games/ufo/
Using libdir /usr/local/lib/
Using prefix /usr/local
Enable hard linked cgame
Use signal handler
Setting custom data directory
Setting custom library directory
Found zip from zip
Found python from python
Found doxygen from doxygen
Found xvid.h
Found theora/theora.h
Found execinfo.h
Could not find bfd.h
Found sys/utsname.h
Found link.h
Found jpeglib.h
Found zlib.h
Found png.h
Found curl/curl.h
Found lua.h
Could not find mxml.h
Found SDL.h
Found SDL_mixer.h
Found SDL_ttf.h
Found SDL.h
Found SDL_mixer.h
Found SDL_ttf.h
Could not find picomodel.h
Found gtk/gtk.h
Could not find gtksourceview/gtksourceview.h
Found libxml/parser.h
Found AL/al.h
Found gtk/gtkglwidget.h
Build modules:
Build cgame-campaign
Build cgame-multiplayer
Build cgame-skirmish
Build game
Build memory
Build testall
Build ufo2map
Build ufoded
Build ufo
Build ufomodel
Disable uforadiant
Build ufoslicer

And the error (lua related, I believe):
Code: [Select]
===> LD [base/game.so]
debug-linux-x86_64/game/game/g_ai_lua.cpp.o: In function `actorL_shoot(lua_State*)':
/mnt/games/ufoai/src/game/g_ai_lua.cpp:534: undefined reference to `lua_tonumberx'
debug-linux-x86_64/game/game/g_ai_lua.cpp.o: In function `actorL_throwgrenade(lua_State*)':
/mnt/games/ufoai/src/game/g_ai_lua.cpp:598: undefined reference to `lua_tonumberx'
/mnt/games/ufoai/src/game/g_ai_lua.cpp:609: undefined reference to `lua_tonumberx'
debug-linux-x86_64/game/game/g_ai_lua.cpp.o: In function `AIL_positionshoot(lua_State*)':
/mnt/games/ufoai/src/game/g_ai_lua.cpp:1323: undefined reference to `lua_tonumberx'
debug-linux-x86_64/game/game/g_ai_lua.cpp.o: In function `AIL_positionhide(lua_State*)':
/mnt/games/ufoai/src/game/g_ai_lua.cpp:1461: undefined reference to `lua_tonumberx'
debug-linux-x86_64/game/game/g_ai_lua.cpp.o:/mnt/games/ufoai/src/game/g_ai_lua.cpp:1502: more undefined references to `lua_tonulow
debug-linux-x86_64/game/game/g_ai_lua.cpp.o: In function `AIL_ActorThink(Player&, Actor*)':
/mnt/games/ufoai/src/game/g_ai_lua.cpp:2114: undefined reference to `lua_getglobal'
/mnt/games/ufoai/src/game/g_ai_lua.cpp:2117: undefined reference to `lua_pcallk'
debug-linux-x86_64/game/game/g_ai_lua.cpp.o: In function `AIL_TeamThink(Player&)':
/mnt/games/ufoai/src/game/g_ai_lua.cpp:2163: undefined reference to `lua_getglobal'
/mnt/games/ufoai/src/game/g_ai_lua.cpp:2166: undefined reference to `lua_pcallk'
debug-linux-x86_64/game/game/g_ai_lua.cpp.o: In function `AIL_InitActor(Actor*)':
/mnt/games/ufoai/src/game/g_ai_lua.cpp:2221: undefined reference to `lua_getglobal'
/mnt/games/ufoai/src/game/g_ai_lua.cpp:2231: undefined reference to `lua_pcallk'
/mnt/games/ufoai/src/game/g_ai_lua.cpp:2237: undefined reference to `lua_setglobal'
collect2: error: ld returned 1 exit status
make: *** [Makefile:173: base/game.so] Error 1

I'm running an updated system with Arch Linux x86_64 on an AMD FX6000 (6 core) CPU.

Any ideas?

Thanks,
Carlos Santos

3
Mac / Base attack mission crashing (2.6-dev)
« on: November 01, 2015, 11:38:53 pm »
After solving the problem of the maps on my MAC, I'm playing normally even in larger maps.
However, on base attack missions, the game crashes with a segmentation fault after some turns while aliens are moving.

The error reported by the system, after the crash on a base attack is:

Process:               ufo [651]
Path:                  /Users/USER/*/ufo
Identifier:            ufo
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        bash [509]
Responsible:           Terminal [500]
User ID:               502

Date/Time:             2015-11-01 22:26:30.001 +0000
OS Version:            Mac OS X 10.10.5 (14F1021)
Report Version:        11
Anonymous UUID:        A253C178-20B4-3E38-68EE-8C0917EB932F


Time Awake Since Boot: 4800 seconds

Crashed Thread:        4  GameThread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
-->
    __TEXT                 000000010f8ef000-000000010fc2e000 [ 3324K] r-x/rwx SM=COW  /Users/USER/*

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib           0x00007fff8c3de3fa __select + 10
1   ufo                              0x000000010fa57711 Qcommon_Frame() + 1041 (common.cpp:1527)
2   ufo                              0x000000010fb3e60d main + 93 (osx_main.cpp:70)
3   libdyld.dylib                    0x00007fff915445c9 start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib           0x00007fff8c3df232 kevent64 + 10
1   libdispatch.dylib                0x00007fff8bd8426e _dispatch_mgr_thread + 52

Thread 2:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib           0x00007fff8c3d94de mach_msg_trap + 10
1   libsystem_kernel.dylib           0x00007fff8c3d864f mach_msg + 55
2   com.apple.audio.CoreAudio        0x00007fff8d0c8544 HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98
3   com.apple.audio.CoreAudio        0x00007fff8d0c84d2 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
4   com.apple.audio.CoreAudio        0x00007fff8d0c6a05 HALC_ProxyIOContext::IOWorkLoop() + 1089
5   com.apple.audio.CoreAudio        0x00007fff8d0c64f2 HALC_ProxyIOContext::IOThreadEntry(void*) + 88
6   com.apple.audio.CoreAudio        0x00007fff8d0c63c3 HALB_IOThread::Entry(void*) + 157
7   libsystem_pthread.dylib          0x00007fff8f4fc05a _pthread_body + 131
8   libsystem_pthread.dylib          0x00007fff8f4fbfd7 _pthread_start + 176
9   libsystem_pthread.dylib          0x00007fff8f4f93ed thread_start + 13

Thread 3:
0   libsystem_kernel.dylib           0x00007fff8c3d94de mach_msg_trap + 10
1   libsystem_kernel.dylib           0x00007fff8c3d864f mach_msg + 55
2   com.apple.CoreFoundation         0x00007fff8c777eb4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation         0x00007fff8c77737b __CFRunLoopRun + 1371
4   com.apple.CoreFoundation         0x00007fff8c776bd8 CFRunLoopRunSpecific + 296
5   com.apple.AppKit                 0x00007fff917e256b _NSEventThread + 137
6   libsystem_pthread.dylib          0x00007fff8f4fc05a _pthread_body + 131
7   libsystem_pthread.dylib          0x00007fff8f4fbfd7 _pthread_start + 176
8   libsystem_pthread.dylib          0x00007fff8f4f93ed thread_start + 13

Thread 4 Crashed:: GameThread
0   game.dylib                       0x0000000134e06640 G_MissionThink(Edict*) + 1248
1   game.dylib                       0x0000000134dfd453 G_EdictsThink() + 195
2   game.dylib                       0x0000000134e0441b G_RunFrame() + 379
3   ufo                              0x000000010fa96265 SV_RunGameFrame() + 21 (sv_game.cpp:761)
4   ufo                              0x000000010fa96202 SV_RunGameFrameThread(void*) + 66 (sv_game.cpp:747)
5   libSDL2-2.0.0.dylib              0x00000001110b880a SDL_RunThread + 60
6   libSDL2-2.0.0.dylib              0x00000001110f1233 RunThread + 9
7   libsystem_pthread.dylib          0x00007fff8f4fc05a _pthread_body + 131
8   libsystem_pthread.dylib          0x00007fff8f4fbfd7 _pthread_start + 176
9   libsystem_pthread.dylib          0x00007fff8f4f93ed thread_start + 13

Thread 4 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007f8e40f02320  rcx: 0x000000012939d050  rdx: 0x000000012939d438
  rdi: 0x000000012939d050  rsi: 0x0000000000000000  rbp: 0x0000000134ff7e10  rsp: 0x0000000134ff7d90
   r8: 0x0000000000000000   r9: 0x0000000000000003  r10: 0x00007f8e45e00000  r11: 0x0000000000008889
  r12: 0x000000010fa961c0  r13: 0x00000000000008ff  r14: 0x00007f8e45fd5260  r15: 0x0000000000000000
  rip: 0x0000000134e06640  rfl: 0x0000000000010202  cr2: 0x0000000000000000
 
Logical CPU:     4
Error Code:      0x00000004
Trap Number:     14

4
Mac / 2.6 mission and base attack errors
« on: October 31, 2015, 05:29:13 am »
Hi!

I'm testing 2.6 on my MAC and I'm having errors in some missions and when I had a home base attack.

Here follows some information of the crash on the base attack:

Process:               ufo [42958]
Path:                  /Users/USER/*/ufo
Identifier:            ufo
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        bash [728]
Responsible:           Terminal [717]
User ID:               502

Date/Time:             2015-10-31 04:27:31.127 +0000
OS Version:            Mac OS X 10.10.5 (14F1021)
Report Version:        11
Anonymous UUID:        A253C178-20B4-3E38-68EE-8C0917EB932F


Time Awake Since Boot: 42000 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGTRAP)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib           0x00007fff8ce48c82 __kill + 10
1   ufo                              0x000000010f2aa33c Com_BreakIntoDebugger() + 508
2   ufo                              0x000000010f3979de Sys_Backtrace() + 30
3   ufo                              0x000000010f2a9928 Com_Error(int, char const*, ...) + 552
4   ufo                              0x000000010f2a103d CM_AddMapTile(char const*, char const*, bool, int, int, unsigned char, mapData_s*, mapTiles_s*) + 653
5   ufo                              0x000000010f2a0478 CM_LoadMap(char const*, bool, char const*, char const*, mapData_s*, mapTiles_s*) + 920
6   ufo                              0x000000010f2f01b8 SV_Map(bool, char const*, char const*, bool) + 1080
7   ufo                              0x000000010f2ec636 SV_Map_f() + 678
8   ufo                              0x000000010f297197 Cmd_vExecuteString(char const*, __va_list_tag*) + 407
9   ufo                              0x000000010f2953fa Cmd_ExecuteString(char const*, ...) + 362
10  ufo                              0x000000010f29524b Cbuf_Execute() + 491
11  ufo                              0x000000010f15b032 CL_SendCommand() + 18
12  ufo                              0x000000010f15af7b CL_Frame(int, void*) + 299
13  ufo                              0x000000010f2aed8b tick_timer(int, void*) + 1531
14  ufo                              0x000000010f2ae3f0 Qcommon_Frame() + 240
15  ufo                              0x000000010f39560d main + 93
16  libdyld.dylib                    0x00007fff91faf5c9 start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib           0x00007fff8ce4a232 kevent64 + 10
1   libdispatch.dylib                0x00007fff8c7ef26e _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib           0x00007fff8ce4994a __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x00007fff8ff643dd start_wqthread + 13

Thread 3:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib           0x00007fff8ce444de mach_msg_trap + 10
1   libsystem_kernel.dylib           0x00007fff8ce4364f mach_msg + 55
2   com.apple.audio.CoreAudio        0x00007fff8db33544 HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98
3   com.apple.audio.CoreAudio        0x00007fff8db334d2 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
4   com.apple.audio.CoreAudio        0x00007fff8db31a05 HALC_ProxyIOContext::IOWorkLoop() + 1089
5   com.apple.audio.CoreAudio        0x00007fff8db314f2 HALC_ProxyIOContext::IOThreadEntry(void*) + 88
6   com.apple.audio.CoreAudio        0x00007fff8db313c3 HALB_IOThread::Entry(void*) + 157
7   libsystem_pthread.dylib          0x00007fff8ff6705a _pthread_body + 131
8   libsystem_pthread.dylib          0x00007fff8ff66fd7 _pthread_start + 176
9   libsystem_pthread.dylib          0x00007fff8ff643ed thread_start + 13

Thread 4:
0   libsystem_kernel.dylib           0x00007fff8ce444de mach_msg_trap + 10
1   libsystem_kernel.dylib           0x00007fff8ce4364f mach_msg + 55
2   com.apple.CoreFoundation         0x00007fff8d1e2eb4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation         0x00007fff8d1e237b __CFRunLoopRun + 1371
4   com.apple.CoreFoundation         0x00007fff8d1e1bd8 CFRunLoopRunSpecific + 296
5   com.apple.AppKit                 0x00007fff9224d56b _NSEventThread + 137
6   libsystem_pthread.dylib          0x00007fff8ff6705a _pthread_body + 131
7   libsystem_pthread.dylib          0x00007fff8ff66fd7 _pthread_start + 176
8   libsystem_pthread.dylib          0x00007fff8ff643ed thread_start + 13

Thread 5:: GameThread
0   libsystem_kernel.dylib           0x00007fff8ce49136 __psynch_cvwait + 10
1   libSDL2-2.0.0.dylib              0x000000011094189f SDL_CondWait_REAL + 14
2   ufo                              0x000000010f2ed1f5 SV_RunGameFrameThread(void*) + 53
3   libSDL2-2.0.0.dylib              0x000000011090880a SDL_RunThread + 60
4   libSDL2-2.0.0.dylib              0x0000000110941233 RunThread + 9
5   libsystem_pthread.dylib          0x00007fff8ff6705a _pthread_body + 131
6   libsystem_pthread.dylib          0x00007fff8ff66fd7 _pthread_start + 176
7   libsystem_pthread.dylib          0x00007fff8ff643ed thread_start + 13

Thread 6:
0   libsystem_kernel.dylib           0x00007fff8ce4994a __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x00007fff8ff643dd start_wqthread + 13

Thread 7:
0   libsystem_kernel.dylib           0x00007fff8ce4994a __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x00007fff8ff643dd start_wqthread + 13

Thread 8:

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000010  rcx: 0x00007fff50ab6cd8  rdx: 0x0000000000000000
  rdi: 0x000000000000a7ce  rsi: 0x0000000000000005  rbp: 0x00007fff50ab6cf0  rsp: 0x00007fff50ab6cd8
   r8: 0x0000000000000006   r9: 0x00007ffd07400000  r10: 0x00007fff771e45e0  r11: 0x0000000000200202
  r12: 0x0000000000000038  r13: 0x00007fff50ab6d88  r14: 0x00007fff50ab6d68  r15: 0x00007fff50ab6d78
  rip: 0x00007fff8ce48c82  rfl: 0x0000000000200202  cr2: 0x000000010f4812fc
 
Logical CPU:     0
Error Code:      0x02000025
Trap Number:     133

Regards,
Carlos

5
User modifications / Customize home base
« on: December 20, 2013, 09:25:24 pm »
Hi there!

I'm back to UFO AI... 2.6 just rocks! :D
There's something I'd like to do... change the layout of the first base (home).
I have some preferences on building position for a better base defense and the layout of the first base doesn't match them...
Is there anyway to costumize how the home base will be build? Buildings positions and so on?

Kind regards,

6
Discussion / New wound and healing system on 2.5-dev
« on: July 19, 2012, 10:39:52 pm »
Hi

On the current master the new system for wounded soldiers and the new healing abilities seem fine!
The idea of including the body parts affected when a soldier is at the hospital is also excellent!

However, healing is now too much weak! It barely heals a soldier and now he's/her's health will start to decrease in each turn and more than each healing.

I'd like to hear more about this new system and how it works now.
I hope there will be some more balancing on healing... I'm not saying that healing should heal as much as on previous times but reduce the amount of healing in more than 50%... Mmmm...  :-\

Regards

7
Hi there!

I was an addict of the old X-Com game... I found this UFO:AI on Arch Linux repos and got addict again! :D

Well, I was running UFO:AI version 2.3.1 and after a full system update I got the new version 2.4.

I started to see my saved games slots empty. I browsed the ".ufoai" folder and found the folders for versions 2.3.1 and 2.4.
I copied the "save" folder from 2.3.1 to 2.4 and now I see my saved games but I can't load them! Any attempt will bring me back to the start screen.

I took a look on the log file and found an error:
2012/05/10 21:08:11 Invalid base index -1
2012/05/10 21:08:11 ...subsystem 'base' returned false - savegame could not be loaded

I spent a lot of hours on the campaign I was playing... I really hope it is possible to fix this error.

System information:
Processor AMD FX6100 (64bits)
4Gb RAM
Display adapter: NVidia 560GTX with 1Gb
OS: Linux
Distro: Arch Linux
Kernel Version: 3.3.5

Log file and saved games attached...


Kind regards,
Carlos Santos
A new UFO:AI addict! :)


Pages: [1]