Added rtti-reader and made various cleanups, switching to Shutdown_M for error handling

This commit is contained in:
Fatbag 2012-12-03 12:31:24 -06:00
parent 5444c9aea6
commit 6dddbd2efa
25 changed files with 771 additions and 194 deletions

1
Server/AUTHORS Normal file
View file

@ -0,0 +1 @@
Fatbag <X-Fi6@phppoll.org>

2
Server/CHANGES Normal file
View file

@ -0,0 +1,2 @@
Technical Preview 1
* Initial release

View file

@ -1,3 +1,24 @@
IMPORTANT:
Niotso is distributed under the terms of the GNU GPLv3.
While this license does permit others to compile, distribute, change,
and distribute changes to Niotso, in reality, many of these freedoms
cannot legally be enacted by anybody.
Specifically, if you make changes to Niotso such that it significantly
changes the "game experience as presented to the player", it cannot
be distributed to others. You also may not distribute a version of
Niotso that has stripped the EA or Maxis trademarked names or logos
anywhere from the game. Personal use of these modifications is okay.
These restrictions are not enforced by us, but may potentially be used
by EA in attempt to take down your game.
If you have any questions, you may visit
<http://wiki.niotso.org/Niotso/Legal_Summary>
---
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

0
Server/README Normal file
View file

View file

@ -152,7 +152,8 @@ int main(int, char **)
socklen_t addrlen = sizeof(sockaddr_in6);
ssize_t packetsize = recvfrom(epev[0].data.fd, packetdata, 1500, 0, (sockaddr*) &client_addr, &addrlen);
if(packetsize < 0){
if(errno == EINTR || errno == ECONNRESET || errno == ENOTCONN || errno == ETIMEDOUT)
if(errno == EINTR || errno == ECONNRESET || errno == ENOTCONN || errno == ETIMEDOUT ||
errno == EAGAIN || errno == EWOULDBLOCK)
continue;
SHUTDOWN_M("Socket closed unexpectedly on call to recvfrom", close_epoll);

21
Server/TODO Normal file
View file

@ -0,0 +1,21 @@
Because there are too many long-term things to list that we still have "to do" to reach the next development phase (e.g.
alpha to beta), this file contains only the things that are worked on currently or that will be in the very near future.
While anybody is free to work on _anything_ at any point during Niotso's time, this list shall ONLY contain those relevant
to complete the criteria for the next development phase, which can be found here:
<http://wiki.niotso.org/Niotso_Release_Schedule>
//----------//
Development Phase: Planning
Technical Preview 1
Schedule: (Not very subject to change)
1. Implement cst, uis, ini, and xml parsers with support for UTF-8 [20%]
2. Replicate functionality up until the login dialog [90%]
3. Implement the audio engine
4. Implement the OpenGL-based windowing system
5. Replicate character selection and creation features and the city selection dialog
6. Implement debug logging and support for configuration files
7. Implement the code needed to allow the game to read all necessary files from the TSOClient folder
8. Port the client to Linux