Commit Graph
760 Commits
Author SHA1 Message Date
TreekuandCharonInferar 8cbf80b2ce Fixed a few more errors 2014-04-07 18:56:25 +02:00
TreekuandCharonInferar 4aa3b7058a Fixed byte adding error in command reading 2014-04-07 18:56:25 +02:00
TreekuandCharonInferar b7eef0cf35 Fixed duplicate maxRangeToTargets 2014-04-07 18:56:24 +02:00
TreekuandCharonInferar 9dded09432 Fixed a few more things 2014-04-07 18:56:24 +02:00
TreekuandCharonInferar 131841520b Fixed a few things 2014-04-07 18:56:23 +02:00
TreekuandCharonInferar 8398a2dc56 Cooldowns only added if they are more than a 1 sec
It's probably not worth it otherwise.
2014-04-07 18:56:23 +02:00
TreekuandCharonInferar 0bf30444fc Fixed null errors 2014-04-07 18:56:22 +02:00
CharonInferar bc8172a008 Fix at suspicion of concurrency problem in surveyingservice 2014-04-07 18:56:21 +02:00
ZiggehandCharonInferar 29b6738852 Jedi - Fixed Force Throw and Spark 2014-04-07 18:56:20 +02:00
Treeku 6e137ab561 Commands can have custom cooldowns again 2014-04-06 23:07:30 +01:00
Treeku 124fb6747f Minor cooldown change 2014-04-06 22:52:45 +01:00
Treeku 863176353d Forgot something 2014-04-06 22:44:26 +01:00
Waverunner d835bdb61c Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2 2014-04-06 17:42:21 -04:00
Waverunner 494bd4a8ad GMs can now get the accountId of the target (getplayerid) 2014-04-06 17:42:08 -04: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
Light2 87db82f6fa Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2 2014-04-06 22:58:01 +02:00
Light2 e6d336836c fixed action/health regen bug 2014-04-06 22:57:48 +02:00
Waverunner cc1ce8bf2c Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2 2014-04-06 16:30:14 -04:00
Waverunner 438c960d88 Buffs refactored to use DatatableVisitor on server load
Originally, everytime a new Buff instance was created, it would loop
through the Datatable Visitor everytime. Now it's only done once on
server startup and put into a buffMap. A copy of the base buff is then
done through the constructor of Buff class should a new instance of that
buff type needs to be created from the one inside the map.
2014-04-06 16:29:31 -04:00
Light2 25eefbd989 fixed #388 2014-04-06 21:43:58 +02:00
Light2 b350bad2da Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2 2014-04-06 21:20:26 +02:00
Light2 96bed77202 some AI fixes 2014-04-06 21:19:16 +02:00
Seefo 540c6b20de Fixed armour calculation bug when wearing a Jedi robe 2014-04-06 14:57:53 -04:00
Treeku 74b1c107af Minor cooldown fix 2014-04-06 19:36:42 +01:00
Treeku 4f56b40d84 Changed cooldowns to correctly use a float 2014-04-06 19:30:11 +01:00
Treeku f23c6be71d Removed check preventing new skillMods showing 2014-04-06 18:49:41 +01:00
Seefo 61ef24cbac Revert "Cleaned up calculateArmorProtection in the Equipment Service a bit"
This reverts commit 62166f0929.
2014-04-06 13:34:45 -04:00
Seefo 62166f0929 Cleaned up calculateArmorProtection in the Equipment Service a bit 2014-04-06 13:33:53 -04:00
Waverunner eb9624533f Fixed #300: (Misc) Clicking on profession icon does not alterate within list 2014-04-06 12:52:44 -04:00
Waverunner 1fbf0613a7 Fixed #386: Wookies/Ithorians cant gain CL 90 via frog
Added option to load resources or not too (enabled by default)
2014-04-06 12:11:27 -04:00
Seefo 5c34a3644e Updated some Jedi robe scripts and fixed a concurrency error 2014-04-06 12:01:32 -04:00
Seefo e0eb5c3c5f Updated Player Object version 2014-04-06 11:44:19 -04:00
Mesagoppinmypants ba457e9f24 Added Lava Cannon to Frog
Added a heavy weapon to frog for commando abilities that require a heavy weapon.
2014-04-06 11:16:34 -04:00
Waverunner 1865c48ad6 Fixed Error: target cannot be resolved to a variable 2014-04-06 11:03:32 -04:00
Waverunner 07656074c4 Merge pull request #389 from CharonInferar/ResourceSpawn
Resource spawn
2014-04-06 10:52:05 -04:00
CharonInferar bd64d7fe9f Master update 2014-04-06 14:59:39 +02:00
CharonInferar 1ae5167b70 Diff is empty counter 2 2014-04-06 14:55:35 +02:00
CharonInferar 858df9e80b Diff is empty counter 2014-04-06 14:54:59 +02:00
CharonInferar c6836dead9 Clean up
SurveyCommand is now done fully over the Jython interface consistent to
client command handling
2014-04-06 14:49:22 +02:00
CharonInferar a5ba92cbf1 Bug fix
Picking up sampling a previously sampled resource, will add the stack to
the according container.
2014-04-06 14:27:55 +02:00
Treeku 9e83367db7 Changed when callbacks used, impv off buff removal 2014-04-06 09:48:26 +01:00
Treeku 06ecc10be9 Removed premature buff return preventing stacking
This check is already handled more thoroughly further down where it either adds it as a stack or removes it.
2014-04-06 08:03:03 +01:00
CharonInferar da6af6177f Put updated OMR from master back in 2014-04-06 04:55:55 +02:00
CharonInferar b5ba0bb688 Fixed 3 classes 2014-04-06 04:19:24 +02:00
Seefo 7ce731d919 Fixed problem where commands that didn't have required abilities wouldn't work 2014-04-05 22:16:25 -04:00
CharonInferar e448a41bb0 Merge remote-tracking branch 'origin/master' into ResourceSpawn
Conflicts:
	src/main/NGECore.java
	src/services/DevService.java
	src/services/command/CommandService.java
2014-04-06 03:59:55 +02:00
CharonInferar afe16d04b1 Last step 2014-04-06 02:12:56 +02:00
CharonInferar bd6544c2c1 Diff is empty workaround 2014-04-06 02:12:07 +02:00
CharonInferar 065fe79945 Clean up of code
Cleaned up some classes
Moved functionalities into more appropriate methods/classes
2014-04-06 02:08:55 +02:00