Jump to content

jaynard09

Members
  • Posts

    80
  • Joined

  • Last visited

Posts posted by jaynard09

  1. yes sir, i did.. also the identified.. but still didn't change..

     

    do i have to do something?

     

    i restart the server but still no luck

     

    I just restart again my computer that's weird.. Solved /pif

  2. // Settings :
    //	-	Only required to edit the ShopSetting() Function
    //			Notes : You may also add / remove Menu ( If any ) 
    //	-	Shop Currency can be either ItemID or Variable Name, but must write within Quotation Marks ( "" )
    //			Ex. of Variable.	->	Zeny , #CASHPOINTS , #KAFRAPOINTS , CustomVariable , #CustomVariable
    //	-	ERROR Message are used to show Invalid Settings in your NPC.
    
    
    // Leave this alone...
    -	shop	Emistry_Shop	-1,512:100
    
    
    itemmall,166,71,6	script	Rental	871,{
    function ShopSettings;
    function ValidateCost;
    function CurrencyInfo;
    function ClearData;
    function ValueConvert;
    function ErrorNotice;
    
    mes "This is a rental shop containing all different Currencies.";
    mes "Please do not skip the note before do a transaction -Akai";
    mes "^00FF00____________________________^000000";
    mes "1.^FF0000All items has 7 days of duration^000000.";
    mes "2.^FF0000All items has different currencies. Quest are included^000000.";
    next;
    mes "3.^FF0000All items may not show the expiration date, better to note your own!.^000000.";
    mes "4.^FF0000After buying remember the GM can't do any action of suspending your items. They don't have any power to do that.^000000.";
    mes "5.^FF0000and Last GM can't help you for any concern regarding of this items.^000000.";
    next;
    mes "Please choose what currency would you like to use.";
    next;
    // Menu Selection
    select("Cash Points","TCG Card","Proof of donation","Zeny","Quest");
    
    ClearData();
    ShopSettings( @menu );
    npcshopitem "Emistry_Shop",512,100;
    npcshopdelitem "Emistry_Shop",512;
    for(set [email protected],0; [email protected] < getarraysize( @ItemLists ); set [email protected],[email protected]+1)
    	npcshopadditem "Emistry_Shop",@ItemLists[[email protected]],@ItemCost[[email protected]];
    mes "Okay...wait awhile";
    mes "^00FF00____________________________^000000";
    CurrencyInfo( @Currency$ );
    mes "^00FF00____________________________^000000";
    callshop "Emistry_Shop",1;
    npcshopattach "Emistry_Shop";
    end;
    
    
    function	ShopSettings	{
    	switch( getarg(0) ){
    		Case 1:
    			// Currency [ Item ID / Variable Name ]
    			set @Currency$,"#CASHPOINTS";
    			// Item ID Lists
    			setarray @ItemLists[0],5374,5518,5013,5389,5377,5564,20072,29299,29300,5353,5495;
    			// Item Price
    			setarray @ItemCost[0],45,47,35,30,25,30,70,25,25,32,36;
    			break;
    		Case 2:
    			// Currency [ Item ID / Variable Name ]
    			set @Currency$,"7179";
    			// Item ID Lists
    			setarray @ItemLists[0],2375,2433,2537,2729,2374,2357,2524,2421,2115;
    			// Item Price
    			setarray @ItemCost[0],27,30,32,15,25,25,28,25,30;
    			break;
    		Case 3:
    			// Currency [ Item ID / Variable Name ]
    			set @Currency$,"7179";
    			// Item ID Lists
    			setarray @ItemLists[0],1723;
    			// Item Price
    			setarray @ItemCost[0],12;
    			break;
    		Case 4:
    			// Currency [ Item ID / Variable Name ]
    			set @Currency$,"7179";
    			// Item ID Lists
    			setarray @ItemLists[0],2630;
    			// Item Price
    			setarray @ItemCost[0],35;
    			break;
    		Case 5:
    			// Currency [ Item ID / Variable Name ]
    			set @Currency$,"7227";
    			// Item ID Lists
    			setarray @ItemLists[0],2289,18507,5137,5132,5170,5377,5383;
    			// Item Price
    			setarray @ItemCost[0],28,30,33,15,51,40,15;
    			break;
    		// Case 4,5,6.....etc...
    		default:
    			ErrorNotice( "Invalid Menu Selection for Menu "[email protected]+"." );
    			close;
    	}
    	
    	
    if( @Currency$ == "" )
    	ErrorNotice( "Invalid Currency Setting in Menu "[email protected]+" ." );
    if( getarraysize( @ItemCost ) != getarraysize( @ItemLists ) || getarraysize( @ItemLists ) != getarraysize( @ItemCost ) )
    	ErrorNotice( "Missing or Extra Value of Item or Cost Settings in Menu "[email protected]+" ." );
    return;
    }
    
    function	ErrorNotice	{
    	mes "^FF0000ERROR^000000 - "+getarg(0);
    	mes "^00FF00____________________________^000000";
    	mes "Inform this Message to ^0000FFGame Staffs^000000 immediately !";
    	close;
    }
    
    function	CurrencyInfo	{
    	if( getitemname( atoi( getarg(0) ) ) != "null" ){
    		mes "Item Currency : ^FF0000"+getitemname( atoi( getarg(0) ) )+"^000000";
    		mes "Available Amount : ^0000FF"+ValueConvert( countitem( atoi( getarg(0) ) ) )+"^000000";
    	}else if( getitemname( atoi( getarg(0) ) ) == "null" ){
    		mes "Variable Currency : ^FF0000"+getarg(0)+"^000000";
    		mes "Available Amount : ^0000FF"+ValueConvert( getd( getarg(0) ) )+"^000000";
    	}
    return;
    }
    
    function	ValidateCost	{
    	if( getitemname( atoi( getarg(0) ) ) != "null" ){
    		if( countitem( atoi( getarg(0) ) ) < getarg(1) ) return 1;
    	}else{
    		if( getd( getarg(0) ) < getarg(1) ) return 1;
    	}
    return 0;
    }
    
    function ClearData	{
    	set @Currency$,"";
    	set @TotalCost,0;
    	deletearray @bought_nameid[0],getarraysize( @bought_nameid );
    	deletearray @bought_quantity[0],getarraysize( @bought_quantity );
    	deletearray @ItemLists[0],getarraysize( @ItemLists );
    	deletearray @ItemCost[0],getarraysize( @ItemCost );
    return;
    }
    
    function	ValueConvert	{
    	set [email protected], atoi(""+getarg(0));
    	if ( [email protected] == 0 || [email protected] >= 2147483647 ) return getarg(0);
    	set [email protected], getstrlen(""[email protected]);
    	for ( set [email protected],0; [email protected] < [email protected]; set [email protected], [email protected] + 1 ) {
    		set [email protected]$, [email protected] % pow(10,[email protected]+1) / pow(10,[email protected]) + [email protected]$;
    			if ( ([email protected]+1) % 3 == 0 && [email protected]+1 != [email protected] ) set [email protected]$, ","+ [email protected]$;
    	}
    	return [email protected]$;
    }
    
    OnBuyItem:
    	ShopSettings( @menu );
    	for(set @i,0; @i < getarraysize( @bought_nameid ); set @i,@i+1)
    		for(set @j,0; @j < getarraysize( @ItemLists ); set @j,@j+1)
    			if( @ItemLists[@j] == @bought_nameid[@i] )
    			set @TotalCost,@TotalCost + ( @ItemCost[@j] * @bought_quantity[@i] );
    	mes "^FF0000       BILLING LIST^000000";
    	mes "^00FF00____________________________^000000";
    	for( set @i,0; @i < getarraysize( @bought_nameid ); set @i,@i+1 )
    			mes "^FF0000"[email protected]_quantity[@i]+" x ^0000FF"+getitemname( @bought_nameid[@i] )+"^000000";
    	mes "^00FF00____________________________^000000";
    
    	if( getitemname( atoi( @Currency$ ) ) != "null" )
    		mes "Total Cost : ^0000FF"+ValueConvert( @TotalCost )+" x "+getitemname( atoi( @Currency$ ) )+"^000000";
    	else if( getitemname( atoi( @Currency$ ) ) == "null" ){
    		mes "Total Cost : ^0000FF"+ValueConvert( @TotalCost )+" "[email protected]$+"^000000";
    	}
    	
    	mes "^00FF00____________________________^000000";
    	if( ValidateCost( @Currency$,@TotalCost ) ){
    		if( getitemname( atoi( @Currency$ ) ) != "null" )
    			mes "[ ^FF0000X^000000 ] Insufficient ^0000FF"+getitemname( atoi( @Currency$ ) )+"^000000";
    		else{
    			mes "[ ^FF0000X^000000 ] Insufficient ^0000FF"[email protected]$+"^000000";
    		}
    	}else{
    		if( select( "^0000FFPurchase^000000:Cancel" ) == 1 ){
    			if( getitemname( atoi( @Currency$ ) ) != "null" )
    				delitem atoi( @Currency$ ),@TotalCost;
    			else{
    				set getd( @Currency$ ),getd( @Currency$ ) - @TotalCost;
    			}
    			for(set @i,0; @i < getarraysize( @bought_nameid ); set @i,@i+1)
    				getitem @bought_nameid[@i],@bought_quantity[@i];
    			message strcharinfo(0),"Purchased "+getarraysize( @bought_nameid )+" Items.";
    			mes "Thank you for shopping.";
    		}
    	}
    ClearData();
    close;
    
    }
    

    is it possible to make this rent item?

     

    forget this solved!

     

    I don't want to add one more topic so  i hope it i can use this thread.

     

     

     

    i have problem with description. i can't change

     

    ro\System

     

    i finished to changed my item description but it doens't change in-game.

     

     

    itemInfo.lub

    	[20068] = {
    		unidentifiedDisplayName = "White Gangster Scarf",
    		unidentifiedResourceName  = "_gscarfwhite",
    		unidentifiedDescriptionName = {
    			"Custom effect from TanayRO",
    			"Add Mdef+2 MATK+2% ^0000FF Decreases damage from Demi Human monster by 2%.^000000",
    			"Class :^777777 Headgear^000000",
    			"Defense :^777777 0^000000",
    			"Equipped on :^777777 Low^000000",
    			"Weight :^777777 1^000000",
    			"Required Level :^777777 1^000000",
    			"Applicable Job :^777777 Every Job^000000",
    		},
    

    itemInfo_RE.lub

    [20068] = {
    		unidentifiedDisplayName = "White Gangster Scarf",
    		unidentifiedResourceName  = "_gscarfwhite",
    		unidentifiedDescriptionName = {
    			"Custom effect from TanayRO",
    			"Add Mdef+2 MATK+2% ^0000FF Decreases damage from Demi Human monster by 2%.^000000",
    			"Class :^777777 Headgear^000000",
    			"Defense :^777777 0^000000",
    			"Equipped on :^777777 Low^000000",
    			"Weight :^777777 1^000000",
    			"Required Level :^777777 1^000000",
    			"Applicable Job :^777777 Every Job^000000",
    		},
    		identifiedDisplayName = "White Gangster Scarf",
    		identifiedResourceName = "_gscarfwhite",
    		identifiedDescriptionName = {
    			"Vit + 10",
    			"Int + 10",
    			"Class :^777777 Headgear^000000",
    			"Defense :^777777 0^000000",
    			"Equipped on :^777777 Low^000000",
    			"Weight :^777777 1^000000",
    			"Required Level :^777777 1^000000",
    			"Applicable Job :^777777 Every Job^000000",
    		},
    		slotCount = 0,
    		ClassNum = 0
    	},
    

    client 20131223

  3. // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
    // For more information, see LICENCE in the main folder
    #ifndef _CONFIG_RENEWAL_H_
    #define _CONFIG_RENEWAL_H_
    
    //quick option to disable all renewal option, used by ./configure
    #define PRERE
    #ifndef PRERE
    /**
     * rAthena configuration file (http://rathena.org)
     * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
     **/
    
    
    /**
     * @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder
     **/
    
    /// Game renewal server mode
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal specific support such as renewal formulas
    #define PRERE
    
    /// Renewal cast time
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal casting time algorithms and enable fixed cast bonuses.
    /// See also default_fixed_castrate in conf/battle/skill.conf for default fixed cast time (default is 20%).
    /// Cast time is altered be 2 portion, Variable Cast Time (VCT) and Fixed Cast Time (FCT).
    /// By default FCT is 20% of VCT (some skills aren't)
    /// - VCT is decreased by DEX * 2 + INT.
    /// - FCT is NOT reduced by stats, reduced by equips or buffs.
    /// Example:
    ///  On a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a FCT
    //#define RENEWAL_CAST
    
    /// Renewal drop rate algorithms
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal item drop rate algorithms
    /// While enabled a special modified based on the difference between the player and monster level is applied
    /// Based on the http://irowiki.org/wiki/Drop_System#Level_Factor table
    //#define RENEWAL_DROP
    
    /// Renewal exp rate algorithms
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal item exp rate algorithms
    /// While enabled a special modified based on the difference between the player and monster level is applied
    //#define RENEWAL_EXP
    
    /// Renewal level modifier on damage
    /// (disable by commenting the line)
    ///
    // Leave this line to enable renewal base level modifier on skill damage (selected skills only)
    //#define RENEWAL_LVDMG
    
    /// Renewal ASPD [malufett]
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal ASPD
    /// - shield penalty is applied
    /// - AGI has a greater factor in ASPD increase
    /// - there is a change in how skills/items give ASPD
    /// - some skill/item ASPD bonuses won't stack
    //#define RENEWAL_ASPD
    
    /// Renewal stat calculations
    /// (disable by commenting the line)
    ///
    /// Leave this line to enable renewal calculation for increasing status/parameter points
    //#define RENEWAL_STAT
    
    #endif
    
    #endif // _CONFIG_RENEWAL_H_
    
    

    is this correct?

    i want to disable renewal

     

  4. Pa help po sir.. ano pong problema?

     

    MAP SERVER

    //--------------------------------------------------------------
    //rAthena Map-Server Configuration File
    //--------------------------------------------------------------
    
    // Note: "Comments" are all text on the right side of a double slash "//"
    // Whatever text is commented will not be parsed by the servers, and serves
    // only as information/reference.
    
    //--------------------------------------------------------------
    //                     Configuration Info
    //--------------------------------------------------------------
    // Interserver communication passwords, set in account.txt (or equiv.)
    userid: ragnarok
    passwd: ragnarok
    
    // Character Server IP
    // The map server connects to the character server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    //char_ip: 127.0.0.1
    
    // The map server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
    
    // Character Server Port
    char_port: 6121
    
    // Map Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    //map_ip: 127.0.0.1
    
    // Map Server Port
    map_port: 5121
    
    //Time-stamp format which will be printed before all messages.
    //Can at most be 20 characters long.
    //Common formats:
    // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format)
    // %H:%M:%S (hour:minute:second, 24 hour format)
    // %d/%b/%Y (day/Month/year)
    //For full format information, consult the strftime() manual.
    //timestamp_format: [%d/%b %H:%M]
    
    //If redirected output contains escape sequences (color codes)
    stdout_with_ansisequence: no
    
    //Makes server log selected message types to a file in the /log/ folder
    //1: Log Warning Messages
    //2: Log Error and SQL Error messages.
    //4: Log Debug Messages
    //Example: "console_msg_log: 7" logs all 3 kinds
    //Messages logged by this overrides console_silent setting
    console_msg_log: 0
    
    // File path to store the console messages above
    console_log_filepath: ./log/map-msg_log.log
    
    //Makes server output more silent by omitting certain types of messages:
    //1: Hide Information messages
    //2: Hide Status messages
    //4: Hide Notice Messages
    //8: Hide Warning Messages
    //16: Hide Error and SQL Error messages.
    //32: Hide Debug Messages
    //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4)
    console_silent: 0
    
    //Where should all database data be read from?
    db_path: db
    
    // Enable the @guildspy and @partyspy at commands?
    // Note that enabling them decreases packet sending performance.
    enable_spy: no
    
    // Read map data from GATs and RSWs in GRF files or a data directory
    // as referenced by grf-files.txt rather than from the mapcache?
    use_grf: no
    
    // Console Commands
    // Allow for console commands to be used on/off
    // This prevents usage of >& log.file
    console: off
    
    // Database autosave time
    // All characters are saved on this time in seconds (example:
    // autosave of 60 secs with 60 characters online -> one char is saved every 
    // second)
    autosave_time: 300
    
    // Min database save intervals (in ms)
    // Prevent saving characters faster than at this rate (prevents char-server 
    // save-load getting too high as character-count increases)
    minsave_time: 100
    
    // Apart from the autosave_time, players will also get saved when involved
    // in the following (add as needed):
    // 1: after every successful trade
    // 2: after opening vending/every vending transaction
    // 4: after closing storage/guild storage.
    // 8: After hatching/returning to egg a pet.
    // 16: After successfully sending a mail with attachment
    // 32: After successfully submitting an item for auction
    // 64: After successfully get/delete/complete a quest
    // 128: After every bank transaction (deposit/withdraw)
    // NOTE: These settings decrease the chance of dupes/lost items when there's a
    // server crash at the expense of increasing the map/char server lag. If your 
    // server rarely crashes, but experiences interserver lag, you may want to set
    // these off.
    save_settings: 255
    
    // Message of the day file, when a character logs on, this message is displayed.
    motd_txt: conf/motd.txt
    
    // When @help or @h is typed when you are a gm, this is displayed for helping new gms understand gm commands.
    help_txt: conf/help.txt
    help2_txt: conf/help2.txt
    charhelp_txt: conf/charhelp.txt
    
    // Maps:
    import: conf/maps_athena.conf
    
    import: conf/import/map_conf.txt
    
    

    CHAR_ATHENA

    // Athena Character configuration file.
    
    // Note: "Comments" are all text on the right side of a double slash "//"
    // Whatever text is commented will not be parsed by the servers, and serves
    // only as information/reference.
    
    // Server Communication username and password.
    userid: ragnarok
    passwd: ragnarok
    
    // Server name, use alternative character such as ASCII 160 for spaces.
    // 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
    
    // Login Server IP
    // The character server connects to the login server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    //login_ip: 127.0.0.1
    
    // The character server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
    
    // Login Server Port
    login_port: 6900
    
    // Character Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    //char_ip: 127.0.0.1
    
    // Character Server Port
    char_port: 6121
    
    //Time-stamp format which will be printed before all messages.
    //Can at most be 20 characters long.
    //Common formats:
    // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format)
    // %H:%M:%S (hour:minute:second, 24 hour format)
    // %d/%b/%Y (day/Month/year)
    //For full format information, consult the strftime() manual.
    //timestamp_format: [%d/%b %H:%M]
    
    //If redirected output contains escape sequences (color codes)
    stdout_with_ansisequence: no
    
    //Makes server log selected message types to a file in the /log/ folder
    //1: Log Warning Messages
    //2: Log Error and SQL Error messages.
    //4: Log Debug Messages
    //Example: "console_msg_log: 7" logs all 3 kinds
    //Messages logged by this overrides console_silent setting
    console_msg_log: 0
    
    // File path to store the console messages above
    console_log_filepath: ./log/char-msg_log.log
    
    //Makes server output more silent by ommitting certain types of messages:
    //1: Hide Information messages
    //2: Hide Status messages
    //4: Hide Notice Messages
    //8: Hide Warning Messages
    //16: Hide Error and SQL Error messages.
    //32: Hide Debug Messages
    //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4)
    console_silent: 0
    
    // Console Commands
    // Allow for console commands to be used on/off
    // This prevents usage of >& log.file
    console: off
    
    // Type of server.
    // No functional side effects at the moment.
    // Displayed next to the server name in the client.
    // 0=normal, 1=maintenance, 2=over 18, 3=paying, 4=P2P
    char_maintenance: 0
    
    // Enable or disable creation of new characters.
    // Now it is actually supported [Kevin]
    char_new: 1
    
    // Display (New) in the server list.
    char_new_display: 0
    
    // Maximum users able to connect to the server.
    // Set to 0 to disable users to log-in. (-1 means unlimited)
    max_connect_user: -1
    
    // Group ID that is allowed to bypass the server limit of users.
    // Or to connect when the char is in maintenance mode (groupid >= allow)
    // Default: -1 = nobody (there are no groups with ID < 0)
    // See: conf/groups.conf
    gm_allow_group: 99
    
    // How often should the server save guild infos? (In seconds)
    // (character save interval is defined on the map config (autosave_time))
    autosave_time: 60
    
    // Display information on the console whenever characters/guilds/parties/pets are loaded/saved?
    save_log: yes
    
    // Starting point for new characters
    // Format: <map_name>,<x>,<y>{:<map_name>,<x>,<y>...}
    // Max number of start points is MAX_STARTPOINT in char.h (default 5)
    // Location is randomly picked on character creation.
    // NOTE: For Doram, this requires client 20151001 or newer.
    start_point: iz_int,97,90:iz_int01,97,90:iz_int02,97,90:iz_int03,97,90:iz_int04,97,90
    start_point_pre: new_1-1,53,111:new_2-1,53,111:new_3-1,53,111:new_4-1,53,111:new_5-1,53,111
    start_point_doram: lasa_fild01,48,297
    
    // Starting items for new characters
    // Max number of items is MAX_STARTITEM in char.c (default 32)
    // Format: <id>,<amount>,<position>{:<id>,<amount>,<position>...}
    // To auto-equip an item, include the position where it will be equipped; otherwise, use zero.
    // NOTE: For Doram, this requires client 20151001 or newer.
    start_items: 1201,1,2:2301,1,16
    start_items_doram: 1681,1,2:2301,1,16
    
    // Starting zeny for new characters
    start_zeny: 0
    
    // Size for the fame-lists
    fame_list_alchemist: 10
    fame_list_blacksmith: 10
    fame_list_taekwon: 10
    
    // Guild earned exp modifier.
    // Adjusts taxed exp before adding it to the guild's exp. For example, if set
    // to 200, the guild receives double the player's taxed exp.
    guild_exp_rate: 100
    
    // Name used for unknown characters
    unknown_char_name: Unknown
    
    // To log the character server?
    log_char: 1
    
    // Allow or not identical name for characters but with a different case (upper/lower):
    // example: Test-test-TEST-TesT; Value: 0 not allowed (default), 1 allowed
    name_ignoring_case: no
    
    // Manage possible letters/symbol in the name of charater. Control character (0x00-0x1f) are never accepted. Possible values are:
    // NOTE: Applies to character, party and guild names.
    // 0: no restriction (default)
    // 1: only letters/symbols in 'char_name_letters' option.
    // 2: Letters/symbols in 'char_name_letters' option are forbidden. All others are possibles.
    char_name_option: 1
    
    // Set the letters/symbols that you want use with the 'char_name_option' option.
    // Note: Don't add spaces unless you mean to add 'space' to the list.
    char_name_letters: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
    
    // Restrict character deletion by BaseLevel
    // 0: no restriction (players can delete characters of any level)
    // -X: you can't delete chars with BaseLevel <= X
    // Y: you can't delete chars with BaseLevel >= Y
    // e.g. char_del_level: 80 (players can't delete characters with 80+ BaseLevel)
    char_del_level: 0
    
    // 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
    
    // Restrict character deletion by email address or birthdate.
    // This restricts players from changing the langtype and deleting characters.
    // Defaults based on client date.
    // 1: Email address
    // 2: Birthdate
    // 3: Email address or Birthdate
    // IMPORTANT!
    // - This config only works for clients that send 0x0068 or 0x01fb for delete request.
    // - Use langtype 1 for newer clients (2013+), to use 0x01fb.
    // - Clients that are not using 0x0068 or 0x01fb, only use birthdate (YYMMDD) as default.
    char_del_option: 2
    
    // What folder the DB files are in (item_db.txt, etc.)
    db_path: db
    
    //===================================
    // Pincode system
    //===================================
    // NOTE: Requires client 2011-03-09aragexeRE or newer.
    // A window is opened before you can select your character and you will have to enter a pincode by using only your mouse.
    // Default: yes
    pincode_enabled: yes
    
    // How often does a user have to change his pincode?
    // 0: never (default)
    // X: every X days
    pincode_changetime: 0
    
    // How often can a user enter the wrong pincode?
    // Default: 3 (client maximum)
    pincode_maxtry: 3
    
    // Are users forced to use a pincode when the system is enabled?
    // Default: yes
    pincode_force: yes
    
    // Are repeated numbers allowed?
    // Default: no
    pincode_allow_repeated: no
    
    // Are sequential numbers allowed?
    // Default: no
    pincode_allow_sequential: no
    
    //===================================
    // Addon system
    //===================================
    // Character moving
    // NOTE: Requires client 2011-09-28aragexeRE or newer.
    // Allows users to move their characters between slots.
    // Default: yes
    char_move_enabled: yes
    
    // Allow users to move a character to a used slot?
    // If enabled the characters are exchanged.
    // Default: yes
    char_movetoused: yes
    
    // Allow users to move characters as often as they like?
    char_moves_unlimited: no
    
    // Should we check if sql-tables are correct on server startup ?
    char_checkdb: yes
    
    // Default map if character is in not-existing map when loaded.
    default_map: prontera
    default_map_x: 156
    default_map_y: 191
    
    import: conf/import/char_conf.txt
    
    

    INTER

    // Athena InterServer configuration.
    // Contains settings shared/used by more than 1 server.
    
    // Options for both versions
    
    // Log Inter Connections, etc.?
    log_inter: 1
    
    // Inter Log Filename
    inter_log_filename: log/inter.log
    
    // Level range for sharing within a party
    party_share_level: 15
    
    // You can specify the codepage to use in your MySQL tables here.
    // (Note that this feature requires MySQL 4.1+)
    //default_codepage:
    
    // For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1
    // Under windows, you want to use 127.0.0.1.  If you see a message like
    // "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
    // and you have localhost, switch it to 127.0.0.1
    
    // Global SQL settings
    // overridden by local settings when the hostname is defined there
    // (currently only the login-server reads/obeys these settings)
    
    // MySQL Login server
    login_server_ip: 127.0.0.1
    login_server_port: 3306
    login_server_id: ragnarok
    login_server_pw: ragnarok
    login_server_db: ragnarok
    login_codepage:
    login_case_sensitive: no
    
    ipban_db_ip: 127.0.0.1
    ipban_db_port: 3306
    ipban_db_id: ragnarok
    ipban_db_pw: ragnarok
    ipban_db_db: ragnarok
    ipban_codepage:
    
    // MySQL Character server
    char_server_ip: 127.0.0.1
    char_server_port: 3306
    char_server_id: ragnarok
    char_server_pw: ragnarok
    char_server_db: ragnarok
    
    // MySQL Map Server
    map_server_ip: 127.0.0.1
    map_server_port: 3306
    map_server_id: ragnarok
    map_server_pw: ragnarok
    map_server_db: ragnarok
    
    // MySQL Log Database
    log_db_ip: 127.0.0.1
    log_db_port: 3306
    log_db_id: ragnarok
    log_db_pw: ragnarok
    log_db_db: ragnarok
    log_codepage:
    log_login_db: log
    
    // MySQL Reconnect Settings
    // - mysql_reconnect_type:
    //   1: When MySQL disconnects during runtime, the server tries to reconnect
    //      mysql_reconnect_count times and shuts down if unsuccessful.
    //   2: When mysql disconnects during runtime, it tries to reconnect indefinitely.
    mysql_reconnect_type: 2
    mysql_reconnect_count: 1
    
    // 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]
    
    // ALL MySQL Database Table names
    
    // Login Database Tables
    login_server_account_db: login
    ipban_table: ipbanlist
    
    // Shared
    global_acc_reg_num_table: global_acc_reg_num
    global_acc_reg_str_table: global_acc_reg_str
    
    // Char Database Tables
    char_db: char
    hotkey_db: hotkey
    scdata_db: sc_data
    cart_db: cart_inventory
    inventory_db: inventory
    charlog_db: charlog
    storage_db: storage
    skill_db: skill
    interlog_db: interlog
    memo_db: memo
    guild_db: guild
    guild_alliance_db: guild_alliance
    guild_castle_db: guild_castle
    guild_expulsion_db: guild_expulsion
    guild_member_db: guild_member
    guild_skill_db: guild_skill
    guild_position_db: guild_position
    guild_storage_db: guild_storage
    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
    ragsrvinfo_db: ragsrvinfo
    skillcooldown_db: skillcooldown
    bonus_script_db: bonus_script
    acc_reg_num_table: acc_reg_num
    acc_reg_str_table: acc_reg_str
    char_reg_str_table: char_reg_str
    char_reg_num_table: char_reg_num
    
    // Map Database Tables
    buyingstore_db: buyingstores
    buyingstore_items_db: buyingstore_items
    item_db_db: item_db
    item_db_re_db: item_db_re
    item_db2_db: item_db2
    //item_db2_db: item_db2_re
    item_cash_db_db: item_cash_db
    item_cash_db2_db: item_cash_db2
    mob_db_db: mob_db
    mob_db_re_db: mob_db_re
    mob_db2_db: mob_db2
    //mob_db2_db: mob_db2_re
    mob_skill_db_db: mob_skill_db
    mob_skill_db_re_db: mob_skill_db_re
    mob_skill_db2_db: mob_skill_db2
    //mob_skill_db2_db: mob_skill_db2_re
    mapreg_table: mapreg
    vending_db: vendings
    vending_items_db: vending_items
    market_table: market
    db_roulette_table: db_roulette
    
    // Use SQL item_db, mob_db and mob_skill_db for the map server? (yes/no)
    use_sql_db: no
    
    import: conf/import/inter_conf.txt
    
    

    QUERY: USER: ragnarok Password: ragnarok

     

    Ano pong problema?

    post-5924-0-37996800-1477421075_thumb.png

  5. Hi Good day, 

     

    My client is 20131223 and i have host gomanila they are giving ready to play server but since i want to add some stuff in my data folder

    i'd diff my own and make a data folder first client.. the problem was, i can't even connect to the server

    even the server doesn't make any response.. i mean.. the server didn't show any changes in my putty..

     

    packet_db: Fine Ver: 6

    mmo.h: 20131223

    clientinfo: Fine, Ver: 46 IP adress is ok..

     

    When i login i got some auntenticate 5001 like that.. 

     

    I know this might be my diff problem please help me .. 

    what diff option shall i apply and what is should be avoided.. thanks!

  6. Hi patulong po

     

    Freebies Equipment Box = getitem +7 Equipment

    Freebies Pots Box = getitem Foods

    Freebies Rental equipment box = 30 Days set

     

    And NPC Per Account.

     

    sa Duplicating items dahil masyadong matrabaho kung gagawa pa ako ng sarili kong item sprite 

    paturo naman po ng pag duduplicate 12564 box at ilalagay ko ang freebies items ko sa loob niyan.. pero iba na po ang kanyang item ID

     

    solved

  7. //===== EinherjarRO Scripts ================================== 
    //= Daily Prize, OnPCLoginEvent
    //===== By: ================================================== 
    //= Stolao
    //===== Current Version: ===================================== 
    //= 1.7B
    //===== Compatible With: ===================================== 
    //= rAthena SVN
    //===== Description: ========================================= 
    //= A reward system for players who play more frequently
    //===== Todo: ================================================
    //= Maybe make .MinWait an array mins,days,weeks,months,years;
    //= Show time till login rewards, if .Rest is defined
    //= Make Logging out then it continue count
    //===== Additional Comments: =================================
    //= For Older See Old Versions
    //= 1.70 Removed all "set"
    //= 1.71 Added CheckWeight
    //= 1.72 Fixed Tabulation
    //= 1.73 Added .Rest Option
    //= 1.74 Added Cutin Support
    //= 1.75 Fixed Typos (Thanks Everade)
    //= 1.76 Fixed Bug with skipping 1st day on first time through
    //= 1.77 Wrong Day in Mes
    //= 1.78 Fixed Cutins Being a Day Off
    //= 1.79 No Rewards for Autotraders option added
    //= 1.7A No Rewards for Autotraders option added
    //= 1.7B Tabulation Cleanup
    //===== Contact Info: ========================================
    //= [Stolao] 
    //= Email: [email protected]
    //============================================================
    -	script	LOGIN	-1,{
    OnWhisperGlobal:
    OnLoginCmnd:
    OnPCLoginEvent:
    	if(.Rest) message strcharinfo(0),"[Daily Rewards]: to collect reward you must remain logged in for "+  .Rest +" minutes";
    	[email protected] = (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) +gettime(2);
    	if([email protected] >= (#LastDailyReward + .MinWait)){
    		sleep2 1000 + .Rest * 60000;
    		if(checkvending() & 2 && .Mode & 64){
    			message strcharinfo(0),"[Daily Rewards]: Venders cannot recive rewards.";
    			end;
    		}
    		if([email protected] < #LastDailyReward + .MaxWait)
    			#DRewardCon += 1;
    		else	#DRewardCon = 1;
    		if(#DRewardCon >= getarraysize(.Rewards$)){
    			if(.Reset)
    				#DRewardCon = 1;
    			else	[email protected] = getarraysize(.Rewards$)-1;
    		} else	[email protected] = #DRewardCon;
    		explode([email protected]$,.Rewards$[[email protected]],",");
    		for([email protected] = 0; [email protected] < getarraysize([email protected]$); [email protected]++)
    			[email protected][[email protected]] = atoi([email protected]$[[email protected]]);
    		if(.Mode & 1 && [email protected][4] > 0){
    			for([email protected] = 4; [email protected] <= getarraysize([email protected]) - 1 ; [email protected] += 2){
    				[email protected][getarraysize([email protected])] = [email protected][[email protected]];
    				[email protected][getarraysize([email protected])] = [email protected][[email protected] + 1];
    			}
    			if(checkweight2([email protected],[email protected])){
    				for([email protected] = 0; [email protected] < getarraysize([email protected]) && [email protected] < getarraysize([email protected]); [email protected]++){
    					if(.Mode & 32)
    						getitembound  [email protected][[email protected]], [email protected][[email protected]], Bound_Account;
    					else	getitem  [email protected][[email protected]], [email protected][[email protected]];
    				}
    			} else {
    				message strcharinfo(0),"[Daily Rewards]: You cannot carry the prizes, please use storage and relog.";
    				if(#DRewardCon) #DRewardCon -= 1;
    				end;
    			}
    		}
    		if(.Mode & 16){
    			cutin .Cutins$[#DRewardCon],4;
    		}
    		if(.Mode & 2){
    			if([email protected][0]){
    				zeny += [email protected][0];
    				message strcharinfo(0),"[Daily Rewards]: Recieved "+ [email protected][0] +"z";
    			}
    			if([email protected][1]){
    				setd getd(.Points$[0]),getd(.Points$[0]) + [email protected][1];
    				message strcharinfo(0),"[Daily Rewards]: Recieved "+ [email protected][1] +" "+.Points$[1];
    			}
    		}
    		if(.Mode & 4 && ([email protected][3] || [email protected][4]))
    			getexp [email protected][3], [email protected][4];
    		if(.Mode & 8){
    			for([email protected] = 0; [email protected] < getarraysize(.BuffInfo); [email protected] += 4){
    				if(#DRewardCon % .BuffInfo[[email protected] + 1] == 0)
    					sc_start .BuffInfo[[email protected]], .BuffInfo[[email protected] + 2] * 60000, .BuffInfo[[email protected] + 3];
    			}
    		}
    		message strcharinfo(0),"[Daily Rewards]: You have collected your daily reward, for "+callfunc("F_InsertPlural",#DRewardCon,"day")+" in a row.";
    		#LastDailyReward = [email protected];
    		@Login_Time = 0;
    	} else {
    		[email protected] = (#LastDailyReward + .MinWait - [email protected])/60/24;
    		[email protected] = ((#LastDailyReward + .MinWait - [email protected])/60)%24;
    		[email protected] = (#LastDailyReward + .MinWait - [email protected])%60;
    		message strcharinfo(0),"[Daily Rewards]: You have "+ (([email protected]) ? [email protected] +" Days " : "") +""+ (([email protected]) ? [email protected] +" Hours " : "") +""+ (([email protected]) ? [email protected] +" Minutes " : "") +"till your next reward.";
    	}
    end;
    OnInit:
    	// Basic Settings
    	//   1: Item | 2: Points | 4: Exp  
    	//   8: Gain Buffs Every X Consecutive Days logged in
    	//   16: Show Cutins | 32: Account Bound Items
    	//   64: No Rewards ffor Autotraders
    	//     (a bit value, e.g. 3 = Items & Points from Multi)
    	.Mode = 1|2|4|8|16|64;
    
    	// To disable the command '@loginreward' comment the next lines
    	// * Needs extra commands for typos
    	bindatcmd("relog"	,"LOGIN::OnLoginCmnd",0,99);
    
    	// Minimum minutes between collecting daily reward
    	//   Day: 22*60 - 24*60
    	//   Week: 10080
    	.MinWait = 1320;
    
    	// Minutes before losing the consecutive reward
    	//   Day: 48*60 - 50*60
    	//   Week: 20160
    	.MaxWait = 3000;
    
    	// Reset
    	//   [0] Repeat last day
    	//   [1] reset when reach end of days
    	.Reset = 1;
    
    	// Number of mins after logging before collecting prize
    	.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$[1],
    		"50000,5,0,0,12210,1,12263,1",	// Day 1: 50K+1 buble gum+ 1 manual field + 5 Cash points			// Day 1: 5 White Potion + 5 Green Potion
    		"100000,10,0,0,12210,1,12263,1",	// Day 2: 100K+1 buble gum+ 1 manual field +10 Cash Points
    		"200000,15,0,0,12210,1,12263,1",	// Day 3: 200K+1 buble gum+ 1 manual field +15 Cash points
    		"250000,20,0,0,12210,1,12263,1",	// Day 4: 250K+1 buble gum+ 1 manual field +20 Cash points
    		"300000,25,0,0,12210,1,12263,1",	// Day 5: 300K+1 buble gum+ 1 manual field +25 Cash points
    		"350000,30,0,0,12210,1,12263,1",	// Day 6: 350K+1 buble gum+ 1 manual field +30 Cash points
    		"400000,35,0,0,12210,1,12263,1",	// Day 7: 400K+1 buble gum+ 1 manual field +35 Cash points
    		"450000,40,0,0,12210,1,12263,1",	// Day 8: 450K+1 buble gum+ 1 manual field +40 Cash points
    		"500000,50,0,0,12210,2,12257,100",	// Day 9: 500K+1 buble gum+ 1 manual field +50 Cash points
    
    	// Cutin Array
    	//	Shows a cuting for each date
    	//	
    	setarray .Cutins$[1],
    			"kafra_01",
    			"kafra_02",
    			"kafra_03",
    			"kafra_04",
    			"kafra_05",
    			"kafra_06",
    			"kafra_07",
    			"kafra_08",
    			"kafra_09";
    end;
    }
    

    What's wrong? i got an error this

     

    [Error]:  Loading NPC file: npc/gmh_freenpc/DailyReward.txtxtt.txttxttxt
    script error on npc/gmh_freenpc/DailyReward.txt line 181
        need '('
       176 :                "500000,50,0,0,12210,2,12257,100",      // Day 9: 500K+1 buble gum+ 1 manual field +50 Cash points
       177 :
       178 :        // Cutin Array
       179 :        //      Shows a cuting for each date
       180 :        //
    *  181 :        setarray '.'Cutins$[1],
       182 :                        "kafra_01",
       183 :                        "kafra_02",
       184 :                        "kafra_03",
       185 :                        "kafra_04",
       186 :                        "kafra_05",
    [Info]: Done loading '13299' NPCs:h_freenpc/BetaBuffer.txtbe.txtt_2.0.txt
            -'3081' Warps
            -'247' Shops
            -'9971' Scripts
            -'4025' Spawn sets
            -'40679' Mobs Cached
            -'0' Mobs Not Cached
    [Error]: script_rid2sd: fatal error ! player not attached!
    [Debug]: Function: percentheal (2 parameters):
    [Debug]: Data: number value=100
    [Debug]: Data: number value=100
    [Debug]: Source (NPC): Beta Caster at prontera (151,183)
    [Status]: Event 'OnInit' executed with '1525' NPCs.
    [Status]: Server is 'ready' and listening on port '5127'.
    
    [Status]: Attempting to connect to Char Server. Please wait.
    
    

     

  8. Hello! tanong ko lang ito, kasi nag restart na ako at nag try narin ako mag @reload battleconf kaso ayaw parin magkaroon ng command ang normal players? well i did first the commands:true and then gumana naman siya, after ko sundan ng alootid .... and the rest.. hindi na sila gumana except @commands

    groups: (
    {
    	id: 0 /* group 0 is the default group for every new account */
    	name: "Player"
    	level: 0
    	inherit: ( /*empty list*/ )
    	commands: {
    		/* no commands by default */
    		commands: true
    		alootid: true
    		mobinfo: true
    		go: true
    		time: true
    		roll: true
    		duel: true
    		accept: true
    		iteminfo: true
    	}
    	permissions: {
    		/* without this basic permissions regular players could not 
    		trade or party */
    		can_trade: true
    		can_party: true
    		command_enable: true
    	}
    },
    

    Oh wait! dahil pala sa @roll.. sa mga magkakaproblema take note, hindi gagana lahat kung may nilagay kayong command na wala naman sa rathena ..

     

    Pa close nalang po thanks!

×
×
  • Create New...

Important Information

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