[MOD] BasilMod::RestZone - Heal your Gladiators!

Place for sharing your game modifications for Life is Feudal: Your Own
User avatar
Custodian
Mod Developer
 
Posts: 649
Joined: 08 Jun 2015, 14:58
Location: Moscow

[MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Custodian » 01 Mar 2016, 23:23

Greetings, feudalists!

Tired of looking for the healer after the arena match?
Hate resurrection sickness?

Take a rest at BasilMod::RestZone!

This is server-side only mod, no client modification required. :Yahoo!:

Define Rest Zone near Arena, so gladiators will be ready for the new fights as soon as possible!
RestZone can restore health points and/or remove debuffs and/or heal wounds and fractures.

This mod is part of BasilMods bundle.

Shoutout to Alakar Siann: thank you for the motivation! :friends:

Video demonstration
Spoiler


Server-side installation instructions. :beer:
Spoiler
Last edited by Custodian on 17 Mar 2016, 21:28, edited 2 times in total.


Cono
Zealous Believer
 
Posts: 22
Joined: 06 Jan 2016, 05:01

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Cono » 02 Mar 2016, 00:47

Awesome work Custodian. Hope to see this very soon!

User avatar
Custodian
Mod Developer
 
Posts: 649
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Custodian » 02 Mar 2016, 15:24

Head post updated with installation and configuration manuals.


Malgolath
True Believer
 
Posts: 5
Joined: 12 Mar 2016, 21:10

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Malgolath » 12 Mar 2016, 22:08

Great looking mod.

Having some issues trying to get it running on our server.

I get a successful load when the server starts

Image

However the rest zone in the configuration does not appear to be working, and when trying to add a new rest zone we get the following error

Image

We also are trying to call the enable and disable functions are get

Image


Here is the contents of our config file:
Image

Any thoughts?

User avatar
Custodian
Mod Developer
 
Posts: 649
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Custodian » 12 Mar 2016, 22:17

Malgolath wrote:Image

Thats not an error, thats how server reports certain action of detaching object.

Malgolath wrote:We also are trying to call the enable and disable functions are get
Image
Any thoughts?

Yea, my mistake.
I have forgot to include such default functions into mod. Please redownload it now, or use config "$BasilMod::restzone::enable" variable to enable zones by default on server startup.


Malgolath
True Believer
 
Posts: 5
Joined: 12 Mar 2016, 21:10

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Malgolath » 12 Mar 2016, 23:36

Perfect that fixed it.

Everything works now, thanks for the reply!


MacDante
 
Posts: 95
Joined: 12 May 2015, 10:08

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by MacDante » 14 Mar 2016, 20:47

I have a little problem with this MOD.

After HEAL in point (yes all heal work correctly), my character can't build any structures. I can try build but can't, but when i'm back all what i trying build is on map as projects.

PS: When im on GM mode, heal reset GM mode, and only relog help.

Any ideas what happen ?


Cono
Zealous Believer
 
Posts: 22
Joined: 06 Jan 2016, 05:01

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Cono » 14 Mar 2016, 21:52

I beileve it has something to do within the mechanic that it sets your HP values and removes effects, etc. from the database. Then to sync this all up to the client, the mod "respawns" the player in that location, so the UI and client are all up to date with what was saved into the DB. This somehow desyncs the person with respect to building, etc. until a relog occurs.


Alakar
Beta Tester
 
Posts: 203
Joined: 23 Jan 2015, 07:39

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Alakar » 14 Mar 2016, 21:54

MacDante wrote:I have a little problem with this MOD.

After HEAL in point (yes all heal work correctly), my character can't build any structures. I can try build but can't, but when i'm back all what i trying build is on map as projects.

PS: When im on GM mode, heal reset GM mode, and only relog help.

Any ideas what happen ?


Unfortunately that is the one side-effect of the mod, you will have to re log to once again interact with objects ( open/close door ) etc and to see them update. But that is tolerable in an arena type scenario where the recovery time can be drastically shortened in order to accommodate faster events. So after the event is over or whenever you need to get back to work and need the ability to see object state changes, just do a quick re log.

-Alakar
http://arkhaya.com/

User avatar
Custodian
Mod Developer
 
Posts: 649
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Custodian » 15 Mar 2016, 07:53

MacDante wrote:After HEAL in point (yes all heal work correctly), my character can't build any structures. I can try build but can't, but when i'm back all what i trying build is on map as projects.

This is unexpected behaviour, I'll check it.

MacDante wrote:PS: When im on GM mode, heal reset GM mode, and only relog help.

GM mode status will be preserved in next version, meanwhile you can re-enter gm mode with default "/gm" command after healing.

User avatar
Osovich
Beta Tester
 
Posts: 29
Joined: 16 Dec 2015, 13:06
Location: Russia, Moscow

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Osovich » 17 Apr 2016, 13:47

Greetings, Vasily!
I have found a bug in the mod.
When I go to RestZone and it is triggered, a window appears "the judgment hour is over".
Screen:
Spoiler

This window appears every time after you restart the server and enter RestZone.

After that, you cannot interact with objects, such as open - close gate. The objects thrown on the ground disappear.
The main.cs file looks like this:
exec("scripts/root.cs");
exec("BasilMod/pack/pack.cs");
exec("BasilMod/RestZone/RestZone.cs");

To date, the mod worked on the test server. Today I updated the database file and the cache is updated in two folders:
1. \data\passabilityMaps\cached\w1
2. \data\terrains\cached\w1


Energon
Zealous Believer
 
Posts: 3
Joined: 19 Apr 2016, 16:28

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Energon » 19 Apr 2016, 17:59

how do i find the coordinates i want to use for this?

User avatar
Custodian
Mod Developer
 
Posts: 649
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Custodian » 19 Apr 2016, 22:09

Energon wrote:how do i find the coordinates i want to use for this?

You can use coords output from other mods, such as safezone, or teleport


Halvdal
 
Posts: 108
Joined: 20 Jan 2016, 13:36

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Halvdal » 04 May 2016, 00:26

Restzone is working perfectly but it seems that it doesn't work if you are in a unit.

Edit:
Is there any server or client command for healing other palyers?

Edit2:
You have to relog because the restzone is broken the unit :(


Everettham
Alpha Tester
 
Posts: 56
Joined: 22 Apr 2014, 02:16

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Everettham » 09 May 2016, 00:46

Amazing job with the mod! I did have a question but I appear to have found the solution. I had thought it would continue healing me even if someone damages me in the restzone but I was wrong. It will work wonderfully regardless for what I have in mind.


Ditmar
 
Posts: 4
Joined: 20 May 2016, 11:02

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Ditmar » 20 May 2016, 11:09

the mod is he going to be updated?

Unable to post what i find function

User avatar
Custodian
Mod Developer
 
Posts: 649
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Custodian » 20 May 2016, 11:12

Ditmar wrote:the mod is he going to be updated?
Unable to post what i find function

I don't understand your question.

This mod is compatible with current LiF:Yo server patch 1.1.1.15.


Ditmar
 
Posts: 4
Joined: 20 May 2016, 11:02

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Ditmar » 20 May 2016, 11:30

I was unable to configure I do not know how to create the zone

User avatar
Custodian
Mod Developer
 
Posts: 649
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Custodian » 20 May 2016, 11:46

Ditmar wrote:I was unable to configure I do not know how to create the zone

First post contains server-side installation and configuration instructions under the spoiler. Follow those steps.


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

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Grimmy347 » 31 May 2016, 22:39

Custodian wrote:
Ditmar wrote:the mod is he going to be updated?
Unable to post what i find function

I don't understand your question.

This mod is compatible with current LiF:Yo server patch 1.1.1.15.



does this include the client side 1.1.1.15? Thanks!

User avatar
Custodian
Mod Developer
 
Posts: 649
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Custodian » 01 Jun 2016, 06:03

Grimmy347 wrote:does this include the client side 1.1.1.15? Thanks!

As the description states:
Head post wrote:This is server-side only mod, no client modification required.


Hieve
 
Posts: 43
Joined: 11 Sep 2016, 05:52

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Hieve » 14 Oct 2016, 05:20

hello there,

great mod so far.

i came up with a ugly detail, not really a problem :

-on entering the rest zone GM Mode gets deactivated
Image


Cleric3333
True Believer
 
Posts: 2
Joined: 02 Dec 2016, 20:10

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Cleric3333 » 12 Dec 2016, 04:16

Hey man, I have the rest zone and safe zone bits of the mod in my server. (Avoiding client side mods.)

How do I register a zone? The instructions are a bit vauge and it just tells me unable to find function when i use BasilMod::restzone_register

And if i need the coords to actually register the spot then how do i get them?


Rkhigginbotham0
 
Posts: 2
Joined: 12 Jan 2017, 19:17

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Rkhigginbotham0 » 12 Jan 2017, 19:25

Cleric3333 wrote:Hey man, I have the rest zone and safe zone bits of the mod in my server. (Avoiding client side mods.)

How do I register a zone? The instructions are a bit vauge and it just tells me unable to find function when i use BasilMod::restzone_register

And if i need the coords to actually register the spot then how do i get them?


I feel like I am having the exact same problem. I downloaded the pack server files as well as the restzone files. Created a folder in the LIFDED Server Root Folder, named them BasilMod/pack ... and /RestZone

When I edited the Main.cs file I added the lines based off my understanding from the instructions and from someone elses forum post, this is the section of code from the bottom of the main.cs

Code: Select all
else
{
   exec("scripts/root.cs");
   exec("BasilMod/pack/pack.cs");
   exec("BasilMod/RestZone/restzone.cs");
}



In the Restzone config file I only edited the destination for the rest zone based off a character location in the database. So the only code from the Config.cs file is this:

Code: Select all
$BasilMod::restzone::enable = true; //Enable on server startup

BasilMod::restzone_register("989 -313 11, 1, "<color:00ff00>Rest zone<color:ff0000>\r\nStand still, while we fixing you!", true, true, true); //Register new rest zone


When I try to run the BasilMod::restzone_enable(); in the server browser I get missing function.

What am I missing?

Any help?

PostEdit:

Just looked in the logs

Code: Select all
ECHO 2017-01-12 14:30:21.438 {02} <[BasilModPack]BasilMod::pack_content> [0] Processing file basilmod/pack/client/pack.cs.dso
ECHO 2017-01-12 14:30:21.438 {04} <[BasilModPack]BasilMod::processShellQueue> [0] Executing basilmod/pack/base64encoder.exe "basilmod/pack/client/pack.cs.dso" "BasilMod/_cache/basilmod/pack/client/pack.cs.dso.base64"
ECHO 2017-01-12 14:30:21.454 {02} <[BasilModPack]BasilMod::pack_content> [0] Processing file basilmod/pack/client/pack.gui.dso
ECHO 2017-01-12 14:30:21.454 {02} <[BasilModPack]BasilMod::pack_content> [0] Processing file data/skill_types.xml
ECHO 2017-01-12 14:30:21.454 {02} <[BasilModPack]BasilMod::pack_content> [0] Processing file data/cm_objects.xml
ECHO 2017-01-12 14:30:21.469 {02} <[BasilModPack]BasilMod::pack_content> [0] Processing file data/cm_equipTypes.xml
ECHO 2017-01-12 14:30:21.469 {} <> [0] BasilMod::Pack v7 (patch level 1.1.1.10) loaded
WARN 2017-01-12 14:30:21.469 {} <> [0] SimObject::registerObject() - datablock ids should be initialized via its 'id' field: TriggerData
basilmod/restzone/config.cs Line: 43 - syntax error
WARN 2017-01-12 14:30:21.469 {01} <[BasilModRestzone]BasilMod::restzone_init> [0] >>> Advanced script error report.  Line 43.
WARN 2017-01-12 14:30:21.469 {01} <[BasilModRestzone]BasilMod::restzone_init> [0] >>> Some error context, with ## on sides of error halt:
ERRR 2017-01-12 14:30:21.469 {01} <[BasilModRestzone]BasilMod::restzone_init> [0]
2) BasilMod::restzone_disable(); - disable all registered rest zones



*/



$BasilMod::restzone::enable = true; //Enable on server startup



BasilMod::restzone_register("989 -313 11, 1, "<color:00ff00>Rest zone<color:ff0000>\r\nStand still, while we fixing you!", true, true, true); //Register new rest zone##
WARN 2017-01-12 14:30:21.469 {01} <[BasilModRestzone]BasilMod::restzone_init> [0] >>> Error report complete.

ECHO 2017-01-12 14:30:21.469 {} <> [0] BasilMod::RestZone v1 loaded
Last edited by Rkhigginbotham0 on 12 Jan 2017, 20:05, edited 1 time in total.

User avatar
Custodian
Mod Developer
 
Posts: 649
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Custodian » 12 Jan 2017, 19:54

Rkhigginbotham0 wrote:I downloaded the pack server files as well as the restzone files.

BasilMod::Pack is not needed for the restzone.

Rkhigginbotham0 wrote:Created a folder in the LIFDED Server Root Folder, named them BasilMod/pack ... and /RestZone

BasilMod::RestZone files should be placed at "BasilMod/RestZone" folder


You have not edited your main.cs file properly. Exec lines should be added to the end of the file, i.e.
Code: Select all
else
{
   exec("scripts/root.cs");
}

exec("BasilMod/pack/pack.cs");
exec("BasilMod/RestZone/restzone.cs");



Rkhigginbotham0 wrote:When I try to run the BasilMod::restzone_enable(); in the server browser I get missing function.

You don't need to run that function manually, since your config enable mod by default.

Rkhigginbotham0 wrote:What am I missing?

Make sure mod files are placed at correct location, and you are typing command. In case of errors, provide screenshot of your error message, and your server log file.


Rkhigginbotham0
 
Posts: 2
Joined: 12 Jan 2017, 19:17

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Rkhigginbotham0 » 12 Jan 2017, 20:21

Its working. Thanks again
Last edited by Rkhigginbotham0 on 12 Jan 2017, 21:48, edited 1 time in total.

User avatar
Custodian
Mod Developer
 
Posts: 649
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Custodian » 12 Jan 2017, 21:41

Rkhigginbotham0 wrote:What is the best way for determining coordinates?

Install BasilMod::Teleport mod, read and use its helper commands.


Kevinn
 
Posts: 10
Joined: 23 Sep 2016, 01:38

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Kevinn » 13 Feb 2017, 22:17

Is this broken in 64 bit as well? Haven't tested it just noticed it's one of the few that have not been updated.

User avatar
Custodian
Mod Developer
 
Posts: 649
Joined: 08 Jun 2015, 14:58
Location: Moscow

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Custodian » 13 Feb 2017, 23:03

Kevinn wrote:Is this broken in 64 bit as well? Haven't tested it just noticed it's one of the few that have not been updated.

This mod is not yet compatible with 64bit at this time.


Helena
 
Posts: 12
Joined: 23 Jan 2016, 17:46

Re: [MOD] BasilMod::RestZone - Heal your Gladiators!

Post by Helena » 18 Mar 2017, 13:31

any news about this mod?

Return to Game mods

cron