[MOD] BasilMod::Pack

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

[MOD] BasilMod::Pack

Post by Custodian » 15 Aug 2015, 19:23

Greetings!

BasilMod::Pack is a core modification intented to use on servers, and on clients.
It automates syncronization of content files between server and client, BasilMod addons used on the server.
Proper versions of mods being loaded and used for specific server.

Basically, players need to have only this one to start playing on advanced(heavily modified) server.

Make your server unique among the others, make it Your Own. :beer:
Spoiler

This mod is part of BasilMods bundle.

Backup of all updated files stored on client side, at BasilMod/_cache/server-id/ folder:
  • "backup/new" subfolder contains marks about added files, which was not present in original LiF:Yo game.
  • "backup/upd" subfolder contains original files prior to update.
  • "update/" subfolder contain cached downloaded files from server.
You can always restore updated files from Pack settings window.
If you joining server, which is not BasilMod::Pack enabled, original files will be restored from backup, and a game client restart will be required.
If you switch between several BasilMod::Pack enabled servers, needed files will be synced, and other files will be restored to original state.

You can load/unload/reload compatible addons with one click. If you are GM, you can update/configure server side without server restart.

BasilMod::Pack is required for some other mods, as it extends communication capabilities between client and game server.

Server administrator specify content which should be syncronized, for example cm_objects.xml, skill_types.xml new dts models, and so on.
Also, Pack will automatically find all installed BasilMod or compatible addons on the server, and will upload them to client, so client will have all list of functions enabled on the server.

If server is using BasilMod::Pack, administrator can disallow client connection without client side installed. Player will get corresponding notification.

Security consideration
Spoiler


Client demonstration.
Spoiler


Client-side instructions.
Spoiler


Server-side instructions.
Spoiler
Last edited by Custodian on 30 Jun 2017, 09:18, edited 15 times in total.

User avatar
Malkom
Beta Tester
 
Posts: 50
Joined: 30 Sep 2014, 11:08

Re: [MOD] BasilMod::Pack

Post by Malkom » 16 Aug 2015, 14:17

Вот за такое низкий тебе поклон. С этого мода можно было и начинать весь модпак. :) Ждем-с.
Image

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

Re: [MOD] BasilMod::Pack

Post by Custodian » 16 Aug 2015, 17:31

Malkom wrote:Вот за такое низкий тебе поклон. С этого мода можно было и начинать весь модпак. :) Ждем-с.

Он требует установки на клиент, а оформленные до этого — нет. Кроме торгового окна, но оно очень нужно всем.

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

Re: [MOD] BasilMod::Pack

Post by Custodian » 04 Sep 2015, 11:13

Head post updated with client-side and server-side mod files and installation/configuration instructions.

User avatar
Malkom
Beta Tester
 
Posts: 50
Joined: 30 Sep 2014, 11:08

Re: [MOD] BasilMod::Pack

Post by Malkom » 04 Sep 2015, 11:57

:D Hooray! I waited :D will test the evening, share impressions. :Bravo:
Image

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

Re: [MOD] BasilMod::Pack

Post by Custodian » 04 Sep 2015, 20:26

Client-side part of mod updated. Re-download file 'pack.cs.dso'.
Fixed couple of issues based on feedback.


Krinym
True Believer
 
Posts: 206
Joined: 04 Nov 2013, 05:50

Re: [MOD] BasilMod::Pack

Post by Krinym » 05 Sep 2015, 07:42

Отличный мод! Сильно упрощает жизнь :beer: ! Еще бы добавить возможность автоматически скачивать моды, чтобы игроки не заморачивались а олько 1 кнопку нажимали.
Image

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

Re: [MOD] BasilMod::Pack

Post by Custodian » 05 Sep 2015, 09:03

Krinym wrote:Еще бы добавить возможность автоматически скачивать моды, чтобы игроки не заморачивались

настройте content.cs соответствующим образом. смысл этого мода именно в том, чтобы автоматически обновлять контент и моды на клиенте как только они обновлены на сервере.


Uno
 
Posts: 229
Joined: 01 Apr 2014, 19:39

Re: [MOD] BasilMod::Pack

Post by Uno » 06 Sep 2015, 07:34

impressive work, kudos!


Krinym
True Believer
 
Posts: 206
Joined: 04 Nov 2013, 05:50

