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
KhaimovMR
 
Posts: 77
Joined: 10 Oct 2015, 01:39

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

Post by KhaimovMR » 15 Oct 2015, 17:47

Hi there!
Just finished control panel to control "Life Is Feudal: Your Own" dedicated server remotely through web-browser.

Features available right now:
  • authorized access to control panel over your browser (using password of your GM in game or that's specified in lifds-cp.ini file)
  • autorestart server on it's
  • manual stop and start
  • autorestart server on it's
  • manual stop and start
  • online characters list
  • active and banned account lists
  • character's skills view
  • character's death log view
  • character's online history view
  • apply configuration (lifds-cp.ini) changes on server restart - "Restart server (apply ini changes)" button
  • linux (Wine) server support

Known bugs fixed:
  • "found an outdated RecordSet" in server console that caused a random lags for clients

Upcoming features:
  • utils menu actions:
    chop trees < 30 lvl
    clean chopped trees (stumps)
  • version status (server would recognize if there is new version released and will mark it as outdated in control panel)
  • checkbox for autorestart server if there is new version available

Control Panel at this moment at it's start so any incoming i'll appreciate.

Happy hosting, guys.


Downloads:
LiFDS-CP v0.9.13 - self-extracting exe
LiFDS-CP v0.9.13 zip

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".

Remember that if you want to allow access to the CP from the internet (e.g. for your others game masters and server admins), then you should bind CP onto IP 0.0.0.0 or on your external IP and forward the port, you're using, in settings of your router (if you have it).


PS: For those of you, who want to participate in development of CP here's a link of it on the github: lifds-cp.
Last edited by KhaimovMR on 11 Oct 2017, 17:34, edited 25 times in total.


SvarogUA
 
Posts: 4
Joined: 15 Oct 2015, 17:58

Re: LiF dedicated server Control Panel (lifds-cp)

Post by SvarogUA » 15 Oct 2015, 18:11

Thanks a lot! Installed it successfully! :D
When will you release "Utils" menu?

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

Re: LiF dedicated server Control Panel (lifds-cp)

Post by KhaimovMR » 15 Oct 2015, 18:35

SvarogUA wrote:Thanks a lot! Installed it successfully! :D
When will you release "Utils" menu?

Till Sunday i'm planning to release the server version tracking and the checkbox for autorestart on update.
On next week the Utils menu will be finished too. )


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

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

Post by KhaimovMR » 06 Nov 2015, 10:32

Version 0.8 released.
Features implemented:
  • active and banned account lists
  • character's skills view
Last edited by KhaimovMR on 07 Nov 2015, 05:02, edited 1 time in total.


Metal
 
Posts: 13
Joined: 17 Feb 2014, 21:52

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

Post by Metal » 06 Nov 2015, 11:09

Add option to remove all +70q tress, tnx :)


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

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

Post by KhaimovMR » 18 Nov 2015, 22:05

Version 0.9.7 released.
Features implemented:
  • online characters list
  • character's online history view


Afpgij
Beta Tester
 
Posts: 15
Joined: 10 Jul 2015, 11:08

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

Post by Afpgij » 24 Nov 2015, 13:13

maybe its a stupid question but can i use this in a rented server?

thanks


Wir3tap
 
Posts: 29
Joined: 07 Sep 2015, 21:36

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

Post by Wir3tap » 24 Nov 2015, 17:00

This is an amazing job! Thanks!!!
Image


Wir3tap
 
Posts: 29
Joined: 07 Sep 2015, 21:36

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

Post by Wir3tap » 24 Nov 2015, 18:52

Tried to remove this from my server after it was giving an error on startup.

I am getting this spammed in my Life is Feudal console now.

DB Error #1146: Table 'lif_1.lifdscp_online_character' doesnt exist.

What was changed to the main life is feudal so I can stop this from popping up. I want it as if I never tried to use the Control Panel.

*Error stopped on deletion of files*
Image


Elusiven
Beta Tester
 
Posts: 52
Joined: 02 Mar 2015, 14:46

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

Post by Elusiven » 25 Nov 2015, 01:05

