Archive

Posts Tagged ‘increment’

Swoopo Auction Bid Increment And Counter Not Working Correct

August 22nd, 2011 Comments off

I have an old swoopo penny auction site I need a couple things done to.

1. count down needs fixed. it pauses anywhere from 3 to 30 seconds after the timer hits zero before it ends. Would like it to go 5, 4, 3, once, twice, gone (without any pause).

2. would like to have bid increment exclusive to each auction instead of a general setting. I tried myself lol. there is a field bid_increment I added to the database and admin pages. I changed throughout the script too.

3. bid increment is not working since I messed with it. Once #2 is working then I believe this will be working again and not a problem..

If there are any questions about this please let me know.

Sql Solution Needed

November 18th, 2009 Comments off

I need a quick mysql solution for the following (please review table structures, see attached file):

There are several records in table “cdr” (around 100 new rows in every minute).

In every 5 minutes I need to determine the costs per call.
See the first row in cdr:
9256749931 | 10.0.0.1 | 12010320313 | 33.33.33.33

it means 9256749931 called 12010320313, caller’s source ip was 10.0.0.1, the destination gateway was 33.33.33.33

Here are the steps to make it working:

select dst_username and dst_domain from the cdr table, and then look for the grp_id in gw table by IP.

Select the grp_id from the gw table and search for lcr based on the grp_id and the first 7 chars of the dst_username(remember, dst_username was selected form cdrs), the first 7 chars will be the prefix in lcr table.

Then select that prefix and search for destinations in the rates table (so lcr.prefix=rates.destination to search for).

select durationRate,durationRateIn,increment and minduration from the rates, and then do the following:

there are increment and minduration, so values should be rounded.
if the duration in cdrs table contains 13, then that should rounded to the next 6, so 13 will become 18 (remember, 6 seconds increments).
If the duration in cdrs are below 6, then it should be rounded to 6.

If the increment and min_duration is 1 and 1 in rates table, then it shouldn’t be rounded to the next 6.

so there will be duration_6 and minduration_6 columns, so you will need to update that an don’t touch the original duration.
you will need to update price_in, and price_out column in the cdrs table:

price_in will be rates.durationRateIn*cdrs.duration[rounded to next 6 if there is increment 6 in the rates table for the prefix] / 10000

price_out will be rates.durationRate*cdrs.duration[rounded to next 6 if there is increment 6 in the rates table for the prefix] / 10000

note: my comments are between [ and ]

if you done with a row in cdrs table, then update processed=1 in the specific row in cdrs table, make sure that won’t be processed again.

I’ll need a script for this, it will run from command line by a cronjob (every 5 mins), so you should add new indexes if needed, there can be 100mill rows in the cdrs table, so table scans should be avoided.

I’ll need the solution within 2 hours from now, payment will be SL escrow after selecting the right provider for this project.

If you have any questions, please don’t hesitate to ask.

Thanks and happy bidding :)

Flash File/looks Like Typing

June 2nd, 2009 Comments off

Hi,
I need a flash file that performs the following:
1) Starts fullscreen black for 1000 ms
2) Flashes fullscreen white for 250 ms and returns to black for 2000 ms
3) Starts to quickly type out the fake code found at the end of these instructions
4) briefly pauses after the line “Wend” and again at the line “^——–^ 0, 0, 2″
5) At the end of typing out the fake code it redirects to google.com

The whole thing need to occur very very quickly.

Here is the fake code:

Sort ERROR
Sort ERROR

Shell Sort

Increment = 3

While (Increment > 0)
For I = 1 + Increment To Length
Temp = IntArray(I)
For J = I – Increment To 1 Step 0 – Increment
If (IntArray(J) > Temp) Then
IntArray(J + Increment) = IntArray(J)
Else
Exit For
End If
Next
You have no profile
IntArray(J + Increment) = Temp
Next
Increment = Increment – 1
Wend
0, 0, 0
1, 2, 3, 4
^–^ 1, 0, 0
2, 1, 3, 4
^—–^ 0, 1, 0
3, 1, 2, 4
^–^ 1, 1, 0
1, 3, 2, 4
^—–^ 0, 2, 0
4, 2, 1, 3
^—–^ 0, 2, 1
1, 2, 4, 3
^–^ 1, 2, 1
2, 1, 4, 3
^——–^ 0, 0, 2
Your face vanishes
with every turn.

