Jump to content

Valor

Members
  • Posts

    72
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Valor

  1. OnKilled:
    announce "Siege Guardian : Peace has been restored! Thank you!";
    set .map$,strcharinfo(3);
    addrid 5,0,.map$;
    getitem 501,1;
    end;

    untested @Tofee ;) thats reward for all player on the map where boss spawned.

  2. i tested this time... hehe @luizragna

    payon,172,218,4	script	monstertest	52,{
    		monster "payon",167,215,"Bigfoot (Weakened)",1060,.amount,strnpcinfo(0)+"::OnDead";
    		for (.@i = 0; .@i < .amount; .@i++) {
    		.mid = $@mobid[.@i];
    		setunitdata .mid,UMOB_MAXHP,10000;
    		setunitdata .mid,UMOB_ATKMIN,10000;
    		setunitdata .mid,UMOB_ATKMAX,21000;
    		setunitdata .mid,UMOB_MATKMIN,10000;
    		setunitdata .mid,UMOB_MATKMAX,21000;
    		setunitdata .mid,UMOB_HIT,10000;
    		setunitdata .mid,UMOB_ATKRANGE,5;
    		setunitdata .mid,UMOB_ADELAY,100;
    		getunitdata .mid,.@param;
    		setunitdata .mid,UMOB_HP,.@param[UMOB_MAXHP];
    		}
    OnDead:
    end;
    		
    OnInit:
    	set .amount,3;
    	end;
    }

     

    • Upvote 1
  3. im really sorry cant help u much :( 

    Spoiler

    // Spawn some Porings and save the Game ID.
        // - Keep in mind, when the 'monster' script command is used,
        // - all the spawned monster GID's are stored in an array
        // - called $@mobid[].
        monster "prontera",149,190,"Poring",1002,10;
        .GID = $@mobid[9]; // Store and modify the 10th Poring spawned to make him stronger!

        // Save the strong Poring's mob data in the @por_arr[] variable. (@por_arr[1] being level, @por_arr[13] being class, etc.)
        // With this data we can have the NPC display or manipulate it how we want. This does not have to be ran before 'setunitdata'.
        getunitdata .GID,@por_arr;

        // Set the max HP of the Poring to 1000 (current HP will also get updated to 1000).
        setunitdata .GID,UMOB_MAXHP,1000;

     

    • Upvote 1
  4. @kyleanthonydizon rathena/wiki/Custom_weapons

    Spoiler

    The ID

    Why the ID first? The ID controls what type of weapon sprite is displayed. Going outside the ID range will cause you to "punch" when attacking.

    Open your and find the section with the weapon type you need. The allowable range is usually obvious.

    Item ID Item Type
    1100-1149 One-Handed Sword
    1150-1199 Two-Handed Sword
    1200-1249 Knife
    1250-1299 Katar
    1300-1349 One-Handed Axe
    1350-1399 Two-Handed Axe
    1400-1449 One-Handed Spear
    1450-1499 Two-Handed Spear
    1500-1549 Mace
    1550-1599 Book
    1600-1649 Rod
    1700-1749 Bow
    1750-1799 Arrow
    1800-1849 Knuckle
    1900-1949 Instrument
    1950-1999 Whip
    13000-13099 Knife
    13100-13149 Handgun
    13150-13199 Other Gunslinger Weapons
    13300-13399 Shuriken
    13400-13499 One-Handed Sword

    Example

    To make a custom bow, searching for "Bows" in item_db shows that bow IDs start at 1701 and end at 1749. Since there are no remaining IDs, commenting out an unused bow would work.

    Otherwise, skip to the next set of bows, which start at 18101. Select an open ID in that range.

    idk if its matter..

  5. change

    prontera,156,160,4	script	Monster Trainer	757,{   // map and coordinate
    
    or duplicate it
    payon,100,100,4	duplicate(Monster Trainer)	Monster Trainer#payon	757

    your font hurt my eyes

    about summoned monster on spesific coodinate, idk bcs i think @summon created to summon monster nearby as your ally  unless u using other script command, instead of @summon.

    monster "prontera",123,42,"Poringz0rd",2341,23,"Master::OnThisMobDeath";

     

  6. Sample:

    prontera,156,160,4	script	Monster Trainer	757,{
    mes "Need monster assistant?";
    menu "Yes",-;
    atcommand "@summon "+.monster+" "+.time;
    end;
    
    OnInit:
    set .monster,2068;  	// monster Biotata
    set .time,5;			// Duration in minutes
    end;
    }

     

    • Upvote 2
  7. .maybe set .ExpandedSecond 0 only disabled Kagerou Oboro Rebellion, if you want to hide ninja gunsliner taekwon option. try:

    if ((.@eac&EAJ_BASEMASK) == EAJ_NOVICE) {		// this menu appear when you are novice
    		if (JobLevel < .JobReq[0])
    			mes "A job level of " + .JobReq[0] + " is required to change into the 1st Class.";
    		else if (Class == Job_Novice_High && .LastJob && lastJob) {
    			mes "Switch classes now?";
    			next;
    			Job_Menu(roclass((eaclass(lastJob)&EAJ_BASEMASK)|EAJL_UPPER));
    		} else {
    			switch(Class) {
    			case Job_Novice:
    				Job_Menu(
    					Job_Swordman,
    					Job_Mage,
    					Job_Archer,
    					Job_Acolyte,
    					Job_Merchant,
    					Job_Thief,
    					Job_Super_Novice,
    					//Job_Taekwon,		// hide option change to expanded class
    					//Job_Gunslinger,
    					//Job_Ninja,
    					Job_Baby
    				);
    				break;

     

  8. Just want to share community script combined from rAthena forum. this script absolutely not mine.

    //===== rAthena Script =======================================
    //= OnPCLoginEvent Triple Scanner
    //===== Compatible With: =====================================
    //= rAthena emulator
    //===== Description: =========================================
    //= Scan process following:
    //= 1. Authorized GM name check.
    //= 2. Player max stats > 130 check.
    //= 3. Total actual player statpoint check.
    //= Intruder will be blocked / query ipbanlist.
    //===== Information: =========================================
    //= Original version statpoints check by Brian
    //============================================================

    Setup GM level, GM groupid, and name before enabled atcommand and query.

    Spoiler

    ( getgmlevel() > 0 || getgroupid > 0 ) // GM level / groupid

    ( .@name$ == "GM1" || .@name$ == "GM2" || .@name$ == "GM3" || .@name$ == "GM4" || .@name$ == "GM5") // GM name

     

    login_scanner.txt

  9. on your client.conf

    Spoiler

    // Save body styles. (Note 1)
    // Note: Don't turn this on unless you know what your doing.
    // Sprites are not released officially.
    save_body_style: yes

     

  10. 14 minutes ago, Questune09 said:

    if( BaseLevel > 149 && getstatus(SC_ITEMBOOST) == 0 ) { sc_start SC_ITEMBOOST,180000,200; }

    if( BaseLevel == 175 ) { .@r = rand(.num2); showscript strcharinfo(0)+" : "+.maxq$[.@r]; }

    change level 149 175 to what ever u want, like 50 for bonus itemboost, and 99 for maxlevel

     

    16 minutes ago, Questune09 said:

    setarray .q$,"I have advanced forward!","There's no stopping me now!","Look at me go!","There's more where that came from.","This isn't even my final form!";

    this setarray for the quotes, just add more here. setarray .q$,"quote1","quote2","quote3";

    • Upvote 1
  11. glemior,227,330,5	script	jRO Outfit	122,{
    mes "The Costume outfits are available only for a few classes!";
    switch(select("- Costume Outfit:- Regular:- Nothing")){
    
    	case 1:
    		if(getlook(LOOK_BODY2) == 1) {
    		mes "^ff0000You already wear costume outfit !!^000000"; 
    		close;
    		}
    		// to prevent crash incase costume outfit for some class not available
    		if(Class == JOB_GUILLOTINE_CROSS || Class == JOB_GUILLOTINE_CROSS_T || 	
    			Class == JOB_ROYAL_GUARD || Class == JOB_ROYAL_GUARD_T ||
    			Class == JOB_MECHANIC || Class == JOB_MECHANIC_T ||
    			Class == JOB_GENETIC || Class == JOB_GENETIC_T ||
    			Class == JOB_ARCH_BISHOP || Class == JOB_ARCH_BISHOP_T ||
    			Class == JOB_RANGER || Class == JOB_RANGER_T ||
    			Class == JOB_WARLOCK || Class == JOB_WARLOCK_T ||
    			Class == JOB_MINSTREL || Class == JOB_MINSTREL_T ||
    			Class == JOB_WANDERER || Class == JOB_WANDERER_T	||
    			Class == JOB_SHADOW_CHASER || Class == JOB_SHADOW_CHASER_T ){
    		atcommand "@bodystyle 1";
    		close;
    		} else { 
    		mes "I'm sorry, but your class outfit is not supported yet.";
    		close; 
    		}
    	
    	case 2:
    		mes "Change to regular outfit?";
    		menu "Yes",-;
    		atcommand "@bodystyle 0";
    		close;
    		
    	case 3:
    		mes "GTFO you son of a duck!";
    		emotion e_bzz;
    		close;
    	}
    }
    

    untested, i just made it rewrite from your script.

  12. 5 hours ago, skymia said:

    if i buy my own server what should i get?

    I dont have yet any idea on hosting

    others says i will waste my money on ragnarok hosting packages.

    i rather get my own vps but i dont know what to do.

    suggest @skymia buy vps from OVH bcs they offer better spec than DO at same price and european server have DDos protection by default, but  u might get 200-300ms connect to ovh server at strasbourg, french, which on DO u can get 50-150ms but lower spec, no DDos protection or asia server provide high cost ddos protection like $20-$50 monthly.

    next, hire rA core from services

    let the pros setup server for you, its so much more benefit compare to buy semi ready RO server hosting.

     

  13. try this?

    1@gen,103,91,3	script	Premiador	416,{
    	mes "[^FF0000 Premiador ^000000]";
    	mes "Olá "+strcharinfo(0);
    	mes "Parabéns pela vitória, como posso lhe ajudar?";
    	main:
    	switch(select($menu$+"Sortear premio",$menu$+"Informações")){
    		next;
    		mes "[^FF0000 Premiador ^000000]";
    		case 1:
    			mes "Muito bem, vamos sortear o seu prêmio....";
    			next;
    			mes "[^FF0000 Premiador ^000000]";
    			mes "Prontinho, já tenho aqui seu premio, até mais!";
    			close2;			
    			if(rand(1,10)<8){						// 70% de não conseguir o anel		
    					set .@i,rand(1,2);
    					if (.@i>1) getitem 31272,1;
    					else getitem 31289,1;
    					warp "prontera",155,208;
    					end;
    			}			
    			getitem 31354,1;						// DA ANEL DE GM
    			warp "prontera",155,208;
    			end;
    		case 2:
    			mes "Bom, todos que derrotam o GM Himura são recompensados com uma pedra de encantamento aleatória, e 40% de chance de ganhar um Anel de GM";
    			next;
    			mes "[^FF0000 Premiador ^000000]";
    			mes "As pedras podem ser dos tipos:";
    			mes "1- Pedras de atributo encantam equipiamentos com +5, +10 ou +15 de algum atributo.";
    			mes "2- Pedras de habilidades, encantam equipamentos com uma habilidade, ex: nevasca nivel 3.";
    			mes "3- Pedras de bonus, encantam equipamentos com um bonus, ex: 10%dano em humano.";
    			next;
    			mes "[^FF0000 Premiador ^000000]";
    			mes "Já o Anel de GM, é um acessório fraco mas pode ser extremamente poderoso, ele exige refinamento para se tornar forte, dando +1 em todos os estatus e habilidades e bonus para cada refinamento. Os atributos e bonus são acumulados até refinamento +15.";
    			next;
    			mes "[^FF0000 Premiador ^000000]";
    			mes "Bom é isso ai, posso ajudar em algo mais?";
    			goto main;
    	}
    
    }

    i dont understand what this npc talkin about :blink:

  14. case 1:
                setarray .@Items[0],2307,2309,2314,2316,2321,2325,2327,2328,2330,2332,2334,2335,2341,2344,2346,2348,2350,2337,2386,2394,2395,2396;
                set .@j,50;		// this .@j is you max rand for spesific item
                break;
            case 2:
                setarray .@Items[0],2311,2318,2319,2320,2308,2310,2315,2317,2322,2324,2326,2331,2333,2336,2342,2345,2347,2349,2351;
                set .@j,55;		// this .@j is you max rand for spesific item
                set .@k,1;
                break;
            case 3:
                setarray .@Items[0],2364,2365,2391,2374,2375,2376,2377,2378,2379,2380,2381,2382,2387,2388,2389,2390;
                set .@j,60;		// this .@j is you max rand for spesific item

    if you are looking on your script you have case 36  success, more than 36 you will not get the item (enchant fail). idk if its work. but try change default to use break; insted of close;

    
                case 36: set .@addpart,4750;break;
                default: specialeffect2 EF_PHARMACY_FAIL; break;

     

×
×
  • Create New...