L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2008, 04:25:33 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: Modified bid module
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Modified bid module  (Read 374 times)
0 Members and 1 Guest are viewing this topic.
kinbaku
Freshman
*
Offline Offline

Posts: 8


Modified bid module
« on: September 30, 2005, 08:58:19 AM »

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 Wink
Logged
Naturalistic
BeBot Contributor
Experienced
*******
Offline Offline

Posts: 221


Modified bid module
« Reply #1 on: September 30, 2005, 02:43:51 PM »

I don't see why. The bid system is suppose to be like this.
Logged

220/25 Eternalist Doctor
-----------------------------
Campalot Coding Co-ordinator and Super Admin
http://www.campalot.info/index.php
Blondengy
BeBot Creator and Founder
Administrator
Rookie
********
Offline Offline

Posts: 50


Modified bid module
« Reply #2 on: September 30, 2005, 03: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:
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
Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Modified bid module
« Reply #3 on: September 30, 2005, 08:10:32 PM »

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.
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
kinbaku
Freshman
*
Offline Offline

Posts: 8


Modified bid module
« Reply #4 on: October 02, 2005, 03: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.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: Modified bid module
« previous next »
 
Jump to:  

Recent
online not working after ...
by Alreadythere
[Today at 03:53:28 PM]

Bot not working after tod...
by Alreadythere
[Today at 01:04:41 PM]

Tokens Calulator
by Temar
[December 03, 2008, 01:09:03 PM]

Bebot does not work with ...
by IKShadow
[December 03, 2008, 08:54:04 AM]

!items database
by Temar
[December 03, 2008, 07:27:59 AM]

massive_pvp_time_table 1
by Sudoka
[December 03, 2008, 06:49:07 AM]

Log playtime from buddys ...
by IKShadow
[December 02, 2008, 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]
Stats
Members
Total Members: 1246
Latest: Vingus
Stats
Total Posts: 11192
Total Topics: 1508
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 7
Guests: 17
Total: 24
vikor
Sudoka
upstart
Glarawyn
Snarfblatt
Vingus

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.42 seconds with 28 queries. (Pretty URLs adds 0.027s, 4q)
Loading...