Jump to content

Vale

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by Vale

  1. Hello, I am requesting of VIP Healer...

    I would like to have like this in my buffs

    -  Buff All Status Service + 10

    -  Buff lvl 10 (Agi/Blessing)

    -  Buff lvl 10 Kyrie Eleison                            

    -  Buff Exp / Job Exp + 10% service when defeating monsters.

       (Can be used in conjunction with manual items to increase experience.)

    -  Buff  Drops Rate + 20%  (Can be used with Bubble Gum)

    -  Buff service reduces physical and magic damage by 3%

     

    Please help me, Thanks in advance...

  2. On 10/13/2018 at 6:43 AM, MathReaper said:

    The rAthena have changed the default PACKETVER to 20180620 because we support all required features or have them on some pull requests in the Git repository and because of that I'm releasing this client. That's all.

    Important Note: This client uses sclientinfo.xml instead of clientinfo.xml.

     

    Download link: 2018-06-20eRagexeRE.exe (MediaFire).

    How can i change the icon?

  3. Hi, I am new here @rAthena, I would like to have a script wherein

    @goguildbase - Dialog appears, then you can rent a guild base there using Donation Ticket or Proof Of Donation (7179)

    and only that guild can go there ...

    7 Days Rental

     

    Just like the MVP_Room.txt

    Here is my script working on...

    -	script	atcmd_goguildbase	-1,{
    OnInit:
        bindatcmd "goguildbase",strnpcinfo(3)+"::OnAtcommand";
        end;
    OnAtcommand:
    	mes "[System]";
    	select(switch("Rent Base 1:Rent Base 2:Rent Base 3")) {
    	case 1:
    	warp "guild_base",0,0;
    	end;
    	case 2:
    	warp "guild_base",0,0;
    	end;
    	case 3:
    	warp "guild_base",0,0;
    	end;
    }
    }

    Help me thanks in advance.

  4. this must be in the Source Section but anyways, I am here to help

    Find in the skill.cpp

    //Special message when trying to use strip on FCP [Jobbie]
    		if( sd && skill_id == ST_FULLSTRIP && tsc && tsc->data[SC_CP_WEAPON] && tsc->data[SC_CP_HELM] && tsc->data[SC_CP_ARMOR] && tsc->data[SC_CP_SHIELD])
    		{
    			clif_gospel_info(sd, 0x28);
    			break;
    		}

    Add this after:

    		if ( sd && tsc && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ROGUE && rand()%100 < 10
    			&&
    		( skill_id == RG_STRIPWEAPON && tsc->data[SC_CP_WEAPON] ||
    		skill_id == RG_STRIPSHIELD && tsc->data[SC_CP_SHIELD] ||
    		skill_id == RG_STRIPARMOR && tsc->data[SC_CP_ARMOR] ||
    		skill_id == RG_STRIPHELM && tsc->data[SC_CP_HELM] ) ) {
    		int item_id = 7139; // Glistening Coat
    		int ii;
    		ARR_FIND( 0, MAX_INVENTORY, ii, sd->inventory.u.items_inventory[ii].nameid == item_id );
    		if ( ii < MAX_INVENTORY ) {
    			pc_delitem( sd, ii, 1, 0, 0, LOG_TYPE_CONSUME);
    			switch ( skill_id ) {
    				case RG_STRIPWEAPON:
    					status_change_end( bl, SC_CP_WEAPON, INVALID_TIMER );
    					sc_start(NULL,bl,SC_STRIPWEAPON,100,skill_lv,skill_get_time(skill_id,skill_lv));
    					break;
    				case RG_STRIPSHIELD:
    						status_change_end( bl, SC_CP_SHIELD, INVALID_TIMER );
    						sc_start(NULL,bl,SC_STRIPSHIELD,100,skill_lv,skill_get_time(skill_id,skill_lv));
    						break;
    				case RG_STRIPARMOR:
    						status_change_end( bl, SC_CP_ARMOR, INVALID_TIMER );
    						sc_start(NULL,bl,SC_STRIPARMOR,100,skill_lv,skill_get_time(skill_id,skill_lv));
    						break;
    				case RG_STRIPHELM:
    						status_change_end( bl, SC_CP_HELM, INVALID_TIMER );
    						sc_start(NULL,bl,SC_STRIPHELM,100,skill_lv,skill_get_time(skill_id,skill_lv));
    					break;
    				}
    			clif_skill_nodamage( src, bl, skill_id, skill_lv, i );
    				break;
    				}
    			}

    Let me know If I got this correct ?

    • Upvote 1
  5. On 11/9/2013 at 6:34 AM, Capuche said:
    
    -	script	atcmd_example	-1,{
    OnInit:
    	bindatcmd "question",strnpcinfo(3)+"::OnAtcommand";
    	end;
    OnAtcommand:
    	warp "prontera",150,150;
    	createchatroom( getcharid(3), "Question", "",5 );
    	sit;
    	end;
    }

     

     

    Add in src/custom/script.inc

    
    // createchatroom( <char|account|name>, <title>, <password>, {<limit>, <type>} );
    // password : only enabled for type 0
    // limit[ 1,20 ], 1 by default
    // type : 1 -> public, 0 -> private
    
    BUILDIN_FUNC(createchatroom)
    {
    	int len = strlen( script_getstr(st,3) );
    	int limit = 1;
    	char title[ CHATROOM_TITLE_SIZE ];
    	char password[ CHATROOM_PASS_SIZE ];
    	bool type = 1;// chat public by default
    	TBL_PC *sd = NULL;
    
    	if ( script_isstring(st,2) )
    		sd = map_nick2sd( script_getstr(st,2) );
    	else {
    		int id = script_getnum(st,2);
    		sd = map_charid2sd(id) ? map_charid2sd(id) : map_id2sd(id);
    	}
    	if ( sd == NULL ) {
    		ShowWarning( "createchatroom : none player attached.\n" );
    		return 0;
    	}
    	if ( (sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOROOM) || (battle_config.basic_skill_check && pc_checkskill(sd,NV_BASIC) < 4 ) || npc_isnear(&sd->bl) ) return 0;
    	if ( len > CHATROOM_TITLE_SIZE || strlen( script_getstr(st,4) ) > CHATROOM_PASS_SIZE ) return 0;
    	if ( sd->chatID != 0 ) return 0;
    
    	safestrncpy( title, script_getstr(st,3), min( len+1,CHATROOM_TITLE_SIZE ) );
    	safestrncpy( password, script_getstr(st,4), CHATROOM_PASS_SIZE );
    
    	if ( script_hasdata(st,5) ) {
    		int tmp = script_getnum(st,5);
    		if ( tmp > limit && tmp <= 20 ) limit = tmp;
    		else if ( tmp > 20 ) limit = 20;
    	}
    	if ( script_hasdata(st,6) && script_getnum(st,6) == 0 ) type = 0;
    
    	chat_createpcchat( sd, title, password, limit, type );
    	chat_changechatstatus( sd, title, password, limit, type );
    	return 0;
    }

     

    and in src/custom/script_def.inc

    
    BUILDIN_DEF(createchatroom,"vss??"),

    then recompile

    does this work in latest git?

  6. Hi, Good day

    I have this problem in 

    I wanted only when players hit me this delay occurs

    But in this case, even if i've been attacked by Mobs or I skill the delay occurs

    Sorry for my bad english

     

    Thanks in advance, Hope you can help me

     

  7. 3 minutes ago, Bringer said:

     

    
    announce ""+strcharinfo(0)+" has won the Guess the Number Event! My number was "+.usednumber+"!",0;
    mes .@n$;
    mes "You have guessed my number! Congratulations!";
    getitem @prize,@amoun;
    disablenpc "guess";

     

    
    ---------------------------------------
    
    *disablenpc "<NPC object name>";
    *enablenpc "<NPC object name>";
    
    These two commands will disable and enable, respectively, an NPC object
    specified by name. The disabled NPC will disappear from sight and will no longer
    be triggerable in the normal way. It is not clear whether it will still be
    accessible through 'donpcevent' and other triggering commands, but it probably
    will be. You can disable even warp NPCs if you know their object names, which is
    an easy way to make a map only accessible through walking half the time. Then
    you 'enablenpc' them back.
    
    You can also use these commands to create the illusion of an NPC switching
    between several locations, which is often better than actually moving the NPC -
    create one NPC object with a visible and a hidden part to their name, make a few
    copies, and then disable all except one.
    
    ---------------------------------------
    
    *hideonnpc "<NPC object name>";
    *hideoffnpc "<NPC object name>";
    
    These commands will make the NPC object specified display as hidden/visible,
    even though not actually disabled per se. Hidden as in thief Hide skill, but
    unfortunately, not detectable by Ruwach or Sight.
    
    As they are now, these commands are pointless, it is suggested to use
    'disablenpc'/'enablenpc', because these two commands actually unload the NPC
    sprite location and other accompanying data from memory when it is not used.
    However, you can use these for some quest ideas (such as cloaking NPCs talking
    while hidden then revealing.... you can wonder around =P

     

    pardon me... I don't understand hmmm

  8.  as the title itself said it, I want to unhide the NPC when the event is done

    for example, there is a winner, then the other players can closed the dialog box here is my script...

    // = Script made by RIKIMARU on rathena.org
    // = Profile Link :
    // = http://rathena.org/board/user/434-rikimaru/
    // = ENJOY THIS SCRIPT!
    //===================================================================================
    //	    //=====//	 /==/	 /==/		  /==/	 
    //	   //	 //	 /==/	 /==/  /=/	 /==/		
    //	  //=====//			  /==/  /=/			 /==============/	 /========/   /==//===/    /==/	 /==/
    //	 //=//////    /==/	  /==//=/	   /==/    /==/==/==/==/==/	 /	 /  /   /==/		 /==/	 /==/
    //    // ==	    /==/	  /==//=/	   /==/    /==/  /==/  /==/	 ======/  /   /==/		 /==/	 /==/
    //   //   ==	  /==/	  /==/  /=/	 /==/    /==/  /==/  /==/	 / /===/  /   /==/		 /==/	 /==/
    //  //	 ==    /==/	  /==/   /=/    /==/    /==/  /==/  /==/	 / /===/  /   /==/		 /==/=====/==/
    // //	   ==  /==/	  /==/    /=/   /==/    /==/  /==/  /==/	 /========/   /==/		 /==///////==/
    // ================ rAthena Script ==================================================
    // ============== Information =======================================================
    // = Automated Guess the Number Event
    // = Made by :
    // = Rikimaru
    //===== Current Version: ===============================================
    //= 2.3
    //===== Compatible With: ===============================================
    //= any rAthena SVN
    //===== Description: ===================================================
    //= This is an automated Guess the Number Event,which I made
    //= for having fun in game,guessing a number. The number is going
    //= to be a number between 1 and 2000 , so it'll take time to find out
    //= the correct number.
    //===== Additional Comments: ===========================================
    //= 2.0 Fixed an announcer Bug [Rikimaru]
    //= 2.1 Fixed a few Typos in the Script [Rikimaru]
    //= 2.2 Fixed the Prize,which was not working correctly. [Rikimaru]
    //= 2.3 Fixed another little Bug. [Rikimaru]
    //======================================================================
    //= DO NOT REMOVE MY CREDITS AND CLAIM MY WORK AS YOURS
    //======================================================================
    -	script	guessannouncer	-1,{
    OnClock0000:
    OnClock0200:
    OnClock0400:
    OnClock0600:
    OnClock0800:
    OnClock1000:
    OnClock1200:
    OnClock1400:
    OnClock1600:
    OnClock1800:
    OnClock2200:
    announce "[Announcement]: Guess The Number Event will begin",0;
    sleep 40000;
    announce "[Announcement]: To join event please type @joinevent",0;
    sleep 30000;
    announce "Guess the Number: Is starting in 30 Seconds in Main  Town!",0;
    sleep 20000;
    announce "Guess the Number: 10 Seconds! Gather up in Main  Town quick!",0;
    sleep 5000;
    announce "Guess the Number: 5 Seconds Left!",0;
    sleep 1000;
    announce "Guess the Number: 4 Seconds!",0;
    sleep 1000;
    announce "Guess the Number: 3 Seconds!",0;
    sleep 1000;
    announce "Guess the Number: 2 Seconds!",0;
    sleep 1000;
    announce "Guess the Number: 1 Second!",0;
    sleep 1000;
       announce "Guess the Number: The event has started!",0;
       enablenpc "guess";
       end;
    
    OnInit:
       disablenpc "guess";
       end;
    }
    // ==============================================================================
    firstcity,240,45,8	script	Guess the Number::guess	952,{
    // =================== Setting the NPC Name and Prize and amount  =============
    set .@n$,"^FF0000[Guess the Number]^000000";
    set @prize,33000;//Change the 7227 to your reward item ID
    set @amoun,10;//Change the 10 to your reward amount
    // ==================== End of settings =========================================
    if(.guessstart==1) goto Oneventevent;
    set .usednumber, rand(1,3000);
    announce "Guess the Number: Guess the Number Event Started in Main Town!",0;
    set .guessstart,1;
    Oneventevent:
    mes .@n$;
    mes "Guess the number...It is a number between between 1 and 3,000!";
    input .@guessnumber;
    next;
    if(.@guessnumber > .usednumber) {
    mes .@n$;
    mes "My number is ^FF0000SMALLER^000000 than the one you guessed!";
    close;
    } else if(.@guessnumber < .usednumber) {
    mes .@n$;
    mes "My number is ^FF0000BIGGER^000000 than the one you guessed!";
    close;
    } else if(.@guessnumber == .usednumber) {
    announce ""+strcharinfo(0)+" has won the Guess the Number Event! My number was "+.usednumber+"!",0;
    mes .@n$;
    mes "You have guessed my number! Congratulations!";
    getitem @prize,@amoun;
    disablenpc "guess";
    set .guessstart,0;
    close2;
    end;
    }
    }

     

×
×
  • Create New...