Jump to content
  • 0

Question

Posted (edited)

rathen10.png

ehm .. its appears on map-server console

first one is when i throw an item

and second is when i pickup again it

anyone know whats wrong with it ?

yeah i know its from picklog, i use mySQL for logging it

thx

Edited by adani_jmc

4 answers to this question

Recommended Posts

Posted

you must make a seperate database for log, name it log, then run the log.sql file in ur /sql-files/ folder and make sure you give it permissions. also make sure you specify in the conf/inter_athena.conf the name of ur database.

Posted

Hi adani_jmc,

From your terminal, there seems to be an error with how the name of the tables are set.

Source: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/conf/log_athena.conf

By default, the log is written in a .log file and not SQL. So you must comment the standard default, and un-comment the proper SQL table names. So it should look like this instead...


// log_gm_db: log/atcommandlog.log
// log_branch_db: log/branchlog.log
// log_chat_db: log/chatlog.log
// 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

Posted

did you add log.sql?

Yes i do

you must make a seperate database for log, name it log, then run the log.sql file in ur /sql-files/ folder and make sure you give it permissions. also make sure you specify in the conf/inter_athena.conf the name of ur database.

No, it doesnt necesarry, in the Inter_athena.conf you will see which database you want to use for each configuration

Hi adani_jmc,

From your terminal, there seems to be an error with how the name of the tables are set.

Source: https://rathena.svn....log_athena.conf

By default, the log is written in a .log file and not SQL. So you must comment the standard default, and un-comment the proper SQL table names. So it should look like this instead...


// log_gm_db: log/atcommandlog.log
// log_branch_db: log/branchlog.log
// log_chat_db: log/chatlog.log
// 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

i think this is the best answer, yeah it still uncomment, okeh i'll try it

thanks for answering my question :P

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...