AllPermutations(DataArray(), TrackingArray())(

i=0

While(TrackingArray(i)== i+1)(
i++
)

Mirror(DataArray(0), i+2)

for(j=0, j<i+1, j++)(
TrackingArray(j-1)=0
)

TrackingArray(i)++
return(DataArray(), TrackingArray())
)

3, 4, 1, 2

RETURN TO MAIN
RETURN TO MAIN
RETURN TO MAIN
RETURN TO MAIN
RETURN TO MAIN
RETURN TO MAIN
RETURN TO MAIN
RETURN TO MAIN

Excel Number Increment

May 30th, 2009 Comments off

Hello,
I need a simple formula or macro to add to an excel file that I use to print simple sales slips. It is a 1 page template that is duplicated side-by-side, therefore I need it to print both of them “1″ and “1″, “2″ and “2″, “3″ and “3″ and on and on. Also, I would like to be able to start at a certain number, for example start at 1000, therefore I would like it to print “1000″ and “1000″ on the page. But the kicker is I need it to auto increment if I need 50 pages printed. So, I would like to start at (ex: 550 and print 50 pages, so that it would stop printing at 560) “550″ and “550″ on the first page, then print page two at “551″ and “551″, then “552″ and “552″, all the way through to “560″ and “560″.

Martingale Ea Modification

May 12th, 2009 Comments off

I have Balanced(buy/sell) Martingale EA, I want change bi-direction to single directio of buy only or sell , Then the lot increment order type also want to be add.
Project 1:EA modification in martingale strategy.

One Order type:
Open buy lot is 0.01,(increment type=0.01and Pip different =xxx)
Then I want to be the next order lot placement is :0.01+0.01=0.02.
if suppose first order is placed 0.1, then next order increment
is 0.01, the order is 0.11.

Second order type:EA modification in Grid strategy.

I want also down order is 0.01,0.02,0.04,0.08,0.16,…., these type order.
I want the both order type has in one EA with switching mode.

Project 2:
I have a grid system , In this EA I want many type closing switch mode,Like:
1) Pending order closing
2) Live order closing
3) Live and pending order closing with take profit limit.

Require software:
I want MT4 Copying Software

Data Entry – Need New Users

April 8th, 2009 Comments off

On-going: First, need 5000 UNIQUE new users and some activities performed by each user on a site. each user is to send a message to a target group. Escrow is only deposited and paid proportionately per increment of 500 users. You can keep going after the first 1000 with my approval. Each 500 increment MUST be done within one week from start. No payment if you stop work before any increment of 500 or if you cannot complete within the one week requirement. Make sure you understand the requirements clearly before you bid. Lowest bids with rating are considered. PMB for details.

Excellent Swoopo Clone Needed

March 16th, 2009 No comments

Hi guys

I need a Swoopo clone website done A.S.A.P 100% QUALITY READY MADE

SITE DEMO/ADMIN DEMO NEEDED

we need a logo and banner artwork designed for this project.Our Auction site is called

www.bidabong.com

The logo must be fun playful friendly,Inviting,colorful corporate, simple the site should have 100% same features as www.swoopo.com

Main features include Live auction,Robot bidding until target bid is reached, Pay Per Bid, Lowest Unique Bid, SMS, Bidding, Bid Butler, Automatic bidding, Penny Auction Bids and powerful CMS based admin panel.

Feature guide below click the link

http://www.swoopoclone.com/

we must also be able to trace traffic on Google analytic s, create back links and have management system for affiliate banner adds

these are our requirements

Project Feature Checklist

Mobile phone friendly live active bids (UNIQUE FEATURE FOR OUR SITE)

Phase-I:

Bear