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 2 3 4 5 6 ... 8
BID AGENT (Read 1775 times)
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: BID AGENT
Reply #9 - 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;
                   }


Back to top
 
« Last Edit: 02/09/06 at 14:33:40 by Dieter Werner »  

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
annetappe
eAuction User
**
Offline

I Love To Learn

Posts: 36
MidSouth
Gender: female
Re: BID AGENT
Reply #10 - 01/14/06 at 18:21:26
 
Thanks again!

I modified the code segment and it works up to the point of when the PROXY bidding (hidden) begins OR I am still confused.

I will PM you the details and the exact scenario I am using to make this determination using the 'Gscotty' info above.

Thank you for helping me understand this probably 'simple' process.
Back to top
 
 


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

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: BID AGENT
Reply #11 - 01/14/06 at 18:31:00
 
annetappe wrote on 01/14/06 at 18:21:26:
Thanks again!

I modified the code segment and it works up to the point of when the PROXY bidding (hidden) begins OR I am still confused.

I will PM you the details and the exact scenario I am using to make this determination using the 'Gscotty' info above.

Thank you for helping me understand this probably 'simple' process.

You see - it isn't as much simple  Smiley
I did the mistake you pointed out.
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
Pages: 1 2 3 4 5 6 ... 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