Jump to content

Haruka Mayumi

Members
  • Posts

    485
  • Joined

  • Last visited

  • Days Won

    27

Posts posted by Haruka Mayumi

  1. prontera,155,173,5	script	Give	94,{
    
    	if(getd("$Quest_"+get_unique_id())){
    		message strcharinfo(0),"Quest already done for this mac.";
    		end;
    	}
    	if(countitem(512) >= 10 && countitem(513) >= 10){
    		delitem 512,10;
    		delitem 513,10;
    		getitem 501,1;
    		setd "$Quest_"+get_unique_id(),getcharid(0);
    	} else
    		message strcharinfo(0),"Not enough items.";
    end;
    }

     

    • Love 1
  2. 12 minutes ago, kalabasa said:

    still the same im talking about this MvP drops just to be clear

    Capture.PNG

    You can't make those 100% because the MVP Drops is random unless it's only 1 item.. it shows how much your chance on getting each item randomly.. if you want to get all then you need to source modify it

    • Upvote 1
  3. #!/bin/bash
    run=1
    if [ "$run" -eq 1 ]; then
    if [ $(ps | grep -e login-server | wc -l) -eq 0 ]; then
    # Login server down
    ./login-server & > /dev/null
    fi
    if [ $(ps | grep -e char-server | wc -l) -eq 0 ]; then
    # Char server down
    ./char-server & > /dev/null
    fi
    if [ $(ps | grep -e map-server | wc -l) -eq 0 ]; then
    # Map server down
    ./map-server & > /dev/null
    fi
    sleep 10
    ./auto-restarter.sh &
    fi

    you can also cut each server in run it on screen.

    • MVP 1
  4. Header: 

    prontera,146,98,5    script    Quest Manager    732,{
    
    to
    
    prontera,146,98,5    script    Quest Manager::Q_MGR    732,{

    Duplicates:

    alberta,33,240,6    duplicate(Q_MGR)    Quest Manager#alb    732
    aldebaran,135,121,6    duplicate(Q_MGR)    Quest Managerr#ald    732
    geffen,115,72,6    duplicate(Q_MGR)    Quest Manager#gef    732
    morocc,164,102,4    duplicate(Q_MGR)    Quest Manager#mor    732
    payon,190,104,4    duplicate(Q_MGR)    Quest Manager#pay    732
    izlude,134,96,4    duplicate(Q_MGR)    Quest Manager#izl    732
    yuno,141,187,6    duplicate(Q_MGR)    Quest Manager#yun    732

    OnNPCKillEvent:

    OnNPCKillEvent:
    	if(strnpcinfo(3) != "Q_MGR") end;

     

    • MVP 1
  5. use a subdomain

    let's say you have two VPS.. 1 for server[IP - 192.168.0.1] and 1 for website[IP - 192.168.0.2].. 

    your main domain name www.yourragnarok.com will be link to your website ip - 192.168.0.2
    then you will add a subdomain direct.yourragnarok.com and link it to your server ip - 192.168.0.1

    Also use the cloudflare to hide your ip when they ping it

  6. Possible Block of Cells:
    1. Gat from your mapcache.dat is not the same on your client
    2. Cell is not walkable via script, "setcell walkable 0"
    3. A hidden NPC is located on that cell
    4. A player hiding?. rofl

  7. skill.cpp

    #ifdef RENEWAL
    	case GS_MAGICALBULLET:
    #endif
    	case NJ_KASUMIKIRI:
    	case NJ_UTSUSEMI:
    +		if( sd && skill_id == NJ_UTSUSEMI ){
    +			struct status_change* sc = status_get_sc(src);
    +
    +			if( sc && sc->data[SC_UTSUSEMI] )
    +			{
    +				clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
    +				break;
    +			}
    +		}
    	case NJ_NEN:
    	case NPC_DEFENDER:
    	case NPC_MAGICMIRROR:

     

    • Upvote 1
  8. prontera,155,173,5	script	Get_Equip	94,{
    	getinventorylist;
    	for(.@i=0;.@i<@inventorylist_count;.@i++)
    		if(@inventorylist_id[.@i]==NAMEID && !@inventorylist_equip[.@i]){
    			.@menu$ += "";
    			.@idx[.@a++] = .@i;
    		}
        mes "Please select the item from your inventory.";
        .@sel = select(.@menu$)-1;
    	clear;
        mes "You have chosen:";
    	mes "+"+@inventorylist_refine[.@idx[.@sel]]]+" "+getitemname(@inventorylist_id[.@idx[.@sel]]);
    end;
    }

     

  9. //====================== rAthena Script ===============================================================
    //=== Made by Rikimaru
    //=== Topic Link : http://rathena.org/board/topic/58004-request-daily-reward-npc-script/
    //==================== Information ====================================================================
    //==== Daily Reward Script
    //================= Version : =========================================================================
    //=== V 1.1   Fixed a typo in the Script [ Rikimaru ]
    //=== V 1.0   Finished Scripting the Daily Reward Script [ Rikimaru ]
    //============== Credits : ============================================================================
    //=== Credits to Rikimaru for the Daily Reward Script
    //=== rAthena Profile Link : http://rathena.org/board/user/434-rikimaru/
    //=====================================================================================================
    //*************************************************************************
    prontera,146,92,6    script    Daily Reward NPC    757,{
    //=========================== Settings ================================================================
    set .@rewname$,"[ Daily Reward ]";
    set .rewardid,12744;
    set @rewardamount,1;
    //======================= Settings End ================================================================
    //*****************************************************************************************************
    if(gettimetick(2) > #lastTimeTalked) {
    mes .@rewname$;
    mes "Hello "+strcharinfo(0)+",I";
    mes "am here to give you a daily";
    mes "Reward. Do you want to have it?";
    next;
    switch(select("-Yes,sure!:-No,bye!:-Cancel")) {
    case 1:
    mes .@rewname$;
    mes "Okay going to give you the item!";
    next;
    mes "Welcome...this is Daily gift...";
    getitem 12987,1;
    getitem 12263,2;
    getitem 14765,2;
    getitem 12264,2;
    mes "Okay have fun with it!";
    set #lastTimeTalked,gettimetick(2)+86400;
    close;
    case 2:
    mes .@rewname$;
    mes "Okay goodbye!";
    close;
    case 3:
    close;
    }
    }
    mes .@rewname$;
    mes "Sorry you can get the";
    mes "Reward again after ";
    mes "24 Hours are over!";
    close;
    OnInit:
    waitingroom " Daily Rewards",0;
        end;
    }
    
    // Duplicates
    //============================================================
    alberta,29,240,6    duplicate(Daily Reward NPC)    Daily Reward NPC#alb    757
    aldebaran,145,118,4    duplicate(Daily Reward NPC)    Daily Reward NPC#ald    757
    geffen,115,66,6    duplicate(Daily Reward NPC)    Daily Reward NPC#gef    757
    morocc,156,102,6    duplicate(Daily Reward NPC)    Daily Reward NPC#mor    757
    payon,184,104,4    duplicate(Daily Reward NPC)    Daily Reward NPC#pay    757
    izlude,134,93,4    duplicate(Daily Reward NPC)    Daily Reward NPC#izl    757
    payon,172,226,4    duplicate(Daily Reward NPC)    Daily Reward NPC#pay1    757
    yuno,148,187,6    duplicate(Daily Reward NPC)    Daily Reward NPC#yun    757

     

    • MVP 1
×
×
  • Create New...