Browse Source

ft: 完善

master
SisMaker 3 weeks ago
parent
commit
f05f27c2a6
4 changed files with 4 additions and 5 deletions
  1. +1
    -2
      config/vm.args
  2. +1
    -1
      src/center.erl
  3. +1
    -1
      start_center.sh
  4. +1
    -1
      start_game.bat

+ 1
- 2
config/vm.args View File

@ -3,5 +3,4 @@
-pa ./dep/ebin
-pa ./dep/ebin/debug_cmd
-pa ./config
+A 64
-s main start
+A 64

+ 1
- 1
src/center.erl View File

@ -23,7 +23,7 @@ doStartApp(MFAOrApp) ->
end.
start(_StartType, _StartArgs) ->
game_master_sup:start_link(["127.0.0.1", "9110"]).
game_center_sup:start_link(["127.0.0.1", "9110"]).
stop(_State) ->
ok.

+ 1
- 1
start_center.sh View File

@ -1 +1 @@
erl -name center@127.0.0.1 -args_file "./config/vm.args" -config "./config/cls.config"
erl -name center@127.0.0.1 -args_file "./config/vm.args" -config "./config/cls.config" -s center start

+ 1
- 1
start_game.bat View File

@ -1 +1 @@
erl -name game@127.0.0.1 -args_file "./config/vm.args" -config "./config/gsrv.config"
erl -name game@127.0.0.1 -args_file "./config/vm.args" -config "./config/gsrv.config" -s main start

Loading…
Cancel
Save