|
Outgoing traffic algorithm for a new trade script. Could use some help! =)
Hi,
Currently working on my own custom trade/tgp hybrid script (only for own sites) which i'll start testing within weeks with a live site (will post screenshots soon, iam sure you'll like it)
Hoping I can get some advice on how the outgoing hits algorithm should be structured.
Priority is as follows, if first line is satisfied, go to the next one:
1. random trade which has a force set (outgoing hit must be unique to this trade)
2. random trade which we owe hits to (outgoing hit must be unique to this trade)
3. random trade from the rest of the list as long as the hit is unique to this trade
4. send this raw hit to any trade in the list (will only trigger if hit is raw to all trades) ? or send hit to a sponsor since a raw hit is no good to any trade as Ravo suggested
Basic rules:
Only send hit to a trade if cookies are enabled for this visitor
If trade is frozen/locked, count all incoming but do not send anything.
Ok that?s about it, I know the above is just basics .. I?ll go over other scripts (w/open code) to get a general idea, but I?de still love to hear your ideas so far.
Someone @ AWI said ?If it aint broke, dont fix it. UCJ does the job fine. As does TTT. No need for another script.?
since iam doing this for my own sites?. if i'de like to build a network of 20+ sites, ucj/comus licenses will add up fast
by having full control of features/statistics i expect to achieve much better results, though it will take time of course
also I have a few good new ideas that iam anxious to try out
Thanks!
|