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