Closed Caberhagen closed 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.
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 ?
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?
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.
Thx I try it after work.
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?
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?
ok not my day. sorry i searched to far away... now ok :)
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.
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
"SELECT f.fleet_id, f.fleet_name, f.n_ships, u.user_name AS owner_name FROM (ship_fleets f) INNER JOIN user u ON u.user_id = f.user_id WHERE f.planet_id = 5855 AND f.user_id = 11 AND f.alert_phase = 2"
Executed Moves Scheduler (queries: 17) in 0.0158 secs
Finished Scheduler in 0.0243 secs
Executed Queries: 18