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