[MOD] BasilMod::TradeWindow

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

[MOD] BasilMod::TradeWindow

Post by Custodian » 29 Jul 2015, 12:12

This mod is obsolete.
Since patch 0.8.0.6+ LiF have official Barter Mechanics


Greetings, feudalists!

I would like to announce one of my mods I have developed for LiF:YO lately: TradeWindow Mod.

This mod allows you to trade between characters without droping stuff on the ground and waiting for the lock timeout.

Mod consists of 2 parts: client-side, and server-side.

Server-side part requires one-time configuration and GM interaction after every server restart.

This mod is part of BasilMods pack.

Screenshots of the trade.
Spoiler

Updated TradeWindow screenshots.
Spoiler


Client-side instructions.
Spoiler


Server-side instructions.
Spoiler


Known bugs
Spoiler
Last edited by Custodian on 30 Jul 2016, 14:27, edited 10 times in total.


Hoshiqua
Alpha Tester
 
Posts: 1057
Joined: 18 Jan 2014, 14:48

Re: [MOD] BasilMod::TradeWindow

Post by Hoshiqua » 29 Jul 2015, 16:29

This is incredible ! You should definitely make a modding guide, I have never seen such deep modification.

I hope the devs make a spotlight of you soon !


NavyS34l
 
Posts: 41
Joined: 15 Jun 2015, 16:12

Re: [MOD] BasilMod::TradeWindow

Post by NavyS34l » 29 Jul 2015, 21:44

This is fantastic! I will volunteer as it stands now. More than willing to help with finding those bugs.

Hoshiqua wrote:This is incredible ! You should definitely make a modding guide, I have never seen such deep modification.

I hope the devs make a spotlight of you soon !


Totally agree, spotlight!
Image

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

Re: [MOD] BasilMod::TradeWindow

Post by Custodian » 30 Jul 2015, 09:49

Thank you for the warm welcome words :D

Seems like you (testers and admins) do not mind about server and/or client side changes. I was not sure how people react to this.

Going to make a post about whole BasilMod Pack ;)
6 "deep" modifications, 2 prototypes, and 2 concepts and some other stuff :crazy:

As for TradeWindow, I'm still making some background bug checks for the trade deals, but you can test it from your client side right away. :Yahoo!:

You need atleast 2 people online to test deals :)
Please note, that this version does not apply weight checks on recieved goods, so if you trade too much, you will be unable to recieve them. This is last thing I'm testing right now before wide release.

Please find the link below:
https://www.dropbox.com/sh/hbklfd8gwad6 ... uNwUa?dl=0

Follow config.cs or help.txt instructions to enable and configure client side part.

You can join my test server:
address: thecust.net:28000
password: basil
gm password: basil

Please, be polite, and in gm mode do not destroy/remove large warehouse, crates and chests on the shore, as they are used for testing purposes.
Last edited by Custodian on 30 Jul 2015, 13:35, edited 1 time in total.

User avatar
Arrakis
 
Posts: 5453
Joined: 25 Oct 2013, 14:11
Location: Space

Re: [MOD] BasilMod::TradeWindow

Post by Arrakis » 30 Jul 2015, 13:12

Heya! This is awesome work there. Good job! :good: Although we are in the middle of developing the barter window ourselves, it is still great to see such creativity and contribution to the community. ;)

User avatar
Stormsblade
Alpha Tester
 
Posts: 420
Joined: 24 Sep 2014, 04:42

Re: [MOD] BasilMod::TradeWindow

Post by Stormsblade » 30 Jul 2015, 13:27

Very cool sir.
A great contribution.


NavyS34l
 
Posts: 41
Joined: 15 Jun 2015, 16:12

Re: [MOD] BasilMod::TradeWindow

Post by NavyS34l » 30 Jul 2015, 20:20

Ill be loading this on my server tonight and will provide feedback. Is there any place you want bugs sent to or posted?

Thanks again for your awesome work!
Image

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

Re: [MOD] BasilMod::TradeWindow

Post by Custodian » 30 Jul 2015, 20:47

NavyS34l wrote:Ill be loading this on my server tonight and will provide feedback. Is there any place you want bugs sent to or posted?

This is only client side, and it can be used on my test server only. I'll package server side as soon as weight checks are completed, so you will be able to run it on your server.

You can post feedback here.

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

Re: [MOD] BasilMod::TradeWindow

Post by Custodian » 31 Jul 2015, 19:31

Weight checks tests finished, dropbox files update. Volunteers welcomed on my test server to test it. 8-)
Writing server-side docs and installation manual.

User avatar
DarkKnyte
 
Posts: 17
Joined: 27 Jul 2015, 01:34

Re: [MOD] BasilMod::TradeWindow

Post by DarkKnyte » 02 Aug 2015, 16:03

Arrakis09 wrote:Heya! This is awesome work there. Good job! :good: Although we are in the middle of developing the barter window ourselves, it is still great to see such creativity and contribution to the community. ;)


Good work indeed Custodian.

Humbly, I suggest that if a lone modder is developing and releasing it before you, you are taking too long to develop an important feature.

To name a few:

Trade windows
Working trade system (aka AH)
Shared ownership
Aquatic livestock?!
GM Tools
Server management
Image

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

Re: [MOD] BasilMod::TradeWindow

Post by Custodian » 03 Aug 2015, 11:32

Updated head post with server-side part of mod and setup instructions. :Yahoo!:

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

Re: [MOD] BasilMod::TradeWindow

Post by Custodian » 04 Aug 2015, 23:01

Patch 0.6.1.3 broke some GUI bits. :cry:
You will be unable to accept trade request from other players.

Client-side of TradeWindow has been updated. Redownload all client-side mod files, or just TradeWindow.cs.dso file to get it working again. :good:

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

