Commit Graph
97 Commits
Author SHA1 Message Date
Skyler Lehan 12038023c7 Fixed remaining issues in the PR for NGE-111 2016-07-05 18:07:14 -04:00
Skyler Lehan 223505257d Fixed issues in PR #229
groupMakeMasterLooter.js/groupUninvite.js
- Fixed issues with unnecessary spaces

GroupObject
- fixed unnecessary line breaks
- refactored loot rule from an int into an enum
- fixed sub int spacing
- fixed name on getLeaderId

GroupService
- fixed ScheduledExecutorService so that there is only one, and it spawns threads and puts the Future in the map of CreatureObject to Future
- changed types for logoffTimers to a map
- commented out the loot stuff for now
- refactored a good chunk of handleInvite to another method
2016-06-19 20:06:51 -04:00
Skyler Lehan cfe88e0032 Merge branch 'quality_assurance' of bitbucket.org:projectswg/holocore into groups
# Conflicts:
#	src/resources/objects/group/GroupObject.java
2016-06-06 19:25:02 -04:00
Skyler Lehan 1a58d05ca7 Attempted to implement uninvitation, as sending null inviter data does not close the invitation dialog 2016-05-30 21:29:16 -04:00
Skyler Lehan 124bb68220 Added handling for looting and loot master setting, however the makeMasterLooter command is not being seen by holocore 2016-05-30 19:54:48 -04:00
Skyler Lehan d417b446d6 Added the declination messages sent to each character and handled the decline 2016-05-30 17:52:05 -04:00
Obique PSWG c788f58525 Fixed equipment transfer code 2016-05-30 15:03:37 -05:00
Skyler Lehan ef8ab0f4c6 Merge branch 'quality_assurance' of bitbucket.org:slehan/holocore into groups 2016-05-24 15:50:15 -04:00
Skyler Lehan 141b9e651d Implemented group kicking as well
cmdDismissGroupMember
- command hook to send the kick event

GroupEventIntent
- added the GROUP_KICK intent

GroupServices
- fixed the brace on handleMakeLeader
- added handleKick
2016-05-24 14:57:22 -04:00
Skyler Lehan 311cb5b693 Leadership changes for NGE-111
groupMakerLeader.js
- serves as the command hook for the make leader command

GroupService.java
- now handles the GROUP_MAKE_LEADER intent
- added handleMakeLeader to take care of switching the leader to another character
- refactored sending invites out to sendInvite, one that allows the passage of the current groupID, and one that sets it to -1 for group creation
- handleGroupLeave also filled in
2016-05-19 12:59:59 -04:00
Skyler Lehan 45942bbf9e Fixed logic for disband and leave group commands. 2016-05-18 18:22:45 -04:00
Skyler Lehan 17b4ac76b5 Hopefully fixed the tabs 2016-05-18 18:19:08 -04:00
Skyler Lehan d8db483fd4 Started on groups NGE-111
GroupEventIntent
- Added the GROUP_LEAVE event to the GroupEventType enum to flag for the leaveGroup command

GameManager
- reenabled the GroupService

GroupService
- added a check for the GROUP_LEAVE event type
- created the method handleGroupLeave which will process a player leaving a group and disband if necessary, currently just stubbed
2016-05-18 17:57:25 -04:00
Mads Boddum 63ba8b59ec Added support for equipping/unequipping weapons 2016-05-18 13:23:38 +02:00
Mads Boddum 7995258231 Added a 1025 character limit for biographies 2016-05-15 15:23:50 +02:00
Mads Boddum 472d8a460d Fixed an issue where the biography wouldn't be saved once set 2016-05-15 14:25:18 +02:00
Mads Boddum 2125f07b1e Added biography request responses and setting biography 2016-05-15 11:51:54 +02:00
Mads Boddum 64f18f7f06 Fixed issues where any in-game object could be picked up and being able to exceed container volume limits 2016-04-22 21:57:35 +02:00
Mads Boddum 14aed8ce8f Implemented dancing fully 2016-04-03 02:05:58 +02:00
Mads Boddum 74a158a882 Armour can now be equipped 2016-02-22 20:15:58 +01:00
Obique PSWG e98c35a63c Fixed equip/unequip bug 2016-01-18 01:24:46 -06:00
Undercova PSWG 906ecac9bf Fixed /pvp command so it doesnt enable/disable god mode anymore 2016-01-07 21:27:26 +00:00
Mads Boddum d8afee0c35 Merge branch 'quality_assurance' of https://bitbucket.org/projectswg/holocore into CORE-137-travel
Conflicts:
	src/resources/objects/SWGObject.java
	src/resources/objects/creature/CreatureObject.java
	src/utilities/IntentFactory.java
