Jump to content

ShiroNaito

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by ShiroNaito

  1. Goodevening ! Can someone help me with this script I copied here on rathena ? 

    the OnPCLogoutEvent is not working .  But when I use the NPC Manager the script is working .. I dont understand why .. 

     

    Quote

    -    script    warspec    -1,{
    OnInit:
    setcell "guild_vs1",1,1,312,392,cell_nochat,1;
    setcell "guild_vs3",1,1,312,392,cell_nochat,1;
    setcell "guild_vs4",1,1,312,392,cell_nochat,1;
    setcell "gon_test",1,1,312,392,cell_nochat,1;
    OnWhisperGlobal:
    if(@whispervar0$ == "hello") {
    if(getgmlevel() > 1) {
        mes "Hello din po!";
        switch(select("Enable:Disable")){
            case 1: 
                enablenpc "War Spectator Manager#main";
                close;
            case 2: 
                disablenpc "War Spectator Manager#main";
                close;
            end;
        }
        }
    else{
        dispbottom "Pakyu ka po!";
        end;
    }
    }
    end;
    }

    chivalry,77,118,6    script    War Spectator Manager#main    405,{

        mes "^FF0000[War Spectator Manager]^000000";
        mes "Hi im the War Spectator Manager!";
        mes "Your Item's will be removed once you go in!";
        mes "You will be muted when spectating";
        mes "Do you still want to Spectate?";
        next;
    switch(select("Yes:No")){
        next;
            mes "^FF0000[War Spectator Manager]^000000";
            mes "On What Map do you want to Spectate?";
            switch(select("guild_vs1 ^FF0000["+getmapusers("guild_vs1")+"]^000000:guild_vs3 ^FF0000["+getmapusers("guild_vs3")+"]^000000:guild_vs4 ^FF0000["+getmapusers("guild_vs4")+"]^000000:gon_test ^FF0000["+getmapusers("gon_test")+"]^000000")){
                case 1: next;
                    warp "guild_vs1",50,28;
                    setoption Option_Invisible | Option_Xmas, 1;
                    atcommand "@fullstrip "+strcharinfo(0);
                    sc_start SC_STRIPWEAPON,960000,0;
                           sc_start SC_STRIPSHIELD,960000,0;
                        sc_start SC_STRIPARMOR,960000,0;
                        sc_start SC_STRIPHELM,960000,0;
                        atcommand "@speed 50";
                    set Manner, -100;
                case 2: next;
                    warp "guild_vs3",49,87;
                                    setoption Option_Invisible | Option_Xmas, 1;
                    atcommand "@fullstrip "+strcharinfo(0);
                    sc_start SC_STRIPWEAPON,960000,0;
                           sc_start SC_STRIPSHIELD,960000,0;
                        sc_start SC_STRIPARMOR,960000,0;
                        sc_start SC_STRIPHELM,960000,0;
                        atcommand "@speed 50";
                    set Manner, -100;
                case 3: next;
                    warp "guild_vs4",49,19;
                                    setoption Option_Invisible | Option_Xmas, 1;
                    atcommand "@fullstrip "+strcharinfo(0);
                    sc_start SC_STRIPWEAPON,960000,0;
                           sc_start SC_STRIPSHIELD,960000,0;
                        sc_start SC_STRIPARMOR,960000,0;
                        sc_start SC_STRIPHELM,960000,0;
                        atcommand "@speed 50";
                    set Manner, -100;
                case 4: next;
                    warp "gon_test",58,91;
                                    setoption Option_Invisible | Option_Xmas, 1;
                    atcommand "@fullstrip "+strcharinfo(0);
                    sc_start SC_STRIPWEAPON,960000,0;
                           sc_start SC_STRIPSHIELD,960000,0;
                        sc_start SC_STRIPARMOR,960000,0;
                        sc_start SC_STRIPHELM,960000,0;
                        atcommand "@speed 50";
                    set Manner, -100;
                    
        }
    close;
    }
    end;
    }


    guild_vs1,50,7,4    script    War Spectator Manager#exit    405,{
    mes "^FF0000[War Spectator Manager]^000000";
    mes "Do you want to exit?";
    switch(select("Yes:No")){
    case 1:
            set Manner, 0;
            setoption Option_Invisible | Option_Xmas, 0;
            sc_end SC_STRIPWEAPON;
                    sc_end SC_STRIPSHIELD;
                    sc_end SC_STRIPARMOR;
                    sc_end SC_STRIPHELM;
                    atcommand "@speed 150";
            atcommand "@go 0";
    case 2:
        close;
    }
    end;            
    }
    guild_vs3,50,87,4    script    War Spectator Manager#exit2    405,{
    mes "^FF0000[War Spectator Manager]^000000";
    mes "Do you want to exit?";
    switch(select("Yes:No")){
    case 1:
            set Manner, 0;
            setoption Option_Invisible | Option_Xmas, 0;
            sc_end SC_STRIPWEAPON;
                    sc_end SC_STRIPSHIELD;
                    sc_end SC_STRIPARMOR;
                    sc_end SC_STRIPHELM;
            atcommand "@load";
    case 2:
        close;
    }
    end;            
    }    
    guild_vs4,50,8,4    script    War Spectator Manager#exit3    405,{
    mes "^FF0000[War Spectator Manager]^000000";
    mes "Do you want to exit?";
    switch(select("Yes:No")){
    case 1:
            set Manner, 0;
            setoption Option_Invisible | Option_Xmas, 0;
            sc_end SC_STRIPWEAPON;
                    sc_end SC_STRIPSHIELD;
                    sc_end SC_STRIPARMOR;
                    sc_end SC_STRIPHELM;
            atcommand "@load";
    case 2:
        close;
    }
    end;            
    }
    gon_test,57,90,4    script    War Spectator Manager#exit4    405,{
    mes "^FF0000[War Spectator Manager]^000000";
    mes "Do you want to exit?";
    switch(select("Yes:No")){
    case 1:
            set Manner, 0;
            setoption Option_Invisible | Option_Xmas, 0;
            sc_end SC_STRIPWEAPON;
                    sc_end SC_STRIPSHIELD;
                    sc_end SC_STRIPARMOR;
                    sc_end SC_STRIPHELM;
            atcommand "@load";
    case 2:
        close;
    }
    OnPCLogoutEvent:
        if ( strcharinfo(3) == "guild_vs1" || strcharinfo(3) == "guild_vs3" || strcharinfo(3) == "guild_vs4" || strcharinfo(3) == "gon_test") {
            setoption 0x40 | Option_Invisible | Option_Xmas, 0;
            set Manner, 0;
        end;            
    }


    guild_vs1    mapflag    notrade
    guild_vs3    mapflag    notrade
    guild_vs4    mapflag    notrade
    gon_test    mapflag    notrade

    guild_vs1    mapflag    nodrop
    guild_vs3    mapflag    nodrop
    guild_vs4    mapflag    nodrop
    gon_test    mapflag    nodrop

     

  2. 11 hours ago, Emistry said:

    hmm, there are actually some hack-attempt that you could try to get this done...

     

    execute this SQL to create a dummy character with the char name "[BROKEN]"

    
    INSERT INTO `char` (`char_id`, `account_id`, `char_num`, `name`, `class`, `base_level`, `job_level`, `base_exp`, `job_exp`, `zeny`, `str`, `agi`, `vit`, `int`, `dex`, `luk`, `max_hp`, `hp`, `max_sp`, `sp`, `status_point`, `skill_point`, `option`, `karma`, `manner`, `party_id`, `guild_id`, `pet_id`, `homun_id`, `elemental_id`, `hair`, `hair_color`, `clothes_color`, `body`, `weapon`, `shield`, `head_top`, `head_mid`, `head_bottom`, `robe`, `last_map`, `last_x`, `last_y`, `save_map`, `save_x`, `save_y`, `partner_id`, `online`, `father`, `mother`, `child`, `fame`, `rename`, `delete_date`, `moves`, `unban_time`, `font`, `uniqueitem_counter`, `sex`, `hotkey_rowshift`, `clan_id`, `title_id`, `show_equip`, `last_login`) VALUES (1, 1, 1, '[BROKEN]', 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 40, 40, 11, 11, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 'prontera', 155, 181, 'prontera', 155, 181, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'U', 0, 0, 0, 0, '2019-08-25 02:34:01');

    then give item using this ..

    
    getitem2 .@id,1,1,.@ref,0,254,0,1&0xffff,(1>>16)&0xffff;

    d1JtiPl.png

    This one really helps ! I actually made a simple hack using CARD PREFIX name hhahaha ! .. I made a card that has prefix named BROKEN ...but this one is much better thankyou @Emistry

  3. 1 hour ago, dev LOOLP said:
    
    Redone and functional!
    
    :) Good use.

    exchanger.txt 1.27 kB · 2 downloads

    Hi sir thankyou for patiently helping me ..didnt tried it yet but I appreciate your effort ..can I ask if is it possible to check the refine of item 501 and transter it on item 601 ... Example I have Jur +10 and I want to transfer it on Spec Jur to make it +10 upon exchanging? Thankyou sir !!!!!! ❤️

  4. 12 minutes ago, Royr said:

    Please give this a try, i hope this is what you're looking for.
     

    
    prontera.gat, 155, 185, 4	script	Exchanger Board	4_BOARD3,{
    	.@menu = select( 
    		(countitem(501)?"- Exchange with "+getitemname(501)+"":""),
    		(countitem(502)?"- Exchange with "+getitemname(502)+"":""),
    		(countitem(503)?"- Exchange with "+getitemname(503)+"":""),
    		"- Nothing"
    		);
    	switch(.@menu) {
    	case 1:
    		getitem 607,1;
    		break;
    	case 2:
    		getitem 608,1;
    		break;
    	case 3:
    		getitem 616,1;
    		break;
    	default:
    		mes "[ Exchanger ]";
    		mes "There's nothing i can do for you.";
    		mes " ";
    		mes "Please come back to me later!";
    		break;
    	}
    	end;
    }

     

    Hi thankyou for your fast response sir ...is it not possible to make it like this

     

    setarray .@item, 501,502,503;

    setarray .@exchange, 601,602,603;

     

    If i pick item 501 it will automatically exchange to 601 so on so on ....

  5. Good day ? ..I would like to request an Item Exchanger that uses array script .. This is how it will work 

     

    The NPC will only recognize 3 items (501 502 503)

    when I click the NPC the recognize item will appear as menu ..

    If I chose 501 the NPC will exchange it for item 601 , if I chose 502 the NPC will exchange it for item 602 ..so on 

     

    thanks

  6. bump anyone ? please thankyou !

    Hi I need help on this script 

    "getitem2 <id>,1,1,0,0,254,0,getcharid(0) &0xffff, (getcharid(0) >> 16) &0xffff;" 

    That script add name on a certain item .. I just need to make the name a FIXED WORD like [NEW] ... The item will be name as (for example JUR) [NEW]Jur

    Thankyou

  7. Hi I just wanna ask if is it possible to rename or add name on my item but "not the owners name" like on the Lupus' Script ITEM NAMER ? like for example .. I want to set the name into "BROKEN" to GMG Item .. The item will be [BROKEN] GIGANTIC MAJESTIC GOAT HELM ... How ? Help thankyou ..The scriipt of item namer is below

    Quote

    getitem2 .@id,1,1,.@ref,0,254,0,getcharid(0)&0xffff,(getcharid(0)>>16)&0xffff;

     

  8. Good day ! Can you help me? Is it possible to have an NPC that buys an Item (technically this npc is for selling purposes only) but the twist is ..You can undo or if you accidentally sold your important item you can undo selling within 24hrs buy the NPC will ask for labor fee ..everytime you sell the same item the labor fee on undoing it will increase.Sorry for my bad english I hope you can help me Thanks amigos

  9. I just want to ask if there are existing rathena party questings ?? if none can I ask for some unique PARTY QUESTS except Devil Square Endless Tower and Hunting Mission ? hmmmm ... I need a HARDCORE PartyQuests ❤️ 

     

    Thankyou ! 

  10. Good day ? I just want to request an npc that  will allow items to be trade ..

     

    details

    For Example the item Beelzebub Card is non tradable. In order to make it tradable I need to pay for POD and use this NPC . after paying and making it tradable, I can now sell it to players or trade it on storage or what so ever ..But in Order to wear it or use it you need to Unseal it.after sealing it this item will return in non trade state. Just like Dragon Nest Game you cannot trade unless you put stamp on the item.

     

     

    Thankyou in advance guys 

  11. Good day. Is mail script not working on ragnarok 2015 ? because I have an error but in 2019 its working

     

    image.thumb.png.fb581b19644272383ae8c5908aa59899.png

    Quote


    mail .@cid[.@i], "no-reply", "PvP Ranking", "Congratulations!% You have placed #"+(.@i+1)+" in the PvP Raning this Month % % %[ Your reward is attached. ]", .GVG_Zeny[.@i], getd(".Gitem"+.@i), getd(".Gqnt"+.@i);

     

    and 

     

    mail .@cid[.@i], "GM", .@title$, .@body$, .@zeny, .@mailitem, .@mailamount;

    Quote

     

     

×
×
  • Create New...