summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 83c7d797e4fad4256c876203334cdf88fc90366e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
2006-04-30	Philipp Sehmisch  <tmw@crushnet.org>
	* src/util/timer.h, src/util/timer.cpp: added a timer class.
	* src/main.cpp: replced SDL timing with the new timer class.
	* src/util/timer.h, src/util/timer.cpp: replaced clock with gettimeofday.
	* src/util/wingettimeofday.h, src/util/wingettimeofday.h windows
	implementation of the UNIX gettimeofday function.
	* src/main.cpp: world time doesn't get async anymore when world ticks are
	skipped. added a warning when tick skip occurs.
	* src/util/timer.h, src/util/timer.cpp: made sure every compiler uses a
    64bit unsigned integer for getTimeInMillisec.
    * src/main.cpp, src/connectionhandler.cpp, src/netsession.cpp, 
    src/SDL-win32_main.c: removed the last remains of SDL

2006-04-28  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* src/netsession.cpp, src/netsession.h, tmwserv.dev: Got rid of SDL
	threads, now using pthreads.

2006-04-11  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* src/client.cpp, src/connectionhandler.cpp, tmwserv.dev: Updated some
	code to latest enet version, and fixed a linking issue in windows.

2006-03-26  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* src/messagein.cpp, src/messageout.cpp: Got rid of SDL_net endianess
	code.
	* src/messagein.cpp: Fixed a mistake.

2006-03-20  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* src/client.cpp, src/connectionhandler.cpp, src/connectionhandler.h,
	src/main.cpp, src/messagein.cpp, src/messageout.cpp,
	src/netcomputer.cpp, src/netcomputer.h, src/netsession.cpp,
	src/netsession.h, src/utils/logger.cpp, tmwserv.dev: Got rid of
	SDL_net, now both server and test client use enet.

2006-03-18  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* src/client.cpp, src/messageout.cpp, src/messageout.h: Converted the
	test client to use enet.

2006-03-14  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* tmwserv.dev: Updated project file.

2006-03-07  Bjrn Steinbrink  <B.Steinbrink@gmx.de>

	* src/utils/stringfilter.h, src/utils/stringfilter.cpp: A bunch of
	cleanups.

2006-03-06  Bjrn Steinbrink  <B.Steinbrink@gmx.de>

	* src/connectionhandler.h, src/storage.cpp, src/configuration.cpp,
	src/script.h, src/messageout.cpp, src/map.cpp, src/messagein.h,
	src/skill.h, src/messagehandler.h, src/resourcemanager.h,
	src/netsession.cpp, src/accounthandler.cpp, src/dalstorage.h,
	src/sqlitestorage.h, src/account.cpp, src/connectionhandler.cpp,
	src/chatchannelmanager.cpp, src/netcomputer.h, src/messagein.cpp,
	src/client.cpp, src/messageout.h, src/dalstorage.cpp,
	src/netsession.h, src/accounthandler.h, src/mapreader.cpp,
	src/account.h, src/netcomputer.cpp, src/mapmanager.cpp, src/object.h,
	src/gamehandler.h, src/dal/mysqldataprovider.h, src/dal/recordset.h,
	src/dal/dataproviderfactory.h, src/dal/sqlitedataprovider.cpp,
	src/dal/dataprovider.h, src/dal/mysqldataprovider.cpp,
	src/dal/pqdataprovider.h, src/dal/recordset.cpp,
	src/dal/sqlitedataprovider.h, src/state.cpp, src/chathandler.h,
	src/items.h, src/mapreader.h, src/packet.cpp, src/gamehandler.cpp,
	src/mapmanager.h, src/chathandler.cpp, src/skill.cpp,
	src/utils/cipher.h, src/utils/logger.cpp, src/utils/stringfilter.h,
	src/utils/base64.cpp, src/utils/logger.h, src/utils/cipher.cpp,
	src/utils/stringfilter.cpp, src/resourcemanager.cpp,
	src/messagehandler.cpp, src/map.h, src/state.h, src/sqlitestorage.cpp:
	Cleaned up unnecessary header dependencies and fixed some
	indentations.

