This repository has been archived by the owner on Sep 25, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
/
ChangeLog
3222 lines (2558 loc) · 138 KB
/
ChangeLog
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
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
=== ChangeLog discontinued ===
With the move to git, The Mana Server has switched from a ChangeLog
file to relying on commit messages to provide change history.
2008-11-20 Philipp Sehmisch <[email protected]>
* src/game-server/attackzone.hpp, src/game-server/being.cpp,
src/game-server/character.cpp, src/game-server/collisiondetection.cpp,
src/game-server/collisiondetection.hpp: Added rectangular attack zones
which are faster and simpler to calculate than the cone-shaped ones.
Currently used by the characters unarmed attack.
2008-11-09 Bjørn Lindeijer <[email protected]>
* src/game-server/character.cpp: Fixed crash when a script can't be
found.
2008-11-06 David Athay <[email protected]>
* src/scripting/lua.cpp, src/defines.h,
src/game-server/gamehandler.cpp,
src/game-server/accountconnection.cpp: Added sending post via NPC.
2008-11-02 Philipp Sehmisch <[email protected]>
* src/scripting/lua.cpp: Added convenience wrappers for converting
STL lists, vectors, maps and sets to lua tables.
* data/scripts/test.lua: Added a dialog option to test npc which
retreives some stl containers from the c++ part and prints them to
the server console.
2008-11-06 David Athay <[email protected]>
* src/game-server/commandhandler.cpp, src/utils/string.cpp,
src/utils/string.hpp: Use a string util for converting strings to
integers, as per Bjorns suggestion.
2008-11-05 Dennis Friis <[email protected]>
* src/game-server/commandhandler.cpp: Fix integer arguments randomly
failing due to stream flags not being cleared. To reuse a stream you
must do stream.clear(); stream.str(string); for it to work.
2008-11-05 Andreas Habel <[email protected]>
* src/account-server/dalstorage.cpp,
src/account-server/dalstorage.hpp,
src/account-server/serverhandler.cpp, src/defines.h,
src/game-server/accountconnection.cpp,
src/game-server/itemmanager.cpp, src/game-server/itemmanager.hpp:
Added version information to item database. Game server reports its
local version to account server and gets notified if the version is
up-to-date or outdated to prevent inconsistencies. Account server
initially loads item database on startup and synchronizes tmw_items
table in the database.
2008-11-04 David Athay <[email protected]>
* src/chat-server/chathandler.cpp, src/chat-server/chathandler.hpp,
src/defines.h: Added notifying party members when a player joins or
quits.
* src/game-server/state.cpp, src/game-server/being.cpp,
src/game-server/character.hpp, src/game-server/object.hpp: Added
updating party member health.
2008-11-03 David Athay <[email protected]>
* src/game-server/commandhandler.cpp: Fixed argument processing.
2008-11-03 Andreas Habel <[email protected]>
* src/sql/sqlite/createTables.sql, src/sql/mysql/createTables.sql,
account-server/dalstorage.cpp, account-server/dalstorage.hpp,
account-server/dalstoragesql.hpp, chat-server/post.cpp,
chat-server/post.hpp: Added tables and statements to store and retrieve
letters. Attachments not functional as long as items not stored as
individual items.
* docs/database_specification.png: Added database specification chart
2008-11-02 Philipp Sehmisch <[email protected]>
* data/scripts/libs/libtmw.lua, data/scripts/libs/libtmw-constants.lua:
Moved the long list of constants at the beginning of libtmw to an
additional lua source file.
2008-11-01 Roderic Morris <[email protected]>
* src/game-server/commandhandler.hpp, src/game-server/gamehander.cpp,
src/game-server/commandhandler.cpp: some fixes for the command handler,
it still needs some more work though.
2008-11-01 Philipp Sehmisch <[email protected]>
* src/game-server/character.hpp, src/game-server/scripting/lua.cpp:
Added script bindings for manipulating the characters experience.
* src/game-server/character.cpp: Catched a potential integer underflow
in experience calculation.
* data/scripts/lib/test.lua: added constants for character skills.
* data/scripts/test.lua: Added example script for manipulating
character experience.
* src/game-server/character.cpp, src/game-server/character.hpp,
src/game-server/gamehandler.cpp, src/defines.h: Implemented basic
netcode for using special actions like magic. Currently triggers a
function in libtmw.lua which makes the caster speak some text (magic
system implementation phase 1 and 2)
2008-10-31 David Athay <[email protected]>
* src/utils/string.cpp, src/utils/string.hpp, src/Makefile.am,
src/game-server/commandhandler.cpp, src/game-server/commandhandler.hpp,
src/game-server/gamehandler.cpp, src/game-server/accountconnection.cpp,
src/game-server/accountconnection.hpp, gameserver.cbp: Changed the
commands to be handled without template magic.
2008-10-29 Bjørn Lindeijer <[email protected]>
* src/game-server/being.cpp, src/game-server/monster.cpp,
src/game-server/being.hpp, src/game-server/monster.hpp: Some code
formatting cleanup and unduplicated conversion from direction to
angle.
2008-10-29 Chuck Miller <[email protected]>
* src/game-server/collisiondetection.cpp, src/game-server/monster.cpp,
src/game-server/being.cpp: Replaced the collision detection function
due to it being broken, I left it in the source, just commented out if
someone wants to try to fix it later on. In other news, this patch
now makes it possible to hit them pesty maggots.
2008-10-27 Bjørn Lindeijer <[email protected]>
* src/account-server/serverhandler.cpp,
src/account-server/dalstorage.hpp, src/game-server/state.cpp,
src/game-server/effect.cpp, src/game-server/effect.hpp: Compile fixes
and warning fixes.
2008-10-27 David Athay <[email protected]>
* src/defines.h, src/account-server/serverhandler.cpp,
src/account-server/dalstorage.cpp, src/account-server/dalstorage.hpp:
Added changing player's character and account level.
2008-10-27 Philipp Sehmisch <[email protected]>
* src/scripting/lua.cpp: Added script binding for spawning effets from
scripts.
* data/scripts/test.lua: Created example NPC for spawning effetcs from
scripts.
2008-10-27 Chuck Miller <[email protected]>
* src/defines.h, src/game-server/thing.hpp, src/game-server/state.cpp,
src/game-server/effect.cpp, src/game-server/effect.hpp: Added a system
to send effects (can be sound or graphics) to the client. You can use
it by including game-server/effect.hpp and calling Effects::show()
2008-10-26 Bjørn Lindeijer <[email protected]>
* src/account-server/dalstorage.cpp, src/net/connection.cpp,
src/net/connection.hpp, src/game-server/accountconnection.cpp,
src/game-server/main-game.cpp: Some cleanup and an unsuccesful attempt
at fixing a crash on map server exit when there is no connection the
account server (a different one surfaced).
2008-10-25 Roderic Morris <[email protected]>
* docs/commands.txt, docs/packets.txt, src/defines.h:
Correct commands.txt, get rid of horribly inaccurate packets.txt,
and make a todo for improving defines.h's documentation.
2008-10-24 Chuck Miller <[email protected]>
* src/game-server/being.hpp: Changed direction values to match the
client's
2008-10-24 David Athay <[email protected]>
* data/scripts/test.lua, data/scripts/libs/libtmw.lua: Fixed example
script, and added defines for attributes.
* src/scripting/lua.cpp, src/game-server/command.cpp,
src/game-server/gamehandler.cpp, src/game-server/accountconnection.cpp,
src/game-server/postman.hpp, gameserver.cbp, data/scripts/test.lua,
data/scripts/libs/libtmw.lua: Added post callback for getting post.
Added GM command for changing player attributes. Changed GM command to
@ as '/' was already being used by client for local commands.
2008-10-23 Bjørn Lindeijer <[email protected]>
* src/utils/string.cpp, src/utils/string.hpp,
src/game-server/item.hpp, src/game-server/itemmanager.cpp: Fixed
compiler warnings, including a forgotten initialization of an item's
script pointer.
2008-10-23 David Athay <[email protected]>
* src/scripting/lua.cpp: Added functions for getting being name and
attributes in scripts.
* data/scripts/test.lua: Added example of using above functions.
2008-10-22 Chuck Miller <[email protected]>
* src/game-server/mapreader.cpp, src/utils/sting.cpp,
src/utils/string.hpp: Makes the values in tmx files ignore case for
convience.
2008-10-22 Chuck Miller <[email protected]>
* src/game-server/item.cpp, src/game-server/item.hpp
src/game-server/itemmanager.cpp: Added on item use scripts.
2008-10-22 David Athay <[email protected]>
* src/scripting/lua.cpp, src/game-server/mapcomposite.cpp,
src/game-server/main-game.cpp: Fixed NPC id's starting from 0. Changed
time between reconnection attempts.
* src/scripting/lua.cpp, src/game-server/npc.hpp,
src/game-server/npc.cpp: Added enabling and disabling NPCs.
2008-10-21 Roderic Morris <[email protected]>
* data/scripts/libs/libtmw.lua: Patch by Kage_Jittai to have NPC ids
returned when creating new NPCs.
2008-10-21 Roderic Morris <[email protected]>
* src/scripting/lua.cpp, data/test.lua, data/scripts/test.lua,
data/scripts/npclib.lua, data/scripts/libs,
data/scripts/libs/npclib.lua, data/scripts/libs/libtmw.lua,
data/scripts/libtmw.lua: Changed the ordering of lua scripts in
preperation for content conversion.
2008-10-21 Bjørn Lindeijer <[email protected]>
* src/account-server/account.cpp, src/chat-server/post.cpp,
src/defines.h, src/game-server/resourcemanager.cpp: Fixed some compile
warnings.
2008-10-21 Dennis Friis <[email protected]>
* src/dal/sqlitedataprovider.h, src/game-server/being.hpp: Add
limits.h where needed.
2008-10-21 David Athay <[email protected]>
* src/account-server/serverhandler.cpp,
src/account-server/dalstorage.cpp, src/account-server/dalstorage.hpp,
src/account-server/dalstoragesql.hpp, src/defines.h,
src/game-server/accountconnection.cpp, src/game-server/main-game.cpp:
The game server now tries to connect to the account server when
disconnected. Fixed some of the postal system.
2008-10-17 Andreas Habel <[email protected]>
* src/sql/sqlite/createTables.sql, src/sql/mysql/createTables.sql:
Added table definitions for item auctions.
2008-10-15 David Athay <[email protected]>
* src/chat-server/chathandler.cpp, src/defines.h,
src/game-server/state.cpp, src/game-server/movingobject.hpp,
src/game-server/gamehandler.cpp, src/game-server/object.hpp: Added
communicating a change of direction to the clients.
2008-10-13 Andreas Habel <[email protected]>
* src/account-server/dalstorage.cpp: fixed bug 456: erroneous sql
query at character save
2008-09-27 Philipp Sehmisch <[email protected]>
* src/game-server/attackzone.cpp, src/game-server/attackzone.hpp,
src/game-server/being.cpp, src/game-server/being.hpp,
src/game-server/character.cpp, src/game-server/character.hpp,
src/game-server/item.cpp, src/game-server/item.hpp,
src/game-server/itemmanager.cpp, src/game-server/monster.cpp,
src/game-server/monster.hpp, src/game-server/monstermanager.cpp,
gameserver.cbp, src/Makefile.AM: Implemented getting the attack zone
of weapons from the item database and implemented single target
attacks useful for projectile weapons like bows.
2008-09-19 David Athay <[email protected]>
* accountserver.cbp, src/account-server/main-account.cpp,
src/account-server/serverhandler.cpp, src/chat-server/post.cpp,
src/chat-server/post.hpp, src/defines.h,
src/game-server/gamehandler.cpp,
src/game-server/accountconnection.cpp,
src/game-server/gamehandler.hpp,
src/game-server/accountconnection.hpp, src/game-server/postman.hpp,
src/game-server/main-game.cpp, gameserver.cbp: Added post
communication between chat and game servers,
2008-09-19 Andreas Habel <[email protected]>
* Doxyfile: doxygen writes all warnings into a separate file
* docs/tmwserv.xml: added link to wiki documentation as comment
* src/account-server/dalstorage.cpp, src/account-server/dalstorage.hpp,
src/account-server/dalstoragesql.hpp, src/sql/mysql/createTables.sql,
src/sql/sqlite/createTables.sql, src/sql/sqlite/tmw.db: Added table
tmw_char_skills to store skills of a character. Removed weapon skills
from table tmw_characters.
2008-09-18 David Athay <[email protected]>
* src/chat-server/post.hpp, src/chat-server/post.cpp, src/defines.h,
src/game-server/gamehandler.cpp, src/game-server/gamehandler.hpp,
src/game-server/main-game.cpp: Changed timing to be 100ms per tick.
Added post manager on chat server.
2008-09-17 Andreas Habel <[email protected]>
* src/sql/*, src/account-server/dalstoragesql.hpp: added installation
scripts to set up database schemas for mysql, sqlite and postgresql.
The create table statements have been completely removed out from the
c++ source into separate, provider specific sql files.
* docs/tmwserv.xml: added database specific parameters to configure
each provider, that is used as database backend independent
* Doxyfile: doxygen now also includes non-documented functions and
provides a dictionary for all classes.
* dal/dataprovider.h, dal/sqlitedataprovider.h,
dal/mysqldataprovider.h, dal/mysqldataprovider.cpp,
dal/sqlitedataprovider.cpp: Extended abstract dataprovider to support
transactions, implemented for SQLite and mySQL. Added methods to
retrieve last inserted auto-increment value and the number of modified
rows in the last statement.
* account-server/dalstorage.cpp: Tiny rewrite to be a little more
transactional and use advanced database functionality. Fixed a bug
when deleting a character that left data in quests table and guilds
table. Simplified the connect routine of DALStorage class since every
dataprovider is now responsible to retrieve its parameters for itself.
2008-09-15 Andreas Habel <[email protected]>
* Doxyfile: added doxygen file, docu will be generated under
docs/api/html.
* src/account-server/dalstorage.cpp,
src/account-server/dalstorage.hpp,
src/account-server/dalstoragesql.hpp,
src/account-server/main-account.cpp: Added table tmw_world_states to
store map and world-specific variables, extended DALStorage to set and
get those new variables, applied Kess's diff file from mantis #424
with modifications for PostgreSQL support.
2008-09-10 Andreas Habel <[email protected]>
* src/account-server/dalstorage.cpp, src/account-server/account.cpp,
src/account-server/account.hpp, src/account-server/accounthandler.cpp,
src/account-server/dalstorage.hpp,
src/account-server/dalstoragesql.hpp: Extended tmw_accounts table with
columns for lastlogin and registration date. Modified account-server
to fill the new columns on registration and login. Recreation of
database needed!
* src/account-server/dalstorage.cpp,
src/account-server/dalstoragesql.hpp: Added createIndex function to
create indexes on tables.
2008-08-28 David Athay <[email protected]>
* src/account-server/dalstorage.cpp: Set banned user's level to
AL_BANNED.
* src/account-server/main-account.cpp,
src/account-server/dalstorage.cpp, src/account-server/dalstorage.hpp:
Added checking for expired bans.
* src/account-server/dalstorage.cpp,
src/account-server/dalstorage.hpp: ExceptionFault corrected my poor
sql skills.
2008-08-18 Roderic Morris <[email protected]>
* src/game-server/mapreader.cpp: fix compilation on gcc 4.3.
2008-08-18 David Athay <[email protected]>
* src/account-server/dalstorage.cpp, src/chat-server/guild.hpp,
src/chat-server/chathandler.cpp: Misc fixes of guild.
* src/account-server/dalstorage.cpp,
src/account-server/dalstorage.hpp,
src/account-server/dalstoragesql.hpp,
src/chat-server/guildmanager.cpp, src/chat-server/chatclient.hpp,
src/chat-server/guild.cpp, src/chat-server/guildmanager.hpp,
src/chat-server/guild.hpp, src/chat-server/chathandler.cpp: Changed
guilds to use character id.
2008-08-13 Yohann Ferreira <[email protected]>
* src/game-server/gamehandler.cpp, src/game-server/map.hpp:
Corrected the distance needed to speak to NPC and trade with others
characters.
2008-08-13 Bjørn Lindeijer <[email protected]>
* src/game-server/monstermanager.cpp: Don't ignore monster with ID 0,
since our maggot uses that.
2008-08-13 David Athay <[email protected]>
* src/chat-server/guildmanager.cpp, src/chat-server/chathandler.hpp,
src/chat-server/chatclient.hpp, src/chat-server/guild.cpp,
src/chat-server/guildmanager.hpp, src/chat-server/chatchannel.cpp,
src/chat-server/guild.hpp, src/chat-server/chatchannel.hpp,
src/chat-server/chathandler.cpp, src/defines.h: Added permission
levels to guilds and operator permissions to channels.
2008-08-10 Philipp Sehmisch <[email protected]>
* src/game-server/character.cpp: Corrected the way weapon skills is
taken into account in damage calculation.
2008-08-04 Bjørn Lindeijer <[email protected]>
* src/game-server/mapreader.cpp, src/game-server/mapreader.hpp: Fixed
another crash when reading inlined object properties.
2008-07-28 Roderic Morris <[email protected]>
* src/game-server/character.cpp: Avoid a crash caused by the last
commit.
* src/game-server/being.cpp: Calculate magic damage according to wiki
spec.
* src/account-server/dalstorage.cpp: Read guild permissions from the
db.
* src/chat-server/guild.hpp, src/chat-server/guild.cpp: Use const
strings.
2008-07-27 Roderic Morris <[email protected]>
* src/game-server/character.cpp: Take into account weapon skills in
damage calculation.
2008-07-24 David Athay <[email protected]>
* src/defines.h, src/game-server/movingobject.cpp,
src/game-server/gamehandler.cpp, src/game-server/gamehandler.hpp,
gameserver.cbp: Added error message when NPC is too far away.
2008-07-22 David Athay <[email protected]>
* src/chat-server/guild.cpp, src/chat-server/guild.hpp,
src/chat-server/chathandler.cpp, src/defines.h: Add permissions to
guild members.
* src/account-server/dalstorage.cpp,
src/account-server/dalstorage.hpp,
src/account-server/dalstoragesql.hpp,
src/chat-server/guildmanager.cpp, src/chat-server/guild.cpp,
src/chat-server/guild.hpp: Save guild member permissions.
2008-07-07 Philipp Sehmisch <[email protected]>
* src/scripting/script.cpp, src/scripting/script.hpp,
src/scripting/lua.cpp, data/scripts/libtmw.lua: Implemented death
listener for scripting engine.
* data/test.lua: Made the spider tamer a scorpion tamer (because
spiders aren't implemeted and thus make bad test subjects in this
case) and used the death listeners to make him complain when the
scorpions are killed.
2008-07-07 Roderic Morris <[email protected]>
* src/chat-server/chathandler.hpp, src/chat-server/chathandler.cpp,
src/chat-server/chatchannelmanager.hpp, src/defines.h,
src/chat-server/chatchannelmanager.cpp: Got rid of channel
registering. Channels are automatically created with /join,and removed
when the last person /quits.
2008-07-07 David Athay <[email protected]>
* src/account-server/serverhandler.cpp,
src/account-server/serverhandler.hpp, src/chat-server/party.cpp,
src/chat-server/party.hpp, src/chat-server/chathandler.cpp: Added
party support between account and game servers.
2008-07-03 Roderic Morris <[email protected]>
* src/game-server/character.cpp, src/game-server/gamehandler.cpp:
Fix errors in the last commit.
2008-07-03 David Athay <[email protected]>
* src/defines.h, src/game-server/character.cpp,
src/game-server/character.hpp, src/game-server/gamehandler.cpp,
src/game-server/accountconnection.cpp,
src/game-server/gamehandler.hpp,
src/game-server/accountconnection.hpp: Removed guild stuff from game
server. Added some party stuff to game server.
2008-07-03 Roderic Morris <[email protected]>
* src/game-server/mapreader.cpp, src/game-server/mapreader.hpp:
Avoid a crash when there's no content in <property/> tags.
* src/game-server/map.cpp, src/game-server/map.hpp: Enable arbitrary
tile sizes. This hasn't been tested yet.
* data/maps.xml: Enable the new maps, though their warps and spawns
haven't been set up yet.
2008-06-26 Roderic Morris <[email protected]>
* src/scripting/lua.cpp: Fix compile error.
* src/chat-server/guild.hpp, src/chat-server/guild.cpp,
src/account-server/serverhandler.cpp: Get rid of random access
method on list.
* src/chat-server/guildmanager.hpp, src/chat-server/guildmanager.cpp,
src/chat-server/chathandler.cpp: Use a clearer method name.
2008-06-25 Roderic Morris <[email protected]>
* src/chat-server/guildmanager.cpp, src/chat-server/guildmanager.hpp,
src/chat-server/chathandler.cpp, src/chat-server/chathandler.hpp,
src/chat-server/chatchannelmanager.cpp,
src/chat-server/chatchannelmanager.hpp, src/chat-server/guild.hpp:
Handle topic changes, and inform guild members about players going
offline / online and leaving / joining the guild.
* src/defines.h: Update protocol definitions.
2008-06-14 Roderic Morris <[email protected]>
* src/account-server/dalstorage.cpp: Work around for members not being
added to their guilds.
2008-06-10 Roderic Morris <[email protected]>
* src/chat-server/chathandler.cpp, src/chat-server/chathandler.hpp,
src/defines.h: Update chat packet definitions, get rid of old unused
functions.
2008-06-09 Roderic Morris <[email protected]>
* src/chat-server/chatchannelmanager.cpp: List channels that can
be joined, not ones that can't, and tell players that a person has
left their channels when they've disconnected from the chat server.
2008-06-03 Roderic Morris <[email protected]>
* src/account-server/dalstorage.cpp,
src/account-server/dalstorage.hpp,
src/chat-server/chatchannelmanager.cpp,
src/account-server/dalstoragesql.hpp: Stop storing chat channels in
the db.
* src/chat-server/chathandler.hpp, src/chat-server/chathandler.cpp:
Have joinGuildChannel return a ChatChannel in case we need it
constructing a packet. Send channel announcements.
2008-06-02 Philipp Sehmisch <[email protected]>
* data/test.lua: Used an example for schedule_in which is more in step
with actual practice. Used an example for schedule_every which is less
annoying for the server admin.
* data/test.lua, data/scripts/libtmw.lua: Replaced some magic numbers
with variables for better code readability.
* data/test.lua, data/scripts/libtmw.lua: Removed the unused "npc"
argument from the get_quest_var function.
2008-05-31 Philipp Sehmisch <[email protected]>
* data/script/libtmw.lua: Scripted a scheduler which can execute
script functions at regular intervals or in a given number of seconds.
This will be very useful for any quest or effect script where timing
is important.
* data/test.lua: Used the script scheduler to schedule 3 demo tasks: a
5 second cronjob and two fixed point tasks where the second is
scheduled by the first (I'll make them do something more useful soon).
2008-05-30 Roderic Morris <[email protected]>
* src/account-server/accounthandler.cpp: Register chat clients with
their account level, don't assume normal user.
2008-05-29 Roderic Morris <[email protected]>
* src/game-server/command.cpp: Fixed execution of commands even if the
user has insufficient rights.
2008-05-23 David Athay <[email protected]>
* src/chat-server/guildmanager.cpp,
src/chat-server/guildmanager.hpp, src/chat-server/chathandler.cpp:
Use guildmanager to add users to guilds so its stored in the db.
2008-05-22 Philipp Sehmisch <[email protected]>
* src/game-server/being.hpp, src/game-server/collisiondetection.cpp,
src/game-server/collisiondetection.hpp, src/scripting/lua:cpp,
data/scripts/libtmw.lua: Implemented script bindings for getting
beings in a circular map area and damaging beings.
* data/test.lua: Scripted an NPC which damages all monsters and
characters which come close to it.
2008-05-22 Roderic Morris <[email protected]>
* src/utils/sha256.cpp, src/utils/encryption.cpp,
src/chat-server/chathandler.cpp, src/game-server/character.cpp: Fixed
compilation with GCC 4.3.
2008-05-19 Philipp Sehmisch <[email protected]>
* src/game-server/being.cpp, src/game-server/character.cpp,
src/game-server/character.hpp, src/game-server/mapreader.cpp,
src/game-server/npc.hpp, src/game-server/npc.cpp,
src/game-server/state.cpp, src/scripting/script.cpp,
src/scripting/script.hpp, src/scripting/lua.cpp,
data/scripts/libtmw.lua, data/test.lua: Implemented NPC names.
Implemented the theoretical possibility to have named monsters along
the way. Note that the syntax of the LUA functions for creating NPCs
has changed.
2008-05-18 Roderic Morris <[email protected]>
* src/game-server/command.cpp: Provide feedback when admin commands
fail.
2008-05-14 David Athay <[email protected]>
* src/chat-server/chatchannelmanager.cpp,
src/chat-server/chatchannelmanager.hpp,
src/chat-server/chathandler.cpp: Added check to ensure channel name
not already in use.
2008-05-08 Philipp Sehmisch <[email protected]>
* src/game-server/trigger.cpp, src/game-server/trigger.hpp,
src/game-server/mapreader.cpp, src/game-server/scripting.cpp:
Implemented possibility to have trigger areas which only trigger when
a being enters them and not every game tick the being is inside.
* src/scripting/lua.cpp, src/game-server/state.cpp,
src/game-server/state.hpp: Implemented script bindings for making
beings say something and sending private chat messages from scripts to
clients.
* data/test.lua: The trigger areas now make every being which steps on
them say something and send a private chat message to the being which
steps on them. Made the guard at the gate say something in random
intervals to demonstrate tmw.being_say with NPCs.
2008-05-06 Philipp Sehmisch <[email protected]>
* src/game-server/trigger.cpp, src/game-server/trigger.h,
src/scripting/lua.cpp: Implemented script trigger areas which call a
script function when an object steps into them.
* data/test.lua: Used script trigger areas to send all objects which
step into one of the areas onto a patrol path.
2008-05-03 Philipp Sehmisch <[email protected]>
* data/test.lua, data/scripts/libtmw.lua, data/scripts/npclib.lua:
Added headers to LUA files mentioning the purpose of the files and
their license.
2008-04-28 David Athay <[email protected]>
* src/chat-server/chathandler.cpp, src/defines.h, accountserver.cbp:
Added sending who accepted invite on invite response to client.
2008-04-23 Yohann Ferreira <[email protected]>
* src/account-server/accounthandler.cpp, src/defines.h: Realigned
email already exists error return value and removed getEmailAddress.
2008-04-23 Bjørn Lindeijer <[email protected]>
* src/utils/sha2.h, src/utils/sha256.h, src/utils/sha2.cpp,
src/utils/encryption.h, src/utils/sha256.cpp,
src/utils/encryption.cpp, src/account-server/accounthandler.cpp,
src/Makefile.am: Switched to alternative SHA-256 implementation from
InspIRCd.
* src/game-server/mapmanager.cpp, src/game-server/mapmanager.hpp:
Accepted fix by rodge, getting rid of assertion failure when an admin
tries to warp to a non-existing map.
* src/account-server/account.hpp: Fixed docs not to mention
encryption, since all we do is hashing.
* configure.ac: Since we decided not to use libcrypto, remove its
configure check.
* README: Updated documentation a bit.
2008-04-22 Bjørn Lindeijer <[email protected]>
* src/account-server/accounthandler.cpp, src/utils/sha2.h,
src/game-server/mapreader.cpp: Fixed some small issues.
2008-04-22 David Athay <[email protected]>
* src/chat-server/chathandler.cpp, src/chat-server/chathandler.hpp,
src/defines.h: Added more support for parties.
2008-04-21 Yohann Ferreira <[email protected]>
* src/Makefile.am, src/utils/sha2.h, src/utils/sha2.cpp,
src/utils/encryption.h, src/utils/encryption.cpp,
src/account-server/account.hpp, src/account-server/accounthandler.cpp:
Added password and email encryption server-side using SHA256.
2008-04-20 Bjørn Lindeijer <[email protected]>
* src/account-server/dalstorage.cpp, src/scripting/lua.cpp,
src/chat-server/party.cpp, src/chat-server/guild.cpp, src/defines.h,
src/net/connectionhandler.cpp, src/game-server/map.cpp,
src/game-server/character.cpp, src/game-server/character.hpp: Fixed
some compiler errors/warnings.
* data/test.lua: Added 100 to NPC IDs to keep 0.0 compatibility for
now.
2008-04-20 Dennis Friis <[email protected]>
* src/utils/zlib.cpp: Fix a possible memleak in inflateMemory if the
stream fails to uncompress cleanly.
2008-04-19 Yohann Ferreira <[email protected]>
* src/account-server/accounthandler.cpp,
src/account-server/dalstorage.hpp: Fixed 'Password changes' and
'Unregistering', server-side this time.
2008-04-18 David Athay <[email protected]>
* src/chat-server/chatchannelmanager.cpp,
src/chat-server/chatclient.hpp, src/chat-server/chathandler.cpp:
Fixed guilds not being removed when leader quits.
* src/chat-server/chathandler.cpp: Remove channel when leader quits
guild.
2008-04-17 David Athay <[email protected]>
* src/chat-server/chathandler.hpp, src/chat-server/chathandler.cpp:
Added basic party support.
2008-04-17 Yohann Ferreira <[email protected]>
* src/Makefile.am: Fixed compilation using automake.
2008-04-16 David Athay <[email protected]>
* accountserver.cbp, src/chat-server/party.cpp,
src/chat-server/chathandler.hpp,
src/chat-server/chatchannelmanager.cpp,
src/chat-server/chatclient.hpp, src/chat-server/guild.cpp,
src/chat-server/party.hpp, src/chat-server/guild.hpp,
src/chat-server/chatchannel.hpp, src/chat-server/chathandler.cpp,
src/defines.h, src/game-server/gamehandler.cpp,
src/game-server/main-game.cpp: Added handling creating and leaving
parties. Fixed up some of the private channel stuff that remained.
2008-04-15 David Athay <[email protected]>
* src/chat-server/chathandler.cpp: Fixed getting channel userlist.
2008-04-03 David Athay <[email protected]>
* src/chat-server/chathandler.cpp: Restricted who can be invited to
guilds.
* src/chat-server/chathandler.cpp, src/chat-server/chathandler.hpp,
src/defines.h: Fixed accepting guild invite and added updating the
guild member list.
2008-04-02 David Athay <[email protected]>
* src/chat-server/chathandler.cpp: Fix accepting guild invites.
2008-04-01 David Athay <[email protected]>
* src/account-server/dalstorage.cpp,
src/account-server/dalstoragesql.hpp,
src/chat-server/chatchannelmanager.cpp,
src/chat-server/chatchannel.cpp,
src/chat-server/chatchannelmanager.hpp,
src/chat-server/chatchannel.hpp, src/chat-server/chathandler.cpp,
gameserver.cbp: Consolidated public and private channels into one,
which also includes guild channels. Channels now have a joinable
field, which is true for channels that are created by users, and
false for guild channels. Chatting in guild channels now works, and
non-guild members can no longer join guild channels.
2008-03-31 Philipp Sehmisch <[email protected]>
* data/test.lua: Removed the +100 offset of NPC IDs (relict from
eAthena)
2008-03-25 Philipp Sehmisch <[email protected]>
* data/test.lua, data/scripts/npclib.lua: Added a Lua library with
walk around functions for NPCs.
2008-03-17 Philipp Sehmisch <[email protected]>
* src/scripting/lua.cpp: Error messages in script callback functions
are now handed to the lua interpreter.
2008-03-15 Philipp Sehmisch <[email protected]>
* src/game-server/map.cpp, src/game-server/movingobject.hpp,
src/game-server/object.hpp: Fixed a crash caused by the new blocking
system (thanks to peavey for reporting).
* src/scripting/lua.cpp: Implemented script bindings for querying
positions and controllig movement of beings.
* data/scripts/libtmw.lua, data/test.lua: Implemented script
infrastructure for regularily called NPC function.
* data/test.lua: Implemented NPCs which move around. One automatically
and one when talked to.
* src/game-server/npc.hpp: Added pathblocking rules to NPCs (blocked
by walls, mosters, other NPCs and player characters but do not block
player characters.
2008-03-13 Philipp Sehmisch <[email protected]>
* src/game-server/being.cpp, src/game-server/character.cpp,
src/game-server/character.hpp, src/game-server/map.cpp,
src/game-server/map.hpp, src/game-server/mapreader.cpp,
src/game-server/monster.cpp, src/game-server/monster.hpp,
src/game-server/movingobject.cpp, src/game-server/movingobject.hpp,
src/game-server/object.hpp, src/game-server/spawnarea.cpp,
src/game-server/thing.hpp: Implemented dynamic and selective
pathblocking. Monsters are blocked by player characters and
other monsters, player characters only by monsters.
* src/game-server/being.cpp: Omitted some superficial hit point
updates.
* src/game-server/state.cpp: Sending destination of beings when the
client comes on-screen to fix a bug which showed moving monsters as
standing in this situation.
2008-03-09 Philipp Sehmisch <[email protected]>
* src/defines.h, src/game-server/being.hpp,
src/game-server/monster.hpp, src/game-server/state.cpp:
Sending the attack type with attack messages so that the client can
visualize the different attacks monsters are using.
2008-03-06 David Athay <[email protected]>
* src/account-server/dalstorage.cpp,
src/chat-server/guildmanager.cpp, src/chat-server/chathandler.hpp,
src/chat-server/guildmanager.hpp, src/chat-server/chathandler.cpp,
src/chat-server/guild.hpp: Fixed rejoining guilds after client
reconnects to the server.
2008-03-05 David Athay <[email protected]>
* src/account-server/main-account.cpp,
src/account-server/dalstorage.cpp, src/chat-server/guildmanager.cpp
src/chat-server/guildmanager.hpp, src/chat-server/chathandler.cpp:
Fixed guild creation.
2008-03-04 David Athay <[email protected]>
* src/Makefile.am: Changed guild from account to chat server.
* src/account-server/main-account.cpp: Initialise guild manager
after the chat manager.
2008-03-03 Philipp Sehmisch <[email protected]>
* src/defines.h, src/game-server/being.cpp,
src/game-server/being.hpp, src/game-server/character.cpp: Added
natural HP regeneration, capped HP at maximum and set HP to 1 after
respawn.
* src/game-server/character.hpp: Reverted variables of exp per level
formula to reasonable values.
2008-03-02 Philipp Sehmisch <[email protected]>
* src/game-server/being.cpp, src/game-server/monster.cpp: Moved death
check from Being::damage to Being::update for more reliable death
detection and to fix the bug that the last hit on a monster does not
count for exp calculation.
2008-03-01 Philipp Sehmisch <[email protected]>
* src/game-server/monster.cpp: Implemented priority of different
monster attacks.
2008-02-27 Philipp Sehmisch <[email protected]>
* src/defines.h, src/game-server/character.cpp,
src/game-server/character.hpp, src/game-server/gamehandler.cpp:
Implemented provisorical player respawn.
2008-02-23 Philipp Sehmisch <[email protected]>
* src/game-server/monster.cpp: Improved monster AI by making monster
only use attacks which have a chance to hit the target and also use
them when the optimal combat distance hasn't been reached yet.
2008-02-21 Philipp Sehmisch <[email protected]>
* src/util/xml.cpp, src/util/xml.hpp, src/game-server/itemmanager.cpp,
src/game-server/monstermanager.cpp, src/game-server/item.hpp:
Moved the functions which translate strings in XML files into
enumerations from the parsers to the XML utilities.
* src/game-server/itemmanager.cpp, src/game-server/item.hpp: Added
"item types" hairsprite and racesprite and made the server ignore
items of these types so it stops complaining about these entries
(which only concern the client) being incomplete.
* src/defines.h, src/game-server/monstermanager.cpp,
src/game-server/monster.cpp, src/game-server/monster.hpp: Implemented
getting attack distance and attack properties from monsters.xml.
* src/util/xml.cpp, src/util/xml.hpp, src/game-server/item.hpp,
src/game-server/item.cpp, src/game-server/monstermanager.cpp,
src/game-server/itemmanager.cpp: Moved the functions which translate
strings into enumerations from the XML library into the item and
monstermanager modules and reimplemented them using std::maps.
2008-02-20 Philipp Sehmisch <[email protected]>
* src/game-server/monster.cpp: Fixed a bug which made wandering
monsters prefer walking northwest.
2008-02-13 Philipp Sehmisch <[email protected]>
* src/game-server/monstermanager.cpp: Movement speed in monsters.xml
is now interpreted as pixels per second instead of tiles per second.
* src/game-server/monster.cpp, src/game-server/monster.hpp,
src/game-server/monstermanager.cpp: Implemented monster mutation.
2008-02-12 Philipp Sehmisch <[email protected]>
* src/gameserver/monster.cpp, src/game-server/monster.hpp,
src/game-server/monstermanager.cpp: Monster speed and size is now read
from monsters.xml.
2008-02-07 Philipp Sehmisch <[email protected]>
* src/game-server/monster.cpp, src/game-server/monster.hpp,
src/game-server/monstermanager.cpp: Parts of monster behavior are now
read from monsters.xml. Warnings during monster parsing now include
the name of the monster.
2008-02-07 Bjørn Lindeijer <[email protected]>
* src/scripting/lua.cpp: Fail gracefully on invalid monster IDs, don't
leak monsters when called without a map and handle insertion failures.
2008-02-06 Philipp Sehmisch <[email protected]>
* src/scripting/lua.cpp: Implemented LUA callback function for
creating monsters.
* data/test.lua: Added NPC for testing scripted monster creation.
2008-02-05 Philipp Sehmisch <[email protected]>
* src/game-server/monster.cpp, src/game-server/monster.hpp,
src/game-server/monstermanager.cpp: Monster base attributes and
experience reward are now read from monsters.xml.
2008-01-28 Philipp Sehmisch <[email protected]>
* src/account-server/accounthandler.cpp,
src/account-server/character.cpp, src/account-server/character.hpp,
src/account-server/dalstorage.cpp,
src/account-server/dalstoragesql.hpp, src/dal/sqlitedataprovider.cpp,
src/defines.h, src/game-server/accountconnection.cpp,
src/game-server/being.hpp, src/game-server/character.cpp,
src/game-server/character.hpp, src/game-server/gamehandler.cpp,
src/game-server/item.cpp, src/game-server/itemmanager.cpp,
src/game-server/monster.cpp, src/game-server/monster.hpp,
src/serialize/characterdata.hpp: Implemented skill system, level gain
and attribute raising. Using 16 bit instead of 8 bit for representing
the character level. Updated weapon skill selection to latest design
decisions.
* src/game-server/monster.cpp: Monster attack animation is now
started in the moment the monster decides to attack and not the
moment damage is calculated. This makes it easier for the player
to react on the monsters attacks and makes the combat behavior of
monsters look more natural.
2008-01-24 Philipp Sehmisch <[email protected]>
* src/game-server/state.cpp: The direction of attacking beings is
now transmitted together with attack messages (has already been
implemented on the client-side but the server-sided part has been
forgotten somehow).
2008-01-23 Philipp Sehmisch <[email protected]>
* src/game-server/being.cpp: Fixed "immortal monster" bug.
* src/game-server/main-game.cpp: Made the gameserver work more and
complain less about not having enough time.
2008-01-10 Philipp Sehmisch <[email protected]>
* src/game-server/inventory.cpp, src/game-server/item.hpp,
src/game-server/itemmanager.cpp: Item types and weapon types
are now identified by name instead of numbers in the items.xml.
Cleaned out some nonsensical weapon types.
* src/serialize/characterdata.hpp, src/game-server/character.cpp:
Fixed account server compiling.
2008-01-07 Philipp Sehmisch <[email protected]>
* src/defines.h, src/game-server/being.cpp,
src/game-server/being.hpp, src/game-server/character.cpp,
src/game-server/inventory.cpp, src/game-server/itemmanager.cpp,
src/game-server/monster.cpp, src/serialize/characterdata.hpp:
Implemented some of the game mechanics we decided to use.
* src/game-server/character.cpp:
The clients now only receive attribute change messages
when the attribute actually changed.
* src/game-server/being.cpp, src/beinggame-server/.hpp,
src/game-server/character.cpp, src/game-server/monster.cpp,
src/game-server/monster.hpp:
Player characters and monsters now attack with different ranges
and angles (preparation for getting attack zone from weapon
properties or monster database).
2007-12-18 Philipp Sehmisch <[email protected]>