Commit Graph
64 Commits
Author SHA1 Message Date
Seefo f3e2498e62 Fixed some errors in the Command Service 2014-04-07 10:32:25 -04:00
Ziggeh c1486c27fe Commands - Fixed getters and setter for targetType 2014-04-07 11:29:19 +02: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 b89190fd97 Fixed invalid postures/states problem 2014-04-07 05:12:43 +01:00
Treeku 92b262d828 Fixed float error properly 2014-04-07 05:02:39 +01:00
Treeku 497f290e54 Fixed cast exception (maxRangeToTarget is a float) 2014-04-07 04:53:38 +01:00
Treeku 948f4db778 Fixed a few more errors 2014-04-07 04:45:59 +01:00
Treeku 3e46e6e7d5 Fixed byte adding error in command reading 2014-04-07 04:38:03 +01:00
Treeku 53c54b983e Fixed duplicate maxRangeToTargets 2014-04-07 04:32:03 +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
Treeku 0ff0c2657f Commands refactor part 1. Read more...
- Commands no longer need to be registered.
- No need for combat command registration.  This is detectable by if it has a value for characterAbility.
- 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:39:30 +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 c4f6ad360f Combat - Added attack_rolls 2014-03-27 16:55:28 +01:00
Ziggeh 234c7d43dc Abilities - Fixed abilities that send multiple attacks
Such as Flurry for LSJ.
2014-03-27 02:20:43 +01:00
Ziggeh ae402525f5 Commands - Renamed isBypassArmor() to getBypassArmor()
It's not a actually a boolean so I changed the name to something more
appropriate.
2014-03-23 17:15:27 +01:00
Ziggeh da30107933 Commands - Fixed incorrect datatable values 2014-03-23 17:10:15 +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
Ziggeh 9c23fef67f Added criticalChance to CombatCommand 2013-12-20 16:02:01 +01: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