2006-03-05  Yohann Ferreira  <bertram@cegetel.net>

	* src/state.cpp, src/defines.h, src/chathandler.cpp,
	src/connectionhandler.cpp, src/connectionhandler.h, TODO: Added the
	server code to enter and leave a channel. Some minor fix to the state
	code, and completed the TODO a little for later coding.

2006-02-19  Yohann Ferreira  <bertram@cegetel.net>

	* src/state.h, src/state.cpp, src/object.h: Made use of counted
	pointers for objects, just the way it is for beings.
	* src/chathandler.cpp, src/accounthandler.cpp, src/client.cpp,
	docs/packets: Updated tmwserv packets documentation. Some minor other
	updates.

2006-01-24  Yohann Ferreira  <bertram@cegetel.net>

	* src/chathandler.cpp, src/chathandler.h, src/accounthandler.cpp,
	src/dalstoragesql.h, src/defines.h, src/client.cpp, src/Makefile.am,
	src/utils/slangsfilter.cpp, src/utils/slangsfilter.h,
	src/utils/stringfilter.h, src/utils/stringfilter.cpp, src/main.cpp,
	src/accounthandler.h, src/chatchannelmanager.cpp,
	src/chatchannelmanager.h, src/chatchannel.h, src/chatchannel.cpp,
	src/connectionhandler.h, src/connectionhandler.cpp: Chat Channeling
	Commit part 4. Renamed the slang filter into StringFilter and moved
	some code to it. Added the missing protocol values, and implemented
	registering/registering of channels; More to come about it.

2006-01-21  Yohann Ferreira  <bertram@cegetel.net>

	* src/accounthandler.cpp, src/client.cpp, src/defines.h,
	src/dalstorage.cpp: Very little corrections. Corrected a little
	mistake in the channels loading. Made a simple function to test
	for double quotes. We could see how to improve that.
	* src/chatchannelmanager.h, src/chatchannelmanager.cpp,
	src/chatchannel.h, src/chatchannel.cpp, src/dalstorage.cpp,
	src/dalstorage.h, src/storage.h, src/chathandler.cpp,
	src/netcomputer.h, src/netcomputer.cpp, src/main.cpp,
	src/connectionhandler.h, src/connectionhandler.cpp: Chat channeling
	commit part 3. Is now linked with the connection handler to chat in a
	specific channel. Also made some fixes on the chat channeling and in
	the channels load/save functions.

2006-01-18  Bjrn Lindeijer  <bjorn@lindeijer.nl>

	* src/mapmanager.cpp, src/mapmanager.h: Some insignificant changes to
	usage of the const keyword. Also simplified isLoaded method.

2006-01-18  Yohann Ferreira  <bertram@cegetel.net>

	* src/chatchannelmanager.h, src/chatchannelmanager.cpp,
	src/chatchannel.h, src/chatchannel.cpp, src/storage.h,
	src/dalstorage.h, src/dalstorage.cpp, src/dalstoragesql.h,
	src/defines.h: Chat Channeling Commit Part 2.

2006-01-16  Yohann Ferreira  <bertram@cegetel.net>

	* src/state.cpp, src/chathandler.h, src/chathandler.cpp,
	src/Makefile.am, src/chatchannel.h, src/chatchannel.cpp,
	src/chatchannelmanager.h, src/chatchannelmanager.cpp,
	src/dalstoragesql.h, src/dalstorage.cpp, src/storage.h,
	src/dalstorage.h: Chat channeling commit part 1. Useful to get
	feedback before committing what's next.

2006-01-14  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* src/accounthandler.cpp, src/client.cpp, src/dalstorage.cpp,
	src/messageout.cpp, src/defines.h: Server returns infos about position
	of the selected character (map name, coordinates).

2006-01-13  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* src/accounthandler.cpp, src/client.cpp, src/dalstorage.cpp,
	src/defines.h, src/main.cpp, src/mapmanager.cpp, src/mapmanager.h,
	src/netcomputer.cpp, src/object.cpp, src/object.h, tmwserv.dev: Made
	minimum client version and default map id configurable, set/getMapId
	are now preferred.

