Skip to content

Commit eb95a6a

Browse files
committed
Some Improvements
1 parent d2fa7be commit eb95a6a

19 files changed

+32
-20
lines changed

ErScripts/AntiAfk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void ErScripts::AntiAfk() {
2020
}
2121
}
2222

23-
std::this_thread::sleep_for(std::chrono::milliseconds(10));
23+
std::this_thread::sleep_for(std::chrono::microseconds(15625));
2424
}
2525
}).detach();
2626
}

ErScripts/AutoAccept.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void ErScripts::AutoAccept() {
6262
SetCursorPos(mousePos.x, mousePos.y);
6363
}
6464
else {
65-
std::this_thread::sleep_for(std::chrono::milliseconds(10));
65+
std::this_thread::sleep_for(std::chrono::microseconds(15625));
6666
}
6767
}
6868
}).detach();

ErScripts/AutoPistol.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ void ErScripts::AutoPistol() {
1313
}
1414
}
1515

16-
std::this_thread::sleep_for(std::chrono::milliseconds(10));
16+
std::this_thread::sleep_for(std::chrono::microseconds(15625));
1717
}
1818
}).detach();
1919
}

ErScripts/AutoStop.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void ErScripts::AutoStop() {
7575
}
7676
}
7777
}
78-
std::this_thread::sleep_for(std::chrono::milliseconds(1));
78+
std::this_thread::sleep_for(std::chrono::microseconds(15625));
7979
}
8080
}).detach();
8181
}

ErScripts/BombTime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void ErScripts::BombTimer() {
2323
isbombTimerStarted = false;
2424
}
2525
}
26-
std::this_thread::sleep_for(std::chrono::milliseconds(10));
26+
std::this_thread::sleep_for(std::chrono::microseconds(15625));
2727
}
2828
}).detach();
2929
}

ErScripts/CS2Binds.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void ErScripts::CS2Binds() {
6868
}
6969
}
7070

71-
std::this_thread::sleep_for(std::chrono::milliseconds(10));
71+
std::this_thread::sleep_for(std::chrono::microseconds(15625));
7272
}
7373
}).detach();
7474
}

ErScripts/Crosshair.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void ErScripts::Crosshair() {
3838
oldRecoilCrosshairState = cfg->recoilCrosshairState;
3939
}
4040
}
41-
std::this_thread::sleep_for(std::chrono::milliseconds(10));
41+
std::this_thread::sleep_for(std::chrono::microseconds(15625));
4242
}
4343
}).detach();
4444
}

ErScripts/ErScripts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ void ErScripts::ConsoleLogStream() {
215215
}
216216
}
217217
}
218-
std::this_thread::sleep_for(std::chrono::milliseconds(10));
218+
std::this_thread::sleep_for(std::chrono::microseconds(15625));
219219
}
220220

221221
monitor.stop();

ErScripts/ErScripts.vcxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
<PlatformToolset>v143</PlatformToolset>
5252
<WholeProgramOptimization>true</WholeProgramOptimization>
5353
<CharacterSet>Unicode</CharacterSet>
54+
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
5455
</PropertyGroup>
5556
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
5657
<ImportGroup Label="ExtensionSettings">
@@ -134,6 +135,9 @@
134135
<Optimization>MaxSpeed</Optimization>
135136
<BufferSecurityCheck>false</BufferSecurityCheck>
136137
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
138+
<StringPooling>
139+
</StringPooling>
140+
<FavorSizeOrSpeed>Neither</FavorSizeOrSpeed>
137141
</ClCompile>
138142
<Link>
139143
<SubSystem>Console</SubSystem>

ErScripts/KillSay.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void ErScripts::KillSay() {
1212
}
1313
}
1414

15-
std::this_thread::sleep_for(std::chrono::milliseconds(10));
15+
std::this_thread::sleep_for(std::chrono::microseconds(15625));
1616
}
1717
}).detach();
1818
}

0 commit comments

Comments
 (0)