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
015631a73d
Implemented client-side HandleCharacterCreate
2014-12-18 09:14:11 +11:00
Kayne Ruse
3399053e64
Added an option to skip missing config files
2014-12-16 21:49:50 +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
f50406d69f
Code tweak
2014-12-01 22:59:26 +11:00
Kayne Ruse
cc167180f6
Added support for cleaning up after rejection messages
2014-12-01 22:33:15 +11:00
Kayne Ruse
c89f94b681
Missed the map system's nested API table
2014-12-01 00:26:47 +11:00
Kayne Ruse
822ff5827e
Map protocol works in theory
2014-12-01 00:13:46 +11:00
Kayne Ruse
8579d7e0d6
Implemented client-side HandleRegionContent()
2014-11-30 23:29:46 +11:00
Kayne Ruse
06eb1f2e9e
Minor tweak to the Timer class; kind of pointless
2014-11-30 23:04:54 +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
81a3a92603
Simplified setup_server.lua
2014-11-26 06:12:01 +11:00
Kayne Ruse
9ba76c8987
Added RegionPagerLua destructor
2014-11-26 06:11:27 +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
5e11077c7a
Merge branch 'develop' into server-expansion
2014-11-23 04:13:11 +11:00
Kayne Ruse
5deb6a9d8e
Merge branch 'develop'
2014-11-23 04:12:51 +11:00
Kayne Ruse
ba81bcba69
Added a README for the demo build
2014-11-22 04:21:15 +11:00
Kayne Ruse
9329274866
Project builds, but with a lot of logic dummied out
2014-11-16 23:16:21 +11:00
Kayne Ruse
ace87b438b
Began working changes into lobby
2014-11-16 23:02:06 +11:00
Kayne Ruse
1f3c1f32f4
Moved 'renderable' stuff to 'entities'
2014-11-16 22:40:13 +11:00
Kayne Ruse
cacd3dcd6d
Removed the statistics structure from common/* and server/*
2014-11-16 22:34:12 +11:00
Kayne Ruse
97b7945191
need to go TMP COMMIT
2014-11-14 10:20:04 +11:00
Kayne Ruse
a01d75549f
Updated todo.txt
...
I'm so bored I'm working on my game remotely. This is a public access computer without a compiler :/
2014-11-14 10:16:27 +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
3192524922
Merge commit '0f13956'
...
* also eliminated ./todo.txt
2014-11-07 00:17:31 +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