Post: Idea's that I am working on.
01-30-2011, 07:54 PM #1
LightEmUp
Can’t trickshot me!
(adsbygoogle = window.adsbygoogle || []).push({}); Alrighty, so I been coding for atleast 3 years now in C++/C# and some vb and i've spent like 2 months looking at MW2 patches. They arn't fully 100% C++ but there may be some common functions that I will try to call.

Some Ideas:

Anti-Lag:

Original:
    
antilag()
{
try
{
Main.Setup();
}
catch (Exception &e)
{
log("Exception thrown: %s", e.String()); // Just uses any log class you want.

// Close everything down here and present an error message
}



Attempted Adjustment:

    
antilag()
{
try
{
//ANY THREAD HERE TO ANY LAG
}
catch (Exception &e)
{
self iPrintln("^1ERROR: ^2" +e);
}



so what it does is catch any error coming from a thread and handles it instead of causing a memory leak.


A possible thread lister that can be incorperated into a menu so that u can close unused threads.

Original:

    int main(int argc, char **argv)
{
printf("PID of this process: %d\n", getpid());
return(0);
}



Attempted Adjustments:

    
examplethread()
{
self iPrintln("Thread ISad Awesome " + getpid());
}



Hopefully one of you guys can get this to work. If you do give me some credit because im pretty sure this hasn't been attempted yet :FU: !
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked LightEmUp for this useful post:

FrOoTLoOpZ

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo