BeBot - An Anarchy Online and Age Of Conan chat automaton

Development => Module Requests => Topic started by: kinbaku on September 30, 2005, 03:58:19 pm

Title: Modified bid module
Post by: kinbaku on September 30, 2005, 03:58:19 pm
Would it be possible for someone to modify the bid module that comes with the bot to not use the secondbid +1, but instead use the value that they bid.

Thus if they bid 20 and nobody else bids, he will win it for 20, not 2.

I have been trying to fix it myself, but i am novice in PHP and i cant get it to work.

Thanks ;)
Title: Modified bid module
Post by: Naturalistic on September 30, 2005, 09:43:51 pm
I don't see why. The bid system is suppose to be like this.
Title: Modified bid module
Post by: Blondengy on September 30, 2005, 10:11:35 pm
Not sure why you would like it like that... the nice thing about the bot auto-bidding for you is that people don't have to spam the bot with tiny bid increments but instead just state the max ammount they wanna pay and the bot does the bid-incrementing itself...

But if you really want it, here's a crude hack to the Bid.php to create the effect you want...
Replace lines 123 to 141 with the following:

Code: [Select]
else if ($this -> maxbid < $ammount)
{
  $this -> secondbid = $ammount;
  $this -> maxbid = $ammount;
  $this -> highestbidder = $name;
}
Be aware of bugs in the above code, I have not tested it
Title: Modified bid module
Post by: Khalem on October 01, 2005, 03:10:32 am
You wont archive much aside from more spamming.

Instead of bidding 20 to begin with, they will now instead start at 2, and then keep incrementing it themselves.

In effect bidding will take longer and create more spam than with the bot handeling the increments.
Title: Modified bid module
Post by: kinbaku on October 02, 2005, 10:44:44 pm
Actually, the way my org wants it, you will not be able to see what others bid. I have already changed it so that instead of saying the amounts people bid, it just says that someone has placed a bid, and does not say who or how much they bid.

They are now up on my case to change it so it does not increment it from the second highest person.

Thank you for the proposed change, i will test it to see if it works in a little bit.
SimplePortal 2.3.7 © 2008-2024, SimplePortal