2006-01-12  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* src/accounthandler.cpp, src/client.cpp, src/dalstorage.cpp,
	src/main.cpp, src/mapmanager.cpp, src/mapmanager.h,
	src/netcomputer.cpp, src/object.cpp, src/object.h, src/state.cpp,
	tmwserv.dev: Fixed default map definition for a new created character,
	enabled loading of map when a character is on it, fixed inconsistency
	in getter/setter for map id.

2006-01-09  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* src/dalstorage.cpp: Fixed some sql query issues.

2005-01-08  Yohann Ferreira  <bertram@cegetel.net>

	* src/defines.h, src/client.cpp, src/accounthandler.cpp,
	src/dalstorage.cpp, src/storage.h, src/dalstorage.h,
	src/dalstoragesql.h, src/being.h, src/object.h, src/netcomputer.cpp,
	src/object.cpp, src/being.cpp, src/state.h, src/state.cpp,
	src/mapmanager.h, src/main.cpp, src/mapmanager.cpp: Added
	customization of created character. (That makes previously created db
	invalid.) Made list of map indexed by map id, instead of map name.
	This will prevent unsyncing of player's current map when changing a
	map name. Remember you have now to add a map filename into db before
	being able to load it. (Default map id is 1, not ZERO, as zero is the
	not found return value.

2005-01-04  Yohann Ferreira  <bertram@cegetel.net>

	* src/defines.h, src/accounthandler.cpp, src/main.cpp, src/client.cpp:
	Added a standard version check.

2005-01-04  Yohann Ferreira  <bertram@cegetel.net>

	* src/connectionhandler.h, src.connectionhandler.cpp, src/client.cpp,
	src/accounthandler.cpp, src/defines.h: Added a check if the maximum
	number of client is already logged in at login attempt. Added a default
	behaviour in protocol. Some cleanups.
	* src/client.cpp, src/storage.h, src/dalstorage.cpp, src/dalstorage.h,
	src/main.cpp, src/defines.h, src/accounthandler.cpp, src/Makefile.am:
	Implemented server response handling to the test client. Fixed a bug
	that made the Email change not possible. Changed some protocol value to
	have a litte neater client code. Added FreeBSD fix idea from icy to
	server code.

2005-12-31  Yohann Ferreira  <bertram@cegetel.net>

	* src/main.cpp, src/defines.h, src/utils/slangsfilter.h,
	src/utils/slangsfilter.cpp, src/accounthandler.h,
	src/accounthandler.cpp, src/chathandler.cpp: Adding the possibility to
	change Email, and password. Turned Slangs Filter into a class. Use
	some ifdefs for future configure options handling. Still has to update
	the client.

2005-12-29  Yohann Ferreira  <bertram@cegetel.net>

	* src/main.cpp, src/connectionhandler.cpp, src/defines.h,
	src/chathandler.cpp: Adding changes thought by Elven and an option for
	setting the port to listen on at startup.
	* src/accounthandler.cpp, src/dalstorage.cpp, src/dalstorage.h,
	src/storage.h: Fixing a bug in the Storage::getAccount() function that
	made the server crash when the first login had a bad password.

2005-12-29  Bjrn Lindeijer  <bjorn@lindeijer.nl>

	* configure.ac: Added errors when SDL_net or libcrypto are not found.
	* src/main.cpp: Reset SEGV signal handling after SDL initialisation to
	allow cores to be dumped.
	* runserv.sh: Added script that perpetually runs the server and
	automatically saves a backtrace and restarts when it crashes.

2005-12-29  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* src/mapmanager.cpp, src/mapmanager.h, tmwserv.dev: Forgot a way to
	access maps.
	* tmwserv.dev: Fixed merge conflict as pointed out by Bjrn.

2005-12-28  Bjrn Lindeijer  <bjorn@lindeijer.nl>

	* makeclient.sh, src/Makefile.am: Integrated the building of tmwclient
	with the default make command, as contributed by r0nny.
	* src/main.cpp: Applied patch by r0nny that makes main.cpp a bit
	nicer.

2005-12-27  Yohann Ferreira  <bertram@cegetel.net>

	* src/chathandler.h, src/chathandler.cpp, src/defines.h,
	src/utils/slangsfilter.h, src/utils/slangsfilter.cpp,
	src/Makefile.am, src/main.cpp, src/accounthandler.cpp,
	src/connectionhandler.h, src/connectionhandler.cpp: Implemented
	common chat handling, except for chatting in channels. Also the
	Channel registering/unregistering isn't there yet and the commands
	needs to be implemented. Added a small slangs filter to reduce bad
	words in account names and in conversations a little.

2005-12-26  Bjrn Lindeijer  <bjorn@lindeijer.nl>

	* src/storage.cpp: Removed manual throwing of std::bad_alloc, which
	should happen by default unless new(nothrow) is used. Suggested by
	r0nny.

2005-12-20  Yohann Ferreira  <bertram@cegetel.net>

	* src/Makefile.am: Adding the MapManager to files list.
	* src/utils/logger.cpp, src/utils/logger.h, src/main.cpp,
	src/configuration.cpp, src/connectionhandler.cpp,
	src/mapmanager.cpp, src/mapreader.cpp, src/messagehandler.cpp,
	src/skill.cpp, src/resourcemanager.cpp, src/dalstorage.cpp,
	src/accounthandler.cpp: Adding command line argument parsing and
	log verbosity level handling.

2005-12-18  Eugenio Favalli  <elvenprogrammer@gmail.com>

	* src/main.cpp, src/mapreader.cpp, tmwserv.dev,
	src/mapmanager.cpp, src/mapmanager.h: Added a map manager to
	load/unload/reload maps.

2005-12-18  Yohann Ferreira  <bertram@cegetel.net>

	* src/accounthandler.cpp, src/netcomputer.h, src/netcomputer.cpp,
	src/chathandler.cpp, src/connectionhandler.cpp,
	src/gamehandler.cpp, src/connectionhandler.h, src/state.h,
	src/state.cpp: Made the handlers use the countedPtr for Beings
	as they should. Fixed a segfault when removing a being from the
	world. Also made use of AccountPtr instead of Account* to fix a
	not seen but yet present account reselection segfault bug.

2005-12-17  Bjorn Steinbrink  <B.Steinbrink@gmx.de>

	* src/messageout.h: Fixed some 64bit issue.

2005-12-12  Yohann Ferreira  <bertram@cegetel.net>

	* src/accounthandler.cpp, src/netcomputer.h,
	src/netcomputer.cpp, src/defines.h, src/dalstorage.cpp,
	src/dalstorage.h, src/storage.h, src/client.cpp, src/main.cpp:
	Now beings are handled in netcomputer when added and removed
	from the world. addBeing() and removeBeing() are still crashy.
	Added check if the character's name already exists. Forgot about
	that. Added CMSG_CHAR_LIST packet support.

2005-12-11  Yohann Ferreira  <bertram@cegetel.net>

	* src/accounthandler.cpp, src/main.cpp, src/account.h,
	src/account.cpp, src/dalstorage.cpp, src/client.cpp,
	src/defines.h: Added Logout, and character deletion support.
	Also changed the response code when trying to login when already
	logged.
	* src/accounthandler.cpp, src/main.cpp, src/dalstorage.cpp,
	src/client.cpp, src/connectionhandler.cpp, src/defines.h:
	Added unregistering, checking on character's name and email
	length support. Also made some little tweaks.

2005-12-10  Yohann Ferreira  <bertram@cegetel.net>

	* src/dalstorage.cpp: Fixed the buggy part of getAccount()
	where the mapInfo() recordSet erased the value of charInfo.
	Now, characters can be created and selected, with the map
	they were in, set.

2005-12-09  Yohann Ferreira  <bertram@cegetel.net>

	* src/dalstorage.cpp, src/accounthandler.cpp: Temporary
	made a workaround the character misloading at login.
	Work is to be made to see why the mapInfo recordset is
	buggy. Also made the server more verbose about characters.

2005-12-08  Yohann Ferreira  <bertram@cegetel.net>

	* src/dalstorage.cpp, src/dalstorage.h, src/storage.h:
	Radically improve the getEmailList() again based on
	MrLindeijer's good idea.
	* src/accounthandler.cpp: Simplify the code of Email check
	based on the previous improvement.

2005-12-06  Yohann Ferreira  <bertram@cegetel.net>

	* src/dalstorage.cpp: Improved the getEmailList() function.
	Now the file used as db or the db name is shown in log.
	* src/defines.h: Added some missing messages and values for
	them. Login, pass min, max length can be changed there now.
	* src/accounthandler.cpp: Added check and appropriate response
	when selecting, creating a character.

2005-12-05  Yohann Ferreira  <bertram@cegetel.net>

	* src/dalstorage.cpp: Added a working getEmailList() function.
	* src/accounthandler: Now tests if email already exists.
	* src/accounthandler.cpp, src/defines.h: Strengthens the way
	email addresses checked. Added good response for selecting
	a char when not logged.
	* src/storage.h, src/dalstorage.h, src/dalstorage.cpp: Added
	the getEmailList function, doesn't seem to work, but committed
	to see why.

2005-12-03  Yohann Ferreira  <bertram@cegetel.net>

	* src/accounthandler.cpp: Handling good conditions to register.
	Still lacks checking if the Email already exists.
	* src/dalstorage.cpp: Fixed a bug that throwed an exception when
	logging with an account that had no mapInfo yet.
	Still has to set these to defaults in such case.

2005-12-02  Yohann Ferreira  <bertram@cegetel.net>

	* src/main.cpp, src/accounthandler.h, src/accounthandler.cpp,
	src/configuration.h: Made the accounthandler reopen the db for
	SQLite to enable registering ! Now working.

2005-11-21  Aaron Marks  <nymacro@gmail.com>

	* src/state.cpp: Re-ordered a few statements to work better.
	* src/dalstorage.cpp: Now sets being's current map when getting a
	player's account.

2005-11-16  Aaron Marks  <nymacro@gmail.com>

	* src/state.h, src/state.cpp: Updated world related functions.
	* src/accounthandler.cpp: Now adds players who have selected a
	character to the game world.
	* src/object.h: Updated to include member variable for current map
	the object is located.

2005-11-15  Aaron Marks  <nymacro@gmail.com>

	* src/state.h, src/state.cpp: Updated world representation, added
	various methods which provide easy access to the game world.
	* src/defines.h: Added "private message" message.
	* src/client.cpp, scripts/init.rb: Added experimental remote access
	to Ruby's functionality.

2005-11-14  Aaron Marks  <nymacro@gmail.com>

        * src/bindings.i: Enabled "directors", allowing scripting language
        to override virtual functions.

2005-11-12  Aaron Marks  <nymacro@gmail.com>

	* src/main.cpp: Added scripting with Ruby support
	* src/bindings.i: Created basic SWIG bindings.
	* src/Makefile.am: Updated to support Ruby & generate SWIG
	bindings.
	* configure.ac: Updated to detect SWIG & Ruby, using them
	appropriately.
	* scripts/init.rb: Server initialization test script.

2005-11-10  Aaron Marks  <nymacro@gmail.com>

	* src/client.cpp: Updated client to support moving and equipping.
	* src/being.h, src/being.cpp: Added "hasItem"
	* src/state.cpp: Added beings updating.

2005-10-24  Yohann Ferreira  <Bertram@cegetel.net>

	* src/main.cpp: Added more useful infos at startup.
	* src/dal/dataprovider.h, src/dal/dataprovider.cpp,
	src/dal/sqlitedataprovider.cpp, src/dal/mysqldataprovider.cpp,
	src/dal/pqdataprovider.cpp, src/main.cpp, src/client.cpp:
	Grammar corrections, and a little bit of work on getting the name
	of the Db.