Jump to content

BavariaN

Members
  • Posts

    41
  • Joined

  • Last visited

Posts posted by BavariaN

  1. Hi rAthena!

    I've requested a pk points system script almost a year ago. Thank you so much Skorm for the script what you made exactly what i prefer. More power!


    But now I want some modification about it.

    After killing a player in a PVP arena you will gained 1 point and it will whisper on the main chat like this-

     

    dispbottom "You've gained one point! Your total is ["+pk_points+] PK point(s).";

     

    i want to make it like this

     

    dispbottom "You've gained one point! after killing [Player Name] Your total is ["+pk_points+] PK point(s).";

     

     

     

    Thank you advance!!!  More power rAthena Community ! ^_^

     

     

     

     

     

     

     

  2. Sorry in advance if i put this topic in a wrong section!

    =====================================================================

    1st Question:    How to edit the maximum stats from 99 into 255 ? 

    =====================================================================

    2nd Question:    How to make my maximum attack speed from 190 into 196 or any value?

    =====================================================================

    3rd Question:   How to modify exp gained in leveling a character. We just need to add some multiple value, depending on my preference right ? How ?

    =====================================================================

    4th Question:     How to modify the drop rate of mini mvp boss, mvp boss and LHZ boss. 

    =====================================================================

     

    Thanks in advance to someone who help me with my inquiries! 

     

    Sory if i look to lazy in asking everything here in rAthena. I already browse all my server files and i saw something that i think will answer my inquiry but im afraid to do it on my own so i ask here to have an answer from the best developers.

     

    Please provide a clear instruction, because im completely newbie in developing a server.

    Thank you so much! More power rAthena Community!!!!!

  3. 0. what is your server mode? re/pre-re?

    1. stats from 99-255 which classes?

    3. i think there is more then one 1 way to do it, modify monsters table or multiply exp by x

    4. drop rate can be modify by editing monster table if you use text db indeed of sql db for mob_db.

     

     

    structure:

    //ID,Sprite_Name,kROName,iROName,LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per etc.

    example: Card Drop by 0,01% chance

    1001,SCORPION,Scorpion,Scorpion,16,153,1,108,81,1,33,40,16,5,12,15,10,5,19,5,10,12,0,4,23,0x3191,200,1564,864,576,0,0,0,0,0,0,0,990,70,904,5500,757,57,943,210,7041,100,508,200,625,20,0,0,0,0,4068,1

     

    modified Card Drop by 0,10% chance

    1001,SCORPION,Scorpion,Scorpion,16,153,1,108,81,1,33,40,16,5,12,15,10,5,19,5,10,12,0,4,23,0x3191,200,1564,864,576,0,0,0,0,0,0,0,990,70,904,5500,757,57,943,210,7041,100,508,200,625,20,0,0,0,0,4068,10

     

    modified Card Drop by 1,00% chance

    1001,SCORPION,Scorpion,Scorpion,16,153,1,108,81,1,33,40,16,5,12,15,10,5,19,5,10,12,0,4,23,0x3191,200,1564,864,576,0,0,0,0,0,0,0,990,70,904,5500,757,57,943,210,7041,100,508,200,625,20,0,0,0,0,4068,100

     

    etc. etc.

     

    you can also edit the config file for drop, then all items are affected

    conf\battle\drops.conf

     

    just edit lines here.

    item_rate_common

    item_rate_mvp etc etc

     

    exp can also be edited by config

    conf/battle/exp.conf

    Hi Sir Neji,

    -My offline server runs in a Pre-re mode.

    -maximum stats from 99-255 of trans class.

     

    Thanks!

  4. Sorry in advance if i put this topic in a wrong section!

    =====================================================================

    1st Question:    How to edit the maximum stats from 99 into 255 ? 

    =====================================================================

    2nd Question:    How to make my maximum attack speed from 190 into 196 or any value?

    =====================================================================

    3rd Question:   How to modify exp gained in leveling a character. We just need to add some multiple value, depending on my preference right ? How ?

    =====================================================================

    4th Question:     How to modify the drop rate of mini mvp boss, mvp boss and LHZ boss. 

    =====================================================================

     

    Thanks in advance to someone who help me with my inquiries! 

     

    Sory if i look to lazy in asking everything here in rAthena. I already browse all my server files and i saw something that i think will answer my inquiry but im afraid to do it on my own so i ask here to have an answer from the best developers.

     

    Please provide a clear instruction, because im completely newbie in developing a server.

    Thank you so much! More power rAthena Community!!!!!

  5.  

    Hmm...

    -	shop	custom_seller2	-1,501:500
    prontera.gat,95,99,5	script	PK Points Dealer	100,{
    	mes "[PK Points Dealer]";
    	mes "I will sell you items for PK points.";
    	mes "Each time you kill a player on "+.map$+" you'll get 1 PK point to spend here!";
    	next;
    	mes "[PK Points Dealer]";
    	mes "You currently have [^0000ff"+pk_points+"^000000] PK points to spend.";
    	callshop "custom_seller2",1;
    	npcshopattach "custom_seller2";
    	end;
    	
    OnBuyItem:
    	for(set .@i,0; .@i<getarraysize(.customs); set .@i,.@i+1) {
    		for(set .@d,0; .@d<getarraysize(@bought_nameid); set .@d,.@d+1) {
    			if(@bought_nameid[.@d]==.customs[.@i]) {
    				if(checkweight(@bought_nameid[.@d],@bought_quantity[.@d])) {
    					if(pk_points >= .Price[.@i]*@bought_quantity[.@d]) {
    						set pk_points, pk_points - .Price[.@i]*@bought_quantity[.@d];
    						getitem @bought_nameid[.@d],@bought_quantity[.@d];
    					} else dispbottom "You don't have enough PK points to purchase that item.";
    				} else dispbottom "Purchasing these items will put you over the weight limit!";
    			}
    		}
    	}
    	deletearray @bought_quantity, getarraysize(@bought_quantity);
    	deletearray @bought_nameid, getarraysize(@bought_nameid);
    	close;
    
    OnPCKillEvent:
    	if( strcharinfo(3) != .map$ ) end;
    	copyarray( @killed$[1], @killed$[0], .saved_l-1 );
    	@killed$ = ""+killedrid;
    	if( countstr( implode( @killed$, "|" ), ""+killedrid, 0 ) <= .rstrk_l ) {
    		pk_points++;
    		dispbottom "You've gained one point! Your total is ["+pk_points+"] PK point(s).";
    	}
    	end;
    	
    	
    OnInit:
    	set .map$, "guild_vs3";
    	set .saved_l, 3; //Length of saved ids can be up to 127.
    	set .rstrk_l, 2; //Level of restriction.
    	setarray .customs[0],  12103, 607, 678; // Enter the ID of customs here...
    	setarray .Price[0],    20   , 40 , 300; // Price for each custom here...
    	npcshopitem "custom_seller2", 0  ,   0; // Don't touch any coding beyond here..
    	for( set .i,0; .customs[.i]; set .i,.i+1 )
    		npcshopadditem "custom_seller2",.customs[.i],.Price[.i];
    	end;
    }
    

    Please help me to change 

    "You've gained 1 point! Your total is ["+pk_points+"] PK point(s)."

    Into this:

     

    "You've gained 1Point after killing [PlayerName] Your total is ["+pk_points+"] PK point(s).

    • Upvote 1
  6. GoodDay rAthena Community!

    Sorry if i put my problem in a wrong section.

     

     

    ==================================================

    I have a problem on my offline server which is all the item description doesn't  appear. Like on the picture below.

    I'm using the 2012-04-10aRagre.exe and im using the latest Traslation Data and sever trunk from GIT. 

     

    1.jpg

     

    ==================================================

     Aside from that i have a problem when i try to used items like Vset, megs, briss. When i try to wear all those items it doesnt show on my ALT+Q, but the item effect of Vset, megs, briss are already reflected on the stats. I have to use @refresh command before it appear on my ALT+Q. I dont know if this is inter related to my first problem on why this problem happened because all those said items has no item description also.

     

    ===================================================

     

    Thanks in advance to someone who help me!  /help 

    More power rAthena!

     

     

     

     

     

     

     

     

     

     

  7. Hi guys,

    I have this error in my server database.
     

    [Error]: skill_parse_row_producedb: Invalid item 22540.
    [Error]: sv_readdb: Could not process contents of line 425 of "db/produce_db.txt
    ".
     
    And as i check this on my trunk i found the error line in trunk/db/produce_db.txt
     
    //-- Runstone Lux Anima <-- RK_RUNEMASTERY Lv10, 3 Gold, 3 Light Granule
    155,22540,24,2010,10,969,3,7938,3
     
    I try to uncomment this line by putting "//" and the error gone. 
     
    //-- Runstone Lux Anima <-- RK_RUNEMASTERY Lv10, 3 Gold, 3 Light Granule
    //155,22540,24,2010,10,969,3,7938,3

    My question now is. There will be a problem or it is to ok uncomment that part/line in my db?
     
    Thanks in advance. More power to rAthena!!!


     

     

  8. Hi Guys,

     

    Anyone can help me to configure my server into a HIGH RATE . Right now my server running in a LOW RATE which is default.

    -I done with Sir Radian told me to change trunk\scr\map\map.h       #define MAX_LEVEL 175 into #define MAX_LEVEL 255

    -I also change trunk\conf\battle\client.conf          max lv: 99 into max_lv: 255

    -I also done to recompile the server.

     

    But when i try to use @blvl command

    it says :
    Base level can't go any higher.

    @blvl failed

     

    Do i miss some step to do ? 

    Thanks in advance! More power to rAthena and to its staff.   /no1

  9.  

    Hi guys,

    Anyone can help me to make my server into a HIGH RATE SERVER 255/120. Right now my server running in a low rate which is default. Please give me a step by step instruction, cause im a newbie when in comes to server developing.

    Also please help me on how to change the welcome message when log in.

          "Welcome to rAthena! Enjoy! Please report any bugs you find."

    Thanks in advance! More power to rAthena and its staff.  /no1

     

    goto your map.h change this to the maximum level you want.

    #define MAX_LEVEL 175

    after changing that recompile your server.

     

    Thank you Sir Radian for your immediate response.  /no1 

    After changing the map.h. Do i have to change also the max lvl in Trunk/conf/battle/client.conf    ?

     

    Also how to change the welcome message?

     "Welcome to rAthena! Enjoy! Please report any bugs you find."

  10. Hi guys,

    Anyone can help me to make my server into a HIGH RATE SERVER 255/120. Right now my server running in a low rate which is default. Please give me a step by step instruction, cause im a newbie when in comes to server developing.

    Also please help me on how to change the welcome message when log in.
          "Welcome to rAthena! Enjoy! Please report any bugs you find."

    Thanks in advance! More power to rAthena and its staff.  /no1

  11. yes its a custom map and  i finally found what the cause of  that ERROR its on my PVP Warper NPC. 
     

    anyone please share ur PVP Warper script . Thank you ! 

    Thanks @Godknows Jhomz and @Judas for the replies.
    More Power!



    --------------------
    And last question how to enable my server battle log damage . because it doent show the damage received in the Battle Log.

  12. For your ticket, Put this on a box or an NPC that will summon the ticket. Tag it as an equip, just set the eLvl = your server's max level + 1
    renitem 30000,2592000;

    I dont get this part ^_^ . Tag it as an equip , just set the eLvl = your server's max level +1 

     

  13.  

    Like this?

    prontera,100,100,5	script	VIP ROOM	45,3,3,{
    	if( vip_status(1) && !countitem(6269) ) {
    		mes "[VIP ROOM]";
    		mes "Ahh, looks like your a VIP why don't you take this pass to our special room.";
    		next;
    		mes "[VIP ROOM]";
    		mes "But, remember the pass only lasts for 3 months 1 week and 3 days.";
    		next;
    		mes "[VIP ROOM]";
    		mes "Talk to me again if you want to warp to the VIP room!";
    		close2;
    		rentitem 6269,3456000;
    		end;
    	}
    
    OnTouch:
    	if( !countitem(6269) ) {
    		mes "[VIP ROOM]";
    		mes "You need a special pass to enter this room!";
    		close;
    	}
    
    	warp "<index_name>",0,0;
    	end;
    }
    

    Sir i think i have a problem with this script..

    after clicking this NPC this message dosnt show . it direct warp me to the VIP ROOM 

     

            mes "[VIP ROOM]";

            mes "Ahh, looks like your a VIP why don't you take this pass to our special room.";

            next;

            mes "[VIP ROOM]";

            mes "But, remember the pass only lasts for 3 months 1 week and 3 days.";

            next;

            mes "[VIP ROOM]";

            mes "Talk to me again if you want to warp to the VIP room!";

     

    Please Help . Thanks

     

     

    and also i thing .. on the required item to go thought the VIP ROOM . DO i have to make a custom item with a rentitem script ? or rentitem 6269,3456000; this is already for that ?but i think when i try this . it dosnt work .. and Please add after the expiration of the item that char automatically warp him.her out the VIP ROOM !

     

    Thank you very much ! 

  14.  

     

    Thank you so much for this script bro .. But i want something ..

    - for every killing players it will shows the points i gained on the main chat .

    - and also show the the total points i have on the NPC

    Thank you so much bro more power ! Skorm!

     

     

    I've modified my above post at your request.

     

    http://rathena.org/board/topic/95948-requesting-for-pvp-pk-points-and-pvp-npc-shop-script-ty/?p=260180

     

    I hope it has restriction to stop PK points feeding .

    Anyways Thank you very much bro ! ^_^ .. Its now working according to my preference ..

    More power !

    Please help ! 

    How to put a restriction for example ..

    If the Player kill twice the same players, for the third kill or succeeding kills in same players it will not give a Point .. Thanks ..

  15.  

    Like this?

    prontera,100,100,5	script	VIP ROOM	45,3,3,{
    	if( vip_status(1) && !countitem(6269) ) {
    		mes "[VIP ROOM]";
    		mes "Ahh, looks like your a VIP why don't you take this pass to our special room.";
    		next;
    		mes "[VIP ROOM]";
    		mes "But, remember the pass only lasts for 3 months 1 week and 3 days.";
    		next;
    		mes "[VIP ROOM]";
    		mes "Talk to me again if you want to warp to the VIP room!";
    		close2;
    		rentitem 6269,3456000;
    		end;
    	}
    
    OnTouch:
    	if( !countitem(6269) ) {
    		mes "[VIP ROOM]";
    		mes "You need a special pass to enter this room!";
    		close;
    	}
    
    	warp "<index_name>",0,0;
    	end;
    }
    

    It is possible for i to put an expiration on the required item to access the VIP ROOM ?

    Thanks A LOT ! 

  16. Hello good day to all ! 

    I need a script for my server which will make a NPC WARPER to the VIP ROOM but it requires an ITEM with EXPIRATION !

     

    - NPC Warper to VIP ROOM MAP

    - But it requires an item to use the warper

    - the item use to warp has an expiration (3days, 1week, 1month)

    For me its seem so hard.

    I hope somebody will help ! 

    Thank is advance ! More Power !

  17.  

    If you want to disable renewal go to src/config/renewal.h 

     

    /// game renewal server mode
    /// (disable by commenting the line)
    // 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 RENEWAL
    
    /// renewal cast time
    /// (disable by commenting the line)
    ///
    /// leave this line to enable renewal casting time algorithms
    /// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats.
    /// example:
    ///  on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a
    ///  "fixed cast time" which can only be reduced by specialist items and skills
    //#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
    
    #endif
    
    #endif // _CONFIG_RENEWAL_H_

     

    Sir i wanna ask if i just do the same like what you did on this file? 

    all the (#define RENEWAL) i have to put "//" for it to disable the renewal .. RIGHT ?

    and for i to make my server Pre Renewal is ill make 

    #define PRERE

    #ifndef PRERE

    like this Right ? Thanks in advance more power ! ^^

×
×
  • Create New...