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.

Gkiller
 
Posts: 7
Joined: 12 Feb 2016, 14:14

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

Post by Gkiller » 09 Mar 2016, 04:45

hi

love the cp your doing a great job keep up the good work.

I just need some help on 2 thing

1. How do you get the auto restart to restart every day at 6am

2. I need other gm's to be able to use the cp but i have forwarded the port 8989 and in the .ini file i have address set to 0.0.0.0 but i cant get it to work on my ip for my gm's to see it

Thanks Gkiller


RudoBrody
 
Posts: 2
Joined: 25 Sep 2014, 13:01

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

Post by RudoBrody » 25 Mar 2016, 16:21

dddd

User avatar
Lapantino
Devoted Believer
 
Posts: 52
Joined: 21 Dec 2015, 07:10

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

Post by Lapantino » 13 Apr 2016, 11:06

This can also be applied in my server?by pingperfect.com?


BreeOge
 
Posts: 1
Joined: 09 Mar 2016, 23:03

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

Post by BreeOge » 21 May 2016, 04:09

Is this still being updated? Or is there an alternative?


Grimmy347
 
Posts: 9
Joined: 27 May 2016, 16:59

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

Post by Grimmy347 » 04 Jun 2016, 18:07

Any Idea why it gives an error code each time it executes a sql command?


Code: Select all
ECHO 2016-06-04 14:12:24.607 {02} <[LIFDSCP]LIFDSCP_sqlExecute> [61348726] QUERY: delete from lifdscp_online_character
ERRR 2016-06-04 14:12:24.622 {} <> [61348728] DatabaseInterface::processGenericSelectQuery[22465] exec error: 0 /  [T:DBIPrimary:0x1320]
INFO 2016-06-04 14:12:24.622 {} <> [61348728] delete from lifdscp_online_character [T:DBIPrimary:0x1320]


Grimmy347
 
Posts: 9
Joined: 27 May 2016, 16:59

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

Post by Grimmy347 » 04 Jun 2016, 21:49

Also, I have created a slightly modified version of the server that includes a Auto restart feature. Let me know if you would like a copy.

Image

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

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

Post by Custodian » 06 Jun 2016, 08:41

Grimmy347 wrote:Any Idea why it gives an error code each time it executes a sql command?

Because it executes non-select db query via select interface.


Grimmy347
 
Posts: 9
Joined: 27 May 2016, 16:59

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

Post by Grimmy347 » 06 Jun 2016, 18:56

So the error is normal? Is there a way to get rid of the error and could this SQL query just be done through the control panel rather then passing it through the server?


Larainan
 
Posts: 83
Joined: 08 Sep 2015, 15:19

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

Post by Larainan » 07 Jun 2016, 15:22

I was thinking about making more than one lif map so I could rent out game space on my server can I set this up to multiple maps so the people running the life yo server could have some access but not total access to my box? I use fire daemon right now but that only gives them the ability to basically start and stop the server. I would like to give some access to the Heidi database for their world as well.

User avatar
Custodian
Mod Developer
 
Posts: 655
Joined: 08 Jun 2015, 14:58
Location: Lisbon

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

Post by Custodian » 07 Jun 2016, 19:34

Grimmy347 wrote:So the error is normal?

Any error is not normal, thats why it is called an error and not warning or normal output. But as of now(1.1.1.15 patch) it is safe to ignore this particular error.
Grimmy347 wrote:could this SQL query just be done through the control panel rather then passing it through the server?

No, this is how control panel works.


Grimmy347
 
Posts: 9
Joined: 27 May 2016, 16:59

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

Post by Grimmy347 » 07 Jun 2016, 19:39

Thank is what I meant by normal, it is known to happen and is not an issue isolated to my install.


Grimmy347
 
Posts: 9
Joined: 27 May 2016, 16:59

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

Post by Grimmy347 » 08 Jun 2016, 22:47

Ok, so I am sure this sounds like a stupid question but what language is the lifdscp_stats.cs file written in? It doesn't look like normal c++ or c#. Thanks.


Gms0012
 
Posts: 166
Joined: 23 Feb 2015, 08:49

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

Post by Gms0012 » 26 Jun 2016, 06:26

when i run the exe on the server, i always get the message, that the tables (for the online stats) do not exist?

any ideas why? in which part of the script these tables should be created? or can somebody give me the needed sql create script



Image
Last edited by Gms0012 on 26 Jun 2016, 07:21, edited 1 time in total.
Image


Gms0012
 
Posts: 166
Joined: 23 Feb 2015, 08:49

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

Post by Gms0012 » 26 Jun 2016, 07:18

Grimmy347 wrote:Ok, so I am sure this sounds like a stupid question but what language is the lifdscp_stats.cs file written in? It doesn't look like normal c++ or c#. Thanks.


torque script
Image


DonSalami
 
Posts: 2
Joined: 02 Jul 2015, 00:48

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

Post by DonSalami » 02 Jul 2016, 07:52

This is bloody sweet. Keep up the good work!

User avatar
Galestaer
 
Posts: 11
Joined: 30 May 2016, 03:22
Location: Brazil

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

Post by Galestaer » 02 Sep 2016, 15:05

Gms0012 wrote:when i run the exe on the server, i always get the message, that the tables (for the online stats) do not exist?

any ideas why? in which part of the script these tables should be created? or can somebody give me the needed sql create script



Image

I'm having the same problem here and the server didn't start. Anyone could help, please? :)
Image

User avatar
RetroLogi
 
Posts: 137
Joined: 29 Dec 2014, 15:49
Location: Italia

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

Post by RetroLogi » 10 Oct 2016, 10:17

how many set autorestart time?


Tobias0412
 
Posts: 32
Joined: 06 Dec 2016, 21:15

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

Post by Tobias0412 » 21 Jan 2017, 09:40

Is this still working and how to setup this for a rented gameserver ? Where should i place the files...

User avatar
Iomega0318
 
Posts: 22
Joined: 26 Sep 2014, 22:51
Location: Dirt City, TX

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

Post by Iomega0318 » 29 Jan 2017, 02:32

Tobias0412 wrote:Is this still working and how to setup this for a rented gameserver ? Where should i place the files...

That depends on your hosting, do you have direct access to the server? If not then it probably won't work as this uses an executable file and from what I know you'd either need a VPS or Dedicated Server to use the files.

Other than that just now taking a look at this and getting back into LiF, this looks good it's a shame it hasn't been touched in over a year though..

User avatar
RetroLogi
 
Posts: 137
Joined: 29 Dec 2014, 15:49
Location: Italia

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

Post by RetroLogi » 29 Mar 2017, 09:01

RetroLogi wrote:how many set autorestart time?

any help me?

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!

Return to General Discussion