Uploading pvplog repeats pvp's

Forum Dedicated to PvPLog, (The WoW PvP data collector addon), and PvPLog related topics

Moderator: bsmorgan

Re: Uploading pvplog repeats pvp's

Postby bsmorgan » Fri Feb 09, 2007 9:47 am

PvPLog.lua should not need to be deleted each time.

I went to the URL posted and saw no PvP activity at all.

Regards,

Brad
User avatar
bsmorgan
WoW Interface Developer
WoW Interface Developer
 
Posts: 160
Joined: Tue Nov 28, 2006 10:17 pm
Location: Colorado Springs, Colorado

Uploading pvplog repeats pvp's

Postby dt1375 » Fri Feb 09, 2007 10:47 am

Anyone with ideas on why it's like that?
Uploading repeating pvp's multipple times...
Check on:
http://wow.naboene.net/char.php?name=Cerebri&server=Kazzak&action=pvp

EDIT:
Should pvplog.lua file be deleted after each upload?

Regards
DT1375/Sammy™
Last edited by dt1375 on Fri Feb 09, 2007 5:57 pm, edited 1 time in total.
User avatar
dt1375
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Wed Jan 24, 2007 1:26 pm

Re: Uploading pvplog repeats pvp's

Postby Angelkiller » Mon Feb 12, 2007 7:00 pm

dt1375 wrote:Anyone with ideas on why it's like that?
Uploading repeating pvp's multipple times...
Check on:
http://wow.naboene.net/char.php?name=Cerebri&server=Kazzak&action=pvp

EDIT:
Should pvplog.lua file be deleted after each upload?

Regards
DT1375/Sammy™


Error is in this string..

Code: Select all
// skip if entry already there
         $querystr = "SELECT `guild` FROM `".ROSTER_PVP2TABLE."` WHERE `index` = '$index' AND `member_id` = '$memberId' AND `name` = '$playerName' AND `date` = '$playerDate'";
Angelkiller
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Fri Feb 02, 2007 5:18 pm

Re: Uploading pvplog repeats pvp's

Postby bsmorgan » Mon Feb 12, 2007 10:29 pm

From dt1375's post in http://wowroster.net/Forums/viewtopic/t=2385.html

Lines 2097 and 2098 in /lib/wowdb.php should be:
// skip if entry already there
$querystr = "SELECT `guild` FROM `".ROSTER_PVP2TABLE."` WHERE `index` = '$index' AND `member_id` = '$memberId' AND `name` = '".$this->escape( $playerName )."' AND `date` = '".$this->escape( $playerDate )."'".( !empty($playerRealm) ? " AND `realm` = '".$this->escape( $playerRealm )."'" : '' );


Thanks to dt1375 for supplying the correct answer.

Regards,

Brad
Last edited by bsmorgan on Mon Feb 12, 2007 10:33 pm, edited 1 time in total.
User avatar
bsmorgan
WoW Interface Developer
WoW Interface Developer
 
Posts: 160
Joined: Tue Nov 28, 2006 10:17 pm
Location: Colorado Springs, Colorado


Return to PvPLog

Who is online

Users browsing this forum: No registered users and 0 guests

cron