Kayne Ruse
44a1edac30
HOTFIX: Patched the stupid auto& for loop with the jenky pattern
2014-12-19 20:11:22 +11:00
Kayne Ruse
2ae2c48819
Added LocalCharacter, removed entityIndex
2014-12-19 19:44:34 +11:00
Kayne Ruse
15ea360b8a
Replaced lambda implementations with calls to the 'full unload' methods
...
IT should be noted that ClientManager::CheckConnections() no longer
removes a client; instead, it returns a client index that needs to be
removed via another means. This allows ServerApplication to use the 'full
unload' method.
2014-12-19 17:58:50 +11:00
Kayne Ruse
0d9dfad4a5
Implemented 'full unload' methods, not used yet
2014-12-19 15:52:05 +11:00
Kayne Ruse
7962692641
Implemented client-side character delete; untested
2014-12-19 14:21:05 +11:00
Kayne Ruse
4d1bb17382
Comment tweaks
2014-12-18 09:28:24 +11:00
Kayne Ruse
ae046977f0
Server state query works, client doesn't use the result yet
...
Both sides of this message uses QUERY_CHARACTER_EXISTS because I'm just
trying to push forward, without worrying about mistakes I might be making.
I just want to merge this back into the main branch so I can say that I've
actually done something over the last few months.
2014-12-11 08:02:38 +11:00
Kayne Ruse
72f641bf63
Server sends character create & delete messages
2014-12-11 07:12:16 +11:00
Kayne Ruse
dbd1289ced
Moved map and character management to server_data.cpp
2014-12-09 00:41:09 +11:00
Kayne Ruse
de4e539449
Moved the connection code to server_connections.cpp
2014-12-03 00:46:38 +11:00
Kayne Ruse
61f462a882
Server-side HandleCharacterUnload()
2014-12-03 00:06:07 +11:00
Kayne Ruse
5607f76ce7
Server-side HandleCharacterDelete()
2014-12-02 23:41:08 +11:00
Kayne Ruse
0e666d3203
Server accepts and creates the character's data
2014-12-02 23:11:08 +11:00
Kayne Ruse
cc167180f6
Added support for cleaning up after rejection messages
2014-12-01 22:33:15 +11:00
Kayne Ruse
b59cd0fe87
Server-side HandleRegionRequest() reimplemented
...
Note that this locally handles bug #35 , and adds a new packet type:
REGION_REJECTION
2014-11-30 22:23:46 +11:00
Kayne Ruse
bac8bc2b41
Fixed a misspelled method call
2014-11-26 10:28:57 +11:00
Kayne Ruse
e5abd51f76
Two-step login system works perfectly; can't shut the server down
...
I've also removed a large amount of commented and uncommented code from
in_world.cpp, simply because so much code was dummied out. I can readd
this code as I reimeplement various features.
2014-11-26 10:14:26 +11:00
Kayne Ruse
584b6ea303
Fixed a bug in deserializePacket()
2014-11-26 07:51:24 +11:00
Kayne Ruse
01461deaa5
Set the values for packets, and added getRoom()
2014-11-26 07:11:27 +11:00
Kayne Ruse
fa0d232727
Removed one parameter from RoomManager::Create()
2014-11-26 06:41:29 +11:00
Kayne Ruse
6485839dcf
Replaced RoomData's hooks with Initialize API function
2014-11-26 06:33:02 +11:00
Kayne Ruse
5eeda8235d
Fixed the scripts struggling with nested API tables
...
I actually don't remember what the RoomData's lua references where for,
but I'm pretty srue it wasn't this. I'll figure something out when I've
had a sleep.
2014-11-23 06:40:31 +11:00
Kayne Ruse
20d40d5b81
Implemented two-step logins, basic connections build
2014-11-23 05:47:21 +11:00
Kayne Ruse
cacd3dcd6d
Removed the statistics structure from common/* and server/*
2014-11-16 22:34:12 +11:00
Kayne Ruse
ecd0b43abe
Corrected comments
...
Because this file was originally copied from the map API, there were references to the map. I've corrected this.
2014-11-14 10:05:00 +11:00
Kayne Ruse
d35ab24e15
Added TODO
2014-11-14 10:02:15 +11:00
Kayne Ruse
100c4f6522
Added TODO
2014-11-14 10:01:24 +11:00
Kayne Ruse
a1c20959fe
The server builds using the new packet types; incomplete
...
Most of this was achieved by dummying out calls in HandlePacket(), so the
server's actual logic is incomplete.
2014-11-09 23:15:09 +11:00
Kayne Ruse
3b9df46510
Merge branch 'network-expansion' into server-expansion
2014-11-08 17:09:04 +11:00
Kayne Ruse
f7ba34dcec
Fleshed out ClientManager
...
* Fleshed out the ClientManager internals
* Folded some ServerApplication methods into ClientManager
* Removed Manager references from ServerApplication
* Corrected server_methods.cpp (compiles)
2014-11-08 16:33:27 +11:00
Kayne Ruse
74234684af
Started planning ServerApp refactoring
2014-11-07 00:07:19 +11:00
Kayne Ruse
06e027710f
Created the room system's API, and tweaked some other APIs
2014-11-06 22:42:03 +11:00
Kayne Ruse
73d9095604
Minor comment tweaks
2014-11-06 02:00:13 +11:00
Kayne Ruse
f2d79225a3
Created '*_data.cpp' files, modified API files a bit
2014-11-06 01:54:27 +11:00
Kayne Ruse
daa38413f3
temp script changes
2014-11-06 01:22:08 +11:00
Kayne Ruse
cfdc61c357
Tweaked TODO comments
2014-11-06 00:04:42 +11:00
Kayne Ruse
77b47b4634
Merge branch 'mingw-fix' into server-expansion
2014-11-05 23:55:38 +11:00
Kayne Ruse
0f139562c3
Theoretically resolved jenky cross-compiler compatability
2014-11-05 23:54:10 +11:00
Kayne Ruse
fc2bc06992
Made a few tweaks to various managers
2014-11-05 23:43:36 +11:00
Kayne Ruse
8eefdd71b5
Moved the API files back again
2014-11-05 23:07:34 +11:00
Kayne Ruse
966443be3d
CharacterData inherits from Entity
2014-11-05 23:02:14 +11:00
Kayne Ruse
5327d91917
Moved API files to their own directory
2014-11-02 20:42:26 +11:00
Kayne Ruse
6399efc227
Created the monster system
2014-10-30 01:05:41 +11:00
Kayne Ruse
7da5de619b
Created entity.hpp and door system
2014-10-30 01:01:11 +11:00
Kayne Ruse
0735037f10
Created ClientManager
2014-10-30 00:40:32 +11:00
Kayne Ruse
f584dd140b
Began work on expanding the network protocols
2014-10-23 23:50:49 +11:00
Kayne Ruse
e488b15acc
Corrected the libs order in the root makefiles
...
The calls to ConfigUtility::Load() also received some tweaks, to use '/'
instead of '\' for unix compatability. Also removed -llua from graphics
makefile.
2014-10-19 05:40:48 +11:00
fro_ozen
de7167e830
Added unix compatability
2014-10-18 20:10:17 +02:00
Kayne Ruse
869780589f
finished rewriting the room API
2014-10-07 02:08:00 +11:00
Kayne Ruse
254b97aa80
Implemented ManagerInterface in AccountManager and CharacterManager
...
ManagerInterface was already designed for those two anyway. The only thing
left to do is to rewrite the room API, and the whole thing should work
fine again.
I still think map data should be saved and loaded by lua code, so the
rooms will still implement lua hooks. There may be other things that can
be loaded from SQL, but I don't know what.
2014-10-07 01:23:55 +11:00