]>
jfr.im git - irc/gameservirc.git/log
kainazzzo [Sat, 20 Aug 2011 04:46:06 +0000 (04:46 +0000)]
Added the asio framework to start developing a GameServ server
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@550
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 4 Aug 2011 04:05:51 +0000 (04:05 +0000)]
Fixed the FilePlayerDAO::CreateLineFromPlayer() function
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@549
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 3 Aug 2011 22:07:43 +0000 (22:07 +0000)]
Working on the test driver to see where I'm at.
Fixed linker errors
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@548
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 3 Aug 2011 20:13:40 +0000 (20:13 +0000)]
Revisited GameServ 2.0 and got it compiling in VS 2010!
Also added UIntRange and IntRange instead of making that class a template. I felt that it was much more concise to have a separate class for each.
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@547
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 14 Oct 2009 15:43:20 +0000 (15:43 +0000)]
Adding SQL scripts
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@546
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 2 Oct 2009 22:00:30 +0000 (22:00 +0000)]
Moved all SSQLS macros into their corresponding .cpp files so including the header files doesn't cause problems and the necessity for #define MYSQLPP_SSQLS_NO_STATICS in every file
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@545
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 2 Oct 2009 20:08:05 +0000 (20:08 +0000)]
Wrote some initial MySQLDAO objects, but they're not complete
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@544
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 2 Oct 2009 18:31:51 +0000 (18:31 +0000)]
Added mysql++ exception handling to MySQLItemDAO.cpp
Wrote MySQLPlayerDAO.cpp
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@543
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 30 Sep 2009 22:01:41 +0000 (22:01 +0000)]
Worked on insert/update for MySQLItemDAO
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@542
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 30 Sep 2009 14:10:26 +0000 (14:10 +0000)]
Scrapping work on the File DAOs and going straight for MySQL for now. The file based system has too many limitations for insert/update/delete
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@541
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 25 Sep 2009 21:42:57 +0000 (21:42 +0000)]
I implemented a mock forest driver and found a problem in using the singleton design pattern for InventoryManager. When two instances of FilePlayerDAO were instantiated, inventory was reloaded from the players.dat file. I had to check to see if the player had inventory before loading all data from players.dat. It's dirty, but it works... I'm starting to wonder if an inventoryDAO would be best
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@540
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 25 Sep 2009 20:43:18 +0000 (20:43 +0000)]
Changed Range to be a template class so it can be used with unsigned & signed ints, and potentially char... I imagine that the class has to be castable to an integer
Changed GetMonstersByLevelId to GetMonsterIdsByLevelId and implemented an index table for mapping lists of monsters to their respective levels. This results in a much faster GetRandomMonsterForPlayer function in ForestGL... 10,000 gets in about 3 seconds
Added FightGL with functions for when players fight things
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@539
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 24 Sep 2009 21:51:38 +0000 (21:51 +0000)]
Fixed data/monsters.dat
Wrote a test for ForestGL which will handle anything related to what a player does in the forest.
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@538
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 24 Sep 2009 15:21:56 +0000 (15:21 +0000)]
Consolidated all the individual level files into a single levels.dat file.
Finished the Master and Level DataAccessObjects and included them into the factories
Also added some properties to level and master GameObjects
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@537
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 23 Sep 2009 21:52:57 +0000 (21:52 +0000)]
Consolidated monster data into a single .dat file
Finished FileMonsterDAO and removed the monster list from LevelGO to adhere to SRP again.
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@536
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 23 Sep 2009 16:58:06 +0000 (16:58 +0000)]
Added all the files for the remaining DAO interfaces and concrete filedao implementations
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@535
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 23 Sep 2009 16:51:41 +0000 (16:51 +0000)]
Finished up the InventoryManager class, removed the Inventory handling from PlayerGO, and implemented InventoryManager wherever the old way was used, including the test driver
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@534
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 22 Sep 2009 20:29:46 +0000 (20:29 +0000)]
Wrote the InventoryManager class for... managing inventory for all players
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@533
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 22 Sep 2009 19:49:45 +0000 (19:49 +0000)]
Finally figured out how to do the Item cloning properly... no more ItemCloner class. I'm using polymorphism instead, so each item can clone itself.
Introducing an InventoryManager class that will handle a PlayerGO's inventory... sticking to SRP
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@532
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 21 Sep 2009 22:02:32 +0000 (22:02 +0000)]
As part of sticking to the Single Responsibility Principle of OOD, I am creating a class for cloning items
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@531
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 21 Sep 2009 17:33:20 +0000 (17:33 +0000)]
Finished out the LevelGO class for now
Changed the PlayerGO::AddItemToInventory function to not clone the object, which adheres more to the Single Responsibility Principle of OOD cloning will be done elsewhere now, and the player class won't have to change because of it
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@530
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 18 Sep 2009 21:55:15 +0000 (21:55 +0000)]
Refactored playerGO a bit
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@529
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 18 Sep 2009 17:05:09 +0000 (17:05 +0000)]
Changed the ItemGO class to be abstract so you cannot define a simple ItemGO object. The polymorphic behavior of a shared_ptr<ItemGO> wasn't quite working until now.
Added an ObjectType to all GameObjects to be able to distinguish between them before any casts are made.
Added some more output to testdriver/main.cpp
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@528
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 18 Sep 2009 02:27:57 +0000 (02:27 +0000)]
Changed Types::Range to use int instead of unsigned int so negative numbers can be used.
Implemented Potions in FileItemDAO so that one is complete now!
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@527
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 17 Sep 2009 22:00:14 +0000 (22:00 +0000)]
Changed all modifiers to be ranges. A single number is now treated as a range of n-n, so the random number in the range will always be the same, resulting in a single integer. This unifies potions and weapons/armor into the same modifier functionality
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@526
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 17 Sep 2009 18:02:49 +0000 (18:02 +0000)]
Added a Range class to the Types namespace, and shelled out some basic MonsterGO, MasterGO, and LevelGO objects.
testdriver/main.cpp will change a lot to test various parts of the library.
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@525
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 16 Sep 2009 20:48:58 +0000 (20:48 +0000)]
Changed all references of HP to Health
Moved the Use function from PlayerGO into ItemGO for different polymorphic uses of the different types of items. So far, they can only be used on players, but this opens up the possibility of using items on other items since Use() takes a shared_ptr<GameObject>
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@524
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 16 Sep 2009 17:07:00 +0000 (17:07 +0000)]
Finished preliminary work on the FilePlayerDAO and FileItemDAO!!!
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@523
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 16 Sep 2009 03:19:08 +0000 (03:19 +0000)]
Almost have FilePlayerDAO 100% working
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@522
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 15 Sep 2009 21:54:34 +0000 (21:54 +0000)]
Added all old gameserv data files with some modifications to work better with 2.0. These are obviously not final.
Consolidated IArmorDAO and IWeaponDAO into IItemDAO... this will handle all items including potions now
Fixed up the inventory to be a vector of foreign item ids with add/remove functionality
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@521
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 15 Sep 2009 17:18:38 +0000 (17:18 +0000)]
Consolidated IArmorDAO, IWeaponDAO, FileArmorDAO, and FileWeaponDAO into IItemDAO and FileItemDAO because it is cleaner
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@520
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 15 Sep 2009 16:45:11 +0000 (16:45 +0000)]
Added a FileWeaponDAO which is basically the same as the FileArmorDAO
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@519
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 15 Sep 2009 04:10:37 +0000 (04:10 +0000)]
A little more work on FileArmorDAO.. almost done!
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@518
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 14 Sep 2009 17:53:40 +0000 (17:53 +0000)]
Fixed up Modifiers for items
Completed the existing ItemTypes functionality
Changed shared_ptr include to be direct
Did a lot of work on the FileArmorDAO
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@517
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Sun, 13 Sep 2009 22:26:51 +0000 (22:26 +0000)]
Almost done the player code
Started on the item DAO code which is required to complete the player portion of the library
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@516
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Sat, 12 Sep 2009 17:41:41 +0000 (17:41 +0000)]
Made FilePlayerDAO::Insert() only append a line instead of writing the whole file again for less I/O
Made FilePlayerDAO::Update() write the cache
Added a bunch of TODO lines, which should signify the rest of the necessary work on the player portion of libgameservgldl
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@515
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 11 Sep 2009 03:20:27 +0000 (03:20 +0000)]
Can't save cache in FilePlayerDAO's deconstructor until i figure something out
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@514
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 11 Sep 2009 03:03:49 +0000 (03:03 +0000)]
A little bit more work on testing and minor modifications
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@513
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 9 Sep 2009 19:56:33 +0000 (19:56 +0000)]
More exciting additions to FilePlayerDAO!
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@512
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 8 Sep 2009 19:39:45 +0000 (19:39 +0000)]
Removed unnecessary user project file
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@511
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 8 Sep 2009 19:34:35 +0000 (19:34 +0000)]
Completed some more work on FilePlayerDAO and Created a PlayerGL object which uses the DataAccess and IDAOFactory objects
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@510
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 8 Sep 2009 03:09:46 +0000 (03:09 +0000)]
Finished some work on FilePlayerDAO
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@509
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 15 Aug 2008 13:50:36 +0000 (13:50 +0000)]
* Changed all the special forest events to refund your forest fight always, so they're
more of a bonus than wasting your forest fight
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@508
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 15 Aug 2008 13:20:13 +0000 (13:20 +0000)]
Changed the behavior of the fountain to let you keep your forest fight if you heal there
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@507
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 14 Aug 2008 18:00:02 +0000 (18:00 +0000)]
Changed the version number to be 1.3.5 +devel
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@506
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 14 Aug 2008 17:42:56 +0000 (17:42 +0000)]
Fixed a bunch of compilation warnings about deprecated const char *
conversions - Kain
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@505
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 14 Aug 2008 17:06:16 +0000 (17:06 +0000)]
Fixed the admin help file. Changed %S to <S since we're using vsnprintf now
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@504
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 14 May 2008 20:47:13 +0000 (20:47 +0000)]
Added code for the start of the DataLayer format as well as a basic FilePlayerDAO which just loads the name field right now.
Fixed a compile issue for "cannot instantiate abstract class" because I didn't implement all of an interface's members
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@503
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 14 May 2008 18:24:13 +0000 (18:24 +0000)]
Added a core gameserv project with types and exceptions
Made use of the new types class in ItemGO
Added GameServException and TypeException
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@502
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 14 May 2008 14:17:58 +0000 (14:17 +0000)]
Removed GameServ.suo
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@501
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 14 May 2008 14:16:48 +0000 (14:16 +0000)]
Got things to a state where they compile
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@500
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 13 May 2008 15:49:06 +0000 (15:49 +0000)]
Still creating all the classes.. does not compile
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@499
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 12 May 2008 19:29:13 +0000 (19:29 +0000)]
Removed a phantom Armor.h file
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@498
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 12 May 2008 19:28:28 +0000 (19:28 +0000)]
Added some initial Game Objects with the start of a namespace hierarchy
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@497
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 12 May 2008 17:50:14 +0000 (17:50 +0000)]
Adding the initial directories for the new gameserv
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@496
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 12 May 2008 17:48:11 +0000 (17:48 +0000)]
Created folder remotely
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@495
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 5 Apr 2007 20:00:40 +0000 (20:00 +0000)]
updated change log
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@493
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 5 Apr 2007 19:46:58 +0000 (19:46 +0000)]
fixed some compilation issues
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@492
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 5 Apr 2007 19:15:35 +0000 (19:15 +0000)]
added a few using namespace std; and fixed the crypt.h/unistd.h includes
in boolean.cpp
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@491
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 29 Jan 2007 02:51:08 +0000 (02:51 +0000)]
Cleaned up the player.cpp source
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@490
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 29 Jan 2007 02:31:30 +0000 (02:31 +0000)]
Just updated the Change log
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@489
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 25 Jan 2007 21:10:46 +0000 (21:10 +0000)]
fixed some memory issues
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@488
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 25 Jan 2007 20:53:05 +0000 (20:53 +0000)]
removed getNewMonster()... unused
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@487
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 25 Jan 2007 20:39:09 +0000 (20:39 +0000)]
fixed a typo
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@486
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 25 Jan 2007 20:38:07 +0000 (20:38 +0000)]
Fixed indents in c_forest.cpp
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@485
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 25 Jan 2007 20:30:51 +0000 (20:30 +0000)]
Cleaned up boolean.cpp
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@484
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 25 Jan 2007 20:28:03 +0000 (20:28 +0000)]
not sure why this wasn't updated
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@483
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 25 Jan 2007 20:27:29 +0000 (20:27 +0000)]
Updated the TODO list to reflect changes
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@482
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 25 Jan 2007 20:27:00 +0000 (20:27 +0000)]
Cleaned up the aClient.cpp code
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@481
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 25 Jan 2007 20:22:54 +0000 (20:22 +0000)]
changed an !infile to infile.fail()
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@480
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 25 Jan 2007 20:19:46 +0000 (20:19 +0000)]
Added a lot of close() statements where files were previously left open... sloppy mess i made
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@479
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Wed, 24 Jan 2007 01:06:52 +0000 (01:06 +0000)]
Added a few more files, updated the makefile
made new dependencies
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@478
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 23 Jan 2007 21:45:03 +0000 (21:45 +0000)]
Finished splitting files, and updated dependencies.
Also added options.h to most new files
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@477
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 22 Jan 2007 04:52:34 +0000 (04:52 +0000)]
Added do_register.cpp, do_identify.cpp, do_list.cpp, do_help.cpp, do_refresh.cpp, and do_heal.cpp
Updated dependencies
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@476
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 22 Jan 2007 04:24:50 +0000 (04:24 +0000)]
Added do_bank.cpp, do_check.cpp, do_equip.cpp, and do_fight.cpp
Updated dependencies, and removed functions from gameserv.cpp corresponding to the individual files
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@475
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Sun, 21 Jan 2007 19:12:28 +0000 (19:12 +0000)]
updated dependencies
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@474
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Sun, 21 Jan 2007 19:12:17 +0000 (19:12 +0000)]
Added the do_admin.cpp file which contains only the do_admin() function
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@473
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Sun, 21 Jan 2007 18:56:04 +0000 (18:56 +0000)]
Moved all but the do_ functions out of gameserv.cpp and updated dependencies
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@472
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Sun, 21 Jan 2007 18:44:31 +0000 (18:44 +0000)]
Moved some more code from gameserv.cpp and added loadsave.cpp and strings.cpp.
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@471
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Sun, 21 Jan 2007 18:12:33 +0000 (18:12 +0000)]
Added boolean.cpp which includes the boolean / is_ functions from gameserv.cpp
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@470
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Sun, 21 Jan 2007 18:00:53 +0000 (18:00 +0000)]
Added messages.cpp and find.cpp, which contain functions from gameserv.cpp
Updated the help files to reflect new notice() and raw() functions needing
<S instead of %S to replace with the s_GameServ nick
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@469
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Sat, 13 Jan 2007 19:56:29 +0000 (19:56 +0000)]
fixed a bug in do_list
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@468
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Sat, 13 Jan 2007 07:30:55 +0000 (07:30 +0000)]
I am rewriting the notice() printf type functions to use vsnprintf() so that all of the different flags
get parsed, like %20s for a string with 20 spaces. This should help with some memory leaks.
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@467
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Sat, 13 Jan 2007 05:03:46 +0000 (05:03 +0000)]
fixed some compile bugs with newer g++ versions
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@466
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 2 Nov 2006 02:06:15 +0000 (02:06 +0000)]
updated dependencies
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@465
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 2 Nov 2006 02:04:35 +0000 (02:04 +0000)]
Took out all #include lines from the extern.h, and changed them to forward declarations. This should shrink the dependencies a bit.
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@464
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 2 Nov 2006 01:52:23 +0000 (01:52 +0000)]
updated dependencies
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@463
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 2 Nov 2006 01:50:50 +0000 (01:50 +0000)]
removed a mistakenly added file
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@462
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 2 Nov 2006 01:50:25 +0000 (01:50 +0000)]
Added toplist.cpp and toplist.h which will allow a top x list of players to be held with limited memory usage
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@461
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Thu, 26 Oct 2006 00:32:28 +0000 (00:32 +0000)]
updated Change Log
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@460
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 23 Oct 2006 03:35:52 +0000 (03:35 +0000)]
Added bahamut1.8.x as a supported IRCD
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@459
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 23 Oct 2006 03:01:58 +0000 (03:01 +0000)]
updated the change log
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@458
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 23 Oct 2006 02:58:15 +0000 (02:58 +0000)]
Fixed a bug that would allow a player to run from a player vs player fight, but still attack
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@457
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 20 Oct 2006 17:33:33 +0000 (17:33 +0000)]
Fixed some bugs and added VLife as a supported ircd
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@456
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Tue, 27 Jun 2006 01:00:06 +0000 (01:00 +0000)]
fixed the config.cpp file back to strcpy() (oops)
added the other scripting related stuff to the gameserv.example.conf
added a directory for the scripts
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@455
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 26 Jun 2006 22:23:53 +0000 (22:23 +0000)]
added new config file directive scriptdir and changed all calls of strcpy to strncpy for safety
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@454
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 26 Jun 2006 22:09:45 +0000 (22:09 +0000)]
Wrote a loadScript function to take a script in from a file, and redid the dependencies
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@453
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 26 Jun 2006 05:03:09 +0000 (05:03 +0000)]
added two files to start processing scripts
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@452
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Fri, 23 Jun 2006 12:57:08 +0000 (12:57 +0000)]
removed the old single calls to "using std::etc.." and replaced them with using
namespace std;
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@451
bc333340 -6410-0410-a689-
9d09f3c113fa
kainazzzo [Mon, 17 Apr 2006 04:44:42 +0000 (04:44 +0000)]
made some changes to the player constructors
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@450
bc333340 -6410-0410-a689-
9d09f3c113fa