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