blocks.gif
Navigation
 

icon_home.gif Home
icon_community.gif Community
tree-T.gif Forums
tree-T.gif Feeds
tree-T.gif Tutorials
tree-T.gif Surveys
icon_poll.gif Enemy Territory
tree-T.gif Server Rules
icon_members.gif Site
tree-T.gif Statistics
tree-L.gif Sitemap

 

blocks.gif
ET - QW Status
 

 

blocks.gif
ET Jaymod - Status
 

 

blocks.gif
TS Block
 

BBA TeamSpeak Viewer

 

 
Buffalo Bad Ass: Forums
 


  Buffalo Bad Asses :: View topic - insane FPS and MAXPACKETS script
 
insane FPS and MAXPACKETS script

 
Post new topic   Reply to topic    Buffalo Bad Asses Forum Index -> General BS ET
View previous topic :: View next topic  
Author Message
ferapont
BBA ShouldBe
BBA ShouldBe


Joined: Sep 16, 2009
Posts: 262
Location: Seattle
Status: Offline

PostPosted: Tue Feb 22, 2011 9:13 pm    Post subject: insane FPS and MAXPACKETS script Reply with quote

i totally zoned out and made this script. credit goes to septime who gave me the algorithm and hammer for the idea. i just smashed them all together.

some notes:

FPS should be 1000/n, n = 1,2,3 ..., rounded in some fashion, i think i rounded down

Then cl_maxpackets shoule be FPS/n, n = 1,2,3 ..., this time i rounded up

my variable naming is kinda long but i just stuck with it

Basically I first selected an FPS. UPARROW selects through them and DOWNARROW sets the FPS. Then it executes a maxpacket config for that value of FPS

Code:

/////////////////////////////////////////////////////////////fps cycle
echo ^rFPS CYCLE

set fcS1  "set com_maxFPS 71;  exec test\binds\mxpckts\cycle_maxpackets71.cfg"
set fcS2  "set com_maxFPS 76;  exec test\binds\mxpckts\cycle_maxpackets76.cfg"
set fcS3  "set com_maxFPS 83;  exec test\binds\mxpckts\cycle_maxpackets83.cfg"
set fcS4  "set com_maxFPS 90;  exec test\binds\mxpckts\cycle_maxpackets90.cfg"
set fcS5  "set com_maxFPS 100; exec test\binds\mxpckts\cycle_maxpackets100.cfg"
set fcS6  "set com_maxFPS 111; exec test\binds\mxpckts\cycle_maxpackets111.cfg"
set fcS7  "set com_maxFPS 125; exec test\binds\mxpckts\cycle_maxpackets125.cfg"
set fcS8  "set com_maxFPS 142; exec test\binds\mxpckts\cycle_maxpackets142.cfg"
set fcS9  "set com_maxFPS 166; exec test\binds\mxpckts\cycle_maxpackets166.cfg"
set fcS10 "set com_maxFPS 200; exec test\binds\mxpckts\cycle_maxpackets200.cfg"
set fcS11 "set com_maxFPS 250; exec test\binds\mxpckts\cycle_maxpackets250.cfg"

set fcB1  "bind DOWNARROW vstr fcS1"
set fcB2  "bind DOWNARROW vstr fcS2"
set fcB3  "bind DOWNARROW vstr fcS3"
set fcB4  "bind DOWNARROW vstr fcS4"
set fcB5  "bind DOWNARROW vstr fcS5"
set fcB6  "bind DOWNARROW vstr fcS6"
set fcB7  "bind DOWNARROW vstr fcS7"
set fcB8  "bind DOWNARROW vstr fcS8"
set fcB9  "bind DOWNARROW vstr fcS9"
set fcB10 "bind DOWNARROW vstr fcS10"
set fcB11 "bind DOWNARROW vstr fcS11"