Does this panel still works on the new 1.0.0.11 patch?
Head Administrator of medievalkingdoms.eu

PVP server with elements of RP with factions, trading and kingdoms system. Join us for great fun:).
Image


TiTANSTORM
 
Posts: 13
Joined: 29 Sep 2014, 02:42

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

Post by TiTANSTORM » 26 Nov 2015, 09:29

Elusiven wrote:Does this panel still works on the new 1.0.0.11 patch?


Yes it does. I am having issues with the trees < x lvl working; working on a fix.
Image


Elusiven
Beta Tester
 
Posts: 52
Joined: 02 Mar 2015, 14:46

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

Post by Elusiven » 26 Nov 2015, 12:15

The whole tree removal script seems to be broken for the new release updates. It kept corrupting my database when I was using it. I haven't used SQL for years so not gonna be a hero here, I've used it on my sites to extract player, in which guilds are etc but thats as far my current sql knowledge will go lol.
Head Administrator of medievalkingdoms.eu

PVP server with elements of RP with factions, trading and kingdoms system. Join us for great fun:).
Image

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

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

Post by KhaimovMR » 28 Nov 2015, 01:52

TiTANSTORM wrote:
Elusiven wrote:Does this panel still works on the new 1.0.0.11 patch?


Yes it does. I am having issues with the trees < x lvl working; working on a fix.

You right, it does work.

Trees cleaning sql is still in development - that's why whole "Utils" menu doesn't produce any action.
"Utils" menu will be released along with new feature:
"make plateau" - that does flat ground on location and altitude of specified character + specified additional altitude.

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

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

Post by KhaimovMR » 28 Nov 2015, 02:12

Elusiven wrote:The whole tree removal script seems to be broken for the new release updates. It kept corrupting my database when I was using it. I haven't used SQL for years so not gonna be a hero here, I've used it on my sites to extract player, in which guilds are etc but thats as far my current sql knowledge will go lol.

You shouldn't use *.sql files. They are provided to use inside the panel - on click in "Utils" menu. At this version this menu is disabled because of sql-scripts bug.
When it will be ready, i'll report it here in a released features.


TiTANSTORM
 
Posts: 13
Joined: 29 Sep 2014, 02:42

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

Post by TiTANSTORM » 29 Nov 2015, 07:03

Love where the CP is going but There might be an issue:

- Anyone else experiencing this issue while running the CP?
post64135/#p64135

*EDIT*
I just noticed the control panel is pulling an incorrect Steam 64 ID
Image

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

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

Post by KhaimovMR » 30 Nov 2015, 10:56

TiTANSTORM wrote:Love where the CP is going but There might be an issue:

- Anyone else experiencing this issue while running the CP?
post64135/#p64135

*EDIT*
I just noticed the control panel is pulling an incorrect Steam 64 ID

Yes. With Custodian's help we found a problem.
Today/tomorrow will be released a patch to fix the lifdscp_stats.cs script.
I'll inform anyone here in this thread. But if you want to fix it right now you can
  • go into "lifds-cp/cs" folder, open file lifdscp_stats.cs in notepad and remove anything from it, then save.
  • stop server from control panel
  • kill the lifds-cp.exe of lifds-cp-bg.exe process
  • change "online-statistics = on" option to "off"
  • start lifds-cp.exe of lifds-cp-bg.exe again

If someone after that hotfix still has a problems - you can post your server log here, or call me via "google hangouts" (hangouts.google.com - that's a faster way).


Elusiven
Beta Tester
 
Posts: 52
Joined: 02 Mar 2015, 14:46

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

Post by Elusiven » 30 Nov 2015, 14:10

I've been running the tree scripts as they should have been ran through the query, and they don't work. They're not updated.
Head Administrator of medievalkingdoms.eu

PVP server with elements of RP with factions, trading and kingdoms system. Join us for great fun:).
Image

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

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

Post by KhaimovMR » 30 Nov 2015, 14:23

Elusiven wrote:I've been running the tree scripts as they should have been ran through the query, and they don't work. They're not updated.

