Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
xlrd==1.2.0
protobuf==3.20.1 --install-option='--no-binary protobuf'
PyYAML==6.0
protobuf==6.30.2 --config-settings='--build-option=--no-binary protobuf'
PyYAML==6.0.2
pyinstaller
Binary file modified src/Monster.xlsx
Binary file not shown.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/linux/protoc
100644 → 100755
Git LFS file not shown
4 changes: 2 additions & 2 deletions src/linux/protoc-gen-go
100644 → 100755
Git LFS file not shown
4 changes: 2 additions & 2 deletions src/mac/protoc
100644 → 100755
Git LFS file not shown
4 changes: 2 additions & 2 deletions src/mac/protoc-gen-go
100644 → 100755
Git LFS file not shown
4 changes: 4 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
from interpreter import interpreter
from parse import parse

# To resolve "TypeError: Couldn't build proto file into descriptor pool: duplicate file name xxx.proto",
# we have to set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION environment variable to "python".
os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"

from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
Expand Down
4 changes: 2 additions & 2 deletions src/protoc-gen-go.exe
Git LFS file not shown
4 changes: 2 additions & 2 deletions src/protoc.exe
Git LFS file not shown
45 changes: 45 additions & 0 deletions src/server_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# cplus = 1
# csharp = 2
# java = 3
# go = 4
# python = 5
# php = 6
# js = 7
# kotlin = 8
# objc = 9
language: 2

language_flag : s

#namespace
package_name: Data

#java_only
java_package: com.example.data

#java_only
java_outer_classname: Data

#java_only
java_multiple_files: True

# "SPEED" / "CODE_SIZE" / "LITE_RUNTIME"
optimize_for: SPEED

#c++ only
# True / False
cc_enable_arenas: True

#object-c only
objc_class_prefix: NS

#file_extsion
file_ext: .bytes

#git/svn compare
save_log: True

script_folder: ../Server/script/
bin_folder: ../Server/bin/
proto_folder: ../Server/proto/
log_folder: ../Server/log/