[Mod] factions [factions]

Post Reply
Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

[Mod] factions [factions]

by Coder12 » Post

This mod is a fork of agrecascino factions mod

I removed the feature list for now because its outdated, and the mod is undergoing many changes.

License: MIT
Mod dependencies: none
Optional dependencies: none
Download
Attachments
factions.zip
(29.28 KiB) Downloaded 92 times
Last edited by Coder12 on Mon Sep 06, 2021 00:00, edited 14 times in total.

Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

Re: [Mod]Factions [factions]

by Coder12 » Post

We have /f showparcel command and 2d or 3d parcel style protection.
Spoiler
Image
Attachments
screenshot_20181017_232626.png
screenshot_20181017_232626.png (784.93 KiB) Viewed 1937 times

User avatar
sparky
Member
Posts: 154
Joined: Sun Oct 05, 2014 00:54
GitHub: Elkien3
IRC: ircSparky
In-game: sparky
Location: USA
Contact:

Re: [Mod]Factions [factions]

by sparky » Post

If this is usable and balanced enough I would love to run this on my factions server instead of my fork, especially if you maintain it. (unlike mine lol)
Would you be interesting in doing that?

Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

Re: [Mod]Factions [factions]

by Coder12 » Post

sparky wrote:If this is usable and balanced enough I would love to run this on my factions server instead of my fork, especially if you maintain it. (unlike mine lol)
Would you be interesting in doing that?
Hi sparky. Yes you can run this mod. I am maintaining this fork and adding new features,bug fixes. On the usable and balanced, Its pretty usable in its current state and I did balanced the power system with power per player. There is a problem with the mod being a fork because I don't have my own issues page so I will change it from being a fork to a standalone mod sometime in the future.
I am not sure if I can mod directly for a server I have a lot on my plate (Three more mods in the work and busy irl).

Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

Re: [Mod]Factions [factions]

by Coder12 » Post

I heard that the old factions mod was kicking ppl off there teams. I think that has something to do with faction's disbanding. And I may need to make a load file converter because I am not sure if the this mod will break compatibility.
Update the disband faction function was clearing out a shared player list I fixed that. I also added a auto factions file converter(checks if the file is old and if it is it gets converted). So I think this mod is server ready(back-up the world data just in case the converter messes it up).

User avatar
sparky
Member
Posts: 154
Joined: Sun Oct 05, 2014 00:54
GitHub: Elkien3
IRC: ircSparky
In-game: sparky
Location: USA
Contact:

Re: [Mod]Factions [factions]

by sparky » Post

I added it to my factions server for now, parcels dont appear on the bottom corner. all I've done so far is remove the faction_user requirement.

Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

Re: [Mod]Factions [factions]

by Coder12 » Post

sparky wrote:I added it to my factions server for now, parcels dont appear on the bottom corner. all I've done so far is remove the faction_user requirement.
I have no idea on that one. I don't remember touching the hud code. Does it happen to anyone else?.
EDIT: You know the mod was supposed to auto grant new players the faction_user priv. I will make the priv turned off by default.
Last edited by Coder12 on Sun Oct 28, 2018 01:34, edited 2 times in total.

LorenzoVulcan
Member
Posts: 447
Joined: Mon Mar 12, 2012 06:46
GitHub: aegroto

Re: [Mod]Factions [factions]

by LorenzoVulcan » Post

Most players got kicked out of their factions in sparky's server after porting to this mod. May this be related to the factions' data file being managed in a different way or is it a bug which randomly appears?

Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

Re: [Mod]Factions [factions]

by Coder12 » Post

LorenzoVulcan wrote:Most players got kicked out of their factions in sparky's server after porting to this mod. May this be related to the factions' data file being managed in a different way or is it a bug which randomly appears?
Hi LorenzoVulcan. Yeah its a bug. When a player leaves your team it get disbanned. I tested it out on sparky's server I had a player join my team and then leave and my team get disbanned.
sparky wrote:I added it to my factions server for now, parcels dont appear on the bottom corner. all I've done so far is remove the faction_user requirement.
I played on your server and the hud shows up alright.
Spoiler
Image
I don't know if lag prevented the hud from showing up. So I delayed the creation of the parcel hud to five second just to make sure the player is fully connected.
EDIT: Alright faction_user priv requirement is turned off by default now. I fixed the teams getting disbanned and hopefully the hud too and also I fixed something with deleting ranks(you can look through the Commits to see what it was.). You can download the new version it should work out of the box hopefully this time.
Attachments
screenshot_20181027_200309.png
screenshot_20181027_200309.png (433.89 KiB) Viewed 1937 times

Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

Re: [Mod]Factions [factions]

by Coder12 » Post

Alright this mod is no longer a fork. I deleted the repo and recreated it with all the history and commits still intact. It turned out to be easy to break mods off from being a fork.

Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

Re: [Mod]Factions [factions]

by Coder12 » Post

This mod needs a proper database library because the current methods used will not be good in the long run.

User avatar
niwla23
Member
Posts: 118
Joined: Sat Nov 17, 2018 17:40
In-game: Niwla

Re: [Mod] factions [factions]

by niwla23 » Post

please add /f deny: A player cant walk onto the factions area

Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

Re: [Mod] factions [factions]

by Coder12 » Post

niwla23 wrote:please add /f deny: A player cant walk onto the factions area
You mean like teleport a non-faction player off a claim with /f deny?

User avatar
niwla23
Member
Posts: 118
Joined: Sat Nov 17, 2018 17:40
In-game: Niwla

Re: [Mod] factions [factions]

by niwla23 » Post

yep and when he enters it he get teleported back

Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

Re: [Mod] factions [factions]

by Coder12 » Post

niwla23 wrote:yep and when he enters it he get teleported back
sure I will make a to-do list and put it on there.

Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

Re: [Mod] factions [factions]

by Coder12 » Post

This mod is now under the MIT License.

User avatar
Diamond knight
Member
Posts: 475
Joined: Sun Apr 19, 2015 19:50
GitHub: Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:

Re: [Mod] factions [factions]

by Diamond knight » Post

/f deny sounds a bit cheaty for a pvp factions server imo

Coder12
Member
Posts: 162
Joined: Sat Sep 30, 2017 00:15

Re: [Mod] factions [factions]

by Coder12 » Post

Diamond knight wrote:/f deny sounds a bit cheaty for a pvp factions server imo
You got a point there.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests