LiF dedicated server Control Panel (LiFDS-CP) (v0.9.13)

General discussion about Life is Feudal: Your Own, The main section and backbone of the forums.
User avatar
SnowSharky
 
Posts: 29
Joined: 01 Jun 2016, 02:50

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.8.1)

Post by SnowSharky » 04 May 2017, 09:32

RetroLogi wrote:
RetroLogi wrote:how many set autorestart time?

any help me?

Sadly as it hasn't been updated in over a year, i dont think its working entirely.
At least I haven't been able to get it to work past showing created accounts

User avatar
KhaimovMR
 
Posts: 77
Joined: 10 Oct 2015, 01:39

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by KhaimovMR » 13 May 2017, 20:15

Version 0.9.12 released.
Features implemented:
  • linux (Wine) server support
  • some bugfixes


Story0
 
Posts: 8
Joined: 09 Jun 2017, 04:13

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by Story0 » 11 Jun 2017, 03:19

So Does this work? I dont seem to uderstand how to connect to the CP through the internet...


Story0
 
Posts: 8
Joined: 09 Jun 2017, 04:13

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by Story0 » 11 Jun 2017, 03:36

I dont understand this. where is the control panel? I run the lifds-cp.exe and the black box come up and is working. but where is the control panel? is it just this little black box? I thought this CP was supposed to feature a ton of usful things? its just a black cmd box

User avatar
KhaimovMR
 
Posts: 77
Joined: 10 Oct 2015, 01:39

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by KhaimovMR » 11 Jun 2017, 22:52

Story0 wrote:I dont understand this. where is the control panel? I run the lifds-cp.exe and the black box come up and is working. but where is the control panel? is it just this little black box? I thought this CP was supposed to feature a ton of usful things? its just a black cmd box

Here's the quote from the first message of this topic:
KhaimovMR wrote:Installation:
  1. Download self-extracting exe-file.
  2. Execute it and select directory, where to extract directory of CP.
  3. Go into extracted "lifds-cp" directory.
  4. Open and configure CP by editing file "lifds-cp.ini".
  5. Shutdown LiF server and then execute file "lifds-cp.exe" (for normal version) or "lifds-cp-bg.exe" (for the background one).
  6. Depending on what version you've selected you'll:
    - see console window of CP, if you've choosen a normal version
    - see process lifds-cp.exe in task manager (Ctrl+Shift+Esc), if you've choosen a bg-version
  7. Now you can go in your browser to the address, that you've specified in "lifds-cp.ini". For example if i've specified an ip 192.168.100.1 and a port 8989, then i can see the panel by address http://192.168.100.1:8989. If you've specified port 80, then you can open url without it: http://192.168.100.1.
  8. On the authorization page enter any login and, to autorize yourself you can enter password you've specified in "lifds-cp.ini" file or the GM password from world_x.xml file if you didn't specify it in "lifds-cp.ini".


Latest version isn't tested on Windows machine. If something doesn't work well just post it here - I'll try to figure out when I'd have some time.

User avatar
SnowSharky
 
Posts: 29
Joined: 01 Jun 2016, 02:50

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by SnowSharky » 12 Jun 2017, 02:07

KhaimovMR wrote:Latest version isn't tested on Windows machine. If something doesn't work well just post it here - I'll try to figure out when I'd have some time.

Tested it out today on a windows server and thinking LiFDS-CP isnt able to write the needed tables into the database as I get
Error 1146: Table 'lif_1.lifdcp_online_history' doesn't exist

Messed around manually creating the tables and trying to figure out the required columns based on the errors but it was rather slow going. Any change on getting the format required for each table?


Thril
 
Posts: 6
Joined: 07 Jun 2017, 22:17

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by Thril » 14 Jun 2017, 18:25

Is there any progress in here?
Or does anyone have good alternatives?

User avatar
SnowSharky
 
Posts: 29
Joined: 01 Jun 2016, 02:50

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by SnowSharky » 15 Jun 2017, 05:10

Thril wrote:Is there any progress in here?
Or does anyone have good alternatives?

Dont think KhaimovMR plays anymore, but he does check in every week or so still and has been slowly updating it (thank you KhaimovMR!!).

As for an admin program alternative, theres isnt a working one that i know off.

User avatar
KhaimovMR
 
Posts: 77
Joined: 10 Oct 2015, 01:39

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by KhaimovMR » 15 Jun 2017, 23:24

SnowSharky wrote:
Thril wrote:Is there any progress in here?
Or does anyone have good alternatives?