set fcEC1  "echo ^r71 FPS;  set fcEC vstr fcEC2;  vstr fcB1"
set fcEC2  "echo ^r76 FPS;  set fcEC vstr fcEC3;  vstr fcB2"
set fcEC3  "echo ^r83 FPS;  set fcEC vstr fcEC4;  vstr fcB3"
set fcEC4  "echo ^r90 FPS;  set fcEC vstr fcEC5;  vstr fcB4"
set fcEC5  "echo ^r100 FPS; set fcEC vstr fcEC6;  vstr fcB5"
set fcEC6  "echo ^r111 FPS; set fcEC vstr fcEC7;  vstr fcB6"
set fcEC7  "echo ^r125 FPS; set fcEC vstr fcEC8;  vstr fcB7"
set fcEC8  "echo ^r142 FPS; set fcEC vstr fcEC9;  vstr fcB8"
set fcEC9  "echo ^r166 FPS; set fcEC vstr fcEC10; vstr fcB9"
set fcEC10 "echo ^r200 FPS; set fcEC vstr fcEC11; vstr fcB10"
set fcEC11 "echo ^r250 FPS; set fcEC vstr fcEC1;  vstr fcB11"

set fcEC "vstr fcEC1"
bind UPARROW "vstr fcEC"
bind DOWNARROW "vstr fcS1"


lets say we UPARROW to FPS 125, then DOWNARROW to set it. Then the maxpacket config for 125 is executed

Code:

///////////////////////////////////////////////////////maxpackets cycle
echo ^rMAXPACKETS CYCLE 125FPS

set mpcS1  "set cl_maxpackets 125"
set mpcS2  "set cl_maxpackets 63"
set mpcS3  "set cl_maxpackets 42"
set mpcS4  "set cl_maxpackets 32"

set mpcB1  "bind DOWNARROW vstr mpcS1"
set mpcB2  "bind DOWNARROW vstr mpcS2"
set mpcB3  "bind DOWNARROW vstr mpcS3"
set mpcB4  "bind DOWNARROW vstr mpcS4"

set mpcEC1  "echo ^r125 MAXPACKETS; set mpcEC vstr mpcEC2; vstr mpcB1"
set mpcEC2  "echo ^r63 MAXPACKETS;  set mpcEC vstr mpcEC3; vstr mpcB2"
set mpcEC3  "echo ^r42 MAXPACKETS;  set mpcEC vstr mpcEC4; vstr mpcB3"
set mpcEC4  "echo ^r32 MAXPACKETS;  set mpcEC vstr mpcEC1; vstr mpcB4"

set mpcEC "vstr mpcEC1"
bind UPARROW "vstr mpcEC"
bind DOWNARROW "vstr mpcS1"


then u UPARROW to a maxpacket u want and DOWNARROW to set it. and i did that for all the FPS defined up above.

i used LEFTARROW to execute the FPS script so then you can start back at the beginning. i had many lulz after i was done because it seemed like a lot of work for little return. but now i will be able to experiment and find a stable FPS and maxpacket combo that works.
Back to top
View user's profile Send private message Send e-mail
GunClap
Bad Ass Groupie
Bad Ass Groupie


Joined: Apr 30, 2009
Posts: 350
Location: In the line of fire...
Status: Offline

PostPosted: Wed Feb 23, 2011 2:30 am    Post subject: Reply with quote

Wow... You could do that... or you could...

Code:
//FPS and MaxPackets Cycle Script

