Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks as Combat is working but not full #13

Closed
Caberhagen opened this issue Dec 4, 2014 · 9 comments
Closed

Looks as Combat is working but not full #13

Caberhagen opened this issue Dec 4, 2014 · 9 comments

Comments

@Caberhagen
Copy link
Contributor

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

  • Moves: Starting process
  • Moves Notice: (move_id: 98) AR-User ID is 11
  • Moves Notice: (move_id: 98) AR-user(s): 1
  • Moves Notice: (move_id: 98) Entering AR-loop #0
  • Moves Notice: (move_id: 98) AR-query:
    "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"

  • Moves Notice: (move_id: 98) Doing combat in AR-loop #0
  • Moves Notice: (move_id: 98) Combat done in AR-loop #0
  • Moves Notice: (move_id: 98) Leaving AR-loop #0
  • Moves Notice: (move_id: 98) Skipped_action_main()
  • Moves Notice: (move_id: 98) Action 11 executed in 0.0067s
  • Moves: Ending process

    Executed Moves Scheduler (queries: 17) in 0.0158 secs


    Finished Scheduler in 0.0243 secs
    Executed Queries: 18

@kirirur
Copy link
Contributor

kirirur commented Dec 5, 2014

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
Copy link
Contributor Author

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 Caberhagen reopened this Dec 5, 2014
@Caberhagen
Copy link
Contributor Author

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
Copy link
Contributor

kirirur commented Dec 5, 2014

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
Copy link
Contributor Author

Thx
I try it after work.

@Caberhagen
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@Caberhagen
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants