eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1 ... 3 4 5 6 7 8
BID AGENT (Read 1775 times)
copperbayfarm
eAuction Novice
*
Offline

I Love Perl

Posts: 4

Re: BID AGENT
Reply #12 - 02/18/06 at 18:53:27
 
Dieter Werner wrote on 01/14/06 at 12:01:04:
Yes, I see ...
sub proc_bid is missing a few lines of code  :'(

- Search eAuction.pl for 'sub proc_bid'
- Search the sub for: else { # Bid > Proxy
- Replace the whole else block with the following Code:
                    else { # Bid > Proxy		
                       $form{'ENABLE_PROXY'} == 0
                           ?   ($agent_bid = $form{'BID'})
                           :   do {
                                   ($form{'BID'} >= $reserve and $reserve > $bid)
                                       ?   ($agent_bid = $reserve)
                                       :   do {
                                               ($form{'BID'} >= $proxy_bid + $inc)
                                                   ?   ($agent_bid = $proxy_bid + $inc)
                                                   :   ($agent_bid = $form{'BID'});
                                           };
                               };
                   
                       $agent_bid = parsebid($agent_bid);
                       
                       ($currentbid[2], $currentbid[3], $currentbid[4]) = ($agent_bid, $form{'BID'}, time);	    
                       $bid_record = join '[]', @currentbid;	    
                       write_bid_data(\$bid_record);
		    
                       disp_bid_confirmation($currentbid[0], $title, $currentbid[2], $currentbid[3]);
                       $outbid_flag = 1;
                   }




I was also having the bid agent problem and replaced the above code in my .pl file, however, now the bid agent isn't working at all - all the bids jump directly to the reserve amount. Any thoughts? Thanks in advance.
Back to top
 
 


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: BID AGENT
Reply #13 - 02/19/06 at 12:05:54
 
Download the latest version.
It contains the needed changes.
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
copperbayfarm
eAuction Novice
*
Offline

I Love Perl

Posts: 4

Re: BID AGENT
Reply #14 - 02/19/06 at 15:29:42
 
Thanks. Will give that a try.

Edited to add:

I downloaded the latest version of 1.6.1 and loaded it and found the same result with a test bid. Bids jumped right to the reserve price. Also, the HTML tags in the item description did not function which was different.

Were there perhaps changes in the config file as well? My auction is ending tonight so I am not really wanting to do a lot of experimentation.
Back to top
 
 


Advertising
View Profile   IP Logged
Pages: 1 ... 3 4 5 6 7 8


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only