Yes, as i was writing before:
You shouldn't use *.sql files. They are provided to use inside the panel - on click in "Utils" menu. At this version this menu is disabled because of sql-scripts bug.
When it will be ready, i'll report it here in a released features.


Elusiven
Beta Tester
 
Posts: 52
Joined: 02 Mar 2015, 14:46

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

Post by Elusiven » 30 Nov 2015, 14:51

Yes i'm aware that they are inside the panel and not to use them. I'm just pointing out that the .sql scripts are broken for a while now. Btw, I tried to get the source code for the panel, is that in go language, I couldn't open it in mono, do I just use a terminal and notepad++ ? I'm trying to write something for my own use but in php, unless I can modify your source code.. :P
Head Administrator of medievalkingdoms.eu

PVP server with elements of RP with factions, trading and kingdoms system. Join us for great fun:).
Image

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

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

Post by KhaimovMR » 30 Nov 2015, 17:40

Elusiven wrote:Yes i'm aware that they are inside the panel and not to use them. I'm just pointing out that the .sql scripts are broken for a while now.
That's why i wrote before:
KhaimovMR wrote:You shouldn't use *.sql files. They are provided to use inside the panel - on click in "Utils" menu. At this version this menu is disabled because of sql-scripts bug. When it will be ready, i'll report it here in a released features.



Elusiven wrote:Btw, I tried to get the source code for the panel, is that in go language, I couldn't open it in mono, do I just use a terminal and notepad++ ?

First you should get source from github.com, then you could do with that source anything that you could do with any other golang source code :) Change it, compile it and so on.


TiTANSTORM
 
Posts: 13
Joined: 29 Sep 2014, 02:42

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

Post by TiTANSTORM » 30 Nov 2015, 20:54

KhaimovMR wrote:Yes. With Custodian's help we found a problem.
Today/tomorrow will be released a patch to fix the lifdscp_stats.cs script.
I'll inform anyone here in this thread. But if you want to fix it right now you can


This is a server I am doing some dev/testing on so no worries, I will wait till your fix is made and update then.

How about the Steam ID's? The last digit seems to be off and is set to a "0" for everyone.
Image

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

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

Post by KhaimovMR » 01 Dec 2015, 03:44

Version 0.9.8 released.
Features implemented:
  • apply configuration (lifds-cp.ini) changes on server restart - "Restart server (apply ini changes)" button
Last edited by KhaimovMR on 01 Dec 2015, 09:36, edited 1 time in total.

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

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

Post by KhaimovMR » 01 Dec 2015, 09:19

Version 0.9.8.1 released.
Known bugs fixed:
  • "found an outdated RecordSet" in server console that caused a random lags for clients

Highly recommend for anyone to update to this version.

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

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

Post by KhaimovMR » 01 Dec 2015, 12:32

Tested. Server is working without any lags, that was previously caused by online statistics script.


TiTANSTORM
 
Posts: 13
Joined: 29 Sep 2014, 02:42

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

Post by TiTANSTORM » 02 Dec 2015, 21:36

Awesome work, thanks for the update!
Image


Thenavydoc
 
Posts: 18
Joined: 06 Nov 2015, 16:24

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

Post by Thenavydoc » 22 Dec 2015, 03:09

Afpgij wrote:maybe its a stupid question but can i use this in a rented server?

thanks


I didn't see if this was answered.
Image

Image

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

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

Post by KhaimovMR » 22 Dec 2015, 20:16

Thenavydoc wrote:
Afpgij wrote:maybe its a stupid question but can i use this in a rented server?

thanks


I didn't see if this was answered.


I don't see any reasons why not, if there is a remote desktop or a powershell access to the server.

Installation steps are the same whether it's a home or a server machine.

User avatar
Leaf
 
Posts: 76
Joined: 01 Feb 2014, 16:47

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

Post by Leaf » 23 Dec 2015, 13:11

Maybe add a function to adjust claim times also?

Even if it has popup ads, as long as it lets us remove stumps and set quality of trees to remove hassle free it is worth it.

Return to General Discussion