|
|
July 18, 2008, 11:34:19 AM
|
Group: Administrator
    
Posts: 6585
|
Warmath is now open source, hosted at Google Code. Warmath's license is GPL v2. The project home page: http://code.google.com/p/warmath/Source: http://code.google.com/p/warmath/source/browseYou should be able to checkout code right away: svn checkout http://warmath.googlecode.com/svn/trunk/ warmath-read-only More details here: http://code.google.com/p/warmath/source/checkoutTo checkin code, please PM me your Google account email address and I'll add you as a Project member. Lines you'll need to change: db.php:4:$db = mysql_connect("localhost", "@@YOUR_DB_USER@@", "@@YOUR_DB_PW@@"); db.php:6: mysql_select_db("@@YOUR_DB_NAME@@", $db); head.php:3:include('@@PATH_TO_ITEMSTATS@@/itemstats/generic_itemstats.php'); load.php:3:define('PUN_ROOT', '@@HOME_DIR@@/www/forums/'); load.php:4:require('@@HOME_DIR@@/www/forums/include/common.php'); load.php:5:require('@@HOME_DIR@@/www/forums/include/parser.php'); You'll want to point @@YOUR_DB_NAME@@ at database that includes tables for Itemstats and Punbb. You can find the Warmath SQL schema in lib/schema.sql http://code.google.com/p/warmath/source/browse/trunk/lib/schema.sqlYou can find initial instance data (correlated which bosses drop what items in which instance) in lib/bosses_instances_items.sql. http://code.google.com/p/warmath/source/browse/trunk/lib/bosses_instances_items.sqlIf you just installed itemstats, it might be a good idea to add in item_cache data so that you have all the warmath items pre-loaded (this preloading was why I had lootlists on the forums, so I could make sure every item's link worked). You can get the data in lib/item_cache.sql: http://code.google.com/p/warmath/source/browse/trunk/lib/item_cache.sqlBest of luck! I'm happy to answer questions to help folks get running. Post 'em here 
-------------------------
|
|
|
|
|
|
|
|
|
|
|
July 22, 2008, 05:36:03 PM
|
Group: Administrator
    
Posts: 6585
|
Hey Alc,
I was wondering if you knew exactly which css tags you were using for Warmath from the various stylesheets that you have in the config file. If this is something that will take you a while to figure out then don't worry about it. I can do the manual hunt myself, but I was just curious because I am thinking about doing a complete CSS rewrite for the whole thing just to make life much easier. :p Posting here so others can benefit: The big two are: http://forums.subcreation.net/style/Oxygen.cssand http://subcreation.net/wp-content/themes/k2/style.cssA lot of the stuff in those files doesn't directly apply to Warmath, however. If you grep the files for "class=" and "id=" you should see most of the tags that are used.
-------------------------
|
|
|
|
|
|
|
|
|
|
|
July 23, 2008, 10:14:54 AM
|
Group: Administrator
    
Posts: 6585
|
Hmmm.... after playing with the CSS quite a bit I found out that the file structure may have to be modified quite a bit to get relative paths working. Not sure what you mean. I built the site to work at http://warmath.subcreation.net/It pulls stuff from forums.subcreation.net and subcreation.net itself. I don't see what you mean by the file structure needing to be modified? You could probably just condense the WM CSS into one file and put it in one place (e.g. /css/style.css) and then just change all CSS references to that.
-------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
December 04, 2008, 11:53:13 AM
|
New

Posts: 5
|
I thought I should note that over a year ago I started on a very simplistic MySql/PHP interface to track bids, drops, and player's point totals based on the description of Warmath on the wiki. I'd be happy to make that code available if anyone thought it useful.
|
|
|
|
|
|