Jump to content
Maintenance ×
×
×
  • Create New...
  • 0

Saving database (levels, etc..)


Avisek

Question

  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0
On 11. 5. 2017 at 0:35 AM, Fazer said:

[email protected]:/usr/home/game # Warning: Using a password on the command line interface can be insecure.
ERROR 1054 (42S22) at line 1: Unknown column 'carcel_rinnegan' in 'field list'

Or in clientsinde:
 

Quote

0512 16:42:47607 :: ============================================================================================================
0512 16:42:47607 :: Abort!!!!


 

Could be problem in this?

Link to comment
Share on other sites

  • 0

New sh close.sh

 

#!/bin/bash

echo -e "shutdown..." 
while pgrep "game"; do
	echo -e "Game shutdown..."
	killall game
	sleep 3
done

while pgrep "db"; do
	echo -e "DB shutdown..."
	killall db
	sleep 3
done

echo -e "Server shutdowned!"

 

Link to comment
Share on other sites

  • 0
2 hours ago, asterix2 said:

New sh close.sh

 

#!/bin/bash

echo -e "shutdown..." 
while pgrep "game"; do
	echo -e "Game shutdown..."
	killall game
	sleep 3
done

while pgrep "db"; do
	echo -e "DB shutdown..."
	killall db
	sleep 3
done

echo -e "Server shutdowned!"

 

What does it do?
And I have this error using it:
 

Quote

[email protected]:/usr/home/game # sh close-save.sh
: not foundsh:
shutdown...
close-save.sh: 16: Syntax error: end of file unexpected (expecting "do")

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 1

      Metin2 TitleBar Move Frezze

    2. 1

      Metin2 TitleBar Move Frezze

    3. 0

      Navicat "Trial" Reset

    4. 13

      Item ToolTip Width Fix

    5. 0

      Guild icon wrong position

    6. 3

      Monster health

    7. 4

      Luffy Pet

    8. 38

      Core X → Top Metin2 & Metin2 Download → Changelogs

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.