Commit Graph
366 Commits
Author SHA1 Message Date
Treeku 9a8975dcbc Made cooldowns more efficient
Isn't really necessary for them to have their own thread each.

There's an old trick from a time before thread pools were possible: System.currentTimeMillis().
2014-04-07 18:56:33 +02:00
Treeku 7fae180c9d Add OutOfBand constructor for simpler conv scripts 2014-04-07 18:56:30 +02:00
Treeku 615a998384 Made cooldowns more efficient
Isn't really necessary for them to have their own thread each.

There's an old trick from a time before thread pools were possible: System.currentTimeMillis().
2014-04-07 14:47:56 +01:00
Treeku c8aeff3d1d Add OutOfBand constructor for simpler conv scripts 2014-04-07 09:46:12 +01:00
Treeku 124fb6747f Minor cooldown change 2014-04-06 22:52:45 +01: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
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 e0eb5c3c5f Updated Player Object version 2014-04-06 11:44:19 -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 065fe79945 Clean up of code
Cleaned up some classes
Moved functionalities into more appropriate methods/classes
2014-04-06 02:08:55 +02:00
Seefo 890d395e3a Fixed an armour calculation bug 2014-04-05 14:37:42 -04:00
Treeku 586c652ac6 Fixed null pointer exception 2014-04-05 19:06:03 +01:00
Seefo 52e92f7da9 Fixed delta related crash 2014-04-05 00:03:17 -04:00
Seefo 6502471e19 Fixed crashing temporarily 2014-04-04 20:06:04 -04:00
Seefo 973ab6da62 Fixed zoning error 2014-04-04 13:32:48 -04:00
Treeku ab3c32e15d Changed sendListDelta a bit 2014-04-04 18:02:45 +01:00
Treeku abb68a74b6 Temp fix for skills crash 2014-04-04 17:01:20 +01: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
Seefo f6c03c19aa Fixed remove skill mod error, some equipment stuff aswell 2014-04-03 13:42:53 -04:00
Treeku 1fdb6f0ad1 Some SWGMap fixes 2014-04-03 18:16:00 +01:00
Treeku 0683983710 Added null check for removing skillMods 2014-04-03 18:01:52 +01:00
Treeku 40e17095f7 Fixed crash 2014-04-03 17:14:38 +01:00
Treeku 401c575ead Fixed skillMod-related crash 2014-04-03 16:59:09 +01:00
Treeku f97b23ae5c Updated SkillMod.java to work with a map 2014-04-03 16:57:51 +01:00
Treeku 977f18e533 Fixed error 2014-04-03 16:54:38 +01:00
Treeku 4f45f62d0b Updated skillMod baseline, removed old deltas 2014-04-03 16:51:20 +01:00
Treeku d187b0b3ea Removed skillModUpdateCounter functions 2014-04-03 16:46:12 +01:00
Treeku ef1d499a97 Uncommented line in sendListDelta() 2014-04-03 16:39:32 +01:00
Treeku 121ec2b408 And one other thing 2014-04-03 16:36:30 +01:00
Treeku de21f01934 Forgot something 2014-04-03 16:35:33 +01:00
Treeku 967aba6652 Fixed skillMods 2014-04-03 16:34:30 +01:00
CharonInferar d4876fc87f Added time delay for surveying map display
- QA stuff like countering frequent mindless button hacking and
preventing the tool to lockup as a consequence
2014-04-03 03:58:23 +02:00
CharonInferar 531acac7c6 More quality assurance work
- Resource container split/join
- Surveying test runs
- Balancing
2014-04-02 23:28:08 +02:00
Light2 4c5ff93385 Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2 2014-04-02 18:12:20 +02:00
Light2 b245efdce6 Finished NPC conversations, fixed disconnect bug, fixed AI atk speed check 2014-04-02 18:12:08 +02:00
CharonInferar c62d89f1fa Delegation of methods to associated objects
More object-oriented method placement. SurveyService class had methods
that could be put to object classes.
Attributes now set from constructor.
2014-04-02 04:08:20 +02:00
Waverunner 57922d6892 Fixed #336, Fixed #320, able to use basic dance 2014-04-01 17:26:46 -04:00
CharonInferar 604d066c0f Cleaned up Surveyservice
and give all survey tools from frog at once
2014-04-01 18:45:33 +02:00
Light2 e324cd1cba Fixed a bug where players who had an ent buff on logout couldnt login 2014-04-01 15:49:08 +02:00
Light2 760e9726a9 more work on conversations 2014-04-01 15:31:14 +02:00
Light2 4ccbf89727 More work on NPC conversation packets 2014-03-31 20:13:37 +02:00
CharonInferar e692120b8f Surveying debugging
Improved surveying
2014-03-31 19:50:02 +02:00
Light2 0fea686f15 Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2 2014-03-31 19:42:49 +02:00
Light2 c30b0bdd1a Started work on NPC conversations, added prose package and out of band package for packets that require them 2014-03-31 19:42:36 +02:00
Treeku f8036f8f83 Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2 2014-03-31 17:29:36 +01:00
Treeku 2ac9872498 Speedbuff fix moved from java to skillMod script 2014-03-31 17:29:10 +01:00
Seefo c3e784f76f Buffs now fallback on ... read extended
Buffs now fallback onto buffs.iff if no script currently exists for the
buff.
2014-03-31 12:26:03 -04:00
Light2 dc03c31276 fixed #337 and removed some lock contention 2014-03-31 01:18:52 +02:00