]> jfr.im git - irc/gameservirc.git/blame - gameserv/Changes
made some changes to the player constructors
[irc/gameservirc.git] / gameserv / Changes
CommitLineData
4798acd2 1Version 1.3.4
21567ae6 2* Fixed a new bug that crashed gameserv when someone attempted to register a nickname - Kain
f71a53ab 3* SET [playername] HP # now also sets the Max HP for a player if it's lower than what you're
4 setting the hp to. If you type /msg gameserv set player hp 1000, but their maxhp was
5 only 10, their maxhp will now be 1000 also - Kain
6* Added a new config file directive maxnicklen which lets you enforce a maximum length for
7 registering a new player - Kain (thanks Mauritz)
5de7a0b0 8* Fixed a bunch of memory leaks including one when a monster is found in the forest, when
9 the dragon is fought, and when a master is fought - Kain
4798acd2 10* Fixed a bug that would leave a player logged in after they quit - Kain (thanks Mauritz)
65444e11 11Version 1.3.3
000f8409 12* Fixed a bug causing players' HP to be set to 10 on gameserv load - Kain (thanks Mauritz)
13* Removed the timestamp update from the following commands if the player is fighting:
14 STATS, Inventory, and equip - Kain
f9db99e0 15* Added a parameter to the USE command that allows you to specify how many items to
16 use at once - Kain
d61f68e3 17* Really cleaned up the client/player list code. Converted it all to STL lists and changed
18 the players[] list to be a list<Player*> type instead of list<aClient*> - Kain
16593df4 19* Added PTLink as an officially supported IRCD, although it should have worked with hybrid - Kain
3eba370f 20* Fixed a memory leak when a player quits - Kain
c568cb03 21* Fixed a bug that would allow a player to quit the network while fighting the dragon,
22 come back and fight a monster, and would become the new dragon - Kain (thanks Mauritz)
bbb7e9be 23* Restricted character names to alphanumeric characters only - Kain (thanks Mauritz)
2ca6a3de 24* Added a fair fight checker which won't allow people who can kill others with one hit
25 to even challenge other players - Kain (thanks Mauritz)
4c2a9f3b 26* Fixed a bug that would delete a user upon reset or defeating the dragon - Kain
27* Fixed a compile bug for some operating systems in c_forest.cpp - Kain (thanks Mauritz)
8443f36d 28* Fixed a bug that occured when a player defeated another player and gameserv /noticed the channel
29 with the wrong name - Kain
30* Added a php directory to the source folder which contains a script for parsing the players.dat
31 file and put all the data into a mySQL database - Kain
53d5585b 32Version 1.3.2
68da0c55 33* Fixed a bug which allowed a player to run from the dragon, then fight a monster from the
34 forest and win the dragon fight - Kain (thanks Kit)
776fa0ca 35* Fixed a bug causing the player to be given the item with id 3001 (stick by default) every
36 time they time out - Kain
53d5585b 37* Fixed a bug in the do_set() command which caused /msg gameserv set nick alive false/true not
38 to work - Kain (thanks vroomfondel)
39* Fixed a bug in do_set() which was causing /msg gameserv set seen master false to take off the
40 admin flag - Kain (thanks vroomfondel)
41* Fixed a few bugs in the do_set() function causing GameServ to crash on /msg gameserv set nick or
42 /msg gameserv set nick action - Kain (thanks vroomfondel)
43* Fixed a logic error in pouch::addItem() that returned the top inventory item after a resort
44 instead of returning the last item added - Kain
45* Made gameserv automatically equip the Stick and Clothes on register - Kain
46* Added a parameter to the TAVERN BUY function that allows you to specify how many
47 items to buy - Kain (Thanks Kit)
48* Fixed the Player class data to be much more encapsulated. Now, in the code, all access to
49 the data members is through a function - Kain
e9206f16 50Version 1.3.1
f0e4ad51 51* Added most of the monsters submitted as suggestions from the forums - Kain
52 (Thanks DjSlash and CaliMonk)
c486dade 53* Implemented DrLnet's Player Fight Notification mod - Kain
93243065 54* Added a config file directive NUMROLLOVERFIGHTS which is the number of forest fights that
55 roll over every ROLLOVERPERIOD - kain (Thanks thelizno)
1fe6fccd 56* Added a config file directive ROLLOVERFORESTFIGHTS which will allow you to keep the forest
57 fights from the previous day - kain (Thanks thelizno)
58* Added a config file directive ROLLOVERPERIOD which will allow you to specify a period of time
59 to rollover the forest fights - kain (Thanks thelizno)
60* Added a config file directive MAXFORESTFIGHTS which allows you to specify a maximum amount of
61 forest fights a player can roll over - kain (Thanks thelizno)
f0e4ad51 62* Changed the percentage of potions found to be 1% - Kain
63* Fixed the reset function to make sure it adds the proper inventory - Kain
64* Fixed a bug causing the gsident config file directive to be ignored on
65 UnrealIRCD - Kain (Thanks tsukasa)
66* Fixed a bug causing players to be shown their own inventory when someone
67 else requested their stats - Kain (Thanks thelizno)
97ac7ddf 68* Fixed a bug causing a crash on /msg GameServ use - kain (Thanks thelizno)
f0e4ad51 69* Fixed a bug causing a crash on /msg GameServ equip - Kain (Thanks thelizno)
70* Fixed a bug causing nothing to happen 2% of the time when you search the forest. This was
71 supposed to be when you find a potion, but it wasn't added since the new Item system. - Kain
72 (Thanks Tsukasa)
e9a9bf88 73* Fixed a bug in the masteritems.dat file causing the chain saw to take 1 strength point
74 away instead of add 185 - kain (Thanks Tsukasa)
e9206f16 75* Fixed a bug causing the amount of gold when you find a sack of gold to be calculated
76 really low - kain
77
dc3073c7 78Version 1.3.0
285f72cf 79* Added a new config file directive "localhost" to specify an address to bind to - kain
1ee4a31b 80* Added a new config file directive for maximum number of items a player
81 can carry - kain
db6cc963 82* Added www.gameserv.us website to the startup banner
83* Completed new item system: http://www.gameserv.us/viewtopic.php?t=21 - kain
d7b578a1 84* Added a new config file directive for the master item data file - kain
85
1563e73b 86Version 1.2.6
b99e5077 87* Implemented the new dragon/boss system as suggested by Tsukasa:
88 Whenever someone beats the dragon, their player is placed in the Dragon's spot
89 guarding the lair. All other attempts to fight the dragon will cause a duel
90 between your old character and the challenger. You essentially become the new
91 dragon, but the old character's name gets a DRAGON- next to it. You are also
92 now reset back to level 1 - kain w/ thanks to Tsukasa at watnet.org for the idea
9c531957 93* Changed the way the sacks of gold and extra experience point forest
94 events were calculated. It is now just as if you killed a monster
95 and didn't have to fight - kain
fc300a1d 96* Fixed the socket code to allow for hostnames to be put in the
97 gameserv.conf for remoteserver instead of just IP addresses - kain
5431156e 98* Added capability for GameServ to identify with NickServ on connection - thank you
99 Tsukasa and watever
1563e73b 100* Added a /msg GameServ SET command with various options - kain
d7b578a1 101
40b9580b 102Version 1.2.5
5c449fde 103* All level master data is now being stored in data/masters.dat - kain
6e0b11d5 104* Added a new config file directive that allows you to specify whether or
5c449fde 105 not you want gameserv to send notices to the channel every time it
6e0b11d5 106 writes the player database - kain
5c449fde 107* Some under the scenes changes have been made with the way players' and
108 monsters' names, weapons, and death phrases are being stored which
109 should make for less memory leakage and minimized overall memory
110 usage - kain
a02e93a1 111* Fixed a minor bug where gameserv was not notifying of a syntax error in
5c449fde 112 /msg gameserv store buy x x - kain (thank you wolfgar)
113
c260a8d7 114Version 1.2.4
b3dcbd82 115* Monsters are completely generated except for the names, weapons, and
116 death cries. A range is set for each level's strength, gold, exp, and
117 hp, and a new monster is generated at random during every forest
118 search. This makes for a more unique gaming experience at the expense
119 of some cpu time on random number generations - kain & wolfgar
e99a4410 120* The structure for holding monsters is now different. Monsters are all
121 stored in the monsters subdirectory in levelx.dat files where x is
122 the level 1 through 12. This will allow for an arbitrary amount of
b3dcbd82 123 monsters per level - kain & wolfgar
89f30676 124* Every time a new news item is added, GameServ announces it in the forest
125 channel - kain
10e38380 126* Added a notice to the forest channel that the player data was
127 saved - kain
082f064d 128* Fixed some things with the upper limts of money and experience - kain
100c5e33 129* Changed the command LIST so it only lists people who are playing.
130 To get a full list, use LIST ALL - kain
e3fbfd85 131* Added two new config file options which allow you to specify how
132 long to wait before deleting level 1 and other levels' accounts
133 separately - kain
70065ca1 134* Added a new command CHECK which will display the amount of time until
135 the next refresh - kain
0b9f4972 136* Added a new config option to specify a refresh period in seconds.
137 Now you can specify how often you want the players to be given
138 new forest fights, etc... - kain
11f32a66 139* Fixed bug causing negative funds to be deposited into an account
140 (bugID 966653) (thank you Jono H - xjono)
19795233 141* Fixed a bug causing players to be duplicated on /msg gameserv
142 load - kain
7cc338f6 143* Added Ultimate2.8.x support - kain
36b31e1c 144* Healing potions can only add up to 100 over your max HP now - kain
9181f3e5 145* Changed the logic for the wishing well forest event. It now adds back
146 a forest fight if you were broke - kain
8929aba5 147* Fixed a bug causing the wrong bonuses to be added when a level was
506edbca 148 gained, and none to be added on the last level - kain
c260a8d7 149* Added daily news with automatic additions when you gain a level,
150 unsuccessfully best your master, kill someone, or are killed - kain
10e38380 151
acd65d8f 152Version 1.2.3
a6352eed 153* Took experience out of calculating the cost of potions - kain
f0314ad5 154* Added even more strength to masters (your defense bonus for each level)
155 to try to even out the fight - kain
156* Added more strength to monsters past level 7 and changed the masters'
157 stats accordingly - kain
158* Changed the fountain forest event to not take a forest fight if your
159 HP is at max - kain
ef7af7e7 160* Added more experience per monster past level 7 - kain
dd584134 161* Added a new forest event (find a potion) each potion has a 1/5 chance
162 of being the one you found, and you have a 2% chance of incurring
163 this forest event - kain
164* Added notification that a player used a potion during a fight to the
165 player they are fighting - kain
166* Added potions to the stats command - kain
016a160f 167* Made the code a bit less dependent on 12 levels - kain
168* Added a new parameter to the list command that allows listing only
169 those that are online and playing - kain
170* Added a new command "Dragon" which lets you fight the end boss - kain
fcca861d 171* Doubled the required experience for fighting masters - kain
b478c0df 172* Fixed a cosmetic bug (sorta) that caused your HP not to read 0 when
173 you're dead (thanks Ricky-S) - kain
b410b364 174* Fixed a divide by 0 bug that occurred when you attacked, but had no
175 weapon (BugID 946043) (thank you NOTevil) - kain
2158299e 176* Fixed a logic error allowing players to bank during a fight - kain
acd65d8f 177* Added more gold per monster above level 4 - kain
2158299e 178
0b259dff 179Version 1.2.2
b5b3532d 180* Fixed a logical error causing the ListenOnCF flag to only work in P10
181 servers - kain
f03267d1 182* Fixed the store command to display syntax on improper sequence of
183 commands (thanks damaged) - kain
6d053d90 184* Added monsters for levels 10, 11, and 12 (created by damaged, edited
185 by kain) - kain
186* Made the masters stats match the next level's monsters' stats a lot
187 closer - kain
c047f947 188* Fixed a bug that crashed gameserv on /msg gameserv master - kain
18b84d11 189* Made welcomemsg an optional config file option. If commented out
c047f947 190 or deleted, gameserv will not send the welcome message
191 (requested by zshack)- kain
903cd861 192* Made the ignoreservers config file option work for Unreal - kain
193* Fixed a minor logical problem that was causing players to be mugged
194 for 0 gold when they were either dead or had no gold on hand and
195 they timed out (thanks Rehm) - kain
e3ede4a7 196* Fixed the bug not allowing different config files to be used - kain
6f727d4c 197* Added an optional config file directive BOPER which makes
198 gameserv become an oper on the network - kain
9bafc40d 199* Added an optional config file directive USEPRIVMSG which makes
200 gameserv use /msg instead of /notice - kain
201* Made the ignoreservers config file option work for bahamut - kain
ae2685f6 202* Fixed an error in do_register that was not adding the client to the
203 players list correctly, causing newly registered players to be
204 locked out of identifying until the next gameserv restart - kain
205* Fixed an error that crashed GameServ if you tried to fight a player
206 lower than the configured level - kain
207* Reduced the effect of potions since the price is down - kain
208* Reduced the price of potions significantly - kain
0b259dff 209* Added a few timeout events if you're not in a fight - kain
210
05c527e6 211Version 1.2.1
91377fbe 212* Included a crontab script in all new distros now - kain
3f243b0b 213* Added a new flag that tells wether a person is playing instead of
214 relying solely on pointers - kain
448a1531 215* Added a mechanism to ignore on a nick to nick basis, and implemented
216 code to auto-ignore nicks on certain servers - kain
217* Changed the HASH command to iHASH (case insensitive) and sHASH (case
218 sensitive) - kain
ff7d02f3 219* Gameserv no longer opers - kain
220* New config file directive: listenonc_forest... see
221 gameserv.example.conf - kain
f1ab3b7c 222* Fixed a bug in identify that was causing players to be shown as not
223 playing (after the change in functions) - kain
224* Fixed up the is_playing boolean function to be more strict - kain
03a4bdbb 225* A true timestamp is now sent on SJOIN for hybrid servers. TS of 1
226 was messing things up - kain
227* Logs are now timestamped as follows: mm/dd/yyyy HH:MM:SS - kain
0b6098d5 228* Added a timeout mechanism with two new config file options - kain
229 - If players are fighting, and the one who's turn it is times out,
230 they lose their turn. If they both timeout after that,
231 they are logged out.
232 - If players are not fighting (player fights), they are simply
233 logged out.
4ffe71d3 234* Fixed a major bug causing a crash when players fought - kain
05c527e6 235* The gameserv server now attempts 3 reconnects if disconnected - kain
0b6098d5 236
71098075 237Version 1.2.0
79da067d 238* Took +devel out of the version reply in gameserv.cpp - kain
7996e5fd 239* Implemented a hashing algorithm for extremely fast searches through
240 the players and clients linked lists - kain & wcampbel
b0359af9 241* Fixed some of the fight code - kain
242* Added a logout command so you don't have to quit the IRC Network to
243 stop playing - kain
f2072f1a 244* Fixed a bug that was causing players not to be voiced on the forest
245 channel on P10 servers - kain
b0359af9 246* Added a missing code segment to decrement the player fights per
f2072f1a 247 day when you fight another player (reported by MaCbLiNd) - kain
03e0a9d8 248* Fixed a bug that allowed the same player name to be registered any
249 number of times - kain
a5316c52 250* Fixed a problem in when players quit on a P10 server, the /msg
251 gameserv list shows the irc nick as not NULL because it was only
252 setting the regular nick and not the realnick - kain
253* Fixed a logic error in the identify command that caused players to be
254 falsely shown as identified - kain
7f17db99 255* When a player logs off during a player fight, the fight now ends.
256 Before it was held in limbo - kain
71098075 257* Fixed a bug in the fight command requiring you to use an irc nickname
258 to fight (BugID 927789) - kain
0b6098d5 259
a28b7c65 260Version 1.1.9
ea353de1 261* Added 2 new config file directives (maxafightdistance and maxbfightdistance)
262 These allow you to set limits on the distance (in levels) two players
263 are allowed to fight with. See gameserv.example.conf for more info. - kain
1579dfa2 264* Fixed a bug in the identify command that falsly showed a player as
265 already being identified. - kain
266* Created Monsters for level 9 - kain
267* Added the beginnings of an end monster - kain
567c39e1 268* Slightly adjust the weapon and armor bonuses to prevent a divide by zero
269 exception (reported by wassup). - wcampbel
da5cf17a 270* Prevent players from issuing a FIGHT against a dead player (reported
271 by wassup). - wcampbel
bb668fcf 272* Fixed a core in RUN if a client wasn't playing. - wcampbel
a28b7c65 273* Added an option to specify the PID file in the config file. - kain
0b6098d5 274
ce61cdfa 275Version 1.1.8
1e1b5312 276* Missing directives now are identified for config files upon startup - kain
624c0352 277* Added a --help option to the gameserv binary - kain
278* Added an optional command line parameter to load a config file - kain
279* Added a nifty startup intro with the version number. - Kain
280* Fixed BANK BALANCE (BugID 895157) - wcampbel
09b85286 281* Completely removed the midnight() function code, and replaced it with
624c0352 282 some struct tm functionality with the localtime() function. - kain
b5fb1cc5 283* Major changes to the Makefile, cleaned up a number of rules and added
624c0352 284 dependencies (via make depend). - wcampbel
285* Corrected the VERSION reply, it broke ircII. - wcampbel
286* Fixed some P10/other protocol issues - wcampbel
287* Removed the old hard coded monsters entries. - wcampbel
ce61cdfa 288* Made gameserv load as a true daemon. gameserv.pid now contains the pid
624c0352 289 for the gameserv process. No more run script. - kain
290* Fixed a bug that caused the identify function to segfault. - kain
291* Fixed some P10 Functionality - kain
292* Merged in the Hybrid patch - wcampbel
0b6098d5 293
ce61cdfa 294Version 1.1.7
9436f02d 295* Added P10 Functionality (ircu-2.10.11.x)
9d3b1d42 296* Created Monsters for level 8
297* Increased the size of the monster struct to account for longer names,
298 weapons, and death phrases.
299* Created Monsters for level 7
8c734eb9 300* Fixed a bug causing the bank balance command not to work correctly.
301 (Thank you wcampbel)
302* Added HP potions to increase maximum HP.
b2641ac4 303* Made strength and defense potions add either 1 or 2 points rather than
304 0, 1, or 2.
84a5afb9 305* Made the monsters a bit harder. I found that as the game progressed,
306 it got easier and easier instead of harder.
1e639e3a 307* Fixed the forest events from happening too often. Also, the fountain
308 forest event specifically was adding too many forest fights, making
309 the day never end.
84a5afb9 310
f5c25639 311Version 1.1.6
ee38284f 312* Added a Reset command to GameServ that functions the same was as the
313 refresh command, except it completely resets a player to the beginning
314 of the game.
315* Fixed a bug that would cause monsters to have extremely high HP after
316 loading the monster database.
317* Tweaked the forest events percentages. They happened too frequently.
318* New player database format:
319 - Alive/Dead is no longer saved as a word in the database. It is
320 saved as a flag.
321 - 3 new integer values were added to the end of every player string
322 representing their inventory (healing, strength, and defense
323 potions).
324* Changed the Player structure to use 2 new flags which eliminated 2
325 boolean values (alive & yourturn) to save a little memory.
1902338e 326* Fixed a bug that allowed a player already in a fight to be challenged
327 by another player. The other player was then locked into the fight
328 with no way out.
5f34df27 329* Added a use command that allows a player to use items in their inventory.
330 Currently the only items are health, strength, and defense potions.
331 Command may be used in battle, but it costs you your turn.
73c71976 332* Changed the stats command so that it takes the player name as
333 the stats request. You type /msg GameServ stats nick still, but
334 nick no longer has to be on IRC. You use the player name instead of
335 the IRC Nickname.
f27a378f 336* Added a new hybrid patch to the contrib dir. (Thank you wcampbel)
337* Fixed a problem in the display_help() function that could cause a bus
338 error. The problem was with changing literal text when passed to the
339 function as a filename. The function now copies the data as a local
340 variable and modifies that. (Thank you wcampbel)
341* Fixed a bug that allowed a player to be registered twice if the player
342 was not online. (Thank you wcampbel)
9cda831c 343* Added an inventory command which allows players to view how many
344 potions they are storing.
345* Added a tavern command which allows players to buy potions and store
346 them in their inventory for later use.
f5c25639 347* Made some cosmetic changes to this file.
348* Added an inventory class Pouch which allows players to carry around
349 things such as potions and such.
350
922daad7 351Version 1.1.5
f5c25639 352* Added a missing help file admin_commands. It was written before, but
353 somehow was deleted.
20d5d721 354* Admins can now identify as any user without having the correct password.
355* Fixed a bug that allowed for two nicknames to identify for the same player.
f5c25639 356* Added a forestfights directive to the config file so admins can set the
357 default daily forest fights.
358* Added a die directive to the config file that will not let you start
359 GameServ if it is present.
20d5d721 360* Inputted monsters for Level 6. Six more levels left unfinished.
f5c25639 361* Changed confloadtime directive to welcomedelay directive in the config file.
362 This made more sense.
363* Added an updateperiod directive to the config file. This represents the
364 period (in seconds) for updating the player data file. Every time the
365 gameserv server gets a message it will check to see if "updateperiod"
366 seconds or more have elapsed since the last update.
367
bf2cabcd 368Version 1.1.4
f5c25639 369* Fixed the welcome msg sending "ICK" instead of the nickname of a new
370 aclient. (Thank you wcampbel)
371* Load now has an optional parameter "monsters" which will force a load of the
372 monsterdata file. This is useful for changing monsters on-the-fly.
373* Added a load_monsters function that loads from a preconfigured monsters.dat
374 file instead of hard coding the monsters into the array. Users can now
375 change the monster configuration around without knowing C/C++.
bf2cabcd 376* Added a new directive to the config file: confloadtime
f5c25639 377 this represents the delay (in seconds) until GameServ sends a welcome
378 message to incoming clients.
379* Added the welcome message to the config file. See gameserv.example.conf
380 for more info on how to use the variable as a formatted string.
381
1af35752 382Version 1.1.3
f5c25639 383* Removed a lot of extra list searches by changing all of the boolean
384 functions to take aClient as a parameter instead of a nickname string.
385* Added an is_alive boolean function. Players must now wait until the next
386 day to play again.
387* Saving the player->flags integer to the players.dat file. Old databases
388 will not work.
389 QUICK FIX: put a 0 to the left of the encrypted passwords for all player
390 entries so the database can load properly. Look in flags.h for a
391 description of the way flags work.
392
0510abf2 393Version 1.1.2
0501fe18 394* Added a /version reply
173302fe 395* Fixed the Makefile to include configscript.cpp
f5c25639 396* Added a join message when people connect to the IRCD. The message is set
397 on a delay so that on the initial nick burst, the services do not send
398 everyone the message.
399* Changed the admin commands from a simple password interface to a more
400 sophisticated flags approach. Now you have to identify with the
401 administrator password once, and your flags indicate that you are an
402 admin for all commands.
403* Full help files available in corrected form for the new administrator type
404 commands.
0510abf2 405
c7340cbd 406Version 1.1.1
407* Added some admin features.
408 - Refresh
409* Added help menu functionality for all commands.
f5c25639 410* Fixed the register command so it notified the client that registration
411 was successful.
412* Changed the master command so that you didn't have to fight your master
413 if you had enough experience. There is now a question/fight subcommand
414 set for the master command.
415* Tweaked the masters a bit. Basically, they were too tough. Once a player
416 had enough experience, they had no chance against their master until
417 they got the next two weapons up. This made the next level too easy.
418 Past level 1 still needs tweaking.
c7340cbd 419* Added functionality for bahamut IRCD
0510abf2 420
c7340cbd 421Version 1.1.0
f5c25639 422* Added autoconf functionality to the gameserv package. Does not compile
423 correctly on SunOS without tweaking.
c7340cbd 424* Fixed the game so that players stats reset at midnight UTC + 8 hours.
425 time(NULL) - (time(NULL) % 86400) + 3600 * 8
426* Added a contrib directory with a user submitted patch for hybrid ircd.