Re: [MOD] BasilMod::Pack

Post by Krinym » 13 Sep 2015, 21:20

С новой версией совместим этот мод?
Image

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

Re: [MOD] BasilMod::Pack

Post by Custodian » 13 Sep 2015, 21:33

Krinym wrote:С новой версией совместим этот мод?

Совместим с 0.7.5.5.
Mod is compatible with 0.7.5.5.
Last edited by Custodian on 15 Sep 2015, 20:17, edited 1 time in total.


Krinym
True Believer
 
Posts: 206
Joined: 04 Nov 2013, 05:50

Re: [MOD] BasilMod::Pack

Post by Krinym » 14 Sep 2015, 09:19

в таком случае у меня проблема. на прошлую версию установил и работало нормально. после установки новой версии не хочет обновлять файлы на клиенте.
Image


Krinym
True Believer
 
Posts: 206
Joined: 04 Nov 2013, 05:50

Re: [MOD] BasilMod::Pack

Post by Krinym » 14 Sep 2015, 09:32

Кстати классная фотка с бобиком! :good:
Image

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

Re: [MOD] BasilMod::Pack

Post by Custodian » 14 Sep 2015, 10:39

Krinym wrote:в таком случае у меня проблема. на прошлую версию установил и работало нормально. после установки новой версии не хочет обновлять файлы на клиенте.

В описании мода, в разделе серверной установки, описана переменная:
You have missed Mod description, there is a variable:
Code: Select all
$BasilMod::cmVersionCompatible = "0.7.0.6";

Которую необходимо изменить вручную при обновлении сервера (новом патче).
Для текущего патча в config.cs необходимо указать
You should manually update this variable to match current server version. In this case, update your config.cs to
Code: Select all
$BasilMod::cmVersionCompatible = "0.7.5.5";
Last edited by Custodian on 15 Sep 2015, 20:18, edited 1 time in total.


Krinym
True Believer
 
Posts: 206
Joined: 04 Nov 2013, 05:50

Re: [MOD] BasilMod::Pack

Post by Krinym » 14 Sep 2015, 18:47

pack.cs.dso а в этом файле ничего не надо менять? просто все равно не работает(
Image

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

Re: [MOD] BasilMod::Pack

Post by Custodian » 14 Sep 2015, 19:01

Krinym wrote:pack.cs.dso а в этом файле ничего не надо менять? просто все равно не работает(

Это скомпилированный файл, в нём ничего менять не надо. Если вы его редактировали, загрузите его заново.

Проверьте что у вас последняя версия, что мод располагается в папке /basilmod/pack/ и что в файле /basilmod/pack/config.cs обновлена версия.
После загрузки мод пишет в лог:
Code: Select all
BasilMod::Pack v2 loaded

В случае ошибки пишет
Code: Select all
BasilMod::Pack v2 is not compatible with this server version

и указывает версии.

Скорее всего вы допустили ошибку во время редактирования файла config.cs. Выполните команду exec("basilmod/pack/config.cs"); чтобы убедиться что в файле нет синтаксических ошибок.


Krinym
True Believer
 
Posts: 206
Joined: 04 Nov 2013, 05:50

Re: [MOD] BasilMod::Pack

Post by Krinym » 14 Sep 2015, 19:16

Все нашел проблему. кое что удалил не удачно)
Image


Egbert_von_Hallroda
Alpha Tester
 
Posts: 198
Joined: 26 Aug 2014, 16:05

Re: [MOD] BasilMod::Pack

Post by Egbert_von_Hallroda » 15 Sep 2015, 17:57

Guys, this is an international forum and this sub board is not marked as Russian, so would you please be so kind and keep it all in English, so we can read it as well ;-) Thanks!

User avatar
Azzerhoden
Alpha Tester
 
Posts: 1621
Joined: 08 May 2014, 17:44

Re: [MOD] BasilMod::Pack

Post by Azzerhoden » 15 Sep 2015, 22:33

Richard_Smith wrote:Guys, this is an international forum and this sub board is not marked as Russian, so would you please be so kind and keep it all in English, so we can read it as well ;-) Thanks!


Chrome asked if I wanted it to translate, and it seems to work. Issue didn't apply for me, but still worth reading. :)
| - Alpha Tester and Zealous Believer
Image

Kingdom of Hyperion founding Duchy - A practical RP Community est. 1999 - Apply Today!


