Commit graph

42 commits

Author SHA1 Message Date
CodeMunkey
131e9414fd Store rank/title in set by field to save future lookup issues 2019-08-23 09:43:52 -05:00
CodeMunkey
163261fe47 Fix SmartArray pack, CreateQuery, and Alleg MOTD 2019-08-22 16:23:12 -05:00
Code Munkey
c86c4fa0df Linux support 2019-07-07 20:56:15 +00:00
Morosity
52f0ecfd6e 131 message cleanup 2019-05-28 14:44:51 +00:00
Michael Rath
c82ef1e2e6 message cleanup 2019-05-12 09:21:34 -07:00
Michael Rath
2477b08592 Players cannot swear to chars on same account.
Players sworn to players on same account will be unsworn.
2019-02-02 10:41:43 -08:00
CodeMunkey
576537495c Fix loading allegiance data 2019-01-15 14:11:21 -06:00
LikeableLime
38caab7b8c Fix for crash in allegiance boot. 2018-12-19 23:15:54 -06:00
CodeMunkey
11633d03b7 Merge TestServer 2018-10-02 09:36:57 -05:00
Michael Rath
8fc9309709 Enabling Allegiance Lock 2018-09-25 12:54:26 -07:00
Morosity
52777a7410 Merge branch 'GroupChat' into 'TestServer'
Group chat

See merge request Scribble/gdlenhanced!211
2018-09-07 03:52:11 +00:00
Morosity
140bd44acb Merge branch 'SetPassupBoolFix' into 'TestServer'
Allegiance xp passup bool now set to true when appropriate

See merge request Scribble/gdlenhanced!208
2018-09-07 03:51:18 +00:00
CodeMunkey
708ca3d6a0 Rest of the GroupChat messages 2018-09-06 22:40:43 -05:00
scruples
e8a1053744 Changed allegiance handle passup slightly so that the passup bool is set to true if the patron outlevels a vassal who had sworn when they were higher level than the patron. Corrected the linker path for mysql in full debug. 2018-09-01 14:30:40 +01:00
scruples
85b1db83f2 Merge branch 'TestServer' of https://gitlab.com/scruples/gdlenhanced into AllegianceMessaging2 2018-09-01 12:24:36 +01:00
Michael Rath
8cd6f81cae Removing unneeded bool update 2018-08-31 19:47:12 -07:00
Administrator
6d51b1a2f0 More passup fixes; fixes /allegdump crash when IDing monarch; alleg node updated to player level when leveling and upon login 2018-08-30 19:47:42 -05:00
scruples
ac7a9afbf9 Merge branch 'TestServer' of https://gitlab.com/scruples/gdlenhanced into AllegianceMessaging2 2018-08-31 01:23:48 +01:00
Michael Rath
17992547fd Remove bool from vassal only upon break.
Passup works again if patron outlevels vassal
2018-08-29 15:19:04 -07:00
Michael Rath
1ecdcfba75 Remove Alleg bool upon breaking allegiance to start clean on new patron 2018-08-28 10:28:53 -07:00
CodeMunkey
c854e42741 Sanitize min/max usage 2018-08-27 15:47:05 -05:00
scruples
f78cb93c8a Added logic for patron becoming the same or higher level than a vassal who was initially flagged to not passup XP. Uses a temporary load from DB if the patron isn't online. 2018-08-20 19:38:31 +01:00
scruples
fd43537aab Added logic to use the EXISTED_BEFORE_ALLEGIANCE_XP_CHANGES_BOOL for allowing/denying XP passup. 2018-08-20 13:00:37 +01:00
scruples
ef022b8bd5 Merge branch 'TestServer' into AllegianceMessaging2 2018-08-15 19:29:37 +01:00
Michael Rath
39eba0ec6f Allow swearing to lower level
No xp passup to lower level patron
2018-08-14 18:35:57 -07:00
scruples
73fbc155e5 Changed officer list, ban list, chat gag list, officer title list and MOTD to be stored in the allegiance blob but not sent to the client with an allegiance update. Added a temporary config option that will update all existing allegiances to use the new lists - should only need to be run once. Added allegiance rank strings for each of the race/gender combinations and added them to the relevant weenie string. Added allegiance name string to the recursive allegiance notify function and added calls to it whenever the allegiance name is set or cleared. Added (primitive) chat boot functionality - it currently sets the player's allegiance chat option to off. 2018-08-14 19:46:16 +01:00
scruples
9e00dc38ad Added several new variables to AllegianceProfile that only pack to save to the DB (i.e. don't get sent as part of an allegiance update). Removed the officer titles initialisation from the AllegianceHierarchy constructor which seemed to be causing crashes. Added more code toward allegiance chat gags and kicks. Changed the necessary AllegianceManager code over to using the new variables added to AllegianceProfile. 2018-08-12 01:10:53 +01:00
Michael Rath
ae7084268b Reverted and commented out new Allegiance command and structure until more testing can be done 2018-08-11 15:27:55 -07:00
scruples
6520a239d6 Allegiance functionality fixes/updates: Changed allegiance update message to use client instead of player which could cause a crash on login. Added the officer title list and ban list to the Pack and UnPack of Allegiance Profile. Added a global function in Util for checking if the characters in a string are valid. Changed IsOfficer and IsOfficerWithLevel to include the monarch. Added several additional checks for null values in various other AllegianceManager functions. 2018-08-07 17:23:52 +01:00
LikeableLime
7aac9cb1db Fixes to Allegiance command conditionals. 2018-08-06 08:56:25 -05:00
LikeableLime
dc89db955f Added check to ensure players cannot swear to themselves. 2018-08-06 01:40:33 -05:00
scruples
738db3267c Removed M prefix from filenames. Moved code for Allegiance Hometown Recall in to Allegiance Manager. Added checks for a locked allegiance/approved vassal to the TrySwearAllegiance function. 2018-07-30 10:08:39 +01:00
scruples
c726b65af0 Added basic messaging folder/filter structure. Added functionality to the Allegiance Manager to support many of the allegiance commands. Changed those messages in Client Events that relate to the newly implemented allegiance commands. ChatBoot, ChatGag, HouseAction aren't yet implemented. 2018-07-28 15:21:38 +01:00
Michael Rath
91ee00e241 Finalizing 1.19 rebuild 2018-07-12 14:41:21 -07:00
Simon Jarrett
9ea163be50 changed all pointers to CPhysicsObj to shared pointers (and thus all weenies, etc.) 2018-05-23 13:45:22 +01:00
Simon Jarrett
8829a1617e Vassals will now see the correct amount being passed up, taking into account the patron's receivedPercent. 2018-05-11 02:18:56 +01:00
Simon Jarrett
7ba7967571 The passup display is capped at uint32_max to prevent overflow. 2018-05-11 02:18:12 +01:00
mwnciau
7ff4f4cee0 Capped allegiance xp to 4294967295l 2018-05-10 21:18:00 +00:00
Michael Rath
7452f3407e Logging for exceptions around arrays and iterators 2018-04-30 22:39:01 -07:00
fourk
15fc5919d3 Fix allegiance passup xp 2018-04-25 11:01:03 +00:00
Peanuts420
b19ac21219 - Fixed allegiance xp passup above vassal->patron. 2018-03-29 21:40:02 -04:00
Peanuts420
da80d1ab2a Initial Commit 2018-03-29 17:01:57 -04:00