Jump to content

icegrave01

Members
  • Posts

    69
  • Joined

  • Last visited

Posts posted by icegrave01

  1.  

    How about this?

     

    //
    // NOTE: Remove gvg mapflag on guild_vs2 (default on this script) if you want to use this map as pk room
    //
    
    -	script	PK#config	-1,{
    OnInit:
    /* minimum zeny needed to enter */
    	set $@min_zeny, 10000000;
    //-------------------------------
    /* special item you mentioned */
    	set $@spcial_item, 7227; // item id
    	set $@sitem_amount, 20; // item amount to be exchanged on npc
    //-------------------------------
    /* item to be exchanged */
    	set $@ex_item, 501; // item id
    	set $@exitem_amount, 1; //item amount
    //-------------------------------
    
    end;
    }
    -	script	PK#Room	-1,{
    OnNPCKillEvent:
    	getmapxy(@mapn$,@mapx,@mapy,0);
    	if (@mapn$ == "guild_vs2"){
    		if( killedrid ==  1002) {
    			set .@rand, rand (10+30+100);
    				if (.@rand < 10){
    					getitem $@spcial_item,1;  // 10% of having 7227=tcg card as special item
    				}
    				else if (.@rand < 30){
    					getitem 12103,20; // 30% rate of having bloody branch
    				}
    				else if (.@rand < 100){
    					getitem 969,50; // 100% rate of having gold
    				}
    				else {
    					getitem 969,50;	// 100% rate of having gold
    				}
    			end;
    		}
    	}
    	else{
    		end;
    	}
    OnPCDieEvent:
    	getmapxy(@mapn$,@mapx,@mapy,0);
    	if (@mapn$ == "guild_vs2"){
    		sleep2 1000;
    		warp "prontera",150,150;
    		end;
    	}
    	end;
    }
    prontera,155,184,4	script	rAthena	100,{
    set @npc$,"[rAthena]";
    		mes @npc$;
    		mes "What do you want to do?";
    		switch(select("Enter PVP Room","Exchange Items")){
    			case 1:
    					if (Zeny >= $@min_zeny){
    						set Zeny,Zeny-$@min_zeny;
    						warp "guild_vs2",0,0;
    						end;
    					}
    					else{
    						dispbottom "Insufficient zeny";
    						close;
    					}
    				break;
    			case 2:
    				if (countitem($@spcial_item) >= $@sitem_amount){
    					dispbottom "Deal is succesful!";
    					getitem $@ex_item,$@exitem_amount;
    					delitem $@spcial_item,$@sitem_amount;
    					close;
    				}
    				else {
    					dispbottom "Insufficient items";
    					close;
    				}
    		}
    		close;
    				
    }
    
    /* mapflags and monster spawn */
    guild_vs2,0,0,0,	monster	Poring	1002,1,180000,0,0
    guild_vs2	mapflag	nomemo
    guild_vs2	mapflag	pvp
    guild_vs2	mapflag	noteleport
    

    Sorry for late reply, i'm kinda busy at work. Thank you for making this script,. 

     

     

    remove

    guild_vs2	mapflag	noteleport
    

    from the end of the script

    Why remove?

  2.  

    Lol =D

    @ts

    1) Use git instead of svn: https://github.com/rathena/rathena

    2) ROTranslation: https://github.com/zackdreaver/ROenglishRE

    3) As of the moment still no stable client for 2015 and 2016 yet i can provide you for your request: https://rathena.org/board/topic/104707-2015-10-29aragexe/

    4) Diff? Use NEMO's recommended patches

    5) Updated NEMO: https://github.com/MStr3am/NEMO

    6) Click Zack's link above

     

    Thank you <3

  3. Can i request this

     

    1. map area must be pk room(any pvp room available) 
    2. monsters summon (3mins if killed) only few is available
       - item droped random
    *50 pcs gold 100% drop rate
    *20pcs bloody branch 30% drop rate
    *1pc special item 10% drop rate
    3. special item exchanger npc ( for example 20pcs special item for 1pc ESG)
    4. kill room npc with entrance fee 10m
    5. if killed inside the room player must respawn outside(main town)
    6. no warp no memo no tele.+
    7. only through npc can enter this room.
     
     
  4.  

     

    Or you can try use: 

    skill_damage_db.txt

     

    must activate that db from:

    src/config/core.h

    Find and enable(when enable save and recompile): 

    /// Uncomment to enable skills damage adjustments
    /// By enabling this, db/skill_damage.txt and the skill_damage mapflag will adjust the
    /// damage rate of specified skills.
    //#define ADJUST_SKILL_DAMAGE
    

    He's asking about SP damage.

     

    Try this

     

    case MO_EXTREMITYFIST:
    if(sstatus->sp <= 6000)
    skillratio += 100 * (7 + sstatus->sp / 10);
    else // Asura strike SP damage max is 6k
    skillratio += 100 * (7 + 6000 / 10);
    skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection
    break;

    If you want to test if it's working try. Make one champion with 6K SP and another one with over 6K SP. If the damage is the same, then it's working.

     

    Not working either

    Maybe i should change this??

    battle c. 

    static int battle_calc_attack_skill_ratio(struct Damage wd, struct block_list *src,struct block_list *target,uint16 skill_id,uint16 skill_lv)
    {
    	struct map_session_data *sd = BL_CAST(BL_PC, src);
    	struct map_session_data *tsd = BL_CAST(BL_PC, src);
    

     

    Try this

     

    Find in battle.c

    case MO_EXTREMITYFIST:
    skillratio += 100*(7 + sstatus->sp/10);
    skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection
    break;

    Change:

    skillratio += 100*(7 + sstatus->sp/10);

    To:

    skillratio += 100*(7 + min(sstatus->sp,6000)/10);

    Not working. 

  5. Hum, tell me, witch Kro client did you download? i have given a kro from here to a  friend and he have the same problem, he open the exe and close automaticly maybe it have some missing files(He fix it using a kro from other server), try to download other Ragnarok Clean KRO here is one from Akkarin this always work fine for me, but only can be downloaded by Jdownloader, the NickyZai Ro Hosting Kro, if you still have problems, maybe you dont diff it right XP!Same 

    Same as your's RO client i'm using. my client version is 2013-07-08, i'm having hard time. maybe i should make another OS in my PC. two partition 

×
×
  • Create New...