general table의 no_member를 의미에 더 맞도록 owner로 변경.

general table의 user_id, password column 삭제. 코드도 이를 참조하지 않고 owner를 이용하도록 변경
This commit is contained in:
2018-02-04 04:40:35 +09:00
parent e42643d439
commit 5ed33b1cda
89 changed files with 421 additions and 391 deletions
+4 -8
View File
@@ -2069,8 +2069,6 @@ function process_29($connect, &$general) {
$npcid = $admin['npccount'];
$npccount = 10000 + $npcid;
$npcmatch = rand() % 150 + 1;
$genid = "gen{$npccount}";
$pw = md5("18071807");
$picture = 'default.jpg';
$turntime = getRandTurn($admin['turnterm']);
$personal = rand() % 10;
@@ -2086,14 +2084,14 @@ function process_29($connect, &$general) {
@MYDB_query("
insert into general (
npcid,npc,npc_org,npcmatch,user_id,password,name,picture,nation,
npcid,npc,npc_org,npcmatch,name,picture,nation,
city,leader,power,intel,experience,dedication,
level,gold,rice,crew,crewtype,train,atmos,tnmt,
weap,book,horse,turntime,killturn,age,belong,personal,special,specage,special2,specage2,npcmsg,
makelimit,bornyear,deadyear,
dex0, dex10, dex20, dex30, dex40
) values (
'$npccount','$npc','$npc','$npcmatch','$genid','$pw','$name','$picture','$scoutNation',
'$npccount','$npc','$npc','$npcmatch','$name','$picture','$scoutNation',
'{$general['city']}','$leader','$power','$intel','{$avgGen['exp']}','{$avgGen['ded']}',
'$scoutLevel','100','100','0','0','0','0','0',
'0','0','0','$turntime','$killturn','$age','1','$personal','0','$specage','0','$specage2','',
@@ -5890,8 +5888,6 @@ function process_76($connect, &$general) {
$npccount = 10000 + $npcid;
$npcmatch = rand() % 150 + 1;
$genid = "gen{$npccount}";
$pw = md5("18071807");
$name = "ⓖ의병장{$npcid}";
$picture = 'default.jpg';
$turntime = getRandTurn($admin['turnterm']);
@@ -5902,14 +5898,14 @@ function process_76($connect, &$general) {
@MYDB_query("
insert into general (
npcid,npc,npc_org,npcmatch,user_id,password,name,picture,nation,
npcid,npc,npc_org,npcmatch,name,picture,nation,
city,leader,power,intel,experience,dedication,
level,gold,rice,crew,crewtype,train,atmos,tnmt,
weap,book,horse,turntime,killturn,age,belong,personal,special,specage,special2,specage2,npcmsg,
makelimit,bornyear,deadyear,
dex0, dex10, dex20, dex30, dex40
) values (
'$npccount','$npc','$npc','$npcmatch','$genid','$pw','$name','$picture','{$nation['nation']}',
'$npccount','$npc','$npc','$npcmatch','$name','$picture','{$nation['nation']}',
'{$general['city']}','$leader','$power','$intel','{$avgGen['exp']}','{$avgGen['ded']}',
'1','100','100','0','0','0','0','0',
'0','0','0','$turntime','$killturn','{$avgGen['age']}','1','$personal','0','0','0','0','',