Balax
 
Posts: 40
Joined: 30 Sep 2014, 11:03
Location: Norway

Re: [MOD] BasilMod::Pack

Post by Balax » 16 Sep 2015, 09:29

1. Issue didn't apply for you, but still you felt like commenting. Again.
2. Issue didn't apply for you, so you were unable to see his point of view and why he asked them to write in English.
3. Can you PLEASE do something with your signature? Most other people with signatures that takes half the page seem to have done so.

User avatar
Azzerhoden
Alpha Tester
 
Posts: 1621
Joined: 08 May 2014, 17:44

Re: [MOD] BasilMod::Pack

Post by Azzerhoden » 16 Sep 2015, 22:01

Balax wrote:1. Issue didn't apply for you, but still you felt like commenting. Again.
2. Issue didn't apply for you, so you were unable to see his point of view and why he asked them to write in English.
3. Can you PLEASE do something with your signature? Most other people with signatures that takes half the page seem to have done so.


I: Seeing the posts in a different language did apply to me, so I found a solution.
II: I shared the solution. That's one of the main reasons for participating in these forums.
III: My sig takes up one fourth of my screen. It meets the requirements of the forums in size and nature. I don't want to hide it behind a spoiler.
IV: At the risk of offending you again, I have a solution for you. See this post: http://lifeisfeudal.com/forum/how-to-hide-signatures-t14955/
V: If your general frustration is with the frequency of my posts or myself in general, I would encourage you to take it up with me on the server I run, or in the MMO when it is released.
| - Alpha Tester and Zealous Believer
Image

Kingdom of Hyperion founding Duchy - A practical RP Community est. 1999 - Apply Today!


Balax
 
Posts: 40
Joined: 30 Sep 2014, 11:03
Location: Norway

Re: [MOD] BasilMod::Pack

Post by Balax » 17 Sep 2015, 08:30

You what? Tempted to call you a clown. The only consequence of all this rubbish is that I just read the forums here less. Like most other people seem to do too. You will soon have this place all by yourself and can do what you want. And I know I won't be missed, it's just a bleeding forum. Your threats, however, tells me that you are seriously spending too much time in cyberworld for me to be able to communicate with you. So I will stop.

But thanks for the how-to.

User avatar
Ghost_swe79
True Believer
 
Posts: 41
Joined: 16 Apr 2015, 12:17
Location: Sweden

Re: [MOD] BasilMod::Pack

Post by Ghost_swe79 » 18 Sep 2015, 20:03

Is this still working after the latest patch?? installed everything today with Blufangs help but nothing happens. I log in like nothing have happend. pls some information would make me very happy =)

User avatar
Malkom
Beta Tester
 
Posts: 50
Joined: 30 Sep 2014, 11:08

Re: [MOD] BasilMod::Pack

Post by Malkom » 18 Sep 2015, 20:59

Ghost_swe79 wrote:Is this still working after the latest patch?? installed everything today with Blufangs help but nothing happens. I log in like nothing have happend. pls some information would make me very happy =)

Most likely you forgot to change the configuration file config.cs to the current version of the game.
Code: Select all
$BasilMod::cmVersionCompatible = "0.7.6.2";
Image

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

Re: [MOD] BasilMod::Pack

Post by Custodian » 18 Sep 2015, 21:00

Malkom wrote:
Ghost_swe79 wrote:Is this still working after the latest patch?? installed everything today with Blufangs help but nothing happens. I log in like nothing have happend. pls some information would make me very happy =)

Most likely you forgot to change the configuration file config.cs to the current version of the game.
Code: Select all
$BasilMod::cmVersionCompatible = "0.7.6.2";

Exactly. Read the description of server-side installation. You need to adjust version variable at config.cs.

User avatar
Ghost_swe79
True Believer
 
Posts: 41
Joined: 16 Apr 2015, 12:17
Location: Sweden

Re: [MOD] BasilMod::Pack

Post by Ghost_swe79 » 19 Sep 2015, 08:36

Thank u u where very right LOL sorry, heres one more stubbid question i guess :p

Now its all done, and the button appears. but it says not inplemented is that correct or wrong aswell? thank U

also I even tho the file is set to ^true^ I still can connect to the server without any warnings. what can be the misstake here?

Best regards

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

Re: [MOD] BasilMod::Pack