Re: [MOD] BasilMod::TradeWindow

Post by Malkom » 09 Aug 2015, 12:52

Возникли проблемы с поиском игроков. Сообщение висит, а игроки не находяться. Как это решить?
Image

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

Re: [MOD] BasilMod::TradeWindow

Post by Custodian » 09 Aug 2015, 17:53

Malkom wrote:Возникли проблемы с поиском игроков. Сообщение висит, а игроки не находяться. Как это решить?

На сервере не установлена или не загружена серверная часть мода.

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

Re: [MOD] BasilMod::TradeWindow

Post by Azzerhoden » 09 Aug 2015, 19:49

As of Aug 9, 2015, when I follow the client side instructions, I get the following error:

GuiControl:onAdd() unable to find specified profile and GuiDefaultProfile does not exist.

I had just downloaded all 4 files from dropbox as a zip file
| - Alpha Tester and Zealous Believer
Image

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

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

Re: [MOD] BasilMod::TradeWindow

Post by Custodian » 09 Aug 2015, 20:07

Azzerhoden wrote:GuiControl:onAdd() unable to find specified profile and GuiDefaultProfile does not exist.

What do you do when this happens? running "exec" command? It should specify line/extra info near the message.
Screenshot of console will help a lot.

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

Re: [MOD] BasilMod::TradeWindow

Post by Custodian » 09 Aug 2015, 22:13

Client side update.
Icons added for the items.

Spoiler

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

Re: [MOD] BasilMod::TradeWindow

Post by Azzerhoden » 10 Aug 2015, 15:55

Custodian wrote:
Azzerhoden wrote:GuiControl:onAdd() unable to find specified profile and GuiDefaultProfile does not exist.

What do you do when this happens? running "exec" command? It should specify line/extra info near the message.
Screenshot of console will help a lot.


This happens with the exec command in the main.cs file. I put it right after the other exec command. After hitting 'ok' the error window closes. The LIF client does not start. If I comment the line out everything starts just fine.

Running the exec command in the console appears to work. A trade window does appear in the client after hitting the 'y' key.
| - Alpha Tester and Zealous Believer
Image

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

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

Re: [MOD] BasilMod::TradeWindow

Post by Custodian » 10 Aug 2015, 16:05

Azzerhoden wrote:This happens with the exec command in the main.cs file. I put it right after the other exec command.

Please share your main.cs file.

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

Re: [MOD] BasilMod::TradeWindow

Post by Azzerhoden » 11 Aug 2015, 00:26

Custodian wrote:
Azzerhoden wrote:This happens with the exec command in the main.cs file. I put it right after the other exec command.

Please share your main.cs file.

No need, I figured it out. Your instructions said to put it at the end of the file, so naturally I put it at the top....... :shock:

For those who suffer the same *issue* that I did, it goes here
Code: Select all
else
{
   exec("scripts/root.cs");
   exec("BasilMod/tradewindow/tradewindow.cs");
}


On a different note, the player search never seems to find the other player on the server (a second account of mine, on a different steam account).
| - Alpha Tester and Zealous Believer
Image

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


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

Re: [MOD] BasilMod::TradeWindow

Post by Alakar » 11 Aug 2015, 01:49

Azzerhoden wrote:
Custodian wrote:
Azzerhoden wrote:This happens with the exec command in the main.cs file. I put it right after the other exec command.

Please share your main.cs file.

No need, I figured it out. Your instructions said to put it at the end of the file, so naturally I put it at the top....... :shock:

For those who suffer the same *issue* that I did, it goes here
Code: Select all
else
{
   exec("scripts/root.cs");
   exec("BasilMod/tradewindow/tradewindow.cs");
}


On a different note, the player search never seems to find the other player on the server (a second account of mine, on a different steam account).


I believe the latest server version fixes this.

-Alakar
http://arkhaya.com/

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

Re: [MOD] BasilMod::TradeWindow

Post by Custodian » 12 Aug 2015, 11:55

Client-side part of mod updated.
Re-download tradewindow.cs.dso file.
Fixed bug, when player was unable to recieve traded item(s). Only new version with item icons was affected.

Azzerhoden wrote:For those who suffer the same *issue* that I did, it goes here

That is also not the end of the file. At the end of the file it will look like this
Code: Select all
else
{
   exec("scripts/root.cs");
}

exec("BasilMod/tradewindow/tradewindow.cs");

I know, that in that particular case it does not matter, but instruction is instruction. Follow it to get things working as expected.

Azzerhoden wrote:On a different note, the player search never seems to find the other player on the server (a second account of mine, on a different steam account).

If players window shows you "Searching for players..." all the time, this means, that server-side mod is not installed/enabled on the server where you play.

If players window shows you "No players found." message, then there are two possible causes:
  • Your second character has been just created and logined in, "$BasilMod::tradewindow::interval" seconds have not yet passed, so script is unaware of new characted. Wait a bit, and character will be available for trade operations.
  • Distance between your characters is longer than "$BasilMod::tradewindow::maxdistance" meters. Alter your config.cs or step closer to another character for trading.

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

Re: [MOD] BasilMod::TradeWindow

Post by Custodian » 06 Oct 2015, 17:23

This mod is obsolete after patch 0.8.0.6+
LiF have official Barter Mechanics
:beer: :friends:

User avatar
Khan-
Zealous Believer
 
Posts: 1261
Joined: 18 Apr 2015, 15:12
Location: France

Re: [MOD] BasilMod::TradeWindow

Post by Khan- » 06 Oct 2015, 18:17

thanks basil ! I hope they'll implement more of your work !
100% French speaking alliance of Royaume Franc : http://lifeisfeudal-fr.com/
Image
Les Témoins de Mérovée Site - Forum - Me contacter

Return to Game mods

cron