2015-10-25 08:14:34 +01:00
Waverunner 1d4516b68c Merge branch 'groups_wip' into quality_assurance 2015-10-13 09:36:55 -04:00
Waverunner 4c1b895298 Added core grouping system for CORE-111 - Groups are now implemented 2015-10-13 09:35:18 -04:00
Mads Boddum f5d8eeaa70 Fixed an issue which prevented galaxy-wide system messages from being broadcasted 2015-10-09 18:57:47 +02:00
Mads Boddum 478d374548 Refactored the broadcast command scripts to use the IntentFactory 2015-10-08 22:27:38 +02:00
Mads Boddum 62c518e45c Renamed galManager in transferItemMisc to galacticManager for overall consistency 2015-10-08 13:55:16 +02:00
Mads Boddum 764a3814ab Fixed an incorrect function name in transferItemMisc 2015-10-08 13:54:00 +02:00
Mads Boddum 26da373c54 Fixed incorrect function declaration in purchaseTicket.js 2015-10-08 13:42:44 +02:00
Mads Boddum 1d8dcb94e6 Merged quality_assurance into CORE-137-travel 2015-10-08 08:55:29 +02:00
Mads Boddum 9fa2f61235 Renamed the function in purchaseTicket to executeCommand 2015-10-07 21:51:45 +02:00
Waverunner b49b544af2 Added in basic ability to join groups 2015-10-05 17:39:02 -04:00
Waverunner 00fc0d8737 Renamed command scripts function "execute" to "executeCommand" and changed declaration to no longer be assigned as a variable for simplicity 2015-10-04 17:40:40 -04:00
Mads Boddum 72d73ef4e7 Merged quality_assurance into CORE-137-travel 2015-09-29 11:37:34 +02:00
Z61 3c1ec6aa65 Merged projectswg/holocore into quality_assurance 2015-09-27 16:07:23 -04:00
Mads Boddum bc51d1def7 Merged quality_assurance into CORE-137-travel 2015-09-27 17:27:28 +02:00
Obique PSWG 4bb1b0965a Merged in M4SS/holocore/CORE-245-safety-deposit (pull request #72)
CORE-245 safety deposit
2015-09-27 07:13:22 -05:00
Mads Boddum 30202efd14 Fixed an issue where certain moods and chat types would alter the chat message 2015-09-27 13:21:11 +02:00
Mads Boddum 6dd8af0627 Misc items can now be moved into containers 2015-09-27 11:56:44 +02:00
Zach 0553b519ab fixed bracket for conventions. 2015-09-25 21:11:03 -04:00
Mads Boddum 28bc58a055 Created a TicketPurchaseIntent which is broadcasted upon purchasing a ticket 2015-09-26 02:00:30 +02:00
Zach 1b35b06dc3 Fixed a bug with a call. 2015-09-21 13:18:32 -04:00
Zach aeff2be744 pors /pvp command to JavaScript. 2015-09-21 00:24:31 -04:00
Obique PSWG e2bf51fdde Added "all_cells" command to dumpZoneInformation 2015-08-20 23:07:11 -05:00
Waverunner 2cefe67d9a Added ignore list including the "ignore" functionality for mails, chat messages, instant messages, and spatial chat 2015-08-18 23:13:57 -04:00
wallaceg09 086e6535b0 Basic admin system. This should automatically prevent most admin commands from being called by players that shouldn't be calling them, and even supports multiple levels of admins.
There are some outlier commands that don't follow the assumed convention of "admin" ability + godLevel, for example /setGodMode does not require the "admin" ability, but neither does it have a godLevel. So without manually checking in that instance, any player could  grant themselves god mode and have access to low level admin commands.

In order for admins to gain access to most of their commands, they must call the /setGodMode command. This command gives them the "admin" ability, and this ability works in tandem with their godLevel (which is determined by their access level).

Adds a minor implementation for abilities to enable the admin system to work. This implementation should come in handy in GU3 when we start on combat, since it will automatically prevent players from calling combat commands that they do not have the ability to call.
2015-08-15 18:23:13 -05:00
Obique PSWG 58f5e5adb3 Merged in Undercova/added-command-to-show-current-position-i-1439567847541 (pull request #58)
Added command to show current position in world, buildings and cells
2015-08-14 10:58:41 -05:00
Undercova PSWG e0b0eaab9a Added command to show current position in world, buildings and cells 2015-08-14 15:57:29 +00:00
Obique PSWG fa0fa385d9 Added in /tip command for admins to give credits to self for testing 2015-08-09 14:44:18 -05:00