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