Dont think KhaimovMR plays anymore, but he does check in every week or so still and has been slowly updating it (thank you KhaimovMR!!).

As for an admin program alternative, theres isnt a working one that i know off.


Hello, guys.
Tested 0.9.12 version on a Windows machine today.
Working fine with a clean setup (wiped database).

SnowSharky, you can try two ways to fix this issue:
First way - wiping character online history:
1. Shutdown the server.
2. Turn off the lifds-cp.
3. Drop all tables that starts with "lifdcp_".
4. Start lifds-cp again.

Second way - easiest by may not help if "lifdscp_*" tables are messed up:
Check that the parameter "online-statistics" in lifds-cp.ini is set to "on".

User avatar
SnowSharky
 
Posts: 29
Joined: 01 Jun 2016, 02:50

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by SnowSharky » 28 Jun 2017, 07:44

Got around to trying again today and got it working after clearing out the old DB's like you suggested. Much thanks for all your work KhaimovMR!


Midaxos
Zealous Believer
 
Posts: 6
Joined: 03 Jul 2017, 15:19

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by Midaxos » 10 Jul 2017, 21:46

NICE !!

User avatar
KhaimovMR
 
Posts: 77
Joined: 10 Oct 2015, 01:39

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.13)

Post by KhaimovMR » 11 Oct 2017, 17:08

Version 0.9.13 released.
Features implemented:
  • Specific MySQL port support added (previously panel didn't function if you were specifying mysql port in the "server" parameter of config_local.cs)

User avatar
DrunkMunki
 
Posts: 9
Joined: 12 Jun 2017, 11:06

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by DrunkMunki » 17 Oct 2017, 21:07

KhaimovMR wrote:Hello, guys.
Tested 0.9.12 version on a Windows machine today.
Working fine with a clean setup (wiped database).

SnowSharky, you can try two ways to fix this issue:
First way - wiping character online history:
1. Shutdown the server.
2. Turn off the lifds-cp.
3. Drop all tables that starts with "lifdcp_".
4. Start lifds-cp again.

Second way - easiest by may not help if "lifdscp_*" tables are messed up:
Check that the parameter "online-statistics" in lifds-cp.ini is set to "on".



I am having the same issue, but none of the lifdcp_ tables are being created .. online statistics is set to ON and the CP can list users ID's ... just not showing online status

any chance i can get a SQL import file for these tables?
GamingAlliance.Net - Australia's Premier Gaming Community

User avatar
KhaimovMR
 
Posts: 77
Joined: 10 Oct 2015, 01:39

Re: LiF dedicated server Control Panel (LiFDS-CP) (v0.9.12)

Post by KhaimovMR » 18 Oct 2017, 07:59

Muphin wrote:
KhaimovMR wrote:Hello, guys.
Tested 0.9.12 version on a Windows machine today.
Working fine with a clean setup (wiped database).

SnowSharky, you can try two ways to fix this issue:
First way - wiping character online history:
1. Shutdown the server.
2. Turn off the lifds-cp.
3. Drop all tables that starts with "lifdcp_".
4. Start lifds-cp again.

Second way - easiest by may not help if "lifdscp_*" tables are messed up:
Check that the parameter "online-statistics" in lifds-cp.ini is set to "on".



I am having the same issue, but none of the lifdcp_ tables are being created .. online statistics is set to ON and the CP can list users ID's ... just not showing online status

any chance i can get a SQL import file for these tables?


First one:
Code: Select all
CREATE TABLE `lifdscp_online_character` (
   `CharacterID` INT(10) UNSIGNED NOT NULL,
   `LoggedInAt` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
   PRIMARY KEY (`CharacterID`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB;


Second one:
Code: Select all
CREATE TABLE `lifdscp_online_history` (
   `ID` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
   `CharacterID` INT(10) UNSIGNED NOT NULL,
   `LoggedInAt` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
   `LoggedOutAt` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
   `IsLoggedOut` TINYINT(1) NOT NULL DEFAULT '0' COMMENT '0 - still logged in, 1 - logged out',
   PRIMARY KEY (`ID`),
   INDEX `idx_CharacterID` (`CharacterID`),
   INDEX `idx_LoggedInAt` (`LoggedInAt`),
   INDEX `idx_LoggedOutAt` (`LoggedOutAt`),
   INDEX `idx_IsLoggedOut` (`IsLoggedOut`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=184;

Return to General Discussion

cron