Jump to content

Lawliet

Members
  • Content Count

    11
  • Joined

  • Last visited

Posts posted by Lawliet


  1. Good morning guys, I'm with doubts on inter-server.conf everything has changed and now how to configure

     

     

     

    //================= Hercules Configuration ================================
    //=       _   _                     _
    //=      | | | |                   | |
    //=      | |_| | ___ _ __ ___ _   _| | ___  ___
    //=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
    //=      | | | |  __/ | | (__| |_| | |  __/\__ \
    //=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
    //================= License ===============================================
    //= This file is part of Hercules.
    //=
    //= Copyright © 2014-2016  Hercules Dev Team
    //=
    //= Hercules is free software: you can redistribute it and/or modify
    //= it under the terms of the GNU General Public License as published by
    //= the Free Software Foundation, either version 3 of the License, or
    //= (at your option) any later version.
    //=
    //= This program is distributed in the hope that it will be useful,
    //= but WITHOUT ANY WARRANTY; without even the implied warranty of
    //= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    //= GNU General Public License for more details.
    //=
    //= You should have received a copy of the GNU General Public License
    //= along with this program.  If not, see <http://www.gnu.org/licenses/>.
    //=========================================================================
    //= Hercules Inter Server configuration file.
    //=========================================================================
    // Settings that are shared by more than one of the main servers
    //=========================================================================
     
    inter_configuration: {
        // Level range for sharing within a party
        party_share_level: 15 // FIXME: Split RE and pre-RE
     
        // Log configuration
        log: {
            // Log Inter Connections, etc.?
            log_inter: true
     
            // [uNUSED] Inter Log Filename
            inter_log_filename: "log/inter.log"
     
            // [LOGIN, MAP] Log database SQL connection
            @include "conf/global/sql_connection.conf"
        }
     
        mysql_reconnect: {
            // == MySQL Reconnect Settings
            // ===========================
            // - mysql_reconnect_type
            // - 1: when mysql disconnects during runtime, the server tries to reconnect mysql_reconnect_count times and,
            // -- if unsuccessful, the server is shut down
            // - 2: when mysql disconnects during runtime it tries to reconnect indefinitely
            type: 2
     
            // - mysql_reconnect_count
            // - number of reconnect attempts the server should do when the database disconnects during runtime
            // - only used when mysql_reconnect_type is 1
            count: 1
        }
     
        // ALL MySQL Database Table names
        // DO NOT CHANGE ANYTHING BEYOND THIS LINE UNLESS YOU KNOW YOUR DATABASE DAMN WELL
        // this is meant for people who KNOW their stuff, and for some reason want to change their
        // database layout. [CLOWNISIUS]
        database_names: {
            account_db: "login"
            login_db: "loginlog"
            ipban_table: "ipbanlist"
            char_db: "char"
            interlog_db: "interlog"
            ragsrvinfo_db: "ragsrvinfo"
            registry: {
                acc_reg_num_db: "acc_reg_num_db"
                acc_reg_str_db: "acc_reg_str_db"
                char_reg_str_db: "char_reg_str_db"
                char_reg_num_db: "char_reg_num_db"
     
                global_acc_reg_num_db: "global_acc_reg_num_db"
                global_acc_reg_str_db: "global_acc_reg_str_db"
            }
            pc: {
                hotkey_db: "hotkey"
                scdata_db: "sc_data"
                cart_db: "cart_inventory"
                inventory_db: "inventory"
                charlog_db: "charlog"
                storage_db: "storage"
                skill_db: "skill"
                memo_db: "memo"
                party_db: "party"
                pet_db: "pet"
                friend_db: "friends"
                mail_db: "mail"
                auction_db: "auction"
                quest_db: "quest"
                homunculus_db: "homunculus"
                skill_homunculus_db: "skill_homunculus"
                mercenary_db: "mercenary"
                mercenary_owner_db: "mercenary_owner"
                elemental_db: "elemental"
                account_data_db: "account_data"
            }
            guild: {
                main_db: "guild"
                alliance_db: "guild_alliance"
                castle_db: "guild_castle"
                expulsion_db: "guild_expulsion"
                member_db: "guild_member"
                skill_db: "guild_skill"
                position_db: "guild_position"
                storage_db: "guild_storage"
            }
            mapreg_db: "mapreg"
            autotrade_merchants_db: "autotrade_merchants"
            autotrade_data_db: "autotrade_data"
            npc_market_data_db: "npc_market_data"
        }
    }
     
    import: "conf/import/inter-server.conf"

     

     


  2. Pardon me? Not quite sure I understand what you mean. Doram is the race, and Summoner is the class. Yes, that is the class sprite for Summoner.

    Does it mean I have to have both? Is it because I played on a server and everything was perfect, where can I get the sprites?


  3. hello good night how do I put the images (cutins) in the Daily Reward are 30 cutins with name

    reward 0
    reward 1
    etc. as shown in the image below
     

    //===== EinherjarRO Scripts ================================== 

    //= Daily Prize, OnPCLoginEvent
    //===== By: ================================================== 
    //= Stolao
    //===== Current Version: ===================================== 
    //= 1.63
    //===== Compatible With: ===================================== 
    //= rAthena SVN
    //===== Description: ========================================= 
    //= A reward system for players who play more frequently
    //===== Comments: ============================================
    //= Maybe Make .MinWait an array mins,days,weeks,months,years;
    //===== Additional Comments: =================================
    //= For Older See Old Versions
    //= 1.51 Changed set .@g formula and move lower into script
    //= 1.52 Replace all disbottom -> message
    //= 1.53 Changed Format to Include minuets instead of just hours
    //= 1.54 Made Time till next rewards display dynamic
    //= 1.55 Changed a forgotten  .PointType$ -> getd(.@TT[1])
    //= 1.56 changed .@XT -> .@XT$
    //= 1.57 Added Atoi where nessisary
    //= 1.58 Fixed a swapped .@x and .@x+1
    //= 1.59 Serveral Edit Undocumented to fix
    //= 1.5A Fixed a logic bug, day 1 skipped
    //= 1.5B Fixed a [-1] bug
    //= 1.5C Actualy Fixed a logic bug, day 1 skipped
    //= 1.5D Added A .Rest Notification
    //= 1.5E Moved Sleep2 after the day check
    //= 1.5F Added additive logging so a dc wont reset the .Rest Delay
    //= 1.60 Added timer break into @at and @afk
    //= 1.61 Added '[Daily Rewards]:' to all messages
    //= 1.62 Fixed missing "
    //= 1.63 Fixed missing )
    //===== Contact Info: ========================================
    //= [stolao] 
    //= Email: [email protected]<script data-cfhash='f9e31' type="text/javascript">/* */</script>
    //============================================================
    -    script    LOGIN    -1,{
    OnWhisperGlobal:
    OnLoginCmnd:
    OnPCLoginEvent:
        if(.Rest){
            set @login, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + gettime(2);
            if(@login > #LastDailyReward + .MaxWait ){
                set #logintimer, 0;
                set @login, 0;
            }
            set .@rest, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + .Rest;
            message strcharinfo(0),"[Daily Rewards]: to collec reward you must remain logged in for "+ ( @login - .@rest ) +" Minuets";
        }
        set .@i, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + gettime(2);
        if(.@i - .Rest >= (#LastDailyReward + .MinWait)){
            sleep2 100 + ( .Rest * 60000 ) - ( .@i - #logintimer );
            if(.@i < #LastDailyReward + .MaxWait){    set #DRewardCon, #DRewardCon + 1;
            } else {    set #DRewardCon, 0;    }
            set .@g, (#DRewardCon > getarraysize(.Rewards$)) ? (getarraysize(.Rewards$)-1) : #DRewardCon;
            explode(.@XT$,.Rewards$[.@g],"|");
            for(set .@x,0; .@x < getarraysize(.@XT$); set .@x,.@x + 1){
                set .@TT[.@x], atoi(.@XT$[.@x]);
            }
            if(.Mode & 1 && .@TT[4]){    //[Note]: I need to figure out a checkweight for all items tired atm lol, for now ill leave it missing
                for(set .@x,4; .@x < getarraysize(.@TT); set .@x,.@x + 2){    getitem  .@TT[.@x], .@TT[.@x+1];    message strcharinfo(0),"[Daily Rewards]: Recived "+  .@TT[.@x+1] +" "+ getitemname(.@TT[.@x]);    }
            }
            if(.Mode & 2){
                if(.@TT[0]){    set zeny,zeny + .@TT[0];    message strcharinfo(0),"[Daily Rewards]: Recived "+ .@TT[0] +"z";    }
                if(.@TT[1]){    setd getd(.Points$[0]),getd(.Points$[0]) + .@TT[1];    message strcharinfo(0),"[Daily Rewards]: Recived "+ .@TT[1] +" "+.Points$[1];    }
            }
            if(.Mode & 4 && (.@TT[3] || .@TT[4])) getexp .@TT[3], .@TT[4];
            if(.Mode & 8){
                for(set .@x,0; .@x < getarraysize(.BuffInfo); set .@x,.@x + 4){
                    if(#DRewardCon % .BuffInfo[.@x + 1] == 0)
                        sc_start .BuffInfo[.@x], .BuffInfo[.@x + 2] * 60000, .BuffInfo[.@x + 3];
                }
            }
            message strcharinfo(0),"[Daily Rewards]: You have collected your daily reward, for "+#DRewardCon+" day"+((#DRewardCon > 1)?"s":"")+" in a row.";
            cutin .Pic$[.@g],4;
            set #LastDailyReward, .@i;
            set #logintimer, 0;
            set @login, 0;
        } else {
            set .@days,(#LastDailyReward + .MinWait - .@i)/60/24;
            set .@hours,((#LastDailyReward + .MinWait - .@i)/60)%24;
            set .@mins,(#LastDailyReward + .MinWait - .@i)%60;
            message strcharinfo(0),"[Daily Rewards]: You have "+ ((.@days) ? .@days +":Days " : "") +""+ ((.@hours) ? .@hours +":Hours " : "") +""+ ((.@mins) ? .@mins +":Minutes " : "") +"till your next reward";
        }
    end;
    OnPCLogoutEvent:
        if(@login){
            set .@i, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + gettime(2);
            set #logintimer, .@i - @login + #logintimer;
            set @login, 0;
        }
    return;
    end;
    OnInit:
        //Basic Settings
        //   1: Item | 2: Points | 4: Exp  
        //   8: Gain Buffs Every X Consecutive Days logged in
        //     (a bit value, e.g. 3 = Items & Points from Multi)
        set .Mode,1 + 2 + 4 + 8;
     
        //To Enable @ Command '@loginreward' unslash next lines
        // * Needs extra commands for typos
        bindatcmd("daily"    ,"LOGIN::OnLoginCmnd",0,99);
     
        //Enable Delay if @afk or @autotrade are available to players
        //  remove // to enable certain command checks
        //bindatcmd("at"    ,"LOGIN::OnPCLogoutEvent",0,99);
        //bindatcmd("autotrade"    ,"LOGIN::OnPCLogoutEvent",0,99);
        //bindatcmd("AT"    ,"LOGIN::OnPCLogoutEvent",0,99);
        //bindatcmd("Autotrade"    ,"LOGIN::OnPCLogoutEvent",0,99);
        //bindatcmd("afk"    ,"LOGIN::OnPCLogoutEvent",0,99);
        //bindatcmd("AFK"    ,"LOGIN::OnPCLogoutEvent",0,99);
        
     
        //Minimum Minuets Between Collecting Daily Reward
        //   Day: 22*60 - 24*60
        //   Week: 10080
        set .MinWait,24*60;
     
        //Minuets Before Lose Consecutive Daily Reward
        //   Day: 48*60 - 50*60
        //   Week: 20160
        set .MaxWait,3000;
     
        //Number of mins after logging before collecting prize
        set .Rest,0;
     
        //Point Type
        //   [0] Points earned
        //   [1] Point name in mes
        setarray .Points$,"#KAFRAPOINTS","K-Points";
     
        // Consecutive Days Buff
        // Each buff contains 4 variables (32 Total Max)
        // <Type>,<Days>,<Duration>,<Rate>, // Buff 1
        // <Type>,<Days>,<Duration>,<Rate>, // Buff 2
        //   ...;
        //
        //  Example: 188,7,45,3
        //    -Every 7th consecutive day logged in Player gains +3 Str for 45 mins
        //
        //  Type is 188, which references which SC_ to use, SC_INCSTR in this example
        //     -For a full list of SC_ visit the db/const.txt
        //  Days is days buff is applied, in this example 7, so every 7th day, 14,21,28....
        //  Duration is buff duration is Minuits, in this example 45 mins
        //  Rate is buff strength, in this example player gains 3 Str
        setarray .BuffInfo    ,260,2,360,1    // Life Insurance for 360 Mins Every 2nd Day
                    ,198,3,120,10    // +10% Hp for 120 Mins Every 3th Day
                    ,196,5,120,25    // +25 Flee for 120 Mins Every 5th Day
                    ,257,7,240,50;    // +50% Exp for 240 Mins Every 7th Day
     
        // Daily Prize items (max 128 days):
        //   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc", // Day 1
        //   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc"  // Day 2
        //   ...;
        // Total length of any days string must be 255 or shorter
        // * If players login longer than the last set
        //   day, they will keep getting the last prize.
        setarray .Rewards$,
            "0|0|0|0|12103|1",                    
            "0|0|0|0|12103|1",            // Day 1: 100 Zeny        
            "0|0|0|0|607|10",            // Day 2: 5 Red Potion
            "0|0|0|0|7620|5",            // Day 3: enrich ori
            "0|0|0|0|7619|5",            // Day 4: enrich elu
            "0|0|0|0|12221|5",            // Day 5: megaphone
            "0|0|0|0|12214|1",            // Day 6: convex
            "0|0|0|0|7776|1",            // Day 7: gym pas
            "0|0|0|0|12029|5",            // Day 8: 
            "0|0|0|0|12030|5",            // Day 9: 
            "0|0|0|0|12033|5",            // Day 10: 
            "0|0|0|0|12031|5",            // Day 11: 
            "0|0|0|0|12103|2",            // Day 12: 
            "0|0|0|0|12214|2",            // Day 13: 
            "0|0|0|0|7776|1",            // Day 14: 
            "0|0|0|0|7619|10",            // Day 15: 
            "0|0|0|0|7620|10",            // Day 16: 
            "0|0|0|0|12203|10",            // Day 17: 
            "0|0|0|0|12210|1",            // Day 18: 
            "0|0|0|0|12204|10",            // Day 19: 
            "0|0|0|0|12103|3",            // Day 20: 
            "0|0|0|0|7776|1",            // Day 21: 
            "0|0|0|0|12214|3",            // Day 22: cpnvex
            "0|0|0|0|20765|1",            // Day 23: Costume Archengling
            "0|0|0|0|12207|10",            // Day 24:
            "0|0|0|0|12205|10",            // Day 25:
            "0|0|0|0|12202|10",            // Day 26:
            "0|0|0|0|12210|2",            // Day 27: bubble
            "0|0|0|0|7776|1",            // Day 28:
            "0|0|0|0|12206|10",            // Day 29:
            "0|0|0|0|12103|3";            // Day 30: BB
     
            
        setarray .Pic$,
        "day1", //pic with day1 highlighted
        "day1", //pic with day2 highlighted
        "day2", //pic with day3 highlighted
        "day3",
        "day4",
        "day5",
        "day6",
        "day7",
        "day8",
        "day9",
        "day10",
        "day11",
        "day12",
        "day13",
        "day14",
        "day15",
        "day16",
        "day17",
        "day18",
        "day19",
        "day20",
        "day21",
        "day22",
        "day23",
        "day24",
        "day25",
        "day26",
        "day27",
        "day28",
        "day29",
        "day30";
     
     
     
    end;
    }

     
     
     

    post-1092-0-56276800-1466813257_thumb.jpg


  4. Good night guys I have a problem I put these maps I believe I added some
     
     
    ERROR

     

     

    [success]: Loading maps (db / re / map_cache.dat) ...
    [News]: Removing map [bat_d01] maps list
    [News]: Removing map [bat_d02] maps list
    [News]: Removing map [bat_v02] maps list
    [info]: Loaded (s) successfully '880' map (s).
     

     

     
    Configuration files
     
    Maps.conf

     

     

    map: bat_d01
    map: bat_d02
    map: bat_v01
    map: bat_v02
    map: bat_g01
    map: bat_g02
    map: bat_s01
    map: bat_s02

     

     

     

     

     
    map_index

     

    // Place your custom maps with a starting ID here.
    // ================================================ ======================================
    // Example:
    //
    bat_d01 1250
    bat_d02
    bat_v01
    bat_v02
    bat_g01
    bat_g02
    bat_s01
    bat_s02

     

     
     
    obs. I put the maps in map_cache with WeeMapCache
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.