Gergely Polonkai (W00d5t0ck)
4e659a9ef7
Redesigned the WMUD_*_ERROR GQuarks
...
They are now conform to GLib's method (which is more secure I think)
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-30 17:43:45 +02:00
Polonkai Gergely
8835cb258b
Added documentation and planes field to wmudPlanet
...
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:26:19 +00:00
Polonkai Gergely
fddfb4b594
Fixed variable name mismatch in world.c
...
A variable name mismatch prevented the code to compile on machines with
GLib < 2.28
2012-03-29 18:14:03 +00:00
Gergely Polonkai (W00d5t0ck)
2d45069c88
Finished room exit sanity checking code
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 19:46:14 +02:00
Gergely Polonkai (W00d5t0ck)
7348b16b16
Fixed direction list checking code.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 19:13:00 +02:00
Gergely Polonkai (W00d5t0ck)
6b910d35a6
Created the room_exits loading code.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 19:12:45 +02:00
Gergely Polonkai (W00d5t0ck)
835fdb8048
Added a section description to db.c's comment block.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 19:12:09 +02:00
Gergely Polonkai (W00d5t0ck)
77d6a979f9
Fixed log messages sent by specific db.c load_*() functions.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 19:11:43 +02:00
Gergely Polonkai (W00d5t0ck)
f1a0c6dde8
Fixed non-working failcount sending code.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 19:01:53 +02:00
Gergely Polonkai (W00d5t0ck)
b4fbb99ec4
Advanced forward with the world loading code.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:51:24 +02:00
Gergely Polonkai (W00d5t0ck)
d098d0d1ba
Added Return value: to wmud_client_close() documentation block
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:50:49 +02:00
Gergely Polonkai (W00d5t0ck)
a9f75f7814
Removed some unnecessary comments and variable assignments from game-networking.c
...
Some network related error checking lines would have been totally
unnecessary. This decision may be revised later, however.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:50:12 +02:00
Gergely Polonkai (W00d5t0ck)
631b3bbe6e
Added some more text to game-networking.c documentation block.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:47:56 +02:00
Gergely Polonkai (W00d5t0ck)
bfe3797b31
Fixed wmud_interpreter_check_directions()
...
It now checks for duplicates within the database commands, too.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:47:18 +02:00
Gergely Polonkai (W00d5t0ck)
978cefe8b0
Renamed wmud_maintenance_check_new_players() to wmud_maintenance_check_players()
...
The old name was confusing, as this function will have to do other things
later.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:43:36 +02:00
Gergely Polonkai (W00d5t0ck)
90f870c48a
Now increasing the player login fail count, and displaying it to logging in players if non-zero.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:42:18 +02:00
Gergely Polonkai (W00d5t0ck)
d92c9960ba
Added code to log the connecting client's IP address
...
Also removed a trailing \n from a log message
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:32:02 +02:00
Gergely Polonkai (W00d5t0ck)
1878225046
Finished game-loading code in db.c
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:11:33 +02:00
Gergely Polonkai (W00d5t0ck)
b3f81cfb94
Removed white-space from the possible characters in the randomly generated strings.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 18:08:52 +02:00
Gergely Polonkai (W00d5t0ck)
bc3eab6b28
Added the self-standard comments to maintenance.h
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 17:58:58 +02:00
Polonkai Gergely
0806e34d04
Added comment block documentation
...
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-29 10:10:07 +00:00
Polonkai Gergely
50dba32da2
Extended the README file
...
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-28 08:15:15 +00:00
Gergely POLONKAI (W00d5t0ck)
fb6f3fdc08
Extended TODO list
...
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-27 23:28:47 +02:00
Gergely POLONKAI (W00d5t0ck)
68b472e1f6
Added some future plans to wmud.conf.example.
...
These settings are NOT implemented yet, but will be implemented in 1.0
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-27 23:28:33 +02:00
Gergely POLONKAI
6be776044d
Reformatted TODO's command list, and fixed some space mismatches
...
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-27 23:07:38 +02:00
Polonkai Gergely
2952502eaa
Continued world loading code
...
Added directions loading and checking, and planes loading.
Signed-off by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-27 20:00:01 +00:00
Polonkai Gergely
63d8d917bf
Moved wmudDbERror struct to db.h
...
Signed-off by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-27 19:47:29 +00:00
Polonkai Gergely
92ff91b989
Made create-world.sh and drop-world.sh a template.
...
create-world.sh and drop-world.sh are now autogenerated by the configure
script, as they need to hold some paths set by that script.
Signed-off by Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-27 19:42:56 +00:00
Polonkai Gergely
b148141200
Renamed wmud_db_players_load() to wmud_db_load_players() to follow naming conventions.
2012-03-27 19:34:04 +00:00
Polonkai Gergely
df755de02c
Fixed data inserting code in world creation SQL.
...
Signed-off by Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-27 17:49:03 +00:00
Polonkai Gergely
91a0a44e90
Created world-dropping SQL code.
...
Signed-off by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-27 17:45:18 +00:00
Polonkai Gergely
c6e7d2737e
Renamed src to wmud - also in configure.ac
2012-03-27 17:00:45 +00:00
Gergely Polonkai (W00d5t0ck)
ae8ab4542e
Renamed directory src to wmud
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-27 17:14:55 +02:00
Gergely Polonkai (W00d5t0ck)
188ce00473
Now removing all known telnet codes from the string received from the client
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-27 12:38:57 +02:00
Gergely Polonkai (W00d5t0ck)
419321d9b9
Typo fix in configuration.c that prevented configuration loading.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-27 12:38:05 +02:00
Polonkai Gergely
d1f761fe49
Completely redesigned the TODO list
2012-03-27 08:39:33 +00:00
Polonkai Gergely
4bdb549e07
Added some text to README
2012-03-26 16:34:12 +00:00
Polonkai Gergely
ac98135221
Merge branch 'new-codebase' of /home/polesz/repos/wmud into new-codebase
2012-03-26 16:08:15 +00:00
Polonkai Gergely
4f3c915ee2
Added some TODO items to game-networking
2012-03-26 16:08:11 +00:00
Gergely Polonkai (W00d5t0ck)
0d427d3f93
Created the skeleton of the world loading routines
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 17:33:58 +02:00
Gergely Polonkai (W00d5t0ck)
027359eb85
Removed main_rand
...
main_rand was unnecessary, so it is now removed. Using g_random_* instead of g_rand_* now.
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 17:02:11 +02:00
Gergely Polonkai (W00d5t0ck)
f9994aa3ae
Moved configuration code to configuration.c
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 16:55:36 +02:00
Gergely Polonkai (W00d5t0ck)
e56e4a2f8f
Reorganized comment documentation blocks.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 16:52:39 +02:00
Gergely Polonkai (W00d5t0ck)
eea085dcdc
Reorganized documentation
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 16:49:04 +02:00
Gergely Polonkai (W00d5t0ck)
480714fc3c
Typo fixes in documentation comment block.
...
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-03-26 16:43:09 +02:00
Gergely POLONKAI
46f3d39917
Removed some unnecessary functions from game-networking.c
...
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-26 10:07:02 +02:00
Gergely POLONKAI
f8b5feb361
Moved the game thread to game.c
...
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-03-25 14:32:28 +02:00
Gergely POLONKAI
a391b1e8f6
Added the HACKING file for later fill, with only a very basic description
2012-03-25 11:58:14 +02:00
Gergely POLONKAI
e7b142ea31
Added *.bak to global .gitignore
2012-03-25 11:57:49 +02:00
Gergely POLONKAI
738f9742d5
Added some more SQL files for later use. The world Iminiru already uses this structure.
2012-03-25 11:57:12 +02:00