|
You last visited: Today at 16:08
Advertisement
[Release] Fix the MouseLag on old Clients without hooking.
Discussion on [Release] Fix the MouseLag on old Clients without hooking. within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
01/24/2015, 06:18
|
#1
|
elite*gold: 67
Join Date: Aug 2014
Posts: 1,321
Received Thanks: 927
|
[Release] Fix the MouseLag on old Clients without hooking.
Here is a simple tool that Enables it when it detects Conquer and Disables the tail again once it closed.
Code:
PHP Code:
using System.Diagnostics; using System.Runtime.InteropServices; using System.Timers; using System.Windows.Forms; using Timer = System.Timers.Timer;
namespace LagFix { public partial class Form1 : Form { [DllImport("user32.dll", CharSet = CharSet.Auto)] public static extern int SystemParametersInfo(uint ActionType, uint ParameterOne, uint ParameterTwo, uint ParameterThree); private const int MouseTrailParameter = 0x005D;
private readonly Timer _CheckTimer = new Timer(5000); private bool _RequireCleanup;
public Form1() { InitializeComponent(); _CheckTimer.Elapsed += CheckTimer_Elapsed; LittleBigNotifyIcon.BalloonTipIcon = ToolTipIcon.Info; LittleBigNotifyIcon.BalloonTipText = @"MouseLag Fix for old Co2 Clients - Double click to close"; LittleBigNotifyIcon.Text = @"MouseLag Fix for old Co2 Clients - Double click to close"; WindowState = FormWindowState.Minimized; LittleBigNotifyIcon.Visible = true; LittleBigNotifyIcon.ShowBalloonTip(6000); ShowInTaskbar = false; _CheckTimer.Start(); }
void CheckTimer_Elapsed(object Sender, ElapsedEventArgs E) { var ProcessList = Process.GetProcessesByName("Conquer"); if (ProcessList.Length == 0 && _RequireCleanup) { LittleBigNotifyIcon.ShowBalloonTip(4000, "Closed!", "Restored your moust :3", ToolTipIcon.Info); _RequireCleanup = false; SystemParametersInfo(MouseTrailParameter, 1, 0, 0); } else if (ProcessList.Length != 0 && !_RequireCleanup) { LittleBigNotifyIcon.ShowBalloonTip(4000, "Found!", "Fixed your mouse :P", ToolTipIcon.Info); _RequireCleanup = true; SystemParametersInfo(MouseTrailParameter, 2, 0, 0); } } private void NotifyIcon_DoubleClick(object Sender, MouseEventArgs e) { LittleBigNotifyIcon.Visible = false; SystemParametersInfo(MouseTrailParameter, 1, 0, 0); Close(); } } }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
|
|
|
01/24/2015, 06:58
|
#2
|
elite*gold: 0
Join Date: Jun 2010
Posts: 272
Received Thanks: 24
|
Nice code and even better Xio loader, looks really professional.
|
|
|
01/25/2015, 08:39
|
#3
|
elite*gold: 0
Join Date: Feb 2014
Posts: 151
Received Thanks: 80
|
That launcher.. Sick ha
|
|
|
01/26/2015, 17:54
|
#4
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
|
Really nice launcher!
|
|
|
01/26/2015, 22:29
|
#5
|
elite*gold: 67
Join Date: Aug 2014
Posts: 1,321
Received Thanks: 927
|
Ohhh you little ******* get distracted much don't ya <3
|
|
|
01/26/2015, 22:46
|
#6
|
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 284
|
Of course the launcher looks good, Alot of work has been put in XioOnline and hopefully it will be a huge success
|
|
|
01/27/2015, 02:11
|
#7
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 701
|
It may look nice, but if it takes 10 seconds for a small launcher to load up.......
|
|
|
01/27/2015, 02:58
|
#8
|
elite*gold: 67
Join Date: Aug 2014
Posts: 1,321
Received Thanks: 927
|
... then your internet is congested.
|
|
|
01/27/2015, 05:06
|
#9
|
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 284
|
^
|
|
|
01/28/2015, 02:36
|
#10
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 701
|
Quote:
Originally Posted by Xio.
... then your internet is congested.
|
Quote:
Originally Posted by Execution!
^
|
|
|
|
01/28/2015, 06:46
|
#11
|
elite*gold: 67
Join Date: Aug 2014
Posts: 1,321
Received Thanks: 927
|
Quote:
Originally Posted by turk55
[IMG=expandable: 1]images5.fanpop.com/image/photos/31000000/Epic-Facepalm-fairy-tail-31065791-500-427.png[/IMG]
|
It pulls data from the homepage. It has a imageslider and a news box. It gets the online players and checks for updates.
Please gtfo. This thread is clearly not about the launcher.
|
|
|
03/16/2015, 18:23
|
#12
|
elite*gold: 0
Join Date: Nov 2014
Posts: 1
Received Thanks: 0
|
And to completely get rid of the mouse flickering like that, change your computer cursor into the conquer cursor. You could even change the game cursor to whatever you want just your desktops cursor has to be the same.
|
|
|
09/03/2015, 15:22
|
#13
|
elite*gold: 67
Join Date: Aug 2014
Posts: 1,321
Received Thanks: 927
|
As of now, Windows 10 Build 10532, you no longer need the lagfix. Windows 10 did a good job and fixed that issue internally.
No more mouselag on Windows 10, yay
|
|
|
01/17/2018, 13:24
|
#14
|
elite*gold: 0
Join Date: Jun 2010
Posts: 64
Received Thanks: 2
|
what program i need to use this code because i want edit "conquer" sorry for this stupid question !
var ProcessList = Process.GetProcessesByName("Conquer");
|
|
|
01/17/2018, 14:31
|
#15
|
elite*gold: 67
Join Date: Aug 2014
Posts: 1,321
Received Thanks: 927
|
Quote:
Originally Posted by mohammedqq1
what program i need to use this code because i want edit "conquer" sorry for this stupid question !
var ProcessList = Process.GetProcessesByName("Conquer");
|
ayy my *****, you need to make more sense in order to get help :P
|
|
|
|
|
Similar Threads
|
[RELEASE][.NET] Hooking library, take two
12/16/2012 - CO2 Programming - 76 Replies
August 5th, 2012 update: Restrictions are fixed, meaning you will no longer get banned for using this library
New hooking library + sample + source. Enjoy.
It probably has bugs (I'm terrible at C#)
I might make a tutorial on how to use although the sample should be enough
Feel free to ask any questions in the thread
Belth's guide on how to find some important memory addresses (Remember to thank him):
|
[Release] Advanced hooking
05/07/2012 - CO2 Programming - 187 Replies
Advanced hooking
Have you ever needed a simple way to control an application without having to resort to DLL injection? I decided to release a class library for .NET applications that allows you to easily manipulate a remote process by using debugging techniques.
All you have to do is add it as a reference to your project, and you're ready to use it. You can see the sample I provided if you're unsure of how it works (can easily be translated to C#, which someone already did (thanks))
The...
|
[RELEASE]AutoUpdater For Unpacked Clients
09/12/2011 - Dekaron Private Server - 5 Replies
Better version soon
|
[Release]TeratoDragon for the old clients
09/09/2010 - CO2 PServer Guides & Releases - 40 Replies
Greetings all,
Here is how to add the TeratoDragon
Client Side:
1st- Download this file to your client : HERE
2nd- open your ini files and look for :-
3dmotion and add this code blow :
0950000100=c3/monster/950/100.c3
0950000101=c3/monster/950/101.c3
|
All times are GMT +2. The time now is 16:08.
|
|