]> jfr.im git - irc/gameservirc.git/blob - gameserv/Changes
This is a major bugfix for several mistakes made in coding that were
[irc/gameservirc.git] / gameserv / Changes
1 Version 1.2.5
2 * All level master data is now being stored in data/masters.dat - kain
3 * Added a new config file directive that allows you to specify whether or
4 not you want gameserv to send notices to the channel every time it
5 writes the player database - kain
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
10 * Fixed a minor bug where gameserv was not notifying of a syntax error in
11 /msg gameserv store buy x x - kain (thank you wolfgar)
12
13 Version 1.2.4
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
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
22 monsters per level - kain & wolfgar
23 * Every time a new news item is added, GameServ announces it in the forest
24 channel - kain
25 * Added a notice to the forest channel that the player data was
26 saved - kain
27 * Fixed some things with the upper limts of money and experience - kain
28 * Changed the command LIST so it only lists people who are playing.
29 To get a full list, use LIST ALL - kain
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
33 * Added a new command CHECK which will display the amount of time until
34 the next refresh - kain
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
38 * Fixed bug causing negative funds to be deposited into an account
39 (bugID 966653) (thank you Jono H - xjono)
40 * Fixed a bug causing players to be duplicated on /msg gameserv
41 load - kain
42 * Added Ultimate2.8.x support - kain
43 * Healing potions can only add up to 100 over your max HP now - kain
44 * Changed the logic for the wishing well forest event. It now adds back
45 a forest fight if you were broke - kain
46 * Fixed a bug causing the wrong bonuses to be added when a level was
47 gained, and none to be added on the last level - kain
48 * Added daily news with automatic additions when you gain a level,
49 unsuccessfully best your master, kill someone, or are killed - kain
50
51 Version 1.2.3
52 * Took experience out of calculating the cost of potions - kain
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
59 * Added more experience per monster past level 7 - kain
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
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
70 * Doubled the required experience for fighting masters - kain
71 * Fixed a cosmetic bug (sorta) that caused your HP not to read 0 when
72 you're dead (thanks Ricky-S) - kain
73 * Fixed a divide by 0 bug that occurred when you attacked, but had no
74 weapon (BugID 946043) (thank you NOTevil) - kain
75 * Fixed a logic error allowing players to bank during a fight - kain
76 * Added more gold per monster above level 4 - kain
77
78 Version 1.2.2
79 * Fixed a logical error causing the ListenOnCF flag to only work in P10
80 servers - kain
81 * Fixed the store command to display syntax on improper sequence of
82 commands (thanks damaged) - kain
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
87 * Fixed a bug that crashed gameserv on /msg gameserv master - kain
88 * Made welcomemsg an optional config file option. If commented out
89 or deleted, gameserv will not send the welcome message
90 (requested by zshack)- kain
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
95 * Fixed the bug not allowing different config files to be used - kain
96 * Added an optional config file directive BOPER which makes
97 gameserv become an oper on the network - kain
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
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
108 * Added a few timeout events if you're not in a fight - kain
109
110 Version 1.2.1
111 * Included a crontab script in all new distros now - kain
112 * Added a new flag that tells wether a person is playing instead of
113 relying solely on pointers - kain
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
118 * Gameserv no longer opers - kain
119 * New config file directive: listenonc_forest... see
120 gameserv.example.conf - kain
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
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
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.
133 * Fixed a major bug causing a crash when players fought - kain
134 * The gameserv server now attempts 3 reconnects if disconnected - kain
135
136 Version 1.2.0
137 * Took +devel out of the version reply in gameserv.cpp - kain
138 * Implemented a hashing algorithm for extremely fast searches through
139 the players and clients linked lists - kain & wcampbel
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
143 * Fixed a bug that was causing players not to be voiced on the forest
144 channel on P10 servers - kain
145 * Added a missing code segment to decrement the player fights per
146 day when you fight another player (reported by MaCbLiNd) - kain
147 * Fixed a bug that allowed the same player name to be registered any
148 number of times - kain
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
154 * When a player logs off during a player fight, the fight now ends.
155 Before it was held in limbo - kain
156 * Fixed a bug in the fight command requiring you to use an irc nickname
157 to fight (BugID 927789) - kain
158
159 Version 1.1.9
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
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
167 * Slightly adjust the weapon and armor bonuses to prevent a divide by zero
168 exception (reported by wassup). - wcampbel
169 * Prevent players from issuing a FIGHT against a dead player (reported
170 by wassup). - wcampbel
171 * Fixed a core in RUN if a client wasn't playing. - wcampbel
172 * Added an option to specify the PID file in the config file. - kain
173
174 Version 1.1.8
175 * Missing directives now are identified for config files upon startup - kain
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
180 * Completely removed the midnight() function code, and replaced it with
181 some struct tm functionality with the localtime() function. - kain
182 * Major changes to the Makefile, cleaned up a number of rules and added
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
187 * Made gameserv load as a true daemon. gameserv.pid now contains the pid
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
192
193 Version 1.1.7
194 * Added P10 Functionality (ircu-2.10.11.x)
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
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.
202 * Made strength and defense potions add either 1 or 2 points rather than
203 0, 1, or 2.
204 * Made the monsters a bit harder. I found that as the game progressed,
205 it got easier and easier instead of harder.
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.
209
210 Version 1.1.6
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.
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.
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.
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.
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)
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.
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
250 Version 1.1.5
251 * Added a missing help file admin_commands. It was written before, but
252 somehow was deleted.
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.
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.
259 * Inputted monsters for Level 6. Six more levels left unfinished.
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
267 Version 1.1.4
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++.
275 * Added a new directive to the config file: confloadtime
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
281 Version 1.1.3
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
292 Version 1.1.2
293 * Added a /version reply
294 * Fixed the Makefile to include configscript.cpp
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.
304
305 Version 1.1.1
306 * Added some admin features.
307 - Refresh
308 * Added help menu functionality for all commands.
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.
318 * Added functionality for bahamut IRCD
319
320 Version 1.1.0
321 * Added autoconf functionality to the gameserv package. Does not compile
322 correctly on SunOS without tweaking.
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.