So I was setting up a GBWC Season 1 Server and there was this situation.
I Registered as a Normal User (Authority/ Authority2 is 1 in both gunwcuser and user table, TotalGrade = 19 (chick rank) in game table )
here is my Setting.txt in my Server,
PHP Code:
[GunBoundXPServ]
Port=8360
Accept=128.0/1;64.0/1
CenterPort=8372
CenterIp=127.0.0.1;127.0.0.1
;================================================= =============
SingleSourceMonitor=0
MaxConnectionPerSource=1
BanOverSingleSourceLimitation=0
BanOverMaxConnection=0
MaxConnection=1
;================================================= =============
QuickStartMan=0
QuickStartOption=0
;================================================= =============
RoomCloseMsg=Expulsado de la Sala
RoomCloseWarnMsg=Expulsado
IdleRoomWarnTime=1140
IdleRoomCloseTime=1200
;================================================= =============
VersionFirst=0
VersionLast=999
;================================================= =============
PartnerAgentDB_Port=3306
PartnerAgentDB_DB=gunbound
PartnerAgentDB_User=root
PartnerAgentDB_Host=127.0.0.1
PartnerAgentDB_Pwd=
;================================================= =============
ItemDB_Port=3306
ItemDB_DB=gunbound
ItemDB_User=root
ItemDB_Host=127.0.0.1
ItemDB_Pwd=
;================================================= =============
RecordDB_Port=3306
RecordDB_DB=gunbound
RecordDB_User=root
RecordDB_Host=127.0.0.1
RecordDB_Pwd=
;================================================= =============
GunBoundDB_Port=3306
GunBoundDB_DB=gunbound
GunBoundDB_User=root
GunBoundDB_Host=127.0.0.1
GunBoundDB_Pwd=
;================================================= =============
GunWcUserDB_Port=3306
GunWcUserDB_DB=gunbound
GunWcUserDB_user=root
GunWcUserDB_Host=127.0.0.1
GunWcUserDB_Pwd=
;================================================= =============
UserDB_Port=3306
UserDB_DB=gunbound
UserDB_User=root
UserDB_Host=127.0.0.1
UserDB_Pwd=
;================================================= =============
AdminDB2_Port=3306
AdminDB2_DB=gunbound
AdminDB2_User=root
AdminDB2_Host=127.0.0.1
AdminDB2_Pwd=
;================================================= =============
AdminDB_Port=3306
AdminDB_DB=gunbound
AdminDB_User=root
AdminDB_Host=127.0.0.1
AdminDB_Pwd=
;================================================= ============
;================================================= ============
EventTreatAsIndex3=0
EventTreatAsIndex2=0
EventTreatAsIndex1=0
EventTreatAsIndex0=0
EventWriteToLog3=1
EventWriteToLog2=1
EventWriteToLog1=1
EventWriteToLog0=1
EventActProp3=100
EventActProp2=100
EventActProp1=100
EventActProp0=100
StageEvent=0
EventTrigger=0
;================================================= ============
NoRoomCreate=0
GoldFactor=500
ScoreFactor=500
FuncRestrict=1040415
PassableAuthority=1
GuildMarkLimit=100
GradeLimitLast=19
GradeLimitFirst=-4
EventTrigger=0
Tank.Hidden.Ratio=100
ProductVersion=8452169
SuperUserItem=204801
;================================================= ============
RecommendedMan=100
MaxRoom=100
Log=1
;================================================= =============
[GrandPrix]
QueryCategory=1
PersonalScoreDefault=1
GrandPrix:QueryCategory=select Category from grandprix_group
GrandPrix:PersonalScoreDefault=select Score from grandprix_personal
;================================================= =========================
Log=1
So when i use a User with Authority/Authority=100, I can enter the server BUT
when I use a user with Authority/Authority2=1, error 201 occurs
anyone solved this? because this problem mainly affects many function of a GBWC S1 server like:
- rank limits of the server will be ignored due to forcing all users to Authority=100, setting it to 100 fixes the 201 message but
- usable GM commands, unless hex edit GunBoundServ3.exe to change the commands
- forcing to use IP range on accept line in setting.txt, as I saw this line, this line is the checker of users with Authority =100 but also checks that IP address. A error message will show if that IP logged in with Authority=100 is not part in the accept IP range. this is mainly a security feature if a hacker assigned himself as a GM in the database.
hope someone help me out, I might release a premade package of this server