summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/piztor/easy_import.py2
-rw-r--r--server/piztor/game_server.py (renamed from server/piztor/server.py)4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/piztor/easy_import.py b/server/piztor/easy_import.py
index b614315..2a050d8 100644
--- a/server/piztor/easy_import.py
+++ b/server/piztor/easy_import.py
@@ -2,7 +2,7 @@ from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from model import *
-path = "root:helloworld@localhost/piztor"
+path = "root:helloworld@localhost/piztor2"
class UserData:
def __init__(self, username, nickname, password,
diff --git a/server/piztor/server.py b/server/piztor/game_server.py
index cbd80e4..cc1bd89 100644
--- a/server/piztor/server.py
+++ b/server/piztor/game_server.py
@@ -20,7 +20,7 @@ from model import *
def get_hex(data):
return "".join([hex(ord(c))[2:].zfill(2) for c in data])
-db_path = "root:helloworld@localhost/piztor"
+db_path = "root:helloworld@localhost/piztor2"
#db_path = "piztor.sqlite"
FORMAT = "%(asctime)-15s %(message)s"
logging.basicConfig(format = FORMAT)
@@ -55,7 +55,7 @@ _HEADER_SIZE = _SectionSize.LENGTH + \
_MAX_TEXT_MESG_SIZE = 1024
_MAX_SUB_LIST_SIZE = 10
_MAX_PENDING_PUSH = 10
-_INIT_MARKER_NUM = 2
+_INIT_MARKER_NUM = 5
class _OptCode:
user_auth = 0x00