Post by Custodian » 19 Sep 2015, 10:53

Ghost_swe79 wrote:Now its all done, and the button appears. but it says not inplemented is that correct or wrong aswell?

Mod settings GUI is not released yet.

Ghost_swe79 wrote:also I even tho the file is set to ^true^ I still can connect to the server without any warnings. what can be the misstake here?

I'm not sure if I understand you correctly, but it seems like you installed server-side part of mod on your client.
Server will disconnect clients without mod, or show warning depending on the settings.
Client always can connect any servers (files revert will be done, if needed).

User avatar
Ghost_swe79
True Believer
 
Posts: 41
Joined: 16 Apr 2015, 12:17
Location: Sweden

Re: [MOD] BasilMod::Pack

Post by Ghost_swe79 » 19 Sep 2015, 16:20

Custodian wrote:
Ghost_swe79 wrote:Now its all done, and the button appears. but it says not inplemented is that correct or wrong aswell?

Mod settings GUI is not released yet.

Ghost_swe79 wrote:also I even tho the file is set to ^true^ I still can connect to the server without any warnings. what can be the misstake here?

I'm not sure if I understand you correctly, but it seems like you installed server-side part of mod on your client.
Server will disconnect clients without mod, or show warning depending on the settings.
Client always can connect any servers (files revert will be done, if needed).


here is how its setup on the server. but still if I clean my game I can connect to the server and get in, Its hard to explain but is just a fact that the server provider have done this wrong?, becuse the only thing I can see so far is the button on startpage thats it.

BasilMod::Pack
2015 Basil Semuonov

Basic configuration.
*/
$BasilMod::cmVersionCompatible = "0.7.6.2";
$BasilMod::pack::noModDisconnect = true;
$BasilMod::pack::noModMessage = "Visit basilmod-pack-t14651/ for more details!";

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

Re: [MOD] BasilMod::Pack

Post by Custodian » 19 Sep 2015, 17:29

Ghost_swe79 wrote:
here is how its setup on the server. but still if I clean my game I can connect to the server and get in, Its hard to explain but is just a fact that the server provider have done this wrong?, becuse the only thing I can see so far is the button on startpage thats it.

$BasilMod::cmVersionCompatible = "0.7.6.2";
$BasilMod::pack::noModDisconnect = true;
$BasilMod::pack::noModMessage = "Visit basilmod-pack-t14651/ for more details!";

Make sure, that you loaded server-side mod at main.cs or by exec command.
Check server logs, if mod is loaded, there is message:
Code: Select all
BasilMod::Pack v2 loaded

If mod cannot be loaded, there is message:
Code: Select all
BasilMod::Pack v2 is not compatible with this server version

Also, there could be syntax error in your files. Run exec("basilmod/pack/pack.cs"); command to load mod from server console.

User avatar
Ghost_swe79
True Believer
 
Posts: 41
Joined: 16 Apr 2015, 12:17
Location: Sweden

Re: [MOD] BasilMod::Pack

Post by Ghost_swe79 » 20 Sep 2015, 17:05

Here is the Info I get from the log and it seems right what i can see. and still I can connect even tho I dont have the mod on my computer to the server for some strange reason.

ECHO 2015-09-19 00:23:06.638 {00} <NOSCOPE> Engine initialized...
ECHO 2015-09-19 00:23:06.640 {02} <[BasilModPack]BasilMod::pack_content> Processing file data/skill_types.xml
ECHO 2015-09-19 00:55:14.276 {02} <[BasilModPack]BasilMod::pack_content> Processing file data/cm_objects.xml
ECHO 2015-09-19 00:55:17.309 {02} <[BasilModPack]BasilMod::pack_content> Processing file data/cm_equipTypes.xml
ECHO 2015-09-19 00:55:20.344 {03} <[BasilModPack]BasilMod::pack_content> Processing file BasilMod/_cache/basilmod/pack/favserver.cs
ECHO 2015-09-19 00:55:23.372 {04} <[BasilModPack]BasilMod::pack_processContent> All pending content processed.
ECHO 2015-09-19 00:55:23.373 {03} <[BasilModPack]BasilMod::pack_processContent> All pending content processed.
ECHO 2015-09-19 00:55:23.373 {00} <NOSCOPE> BasilMod::Pack v2 loaded

Return to Game mods