Commit Graph

225 Commits

Author SHA1 Message Date
Coder12a
c65bde260e Use: safe_file_write 2019-01-22 16:16:56 -06:00
Coder12a
3e63a1c657 Fix: door texture getting messed up 2019-01-22 16:13:48 -06:00
Coder12a
424ef678e7 Bug: doors had a error on open 2019-01-19 09:14:22 -06:00
Coder12a
fd6bf07064 Fix: chat cmd typo 2019-01-14 17:16:28 -06:00
Coder12a
cc50d94817 Combind diplomacy rank into one 2019-01-04 18:31:30 -06:00
Coder12a
421786121b Make: parcel positions more accurate 2018-12-27 01:22:46 -06:00
Coder12a
916060f34f If no diplomacy then make war by default 2018-12-27 01:16:11 -06:00
Coder12a
6c3d35c9b2 Combind some privs 2018-12-27 01:09:41 -06:00
Coder12a
269690d279 Fix: line 978 had a typo
new factions are neutral with everyone.
2018-12-26 21:26:27 -06:00
Coder12a
73b3fb300d Power-per-player bug fix.
It was not checking ips.
2018-11-02 13:37:51 -05:00
Coder12a
6765f66c6d Add bulk_save
Wait 5 seconds before saving. Just to take it easy on the harddisk. When the last player leaves it saves instantly.
2018-11-01 11:09:29 -05:00
Coder12a
c47102ca8a Update stats command. 2018-11-01 00:22:39 -05:00
Coder12a
186bcfd6ed Power hud display update 2018-10-31 23:55:42 -05:00
Coder12a
bc20ea080e Make the power command explain info better 2018-10-31 23:51:42 -05:00
Coder12a
4a037c538c Rename title to player_title 2018-10-31 23:25:13 -05:00
Coder12a
11b174f8e3 Bug fix.
Not a bad one but it needed to be fixed.
2018-10-31 16:55:53 -05:00
Coder12a
72e1475482 Set right power var 2018-10-31 16:17:24 -05:00
Coder12a
a419cd6c17 Major update 2 2018-10-31 16:15:08 -05:00
Coder12a
9dd577e699 Bug fix rankless.
Forgot to save.
2018-10-31 09:41:34 -05:00
Coder12a
3da45376c2 Safe fail. 2018-10-30 19:17:28 -05:00
Coder12a
235d91368f Add comments to config.lua 2018-10-30 18:44:44 -05:00
Coder12a
4a15fb3646 Add new cmd change_def_rank 2018-10-29 19:36:46 -05:00
Coder12a
e2f9cdb9f2 Add rankless 2018-10-29 19:16:39 -05:00
Coder12a
2d63b64cd3 Wait for the factions file to fully load. 2018-10-28 22:48:29 -05:00
Coder12a
79d38d4210 Store config data
Will help with the converter in the future.
2018-10-28 22:39:29 -05:00
Coder12a
bc54df4925 Fix data converter
I used a old factions version and created two teams with land claims and ranks. It converted fine. Make sure you pick the same parcel size as the old save file because if they are not they don't show up in the same spot or not at all.
2018-10-28 22:03:55 -05:00
Coder12a
c069828a28 Save current version 2018-10-28 00:06:44 -05:00
Coder12a
48e70baa50 Misc mod data
Made for auto converter.
2018-10-27 23:49:28 -05:00
Coder12a
d75c6a24ad Fix ip file not found. 2018-10-27 23:20:53 -05:00
Coder12a
f902419d25 Give is_admin purpose.
If a faction is set as an admin faction it will never be disbanded.
2018-10-27 23:14:52 -05:00
Coder12a
615c9464cc Delay for 5 seconds on all hud. 2018-10-27 22:37:49 -05:00
Coder12a
146df88de2 faction description bug fix.
The first words before a space was not displayed in the description.
2018-10-27 22:29:02 -05:00
Coder12a
6455736ad8 Free some admin commands.
Idea taken from sparky's server.
2018-10-27 22:19:59 -05:00
Coder12a
a9d8b58223 Make faction_user priv off by default 2018-10-27 20:57:15 -05:00
Coder12a
82a96ccea7 Delay creation of parcel hud.
For 5 seconds.
2018-10-27 20:20:01 -05:00
Coder12a
ee23ba96f8 Hud update. 2018-10-27 20:06:48 -05:00
Coder12a
ae678e83ef Add small delay for hud 2018-10-27 15:40:17 -05:00
Coder12a
a7c9d15282 Claim error message fix.
Used to say "Not enough power." for everything.
2018-10-27 14:11:13 -05:00
Coder12a
3bbf84896c Permission bug fix
If a player does not have a rank this function will crash the game.
2018-10-27 14:01:49 -05:00
Coder12a
f75a2ea008 Bug fix delrank
When you delete a rank like member the faction will still give new players that rank and cause errors because the rank is deleted.
2018-10-27 13:40:37 -05:00
Coder12a
e7fff79b78 Player leave bugfix. 2018-10-27 10:51:39 -05:00
Coder12a
33b9d59fa7 Chest bug fix. 2018-10-26 19:43:34 -05:00
Coder12a
80001c9a15 Faction chest bug fix
Faction chests can be dug up even tho they have stuff in them.
2018-10-26 18:42:10 -05:00
Coder12a
932645b5a0 Add set_message_of_the_day command 2018-10-25 00:21:42 -05:00
Coder12a
9f8db0615c New claim error message. 2018-10-22 23:03:11 -05:00
Coder12a
e2e868b802 Bug fix nag text. 2018-10-22 22:55:19 -05:00
Coder12a
338686bcbb Auto-convert old factions file.
And make diplomacy on by def.
2018-10-22 22:21:32 -05:00
Coder12a
2d89de5927 Disband bug fix.
Disband function was clearing out a shared player list.
2018-10-22 18:58:41 -05:00
Coder12a
76edf920fa Remove possible power exploit.
Players could join and leave a faction to regen power.
2018-10-22 16:22:22 -05:00
Coder12a
f5c050e240 Power system redo. 2018-10-22 14:34:12 -05:00