- Clarified the comment about spaces in 'server_name' config. (bugreport:2656)

- Grouped all the log file/table settings together, follow up to r15253 (ea:15042).
- Added "DROP TABLE" statements to the mob_skill_db SQL files. (bugreport:5284)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15629 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
brianluau 2012-02-24 22:58:01 +00:00
parent 8a541cdba3
commit 3df0386889
5 changed files with 32 additions and 40 deletions

View File

@ -9,8 +9,10 @@ userid: s1
passwd: p1
// Server name, use alternative character such as ASCII 160 for spaces.
// NOTE: Do not use spaces in the name, or guild emblems won't work client-side!
server_name: RAthena
// NOTE: Do not use spaces or any of these characters which are not allowed in
// Windows filenames \/:*?"<>|
// ... or else guild emblems won't work client-side!
server_name: rAthena
// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
wisp_server_name: Server

View File

@ -110,36 +110,24 @@ log_chat: 0
// Disable chat logging when WoE is running? (Note 1)
log_chat_woe_disable: no
// Logging tables/files
// Logging files/tables
// Following settings specify where to log to. If 'sql_logs' is
// enabled, SQL tables are assumed, otherwise flat files.
// Dead Branch Log
log_branch_db: log/branchlog.log
//log_branch_db: branchlog
// Drops & Pickups
log_pick_db: log/picklog.log
//log_pick_db: picklog
// Zeny
log_zeny_db: log/zenylog.log
//log_zeny_db: zenylog
// MVP Drops
log_mvpdrop_db: log/mvplog.log
//log_mvpdrop_db: mvplog
// GM Log
log_gm_db: log/atcommandlog.log
//log_gm_db: atcommandlog
// NPC Log
log_npc_db: log/npclog.log
//log_npc_db: npclog
// CHAT Log
log_branch_db: log/branchlog.log
log_chat_db: log/chatlog.log
//log_chat_db: chatlog
log_mvpdrop_db: log/mvplog.log
log_npc_db: log/npclog.log
log_pick_db: log/picklog.log
log_zeny_db: log/zenylog.log
// log_gm_db: atcommandlog
// log_branch_db: branchlog
// log_chat_db: chatlog
// log_mvpdrop_db: mvplog
// log_npc_db: npclog
// log_pick_db: picklog
// log_zeny_db: zenylog
import: conf/import/log_conf.txt

View File

@ -14,45 +14,45 @@
//============================================================
prontera,150,193,4 script Reset Girl 124,{
set @rskill,5000; // Set value in zeny for skill reset here
set @rstat,5000; // Set value in zeny for stat reset here
set @rboth,9000; // Set value for "package deal" (i.e.: reseting both) here.
set .rskill,5000; // Set value in zeny for skill reset here
set .rstat,5000; // Set value in zeny for stat reset here
set .rboth,9000; // Set value for "package deal" (i.e.: reseting both) here.
mes "[Reset Girl]";
mes "I am a Reset Girl.";
mes "Reset Stats: "+ @rstat +"z";
mes "Reset Skills: "+ @rskill +"z";
mes "Reset Both: "+ @rboth +"z";
mes "Reset Stats: "+ .rstat +"z";
mes "Reset Skills: "+ .rskill +"z";
mes "Reset Both: "+ .rboth +"z";
mes "Please select the service you want:";
next;
switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Quit")) {
case 1:
mes "[Reset Girl]";
if (Zeny < @rskill) {
if (Zeny < .rskill) {
mes "Sorry, you don't have enough Zeny.";
close;
}
mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
set Zeny,Zeny-@rskill;
set Zeny,Zeny-.rskill;
ResetSkill;
close;
case 2:
mes "[Reset Girl]";
if (Zeny < @rstat) {
if (Zeny < .rstat) {
mes "Sorry, you don't have enough Zeny.";
close;
}
mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
set Zeny,Zeny-@rstat;
set Zeny,Zeny-.rstat;
ResetStatus;
close;
case 3:
mes "[Reset Girl]";
if (Zeny < @rboth) {
if (Zeny < .rboth) {
mes "Sorry, you don't have enough Zeny.";
close;
}
mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
set Zeny,Zeny-@rboth;
set Zeny,Zeny-.rboth;
ResetSkill;
ResetStatus;
close;

View File

@ -2,6 +2,7 @@
# Table structure for table `mob_skill_db`
#
DROP TABLE IF EXISTS `mob_skill_db`;
CREATE TABLE IF NOT EXISTS `mob_skill_db` (
`MOB_ID` smallint(6) NOT NULL,
`INFO` text NOT NULL,

View File

@ -2,6 +2,7 @@
# Table structure for table `mob_skill_db2`
#
DROP TABLE IF EXISTS `mob_skill_db2`;
CREATE TABLE IF NOT EXISTS `mob_skill_db2` (
`MOB_ID` smallint(6) NOT NULL,
`INFO` text NOT NULL,