Solved(FPS) Frames Per Second help

Posts 1–11 of 11 · Page 1 of 1
(FPS) Frames Per Second help
I know this has been mentioned and solved in another thread [[HERE]] using Swix <Windows only, I am on a Mac, can't seem to find anything similar.

Is there a way to do this inside the client the same as the "force low quality" code?

Force Low Quality code:
Code:
getlex              QName(PackageNamespace(""), "stage")
getlex              QName(PackageNamespace("flash.display"), "StageQuality")
getproperty         QName(PackageNamespace(""), "LOW")
setproperty         QName(PackageNamespace(""), "quality")
???

GameSprite class??
Or am I completely off track? Grep also shows 'framerate' strings in Console class, Stats class, and also one in Commandline class.

Thanks in advance, and sorry if this has been posted somewhere and I've completely missed it...
Hum, tried to set it in Webmain last time but since i cant display the FPS (tried ANY KEY) i cant confirm it works.

this.stage.frameRate = 60;

look for "framerate" into the classes to figure WHAT is the "this" in this case.
Quote Originally Posted by JustAnoobROTMG View Post
Hum, tried to set it in Webmain last time but since i cant display the FPS (tried ANY KEY) i cant confirm it works.

this.stage.frameRate = 60;

look for "framerate" into the classes to figure WHAT is the "this" in this case.
grep -r "frameRate" /rabcasm/client-1
/rabcasm/client-1/_-0Dn/CommandLine.class.asasm: pushstring "<b>stage.frameRate = 12</b>"
/rabcasm/client-1/_-3/Console.class.asasm: getproperty QName(PackageNamespace("", "#0"), "frameRate")
/rabcasm/client-1/_-Wm/Stats.class.asasm: getproperty QName(PackageNamespace("", "#0"), "frameRate")
/rabcasm/client-1/_-Wm/Stats.class.asasm: getproperty QName(PackageNamespace("", "#0"), "frameRate")
/rabcasm/client-1/_-Wm/Stats.class.asasm: getproperty QName(PackageNamespace("", "#0"), "frameRate")
/rabcasm/client-1/_-Wm/Stats.class.asasm: setproperty QName(PackageNamespace("", "#0"), "frameRate")
/rabcasm/client-1/_-Wm/Stats.class.asasm: getproperty QName(PackageNamespace("", "#0"), "frameRate")
/rabcasm/client-1/_-Wm/Stats.class.asasm: setproperty QName(PackageNamespace("", "#0"), "frameRate")
/rabcasm/client-1/_-Wm/Stats.class.asasm: getproperty QName(PackageNamespace("", "#0"), "frameRate")
Binary file /rabcasm/client-1/client-1.main.abc matches
/rabcasm/client-1/com/company/assembleegameclient/game/GameSprite.class.asasm: pushstring "frameRate"

Wasn't able to find it

Oh and by the way Jnoob you might like this [[HERE]] if you don't have it already, made by 'JPEXS' the maker of 'asdec', and now this does all, like a normal decompiler as well as AS3 editor .. maybe worth a look
I enjoy your art.You should do more
Quote Originally Posted by Cyeclops View Post
I know this has been mentioned and solved in another thread [[HERE]] using Swix <Windows only, I am on a Mac, can't seem to find anything similar.

Is there a way to do this inside the client the same as the "force low quality" code?

Force Low Quality code:
Code:
getlex              QName(PackageNamespace(""), "stage")
getlex              QName(PackageNamespace("flash.display"), "StageQuality")
getproperty         QName(PackageNamespace(""), "LOW")
setproperty         QName(PackageNamespace(""), "quality")
???

GameSprite class??
Or am I completely off track? Grep also shows 'framerate' strings in Console class, Stats class, and also one in Commandline class.

Thanks in advance, and sorry if this has been posted somewhere and I've completely missed it...
Code:
;-------------------------
; FPSSETTING
;-------------------------
      getlex              QName(PackageNamespace(""), "stage")
      pushdouble          60
      setproperty         QName(PackageNamespace(""), "frameRate")
;-------------------------
In which eventually I'll add a parameters property at the pushdouble 60, therefore when u type in a command, it will set it to that command, setting it saying stage.frameRate = FPSSETTING, rather than stage.frameRate = 60

Be careful, this will set it forced to 60 and more, therefore if u pushdouble 10000000000000000, ur computer may break xD

place this at the end of the function setup in webmain, just like u do with low quality, u can also control many other settings through there
Quote Originally Posted by liaojh1998 View Post
Code:
;-------------------------
; FPSSETTING
;-------------------------
      getlex              QName(PackageNamespace(""), "stage")
      pushdouble          60
      setproperty         QName(PackageNamespace(""), "frameRate")
;-------------------------
In which eventually I'll add a parameters property at the pushdouble 60, therefore when u type in a command, it will set it to that command, setting it saying stage.frameRate = FPSSETTING, rather than stage.frameRate = 60

Be careful, this will set it forced to 60 and more, therefore if u pushdouble 10000000000000000, ur computer may break xD

place this at the end of the function setup in webmain, just like u do with low quality, u can also control many other settings through there
Oh nice, thanks for that where the fuck is our thanks button ......???
Quote Originally Posted by Cyeclops View Post
Oh nice, thanks for that where the fuck is our thanks button ......???
It vanished... MAGIC :P
Quote Originally Posted by liaojh1998 View Post
It vanished... MAGIC :P
Again!!!
post2short
Quote Originally Posted by Cyeclops View Post
Oh nice, thanks for that where the fuck is our thanks button ......???
The rep button is there but ofc no one knows besides me
@nilly SOLVED .. please close thank you
Posts 1–11 of 11 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us