Commit Graph
105 Commits
Author SHA1 Message Date
Treeku 74af0d5244 Forgot safety check 2014-04-08 05:09:18 +01:00
Treeku 9a18eb1eaa Few command improvements 2014-04-08 05:06:03 +01:00
Light2 ff8c22df7b command class cast fix 2014-04-07 20:44:20 +02:00
Light2 ac39628b29 fixed command crash 2014-04-07 19:57:21 +02:00
Treeku 3928d58448 cmdSvc now accounts for different cmdTable struct 2014-04-07 18:43:31 +01:00
Treeku 5dbabe6982 CommandSvc reads all command tables (in priority) 2014-04-07 16:42:19 +01:00
Seefo f3e2498e62 Fixed some errors in the Command Service 2014-04-07 10:32:25 -04:00
Ziggeh f221f02b59 Commands - Fixed minor variable naming error 2014-04-07 10:33:12 +02:00
Treeku d7b51621a1 Commands check LOS & distance if correct type 2014-04-07 07:19:31 +01:00
Treeku 577bbdb23b More command service improvements 2014-04-07 06:41:32 +01:00
Treeku 3eeb1bb7d5 Fixed unreachable code 2014-04-07 06:06:39 +01:00
Treeku 7008b1fd9e Few command improvements 2014-04-07 05:54:20 +01:00
Treeku 44c4d8632c Fixed issue with returning combat commands 2014-04-07 05:22:44 +01:00
Treeku 0bc71493ee Fixed a few more things 2014-04-07 04:27:42 +01:00
Treeku 7558d65f3a Fixed a few things 2014-04-07 04:21:32 +01:00
Treeku 2fcc4dd24b Cooldowns only added if they are more than a 1 sec
It's probably not worth it otherwise.
2014-04-07 04:15:53 +01:00
Treeku 580daaa8eb Fixed null errors 2014-04-07 04:02:52 +01:00
Treeku 6e137ab561 Commands can have custom cooldowns again 2014-04-06 23:07:30 +01:00
Treeku 863176353d Forgot something 2014-04-06 22:44:26 +01:00
Treeku 86e72f29f8 Commands refactor part 2. Read more...
- Commands no longer need to be registered.
- No need for alias registration.  Use core.callScript.callCommand() in the duplicate script.
- No need for GM cmd registration.  There is a column called godLevel for this.
- Command ranges were not checked, allowing buggy issues like buffs being applied from 2000m away!
- Buffs will be auto applied now to target or self without needing to be scripted.
- Target types and command types are in the table (whether the cmd should be used on you, ally target, enemy target or group) as described here https://github.com/ProjectSWGCore/NGECore2/issues/370 <-- This is going to save us months of wasteful scripting and combat bugs
- Invalid weapons are now checked
- Cooldowns now check for cooldown group rather than commandName
- HitType no longer needs to determine attack range; this info is in the commands table
- Locomotion is partially checked and states fully checked
- Command table breaks when it's found the command for efficiency

In general, we were hardly using any of the info in the commands table and instead struggling to script it and experiencing loads of bugs as a result.  It's a waste of time to script what is already there.
2014-04-06 22:40:02 +01:00
Seefo 7ce731d919 Fixed problem where commands that didn't have required abilities wouldn't work 2014-04-05 22:16:25 -04:00
Waverunner 92dfe6602c Added Required Abillity check for commands 2014-04-05 19:25:18 -04:00
Waverunner 9e80b5eeae Added basis for server-side cooldown checks, added warmup checks, closed #273
Note that cooldown check is currently used only for the holoemote
command. To add a cooldown to any command, all you have to do is
CreatureObject.addCooldown(name). In this commit I also moved some
cooldown variables from CombatCommand to BaseSWGCommand since many
non-combat commands had cooldowns (Wookie Roar, Holo-Emotes). I also put
in a warmup cooldown (time before command is called) for non-combat
commands.
2014-04-03 19:23:31 -04:00
Ziggeh 234c7d43dc Abilities - Fixed abilities that send multiple attacks
Such as Flurry for LSJ.
2014-03-27 02:20:43 +01:00
Light2 52136c2b36 Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2
Conflicts:
	src/protocol/swg/ObjControllerMessage.java
	src/resources/objects/player/PlayerMessageBuilder.java
	src/services/travel/TravelService.java
2014-03-10 00:42:19 +01:00
Light2 807025ec0b more work on AI, added odb for object id(should hopefully fix object id duplicates), fixed tons of bugs 2014-03-10 00:33:34 +01:00
Treeku ed098357ae Catching CommandQueueRemove 2014-03-03 19:52:15 +00:00
Light2 dce213cab1 Refactored disconnect handling, updated engine 2013-12-15 23:49:12 +01:00
Light2 6daca0347c Fixed double login bug, added gm permissions, added checks to gm commands, update your postgresql db 2013-12-14 22:14:45 +01:00
darkk1138 6471d7e118 add /groupdance command 2013-12-08 17:25:04 +01:00
Waverunner ba858e2c28 Friend Notification only on login/logout now, Chat messages for ignored players no longer display
Use Travel Ticket for travel tickets added
2013-12-07 22:37:51 -05:00
darkk1138 1f4d72fa16 add aliases to command service 2013-12-07 21:32:05 +01:00
Light2 bb085477c4 Added Heal Over Time buffs, finished most of commando except kill meter and some abilities 2013-11-25 22:10:33 +01:00
Light2 a6ecdcd225 Combat fixes, radial bug fix, tatooine shuttleport travel terminal is no longer stuck in wall 2013-11-22 00:02:46 +01:00
Waverunner 87d4bb0829 Added shuttle countdown sequence 2013-11-10 11:43:56 -05:00
Waverunner a5eb18ab2b Added shuttling system, can travel between points
Only the Mos Eisley transport ship exists. Will more than likely change
how shuttles/transports are added to the game world.
2013-11-05 19:59:15 -05:00
Treeku 90f2eec454 Added leveling/roadmap, skillService 2013-11-05 05:36:37 +00:00
Light2 ca5aae4187 Added DoTs, added buff stacks, fixed several combat bugs, added several commands and buffs 2013-09-29 19:17:16 +02:00
Light2 479954f1c2 Added revives 2013-09-27 21:26:02 +02:00
Light2 fbcbc26065 Added some medic specials, minor combat fixes 2013-09-23 18:02:31 +02:00
Light2 110f8ae237 Added cooldown resets for commands that arent executed 2013-09-22 18:47:41 +02:00
Light2 5ff085adcc Added serverside cooldown control 2013-09-22 18:24:48 +02:00
Light2 098b2d55f3 Fixed self heals, added animations for heals 2013-09-22 16:41:53 +02:00
Light2 b47dc8c89c Added STAO baseline packets 2013-09-16 16:59:26 +02:00
Light2 351f1d6bd4 Reworked script service, added cloning terminals to all cloning facilities 2013-09-16 16:42:30 +02:00
Light2 f829fa638b Added duels, added incap and deathblow, fixed some buff issues 2013-09-14 22:25:52 +02:00
Light2 2768c20dff Added heals 2013-09-01 18:53:40 +02:00
Light2 471852dc3c Fixed static spawns, added travel terminal and collector spawns, fixed galaxy population status, added combat commands for every profession 2013-08-31 17:34:30 +02:00
Light2 cfa5ea5a43 Added expertise, added AoE/Cone combat, added some commando expertise boxes as an example for expertise scripts 2013-08-28 17:56:35 +02:00
Light2 7025811b9b Groups are working now 2013-08-25 17:44:44 +02:00