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