Looty - DF port

Dragonfly integration forum

Looty - DF port

Postby robojerk » Sat Nov 11, 2006 2:33 pm

After the expansion grind slows down I'll give this another try again
Last edited by robojerk on Wed Jan 24, 2007 7:42 pm, edited 2 times in total.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Looty - DF port

Postby zanix » Sat Nov 11, 2006 2:34 pm

Cool... and shiny :)
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Looty - DF port

Postby robojerk » Sun Nov 12, 2006 4:01 pm

I uploaded a hacked port of a dragonfly version of looty. I disabled the search functions for now. I wouldn't really call this a port but just a hack to get it working for now.

http://www.wowroster.net/Forums/download/id=371.html
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Looty - DF port

Postby robojerk » Sun Nov 12, 2006 4:03 pm

I forgot, you need to enter your info in settings.php
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Re: Looty - DF port

Postby RottGutt » Mon Nov 13, 2006 12:29 am

Ok, how do we install this? I made the changes in the settings.php and then uploaded it. I tried it both as a "stand-alone" Module and as an add-on into my WoWRosterDF module. As a "stand-alone" module I just got DB errors. It did not show up on my WoWRosterDF when I uploaded it into my WoWRosterDF add-ons folder. Some quick instructions would be appreciated. Thanks for the port by the way!

RottGutt
RottGutt
WR.net Journeyman
WR.net Journeyman
 
Posts: 92
Joined: Sun Aug 13, 2006 12:07 am

Looty - DF port

Postby robojerk » Mon Nov 13, 2006 1:55 am

It's a standalone module for DragonflyCMS.

Edit the following in settings.php
Code: Select all
// only set if you wish to use details other than that of Guild Roster's
$dbhost    '';    // hostname of the database server
$dbname    '';        // name of the database containing character data
$dbuser    '';        // username to connect with
$dbpass    '';        // password

$dbprefix 'cms_wowrosterdf_roster_';        // prefix for db table names


/*-------------
  GUILD DETAILS :: information about your guild
  -------------*/

$guildname    '';    // required
$guildmaster    '';    // required
$guildurl    '';    // not required
$guildserver    '';    // free text 
and
Code: Select all
/*---------------
  BANK CHARACTERS :: characters used as mules for the guild bank
  ---------------*/

// NB: if you only have one character used as the guild bank, you
// only need to set the value for $bankchar here. If your guild uses
// multiple characters to hold bank items, see below.

// $bankchar    = '';    // single bank character


// Multiple bank characters:

