Commit Graph

126 Commits

Author SHA1 Message Date
Coder12a 464d68e6d9 Fix: factions crashes on tick 2019-02-05 14:46:55 -06:00
Coder12a 4e21583536 Fix: name missing from broadcast 2019-01-26 11:03:09 -06:00
Coder12a 87a31a1abb Use: colddb 2019-01-26 00:21:05 -06:00
Coder12a c65bde260e Use: safe_file_write 2019-01-22 16:16:56 -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 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 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 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 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 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 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 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 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 d481a8fa7a Bug fix. 2018-10-22 14:30:11 -05:00
Coder12a 9131bb4b22 Remove all banner code. 2018-10-18 00:36:28 -05:00
Coder12a 5e3de4e0af Grammer fix. 2018-10-18 00:32:26 -05:00
Coder12a 01e16d70e3 Add diplomacy inbox nag message. 2018-10-18 00:20:05 -05:00
Coder12a eb6907d405 Change peace to neutral. 2018-10-18 00:15:26 -05:00
Coder12a eedb441e9b Remove un-used code line. 2018-10-17 23:20:30 -05:00
Coder12a ed9c0c53ac No_parcel bug fix. 2018-10-17 21:55:06 -05:00
Coder12a 67494969a3 Better args for protection style. 2018-10-17 21:40:00 -05:00
Coder12a 279d51037b Use onlineplayers table instead. 2018-10-17 21:36:07 -05:00
Coder12a 8d8346939e No-parcel nag message. 2018-10-17 21:31:07 -05:00
Coder12a 663ad93e81 Code clean up and bug fix. 2018-10-17 21:04:46 -05:00
Coder12a b52f1c6760 Move players to offline onload. 2018-10-17 11:47:53 -05:00
Coder12a 3bf0f99aa4 Remove save func from player j/l. 2018-10-17 11:31:24 -05:00