//
//First make the cycle of MaxFPS for the up arrow
//
SET MaxFPSID00 "SET selectMaxFPS SET com_maxfps 71;   SET nextFPS vstr MaxFPSID01;   ECHO ^1MaxFPS 71?;      SET echoSelectedFPS ECHO ^1Max FPS of 71"
SET MaxFPSID01 "SET selectMaxFPS SET com_maxfps 76;   SET nextFPS vstr MaxFPSID02;   ECHO ^1MaxFPS 76?;      SET echoSelectedFPS ECHO ^1Max FPS of 76"
SET MaxFPSID02 "SET selectMaxFPS SET com_maxfps 83;   SET nextFPS vstr MaxFPSID03;   ECHO ^1MaxFPS 83?;      SET echoSelectedFPS ECHO ^1Max FPS of 83"
SET MaxFPSID03 "SET selectMaxFPS SET com_maxfps 90;   SET nextFPS vstr MaxFPSID04;   ECHO ^1MaxFPS 90?;      SET echoSelectedFPS ECHO ^1Max FPS of 90"
SET MaxFPSID04 "SET selectMaxFPS SET com_maxfps 100;   SET nextFPS vstr MaxFPSID05;   ECHO ^1MaxFPS 100?;      SET echoSelectedFPS ECHO ^1Max FPS of 100"
SET MaxFPSID05 "SET selectMaxFPS SET com_maxfps 111;   SET nextFPS vstr MaxFPSID06;   ECHO ^1MaxFPS 111?;      SET echoSelectedFPS ECHO ^1Max FPS of 111"
SET MaxFPSID06 "SET selectMaxFPS SET com_maxfps 123;   SET nextFPS vstr MaxFPSID07;   ECHO ^1MaxFPS 125?;      SET echoSelectedFPS ECHO ^1Max FPS of 125"
SET MaxFPSID07 "SET selectMaxFPS SET com_maxfps 142;   SET nextFPS vstr MaxFPSID08;   ECHO ^1MaxFPS 142?;      SET echoSelectedFPS ECHO ^1Max FPS of 142"
SET MaxFPSID08 "SET selectMaxFPS SET com_maxfps 166;   SET nextFPS vstr MaxFPSID09;   ECHO ^1MaxFPS 166?;      SET echoSelectedFPS ECHO ^1Max FPS of 166"
SET MaxFPSID09 "SET selectMaxFPS SET com_maxfps 200;   SET nextFPS vstr MaxFPSID10;   ECHO ^1MaxFPS 200?;      SET echoSelectedFPS ECHO ^1Max FPS of 200"
SET MaxFPSID10 "SET selectMaxFPS SET com_maxfps 250;   SET nextFPS vstr MaxFPSID00;   ECHO ^1MaxFPS 250?;      SET echoSelectedFPS ECHO ^1Max FPS of 250"
SET nextFPS "vstr MaxFPSID00"

//
//Do the same with MaxPackets for the down arrow
//
SET MaxPacketsID00 "SET selectMaxPackets SET cl_maxpackets 125;   SET nextPackets vstr MaxPacketsID01;   ECHO ^1MaxPackets 125?;      SET echoSelectedPackets ECHO ^1with Max Packets of 125 ^7selected."
SET MaxPacketsID01 "SET selectMaxPackets SET cl_maxpackets 63;   SET nextPackets vstr MaxPacketsID02;   ECHO ^1MaxPackets 63?;      SET echoSelectedPackets ECHO ^1with Max Packets of 63 ^7selected."
SET MaxPacketsID02 "SET selectMaxPackets SET cl_maxpackets 42;   SET nextPackets vstr MaxPacketsID03;   ECHO ^1MaxPackets 42?;      SET echoSelectedPackets ECHO ^1with Max Packets of 42 ^7selected."
SET MaxPacketsID03 "SET selectMaxPackets SET cl_maxpackets 32;   SET nextPackets vstr MaxPacketsID00;   ECHO ^1MaxPackets 32?;      SET echoSelectedPackets ECHO ^1with Max Packets of 32 ^7selected."
SET nextPackets "vstr MaxPacketsID00"

//Bind the MaxFPS cycle to the up arrow
BIND UPARROW "vstr nextFPS"

//Bind the MaxPackets cycle to the down arrow
BIND DOWNARROW "vstr nextPackets"

//Bind a third key to activate the selection...
BIND KP_5 "vstr selectMaxFPS; vstr selectMaxPackets; vstr echoSelectedFPS, vstr echoSelectedPackets"


copy and paste that into notepad without word-wrap on and have a read...

Could be of use... Just thinking it might save you writing out a load of files to accomodate your executions.
_________________

Your mind is a weapon. Keep it clean, clear and loaded...
Back to top
View user's profile Send private message
ferapont
BBA ShouldBe
BBA ShouldBe


Joined: Sep 16, 2009
Posts: 262
Location: Seattle
Status: Offline

PostPosted: Wed Feb 23, 2011 4:01 am    Post subject: Reply with quote

well for each fps selected i have it clmaxpackets selection for values FPS/n

FPS: FPS/1,FPS/2,FPS/3, etc.
250: 250/1,250/2,250/3, etc.
125: 125/1,125/2,125/3, etc.
111: 111/1,111/2,111/3, etc.
...
...
71: 71/1,71/2

and I took the max packet value to no less than 30.

so the clmaxpackets values will be different for each value of the set FPS which is why i had the different cfg files.

like i said, lots of lols afterwards.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Buffalo Bad Asses Forum Index -> General BS ET All times are GMT - 6 Hours
Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group
Version 2.1 by Nuke Cops © 2003 http://www.nukecops.com
Techra-Dark theme pack by Kenetix

 

Forums ©