Small changes

This commit is contained in:
EntenKoeniq
2021-07-12 09:24:31 +02:00
parent b86d593ebb
commit 47f7635145
4 changed files with 5 additions and 4 deletions

View File

@ -458,7 +458,7 @@ namespace CoopClient
private bool LastMoving; private bool LastMoving;
private void WalkTo() private void WalkTo()
{ {
if (!Character.IsInRange(Position, 7.0f) && (LastMoving = true)) if (!Character.IsInRange(Position, 6.0f) && (LastMoving = true))
{ {
Character.Position = Position; Character.Position = Position;
Character.Rotation = Rotation; Character.Rotation = Rotation;
@ -505,7 +505,7 @@ namespace CoopClient
} }
else if (LastMoving && (LastMoving = false)) else if (LastMoving && (LastMoving = false))
{ {
Character.Task.StandStill(2000); Character.Task.StandStill(1000);
} }
break; break;
} }

View File

@ -262,7 +262,7 @@ namespace CoopClient
DebugSyncPed = Players["DebugKey"]; DebugSyncPed = Players["DebugKey"];
} }
if ((Environment.TickCount - ArtificialLagCounter) < 247) if ((Environment.TickCount - ArtificialLagCounter) < 47)
{ {
return; return;
} }

View File

@ -9,7 +9,7 @@ namespace CoopServer
{ {
try try
{ {
Console.Title = "GTACoop:R Server"; Console.Title = "GTACOOP:R Server";
if (File.Exists("log.txt")) if (File.Exists("log.txt"))
{ {

View File

@ -57,6 +57,7 @@ namespace CoopServer
else else
{ {
Logging.Error("Port forwarding failed!"); Logging.Error("Port forwarding failed!");
Logging.Warning("If you and your friends can join this server, please ignore this error or set UPnP in CoopSettings.xml to \"false\"!");
} }
} }