$bankchars = array(
    
// add new bank character names in this format:

    //   '<CHARACTER NAME>'    => '<CHARACTER DESCRIPTION>',
    //
    // eg:
    //
    //   'Guildbankchar'    => 'Receives all donations from the guild',

        
''    => ''


If you have a single toon as your bank comment out the last line. Make sure all the info is correct.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Re: Looty - DF port

Postby RottGutt » Mon Nov 13, 2006 5:03 am

This is the error I am getting when I go to the Looty page:

Code: Select all
Table 'freak6_funwow.lootyplayers' doesn't existFailed to get any player data from the database - check settings in config.php and whether CharacterProfiler is importing data correctly


I edited the settings.php file according to the instructions. By the way, this Module did NOT have an "install". After uploading it I just went to my Modules page and turned it on. Did I miss a step, as usually a module needs to be "installed" so that the correct additions are made to the database and other areas.

My WoWRosterDF is working correctly at this time. Here is the code I edited:

Code: Select all
// only set if you wish to use details other than that of Guild Roster's
$dbhost    'localhost';    // hostname of the database server
$dbname    '******';        // name of the database containing character data
$dbuser    '******';            // username to connect with
$dbpass    '******';        // password

$dbprefix 'looty';         // prefix for db table names


/*-------------
  GUILD DETAILS :: information about your guild
  -------------*/

$guildname    'Freaks Uf Nature';    // required
$guildmaster    'Orach';    // required
$guildurl    '';    // not required
$guildserver    'Dunemaul';    // free text 


and

Code: Select all
/*---------------
  BANK CHARACTERS :: characters used as mules for the guild bank
  ---------------*/

// NB: if you only have one character used as the guild bank, you
// only need to set the value for $bankchar here. If your guild uses
// multiple characters to hold bank items, see below.

$bankchar    'Amokamok';    // single bank character


// Multiple bank characters:

$bankchars = array(
    
// add new bank character names in this format:

    //   '<CHARACTER NAME>'    => '<CHARACTER DESCRIPTION>',
    //
    // eg:
    //
    //   'Guildbankchar'    => 'Receives all donations from the guild',

    //   ''    => '',
 
);
 


More than likely I am overlooking a simple piece of code that would be blatantly apparent to a PHP guru. Do you see anything that I might have done wrong? Thanks!

RottGutt
Last edited by RottGutt on Mon Nov 13, 2006 5:07 am, edited 3 times in total.
RottGutt
WR.net Journeyman
WR.net Journeyman
 
Posts: 92
Joined: Sun Aug 13, 2006 12:07 am

Re: Looty - DF port

Postby robojerk » Mon Nov 13, 2006 6:45 am

The problem is on this line. There shouldn't be a table called looty in your database.
Code: Select all
$dbprefix 'looty';         // prefix for db table names 


I'm including a screenshot of my database tables. The line I use is
Code: Select all
$dbprefix 'nuke_wowrosterdf_roster_';        // prefix for db table names 
see how the prefix matches my database? You need to have yours match as well.
Attachments
wowroster_db.png
wowroster_db.png (47.14 KiB) Viewed 1063 times
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Looty - DF port

Postby robojerk » Mon Nov 13, 2006 7:02 am

Sorry for lack of info.. I had a rough weekend and didn't get to work on this as much as I wanted. I'm kind of learning as I go as well but I'm working on a cpg install file and moving the looty settings into the database. I'm not a coder but I'm learning and this seems like an easy enough project to start learning on.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Re: Looty - DF port

Postby RottGutt » Mon Nov 13, 2006 10:05 am

Ok, I understand now. I made the correct changes, and Looty is working correctly now. Thank you for the port and for the technical support.

RottGutt
RottGutt
WR.net Journeyman
WR.net Journeyman
 
Posts: 92
Joined: Sun Aug 13, 2006 12:07 am

Looty - DF port

Postby robojerk » Fri Nov 17, 2006 1:15 pm

Working on better port..

I have done the followign so far:
    Admin menu area to set your config settings (config settings are now in the database, so no more config.php file)

    The DF port also has an install file to easily add the tables to your db.


it's coming along slowly since I am kind of a novice but have made good progress so far.
Last edited by robojerk on Fri Nov 17, 2006 1:16 pm, edited 1 time in total.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Looty - DF port

Postby Deeo » Fri Nov 17, 2006 3:12 pm

öh.

how does this work with the database?? do you must have the wowrosterdf version or does it also work with a standalone version of wowroster and Dargonfly?

(because on my root / Dragonfly the roster doesnt work properly)
Deeo
WR.net Journeyman
WR.net Journeyman
 
Posts: 80
Joined: Mon Jul 10, 2006 2:02 pm

Looty - DF port

Postby robojerk » Fri Nov 17, 2006 10:45 pm

I'll see what I can do to make it compatible with both the DF version and the standalone version of wowroster.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Looty - DF port

Postby robojerk » Wed Dec 06, 2006 6:07 am

I did a little progress, I'll finish what I got and post it some time..

I did recently quit WoW so once I am done I wont be working on this anymore.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Looty - DF port

Postby Galedon » Thu Jan 04, 2007 5:29 am

is there a new version out ???

with search function !!!

great
Galedon
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Wed Aug 23, 2006 2:44 pm


Return to Dragonfly

Who is online

Users browsing this forum: No registered users and 1 guest

cron