Commit Graph
91 Commits
Author SHA1 Message Date
Light2 13b5fe7d95 fixed #483, fixed minor bug in procedural terrain filters 2014-04-21 15:50:45 +02:00
CharonInferar 7091c4bbb3 more preparations
Preparations for crafting
2014-04-13 22:59:31 +02:00
CharonInferar 1decfaa081 first commit of addidtions 2014-04-13 22:29:02 +02:00
Treeku 5f1022543e godLevel is now set and used 2014-04-13 14:50:21 +02:00
Treeku cb3f4e826a Moved Empty_Hopper to HarvesterService 2014-04-13 14:50:18 +02:00
Treeku 60972655dd Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2
Conflicts:
	src/services/command/CommandService.java
	src/services/object/ObjectService.java
2014-04-13 00:49:58 +01:00
Treeku 03c5201cf4 Command fixes, command removing 2014-04-13 00:29:30 +01:00
Light2 5510ace39a fixed #411 2014-04-13 00:19:47 +02:00
Light2 4ae9f292be Fixed issue where non combat commands would be created as a combat command 2014-04-12 21:20:05 +02:00
Light2 acbc1a7c74 minor changes 2014-04-12 15:23:14 +02:00
CharonInferar 646476c17d Harvesters introduced
Working harvesters and generators
Big update
2014-04-11 01:48:27 +02:00
Treeku 97df8d8f5f Commands checked if they are combat cmds 2014-04-10 15:54:49 +01:00
Treeku e91362a12f Fixed most warnings 2014-04-10 11:52:09 +01:00
Treeku 351910c04a Various command bugfixes 2014-04-10 10:18:20 +01:00
Seefo 399cf7a535 Fixed combat commands and added a better check for combat commands 2014-04-09 16:32:15 -04:00
Seefo f60583dff2 Temporary fix for certain commands being registered as combat commands even though the are not combat commands 2014-04-08 10:30:16 -04:00
Treeku 7eaed057c7 Fixed null exception 2014-04-08 06:16:33 +01:00
Treeku c7ea253620 Equipment cmd checks 2014-04-08 05:58:04 +01:00
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 f2d42d750a fixed another command crash 2014-04-07 20:08:04 +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 69da7a4abd Commands now account for different cmdTable struct 2014-04-07 18:31:13 +01:00
Treeku 5dbabe6982 CommandSvc reads all command tables (in priority) 2014-04-07 16:42:19 +01:00
Treeku 0bbf98e209 All command tables now get read 2014-04-07 16:31:23 +01:00
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