I like NSIS: http://nsis.sourceforge.net/
It is very configurable and has lots of options to customize your installer exactly how you want it.
I have also used Inno Setup http://www.jrsoftware.org/isinfo.php
it's a more basic installer-creator that is easier for beginners.
This is the config /trunk/conf/char_athena.conf
// Amount of time in seconds by which the character deletion is delayed.
// Default: 86400 (24 hours)
// NOTE: Requires client 2010-08-03aragexeRE or newer.
char_del_delay: 86400
but I'm not sure how it works.
You click Delete, then 24 hours later the char is actually deleted?
Yes, you can make the NPC trigger when they walk in the area (OnTouch),
then continue giving them buffs on an interval (sleep2).
Can you describe exactly what you want the script to do?
ohhh, that is the text you type IN the cron file.
1. To add/edit a cron job, this is the command you type:
crontab -e
that will open a text editor listing your cron jobs (if you have any),
2. then you type
7 1 * * * /home/rathena/backups-sql/backup_ragnarok.sh
3. then save the file, and close.
The setup you want is 1 login, and 3 char/map servers.
This wiki page is a good place to start: Multiple_Servers, also this guide.
If you get stuck, post here.
These SQL queries will empty the 2 tables:
TRUNCATE TABLE atcommandlog;
TRUNCATE TABLE picklog;
Basically, instead of just 1 database you create 2: one for the main "ragnarok" tables, the other for the "log" tables.
CREATE DATABASE ragnarok; CREATE DATABASE logs;
import main.sql into the ragnarok database
import logs.sql into the logs database
If you already have an existing 1-database setup, here's how to move the logs to a separate database:
CREATE DATABASE logs;
import logs.sql into the logs database
now, you can delete all the log tables from your "ragnarok" database
or, if you want to save them, move the data to the logs database: INSERT INTO logs.atcommandlog SELECT * FROM ragnarok.atcommandlog;
INSERT INTO logs.branchlog SELECT * FROM ragnarok.branchlog;
INSERT INTO logs.chatlog SELECT * FROM ragnarok.chatlog;
INSERT INTO logs.loginlog SELECT * FROM ragnarok.loginlog;
INSERT INTO logs.mvplog SELECT * FROM ragnarok.mvplog;
INSERT INTO logs.npclog SELECT * FROM ragnarok.npclog;
INSERT INTO logs.picklog SELECT * FROM ragnarok.picklog;
INSERT INTO logs.zenylog SELECT * FROM ragnarok.zenylog;
(then delete the 8 log tables from your ragnarok db)
What are you trying to change?
- the timeout (how long they have in the dungeon)
- or the cooldown (how long before they can do Endless Tower again)
timeout: change the 14400 in quest_db AND /npc/instances/EndlessTower.txt
cooldown: change the 604800 in /db/quest_db.txt
There is a config in ../conf/login_athena.conf
// Required account group id to connect to server.
// -1: disabled
// 0 or more: group id
group_id_to_connect: -1
So you want all of these:
- Skill is usable outside of woe (1) and during woe (2)
- Skill is usable outside of GvG grounds (4) and usable on GvG grounds (8)
- Disable skill from "nowarpto" maps (16)
1+2+4+8+16 = 31
emergency_call: 31
It's probably easier to hex your own client. (wiki: Hexing)
It is possible to hex a client that's already hexed, but trickier. You have to find the date of the client so you know which diff patch to use. Which topic did you get "RClient" from?