Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
phpdts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nemo Ma
phpdts
Commits
936d73d4
Commit
936d73d4
authored
Oct 03, 2020
by
nahakyuu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug and change sql to TYPE=MyISAM ENGINE=MyISAM
parent
62a76ef8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
gamedata/chat.sql
gamedata/chat.sql
+1
-1
gamedata/players.sql
gamedata/players.sql
+1
-1
gamedata/sql/bra.sql
gamedata/sql/bra.sql
+4
-4
include/game/clubslct.func.php
include/game/clubslct.func.php
+1
-1
No files found.
gamedata/chat.sql
View file @
936d73d4
...
...
@@ -13,7 +13,7 @@ CREATE TABLE bra_chat (
msg
char
(
60
)
NOT
NULL
default
''
,
PRIMARY
KEY
(
cid
)
)
TYP
E
=
MyISAM
;
)
ENGIN
E
=
MyISAM
;
gamedata/players.sql
View file @
936d73d4
...
...
@@ -103,7 +103,7 @@ CREATE TABLE bra_players (
PRIMARY
KEY
(
pid
),
INDEX
TYPE
(
type
,
sNo
),
INDEX
NAME
(
name
,
type
)
)
TYP
E
=
MyISAM
;
)
ENGIN
E
=
MyISAM
;
gamedata/sql/bra.sql
View file @
936d73d4
...
...
@@ -22,7 +22,7 @@ CREATE TABLE bra_users (
PRIMARY
KEY
(
uid
),
UNIQUE
KEY
username
(
username
)
)
TYP
E
=
MyISAM
;
)
ENGIN
E
=
MyISAM
;
--
-- 插入初始数据 `bra_users`
...
...
@@ -142,7 +142,7 @@ CREATE TABLE bra_winners (
hkp
char
(
15
)
NOT
NULL
default
''
,
UNIQUE
KEY
(
gid
)
)
TYP
E
=
MyISAM
;
)
ENGIN
E
=
MyISAM
;
--
...
...
@@ -250,7 +250,7 @@ CREATE TABLE bra_players (
PRIMARY
KEY
(
pid
),
INDEX
TYPE
(
type
,
sNo
),
INDEX
NAME
(
name
,
type
)
)
TYP
E
=
MyISAM
;
)
ENGIN
E
=
MyISAM
;
...
...
@@ -269,7 +269,7 @@ CREATE TABLE bra_chat (
msg
char
(
60
)
NOT
NULL
default
''
,
PRIMARY
KEY
(
cid
)
)
TYP
E
=
MyISAM
;
)
ENGIN
E
=
MyISAM
;
include/game/clubslct.func.php
View file @
936d73d4
...
...
@@ -27,7 +27,7 @@ function getclub($who, &$c1, &$c2, &$c3)
$result
=
$db
->
query
(
"SELECT uid FROM
{
$tablepre
}
users WHERE username='
$who
'"
);
$t
=
$db
->
fetch_array
(
$result
);
$curuid
=
$t
[
'uid'
]
+
2
;
$result
=
$db
->
query
(
"SELECT pid FROM
{
$tablepre
}
players WHERE name='
$who
' AND type=0"
);
$t
=
$db
->
fetch_array
(
$result
);
$curpid
=
$
resul
t
[
'pid'
]
+
3
;
$t
=
$db
->
fetch_array
(
$result
);
$curpid
=
$t
[
'pid'
]
+
3
;
$c1
=
calc
(
12347
,
10007
,
$curgid
,
$curuid
,
$curpid
,
$starttime
,
$validtime
);
$c1
%=
6
;
if
(
$c1
==
0
)
$c1
=
9
;
//超能称号为9号
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment