Browse Source

fix: 🐛 commit for pull

commit for pull
tags/0.1.0
Shawqeem 2 years ago
parent
commit
c428f17b3d
4 changed files with 6 additions and 10 deletions
  1. +1
    -1
      logic/GameClass/GameObj/Character/Character.cs
  2. +2
    -2
      logic/cmd/gameServer.cmd
  3. +3
    -0
      logic/cmd/playback.cmd
  4. +0
    -7
      logic/cmd/test.cmd

+ 1
- 1
logic/GameClass/GameObj/Character/Character.cs View File

@@ -368,7 +368,7 @@ namespace GameClass.GameObj
lock (gameObjLock)
{
score += add;
Debugger.Output(this, " 's score has been added to: " + score.ToString());
// Debugger.Output(this, " 's score has been added to: " + score.ToString());
}
}
/// <summary>


+ 2
- 2
logic/cmd/gameServer.cmd View File

@@ -1,10 +1,10 @@
@echo off

start cmd /k ..\Server\bin\Debug\net6.0\Server.exe --port 8888 --teamCount 2 --playerNum 2 --gameTimeInSecond 600 --fileName test
start cmd /k ..\Server\bin\Debug\net6.0\Server.exe --ip 0.0.0.0 --port 8888 --teamCount 2 --playerNum 2 --gameTimeInSecond 60 --fileName test

ping -n 2 127.0.0.1 > NUL

start cmd /k ..\Client\bin\Debug\net6.0-windows\Client.exe --cl --port=8888 --characterID=0 --type=1 --occupation=1
::start cmd /k ..\Client\bin\Debug\net6.0-windows\Client.exe --cl --port=8888 --characterID=4 --type=2 --occupation=1

ping -n 2 127.0.0.1 > NUL



+ 3
- 0
logic/cmd/playback.cmd View File

@@ -0,0 +1,3 @@
@echo off

start cmd /k ..\Client\bin\Debug\net6.0-windows\Client.exe --cl --playbackFile D:\2_autumn\thuai6\THUAI6\logic\cmd\first_test.thuaipb

+ 0
- 7
logic/cmd/test.cmd View File

@@ -1,7 +0,0 @@
@echo off

start cmd /k .\Server\bin\Debug\net6.0\Server.exe

start cmd /k .\ClientTest\bin\Debug\net6.0\ClientTest.exe 0 1

start cmd /k .\ClientTest\bin\Debug\net6.0\ClientTest.exe 1 2

Loading…
Cancel
Save