Unneeded semicolons removed
Removed duplicate slashes
This commit is contained in:
parent
9240320501
commit
b7fd4dd274
@ -12014,7 +12014,7 @@ OnTouch:
|
||||
|
||||
que_job01,6,94,0 warp morocc#01 2,2,morocc,45,103
|
||||
que_job01,17,48,0 warp que_job01#02 2,2,que_job01,68,92
|
||||
que_job01,68,96,0 warp que_job01#03 2,2,que_job01,17,53;
|
||||
que_job01,68,96,0 warp que_job01#03 2,2,que_job01,17,53
|
||||
|
||||
que_job01,82,95,3 script Bar Master#moc2_01 46,{
|
||||
if (checkweight(1201,1) == 0) {
|
||||
|
@ -2548,7 +2548,7 @@ OnTouch:
|
||||
}
|
||||
}
|
||||
|
||||
spl_in02,236,86,0 warp terrashome_out 1,1,splendide,285,139;
|
||||
spl_in02,236,86,0 warp terrashome_out 1,1,splendide,285,139
|
||||
|
||||
spl_fild01,357,44,0 script ???#ep13mdf01 844,{
|
||||
if (checkweight(1201,2) == 0) {
|
||||
|
@ -2409,9 +2409,9 @@ lou_in02,192,170,0 script Supply Stack#2 111,{
|
||||
close;
|
||||
}
|
||||
|
||||
louyang,129,121,0 warp Storage Warp#1 1,1,lou_in02,203,161;
|
||||
louyang,125,121,0 warp Storage Warp#2 1,1,lou_in02,198,161;
|
||||
lou_in02,198,159,0 warp Storage Warp#3 1,1,louyang,124,118;
|
||||
louyang,129,121,0 warp Storage Warp#1 1,1,lou_in02,203,161
|
||||
louyang,125,121,0 warp Storage Warp#2 1,1,lou_in02,198,161
|
||||
lou_in02,198,159,0 warp Storage Warp#3 1,1,louyang,124,118
|
||||
lou_in02,203,159,0 warp Storage Warp#4 1,1,louyang,129,118
|
||||
|
||||
// Poison King Quest :: poison_king
|
||||
|
@ -3646,8 +3646,8 @@ que_ba,181,14,7 script Researcher#bpast_2_2 865,{
|
||||
close;
|
||||
}
|
||||
|
||||
que_ba,183,25,0 warp #bpast_2to3_1 1,1,que_ba,72,25;
|
||||
que_ba,183,52,0 warp #bpast_2to3_2 1,1,que_ba,72,51;
|
||||
que_ba,183,25,0 warp #bpast_2to3_1 1,1,que_ba,72,25
|
||||
que_ba,183,52,0 warp #bpast_2to3_2 1,1,que_ba,72,51
|
||||
|
||||
que_ba,102,56,0 script #3room_barmunt -1,3,3,{
|
||||
//OnTouch2:
|
||||
|
@ -17852,6 +17852,7 @@ void packetdb_readdb(void)
|
||||
packet_len(i) = packet_len_table[i];
|
||||
|
||||
for(f = 0; f<ARRAYLENGTH(filename); f++){
|
||||
entries = 0;
|
||||
sprintf(line, "%s/%s", db_path,filename[f]);
|
||||
if( (fp=fopen(line,"r"))==NULL ){
|
||||
if(f==0) {
|
||||
@ -17999,7 +18000,8 @@ void packetdb_readdb(void)
|
||||
|
||||
clif_config.packet_db_ver = j?j:MAX_PACKET_VER;
|
||||
}
|
||||
ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", entries, "packet_db.txt");
|
||||
sprintf(line, "%s/%s", db_path,filename[f]);
|
||||
ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", entries, line);
|
||||
}
|
||||
ShowStatus("Using default packet version: "CL_WHITE"%d"CL_RESET".\n", clif_config.packet_db_ver);
|
||||
}
|
||||
|
@ -2105,7 +2105,7 @@ void do_init_guild(void) {
|
||||
for(i=0; i<ARRAYLENGTH(dbsubpath); i++){
|
||||
int n1 = strlen(db_path)+strlen(dbsubpath[i])+1;
|
||||
char* dbsubpath1 = aMalloc(n1+1);
|
||||
safesnprintf(dbsubpath1,n1+1,"%s/%s",db_path,dbsubpath[i]);
|
||||
safesnprintf(dbsubpath1,n1+1,"%s%s",db_path,dbsubpath[i]);
|
||||
|
||||
sv_readdb(dbsubpath1, "castle_db.txt", ',', 4, 4, -1, &guild_read_castledb, i);
|
||||
sv_readdb(dbsubpath1, "guild_skill_tree.txt", ',', 2+MAX_GUILD_SKILL_REQUIRE*2, 2+MAX_GUILD_SKILL_REQUIRE*2, -1, &guild_read_guildskill_tree_db, i); //guild skill tree [Komurka]
|
||||
|
@ -4558,9 +4558,9 @@ static void mob_load(void)
|
||||
int n2 = strlen(db_path)+strlen(DBPATH)+strlen(dbsubpath[i])+1;
|
||||
char* dbsubpath1 = aMalloc(n1+1);
|
||||
char* dbsubpath2 = aMalloc(n2+1);
|
||||
safesnprintf(dbsubpath1,n1+1,"%s/%s",db_path,dbsubpath[i]);
|
||||
safesnprintf(dbsubpath1,n1+1,"%s%s",db_path,dbsubpath[i]);
|
||||
if(i==0) safesnprintf(dbsubpath2,n2,"%s/%s%s",db_path,DBPATH,dbsubpath[i]);
|
||||
else safesnprintf(dbsubpath2,n2,"%s/%s",db_path,dbsubpath[i]);
|
||||
else safesnprintf(dbsubpath2,n2,"%s%s",db_path,dbsubpath[i]);
|
||||
|
||||
sv_readdb(dbsubpath1, "mob_item_ratio.txt", ',', 2, 2+MAX_ITEMRATIO_MOBS, -1, &mob_readdb_itemratio, i); // must be read before mobdb
|
||||
sv_readdb(dbsubpath1, "mob_chat_db.txt", '#', 3, 3, MAX_MOB_CHAT, &mob_parse_row_chatdb, i);
|
||||
|
@ -10196,9 +10196,9 @@ int pc_readdb(void)
|
||||
int n2 = strlen(db_path)+strlen(DBPATH)+strlen(dbsubpath[i])+1;
|
||||
char* dbsubpath1 = aMalloc(n1+1);
|
||||
char* dbsubpath2 = aMalloc(n2+1);
|
||||
safesnprintf(dbsubpath1,n1+1,"%s/%s",db_path,dbsubpath[i]);
|
||||
safesnprintf(dbsubpath1,n1+1,"%s%s",db_path,dbsubpath[i]);
|
||||
if(i==0) safesnprintf(dbsubpath2,n2,"%s/%s%s",db_path,DBPATH,dbsubpath[i]);
|
||||
else safesnprintf(dbsubpath2,n2,"%s/%s",db_path,dbsubpath[i]);
|
||||
else safesnprintf(dbsubpath2,n2,"%s%s",db_path,dbsubpath[i]);
|
||||
|
||||
s = pc_read_statsdb(dbsubpath2,s,i);
|
||||
#ifdef RENEWAL_ASPD
|
||||
|
@ -19177,9 +19177,9 @@ static void skill_readdb(void) {
|
||||
int n2 = strlen(db_path)+strlen(DBPATH)+strlen(dbsubpath[i])+1;
|
||||
char* dbsubpath1 = aMalloc(n1+1);
|
||||
char* dbsubpath2 = aMalloc(n2+1);
|
||||
safesnprintf(dbsubpath1,n1+1,"%s/%s",db_path,dbsubpath[i]);
|
||||
safesnprintf(dbsubpath1,n1+1,"%s%s",db_path,dbsubpath[i]);
|
||||
if(i==0) safesnprintf(dbsubpath2,n2,"%s/%s%s",db_path,DBPATH,dbsubpath[i]);
|
||||
else safesnprintf(dbsubpath2,n2,"%s/%s",db_path,dbsubpath[i]);
|
||||
else safesnprintf(dbsubpath2,n2,"%s%s",db_path,dbsubpath[i]);
|
||||
|
||||
sv_readdb(dbsubpath2, "skill_db.txt" , ',', 18, 18, MAX_SKILL_DB, skill_parse_row_skilldb, i);
|
||||
sv_readdb(dbsubpath2, "skill_require_db.txt" , ',', 34, 34, MAX_SKILL_DB, skill_parse_row_requiredb, i);
|
||||
|
@ -12303,9 +12303,9 @@ int status_readdb(void)
|
||||
int n2 = strlen(db_path)+strlen(DBPATH)+strlen(dbsubpath[i])+1;
|
||||
char* dbsubpath1 = aMalloc(n1+1);
|
||||
char* dbsubpath2 = aMalloc(n2+1);
|
||||
safesnprintf(dbsubpath1,n1+1,"%s/%s",db_path,dbsubpath[i]);
|
||||
safesnprintf(dbsubpath1,n1+1,"%s%s",db_path,dbsubpath[i]);
|
||||
if(i==0) safesnprintf(dbsubpath2,n2,"%s/%s%s",db_path,DBPATH,dbsubpath[i]);
|
||||
else safesnprintf(dbsubpath2,n2,"%s/%s",db_path,dbsubpath[i]);
|
||||
else safesnprintf(dbsubpath2,n2,"%s%s",db_path,dbsubpath[i]);
|
||||
|
||||
status_readdb_attrfix(dbsubpath2,i); // !TODO use sv_readdb ?
|
||||
sv_readdb(dbsubpath1, "size_fix.txt",',',MAX_WEAPON_TYPE,MAX_WEAPON_TYPE,ARRAYLENGTH(atkmods),&status_readdb_sizefix, i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user