stfc2 / UI

User Interface
http://www.stfc.it
4 stars 5 forks source link

Looks as Combat is working but not full #13

Closed Caberhagen closed 9 years ago

Caberhagen commented 9 years ago

Hi

we have tried a combat situation. The log from combat is arived and say my fleet is destroyed. But my ship is still there.

Output from moves-log: Starting Moves Scheduler...
entering file

kirirur commented 9 years ago

Hello,

This should be filled in the Combat repository, however, check syslog system file for combat-daemon output. Maybe you can also recompile it in simulation mode and check it from command line. For my experience I had some issues with mysql.lock file. Some put it in /tmp folder some in /var and maybe a symlink is needed.

Caberhagen commented 9 years ago

Hi

Oh i read in your text my fault. I not have compiled it. Just push the folder to server an liked it. So i have to

Configure Make install ?

Caberhagen commented 9 years ago

Hi I read my fault in your message. I don't have compiled it. I just push it to my server.

So i have to Configure Make install?

kirirur commented 9 years ago

Hi,

no problem. :)

You have to take a look at the Makefile, check if it suits your server and invoke it simply with a make command.

Caberhagen commented 9 years ago

Thx I try it after work.

Caberhagen commented 9 years ago

Hi

i tried now to make the combat. after setup the path to libmysclient.so.18.0.0 the make process can find the db. then this error follow: make: Warning: File `Makefile' has modification time 6.9 s in the future g++ -O3 -march=k8 main.o defines.o db_core.o combat_prepare.o combat_process.o combat_finish.o -L/usr/lib/x86_64-linux-gnu -libmysqlclient.so.18.0.0 -lz -o bin/moves_combat /usr/bin/ld: cannot open output file bin/moves_combat: No such file or directory collect2: error: ld returned 1 exit status make: *\ [bin/moves_combat] Fehler 1

wehre i can find the moves_combat app?

Caberhagen commented 9 years ago

i don't no wat i have to do. the first line in makefile are:

APP=./bin/moves_combat

is it the outup of the make process or a file i don't have?

or is it the path to moves_combat php in scheduler?

Caberhagen commented 9 years ago

ok not my day. sorry i searched to far away... now ok :)

Caberhagen commented 9 years ago

so now after compiling i found a mistake i have. i have in config.script.php sset the deamons path to the bin same as in moves_common.php but now the scheduler try to start but with a fals path like:

sh: 1: /var/stfc/combat/bin/moves_combat/var/stfc/combat/bin/moves_combat: not found

is not full clear for me the path to set in config.srcipt.php. (daemon) in moves_common.php clear the paht to createt bin file from combat folder,

sorry for this question.