Kayne Ruse
13e67746b4
Renamed monsters to creatures in the code
2016-03-21 19:49:41 +11:00
Kayne Ruse
a86a41ad46
Renamed monster files to creatures
2016-03-21 19:28:49 +11:00
Kayne Ruse
fd11f4e0e6
Moved server/server_utilities up one directory
...
Also modified makefiles to account for the change.
2016-03-21 19:07:09 +11:00
Kayne Ruse
19792f8aec
Merged server files into server_application.cpp
2016-03-21 17:14:40 +11:00
Kayne Ruse
e6e2421ba0
This is now building on Mum's laptop
2015-12-15 22:54:32 +11:00
Kayne Ruse
ffe5c80117
Comment tweaks, build tweaks, bugfixes
...
I've also disabled the "screen trick". It was ugly as hell.
2015-08-24 14:34:54 +10:00
Kayne Ruse
dfa8683c47
Tweaks for windows
2015-08-23 19:41:01 +10:00
Kayne Ruse
57a4fc8380
Messing with buttons & fonts
2015-08-23 04:55:50 +10:00
Kayne Ruse
caf6403a76
Added platform & version detection
2015-08-23 03:44:19 +10:00
Kayne Ruse
915660da0e
Server runs, but it's far off from being stable again
2015-08-20 23:24:20 +10:00
Kayne Ruse
dc5b09a9b4
world_logic.cpp builds, disabled FPS display
2015-08-20 02:36:42 +10:00
Kayne Ruse
4ced681c76
Working on the ui, incomplete
2015-07-08 03:09:50 +10:00
Kayne Ruse
24eb730c72
Switched to the #pragma once system
2015-07-07 17:36:14 +10:00
Kayne Ruse
210bccbe0d
Pruned the usage of the incomplete monster system
2015-07-07 12:41:57 +10:00
Kayne Ruse
822d0636cc
Merge branch 'master' into develop
2015-05-17 12:38:44 +10:00
Kayne Ruse
99b35483f8
Tenative port for Linux
2015-05-17 09:18:46 +10:00
Kayne Ruse
102ba18b7b
Finally wrote the monster manager API
2015-05-08 23:17:35 +10:00
Kayne Ruse
07faf1b96b
Moved a file
2015-05-08 22:33:46 +10:00
Kayne Ruse
35e7d0cf61
Tweaked scripts, added ForEachMonster()
...
(cherry picked from commit 0cf6a3dceb56a85969e8248e19f9143364b75c68)
2015-04-28 10:25:12 +10:00
Kayne Ruse
8903b1e28d
Began marking changes for monsters
...
These changes include storing monsters on shutdown, storing dead
characters and monsters, etc. Also fleshed out the MonsterManager's
internals a bit.
(cherry picked from commit af982710f6de050c09ef503cf2f8e1c9fdd34979)
2015-04-28 10:24:17 +10:00
Kayne Ruse
5c404c572e
Patched bug #45 without resolving it
2015-04-28 06:01:58 +10:00
Kayne Ruse
4ae58550b5
Changed SetRoomIndex() to SetRoom()
2015-03-13 21:05:24 +11:00
Kayne Ruse
d82e3a8b79
Triggers now support exclusion lists
2015-03-13 20:43:47 +11:00
Kayne Ruse
954213f1ff
Minor tweak to hCharacterMovement()
2015-03-13 19:36:03 +11:00
Kayne Ruse
d2bb3575fc
Removed initial world query
...
The world is queried once the client has the player's character.
2015-03-13 19:12:34 +11:00
Kayne Ruse
670ab22e96
Using an entity stack for trigger comparisons
2015-03-11 18:22:09 +11:00
Kayne Ruse
4d71d4cc40
Room transitions are working smoothly, read more
...
Although the room transitions are working fairly well, it is still heavy
handed, and a number of optimizations can be done. On the whole, this
needs a review.
2015-03-09 23:26:37 +11:00
Kayne Ruse
81b3769188
Implemented networked room chainging function
2015-03-09 21:28:28 +11:00
Kayne Ruse
c3c6d42a80
Characters moving via scripts are pushed & popped from the rooms
...
The delete & create messages still need to be implemented.
2015-03-09 10:27:50 +11:00
Kayne Ruse
3d8ee25ae7
AccountManager's SQL is order-independant
2015-03-09 09:34:38 +11:00
Kayne Ruse
decc77e21c
Implemented entity.GetType() in lua
...
This will only work for userdata decented from the Entity base class.
Using something else results in undefined behavior.
2015-03-09 09:04:12 +11:00
Kayne Ruse
501b1e9814
Reduced script verbosity to a degree
2015-03-08 20:08:12 +11:00
Kayne Ruse
01502372c9
Correcting a bug with unimplemented MonsterManager
2015-03-07 15:09:33 +11:00
Kayne Ruse
a8c309ec9d
Minor comment tweaks
2015-03-06 00:13:12 +11:00
Kayne Ruse
41d6314beb
Triggers have a basic response to character collision
...
I've hacked the trigger system to create a really basic teleport pad,
using the dirt tile as an indicator. This behaviour is not coded into the
engine, but is in fact scripted in lua.
This commit is messy, due to lack of sleep.
2015-03-04 06:16:12 +11:00
Kayne Ruse
74ed93ddc7
Character bounds are stored in the server database
...
This allows for customization of bounding boxes, as well as highlighting
aspects needed when adding new fields to the characters.
2015-03-04 04:06:16 +11:00
Kayne Ruse
18a7143926
Full trigger creation
2015-03-04 02:21:56 +11:00
Kayne Ruse
bd68af5875
Added character iteration to the rooms
2015-03-02 04:26:34 +11:00
Kayne Ruse
b8806cc209
Implemented CharacterManager::ForEach()
2015-03-02 02:41:37 +11:00
Kayne Ruse
edcb6f05ce
Implemented trigger creation & deletion via lua
...
Triggers now have handles for simple understanding, but there's nothing
preventing multiple triggers from sharing the same name.
2015-03-02 01:00:58 +11:00
Kayne Ruse
cb63c9b07c
Minor comment tweaks
2015-02-27 05:43:20 +11:00
Kayne Ruse
a00ddb3142
Updated trigger names in the server
2015-02-27 05:33:47 +11:00
Kayne Ruse
3431d323e5
Renamed the waypoint system to trogger system
2015-02-27 05:21:40 +11:00
Kayne Ruse
3e6a05307e
Minor TODO tweaks
2015-02-27 03:36:47 +11:00
Kayne Ruse
c45bda645b
Switched TODO: empty to TODO: *function name*
2015-02-27 03:27:37 +11:00
Kayne Ruse
1210d2d24f
Minor comment tweaks
2015-02-27 03:06:29 +11:00
Kayne Ruse
4630b7e403
PumpCharacterUpdate() works from lua to client, read more
...
There was a bug in the entity API, where getMotion() was pushing the
origin instead of the motion. This has been corrected. Since this is an
important bug, and because the features for this leg is finished, I'll
merge this to master.
2015-02-27 02:39:27 +11:00
Kayne Ruse
067bf40be7
Moved some utility methods out of the "god class"
...
These methods are are now functions in server_utilities.hpp
2015-02-27 01:20:05 +11:00
Kayne Ruse
46df0f17b7
Changed a massive swap statement for bounds checks
...
Instead of using a massive block of case statements in serial_utility.cpp,
I've added FORMAT_* tags to SerialPacketType as a way to destinguish
between type values, at least internally. I can't believe I missed this
for so long.
I've also added a placeholder for the network API, as I was working on
that when I ran into this problem.
2015-02-21 23:46:50 +11:00
Kayne Ruse
ddedc06e47
Implemented bare-bones character system API
...
I need to devise a way to update the clients about changes to their
characters directly from the lua scripts. This isn't too important per se,
but the pattern will be important for the monster and trigger systems.
2015-02-21 21:46:22 +11:00