Post Reply 
I can't find the filter "Randomizers: Return Constant"
Oct. 22, 2006, 04:49 AM
Post: #1
I can't find the filter "Randomizers: Return Constant"
I need that function and I don't find it.

[Image: 1ef8.jpg]

[Image: 2eq2.jpg]

Thank you.
Add Thank You Quote this message in a reply
Oct. 22, 2006, 06:13 AM
Post: #2
RE: I can't find the filter "Randomizers: Return Constant"
It is not in the default set of filters; I am sure of that. How can a randomizer return a constant?
Add Thank You Quote this message in a reply
Oct. 22, 2006, 12:46 PM
Post: #3
RE: I can't find the filter "Randomizers: Return Constant"
sidki's set has a Filter with that name but it's integrated.
Add Thank You Quote this message in a reply
Oct. 22, 2006, 04:10 PM
Post: #4
RE: I can't find the filter "Randomizers: Return Constant"
Thank you, I found it there, but it seems to be corrupted or it doesn't work. It says:

Randomizers: Return Constant 6.08.01 (fail) [sd z12] (o.3)

It is supposed to change every random number generated by math.random to 0.99999999999999 but it doesn't work. Any suggestion?
Add Thank You Quote this message in a reply
Oct. 22, 2006, 07:14 PM
Post: #5
RE: I can't find the filter "Randomizers: Return Constant"
you must use that filter as PART OF sidki's config...
i would not "expect" it to work properly "extracted" and inserted into a non-sidki config...
Add Thank You Quote this message in a reply
Oct. 22, 2006, 10:39 PM
Post: #6
RE: I can't find the filter "Randomizers: Return Constant"
In, Sidki's filter set, the web filter is a toggle that enables or disables the javascript intercept of Math.random().

Personally, I've never gotten around to adding a toggle for my js intercept.

Here's the js intercept code that I use:

Code:
//-----------------------------------
  
  // replace Math.random function
  
  Math.PrxRandom = Math.random;
  Math.random = function(){return 0};
  
  //-----------------------------------

This code is injected in the head section.

You can return any value you like (between 0&1).

Sidki's js returns 0.99999999999999 which makes it easy to spot in the log window when it's tacked onto a url for cache busting purposes.

Mike
Add Thank You Quote this message in a reply
Oct. 22, 2006, 11:05 PM
Post: #7
RE: I can't find the filter "Randomizers: Return Constant"
I'm using one of the Sidki's default configs (sidki_2006-09-03.ptron) and most of the filters appear as "(fail)". I need to use this filter 'coz I'm trying to prevent a flash animation to generate a random number and make it constant; I don't know if I'm using the right application.

[Image: 03ln2.jpg]
Add Thank You Quote this message in a reply
Oct. 23, 2006, 01:08 AM
Post: #8
RE: I can't find the filter "Randomizers: Return Constant"
Rommedahl Wrote:I'm using one of the Sidki's default configs (sidki_2006-09-03.ptron) and most of the filters appear as "(fail)".
(fail)
Rommedahl Wrote:I need to use this filter 'coz I'm trying to prevent a flash animation to generate a random number and make it constant; I don't know if I'm using the right application.
If the number is generated and used inside a flash file, I doubt the Proxomitron can change it.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: