• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

FPS Limiter By Command [1.5]

Joined
Jul 11, 2012
Messages
786
Reaction score
190
Hello this is a release for FPS Limiter by a command: /fps <number>


ZChat_Cmds.cpp (.../Stable/Gunz/ZChat_Cmds.cpp) [Line 79]
Code:
void ChatCmd_FPS(const char* line, const int argc, char **const argv);

ZChat_Cmds.cpp (.../Stable/Gunz/ZChat_Cmds.cpp) [Line 205]
Code:
	_CC_AC("fps",				&ChatCmd_FPS,					CCF_ALL, ARGVNoMin, 1 , true,"/fps <number>", "");

ZChat_Cmds.cpp (.../Stable/Gunz/ZChat_Cmds.cpp) [Line 1545]
Code:
void ChatCmd_FPS(const char* line, const int argc, char **const argv)
{
	if (argc < 2) 
	{
		ZChatOutput("Enter a FPS value!", ZChat::CMT_SYSTEM);
		return;
	}

	RSetFrameLimitPerSeceond(atoi(argv[1]));
	ZChatOutput("FPS changed successfully!", ZChat::CMT_SYSTEM);
}

RealSpace2.cpp (.../Stable/RealSpace2/Source/RealSpace2.cpp) [Line 1028]
Search for void RSetFrameLimitPerSeceond(unsigned short nFrameLimit) if you have it then edit it to this.
Code:
void RSetFrameLimitPerSeceond(unsigned short nFrameLimit)
{ 
	g_nFrameLimitValue = nFrameLimit;
}
if you don't have it then copy the function above, and paste it somewhere with the functions below it.

NOTE: Lines might be different. :O
--------------------------------------
Thanks to qet123 for help. ;)
Like if you use it or if it helps you...
 
Newbie Spellweaver
Joined
Sep 13, 2012
Messages
99
Reaction score
46
nothing special, but good command ..
 
Joined
Jul 9, 2009
Messages
716
Reaction score
324
Lol, Leecher.
He took it from my source of "Game-Serv Gunz", qet123 didn't made it...
They guy made it was Vusion (Omar)
Alot of new leecher became to rz...
 
Good Guy George
Loyal Member
Joined
Apr 12, 2009
Messages
1,260
Reaction score
239
Ofc i didn't, i only helped him. And it doesn't take a genius to done it
 
Hi, I'm Omar!
Loyal Member
Joined
Jan 6, 2011
Messages
1,345
Reaction score
646
That's straight off copied from an old source of mine.
Gj.
 
Joined
Jul 11, 2012
Messages
786
Reaction score
190
Lol, Leecher.
He took it from my source of "Game-Serv Gunz", qet123 didn't made it...
They guy made it was Vusion (Omar)
Alot of new leecher became to rz...

Sahar, I didn't say it's my coding or it's qet's coding I said he helped me, lol nothing more xD... and if releasing it bothers u I will delete it LOLs, Credits to who have done it... -.-'
just wanted to help people who's looking for it xD
 
Hi, I'm Omar!
Loyal Member
Joined
Jan 6, 2011
Messages
1,345
Reaction score
646
Belive me, there is no other way to code it. lol

I'm not arguing, I don't really care.
I'm just saying this was straight off copied from my source, not even a line change. I don't even mind it being released.
 
Junior Spellweaver
Joined
Dec 31, 2011
Messages
197
Reaction score
27
Sahar, I didn't say it's my coding or it's qet's coding I said he helped me, lol nothing more xD... and if releasing it bothers u I will delete it LOLs, Credits to who have done it... -.-'
just wanted to help people who's looking for it xD

Burp Credits Burp*
 
Newbie Spellweaver
Joined
Sep 13, 2012
Messages
99
Reaction score
46
I know, but get123 said that this method is only possible
 
Back
Top