--- deliantra/server/include/book.h 2009/10/15 16:00:37 1.10 +++ deliantra/server/include/book.h 2010/03/26 01:04:44 1.12 @@ -1,7 +1,7 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team * * Deliantra is free software: you can redistribute it and/or modify it under * the terms of the Affero GNU General Public License as published by the @@ -28,12 +28,12 @@ /* Message buf size. If this is changed, keep in mind that big strings * may be unreadable by the player as the tail of the message * can scroll over the beginning (as of v0.92.2). - * Note that the book messages are stored in the msg buf, - * which is limited by 'HUGE_BUF' in the loader. */ #ifndef BOOK_H #define BOOK_H -#define BOOK_BUF HUGE_BUF-10 + +/* try not to create books much larger than this */ +#define BOOK_BUF 2000 /* if little books arent getting enough text generated, enlarge this */