Jump to content

Cyro

Members
  • Posts

    1137
  • Joined

  • Last visited

  • Days Won

    30

Posts posted by Cyro

  1. prontera,167,178,3	script	Gold Room Manager	965,{
    mes "[ Gold Room Manager ]";
    mes "I can warp you to the gold room.";
    next;
    if (select("Okay.:Not now.") == 2) {
     mes "[Gold Room Manager]";
     mes "Come back to me if you've changed your mind.";
     close;
    }
    mes "[Gold Room Manager]";
    mes "You'll be there quickly. c;";
    next;
    mes "[ Gold Room Manager ]";
    mes "Enjoy.";
    close2;
    warp "guild_vs1",50,50;
    end;
    }
    // Mob Spawn
    guild_vs1,0,0,0,0	monster	Golden Dokebi	3000,300,0,0,0
    // Exit
    guild_vs1,49,49,5	script	Exit#1	790,{
    warp "prontera",155,181;
    end;
    OnInit:
    waitingroom "Gold Gold Gold",0,0;
    end;
    }

    tabs again :/

  2. prontera,167,178,3	script	Gold Room Manager	965,{
    mes "[ Gold Room Manager ]";
    mes "I can warp you to the gold room.";
    next;
    if (select("Okay.:Not now.") == 2) {
     mes "[Gold Room Manager]";
     mes "Come back to me if you've changed your mind.";
     close;
    }
    mes "[Gold Room Manager]";
    mes "You'll be there quickly. c;";
    next;
    mes "[ Gold Room Manager ]";
    mes "Enjoy.";
    close2;
    warp "guild_vs1",50,50;
    end;
    }
    // Mob Spawn
    guild_vs1,0,0,0,0 monster Golden Dokebi 3000,300,0,0,0
    // Exit
    guild_vs1,49,49,5 script Exit#1 790,{
    warp "prontera",155,181;
    end;
    OnInit:
    waitingroom "Gold Gold Gold",0,0;
    end;
    }

    always check tabs in header

  3. 11 hours ago, elmucho said:

    New script but its not dropping gold and not working when added on the item db 

    
      //*********************************************************************************************************************************************************************************
      //***--Topic Link :		***\( ^ ~ ^ )/***
      //***
      //***
      //*********************************************************************************************************************************************************************************
      //***-- Script by :		***\( ^ ~ ^ )/***
      //***-- Emistry
      //***
      //*********************************************************************************************************************************************************************************
      //***-- Contact Info :	***\( ^ ~ ^ )/***
      //***-- My Email : [email protected]
      //***
      //*********************************************************************************************************************************************************************************
      //***-- Messages :		***\( ^ ~ ^ )/***
      //***-- Drop me a private message or email if you are looking for my helps ^^.
      //***-- Beside that, I am looking for a Server to work with ^^ .  
      //***-- I will do my best to help you ^^.
      //***-- More Details ? PM Me ^^.
      //***
      //*********************************************************************************************************************************************************************************
      //***Although these scripts might not suit or follow with what you have requested completely. But i still wish you can give it a try before reject the works.
      //***
      //*********************************************************************************************************************************************************************************
    
    
      //-------------------------MONSTER DATABASE [ REPLACE it in Your MOB_DB.txt ]  --------------------------------------------------------------------
    
      //1852,G_EM_ANGELING,Angeling,Angeling,99,120,0,0,0,1,60,71,100,99,1,17,80,80,126,20,10,12,0,8,66,0x37B5,300,1288,288,384,0,0,0,0,0,0,969,5000,969,10000,969,8000,969,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0
      //1853,G_EM_DEVILING,Deviling,Deviling,99,120,0,0,0,1,60,71,100,99,1,17,80,80,126,20,10,12,0,8,66,0x37B5,300,1288,288,384,0,0,0,0,0,0,7444,5000,7444,10000,7444,5000,969,10000,969,5000,0,0,0,0,0,0,0,0,0,0,0,0
    
    
    
      //-------------------------NPC [ Warper + Exchanger  ]  --------------------------------------------------------------------
    
      prontera,150,164,3	script	Gold Room Manager	100,{
      	mes "[ Gold Room Manager ]";
      	mes "How may I serve for you ?";
      	mes "I can warp you to a Gold Mine.";
      	next;
      	mes "[ Gold Room Manager ]";
      	mes "I need you to give me";
      	mes "1,000,000 Zeny to Enter.";
      	next;
      	switch(select("Enter to Gold Room:Cancel")) {
      case 1:
      	if(Zeny < 1000000) goto nomoney;
      	set .@a,rand(50);
      	set .@b,rand(50);
      	mes "[Gold Room]";
      	mes "Before you enter, you need to answer the question  ";
      	mes "for security check.";
      	mes "If A = "+.@a+"   B = "+.@b;
      	switch( rand(1) ){
      	set .@answer,.@a + .@b;
      	mes "How many is A + B ?";
      			next;
      			input .@input;	
      			next;
      		if( .@input!=.@answer ) {
      		atcommand "@kick " + strcharinfo(0);
      		close;
      		break;
      		}
      		else if (.@input==.@answer) {
      			set Zeny,Zeny-1000000;		
      			warp "ordeal_3-2",0,0; 	
      			close;
      			}
      		end;
      		}
      case 2:
      			mes "[ Gold Room Manager ]";	
      			mes "Owh....";
      			mes "Nevermind..since it is your decision.";
      			mes "It is all up to you.";
      			mes "Come back to me if you changed your mind.";
      			close;
      	}
      	nomoney:
      		mes "[Gold Room Manager]";
      		mes "Sorry you need 1,000,000z to enter";
      		close;
      }
      //-------------------------MONSTER SPAWN--------------------------------------------------------------------
    
    
      // Duplicados Warps v1.0
      ordeal_3-2.gat,130,193,0	warp	goldroomwrp#1	3,3,ordeal_3-2.gat,154,154
      ordeal_3-2.gat,106,154,0	warp	goldroomwrp#2	3,3,ordeal_3-2.gat,154,154
      ordeal_3-2.gat,201,129,0	warp	goldroomwrp#3	3,3,ordeal_3-2.gat,154,154
      ordeal_3-2.gat,177,193,0	warp	goldroomwrp#4	3,3,ordeal_3-2.gat,154,154
      //ordeal_3-2,24,228,0	warp	prontera	1,1,prontera,156,172;
      //ordeal_3-2,25,58,0	warp	prontera	1,1,prontera,156,172;
      //ordeal_3-2,289,130,0	warp	prontera	1,1,prontera,156,172;
      //ordeal_3-2,283,230,0	warp	prontera	1,1,prontera,156,172;
      //ordeal_3-2,210,203,0	warp	prontera	1,1,prontera,156,172;
    
      // Natural Monsters v1.0
      ordeal_3-2,154,154,0,0	monster	Gold Peco Peco	3003,15,0,0,0
      ordeal_3-2,0,0,0,0	monster	Gold Peco Peco	3003,50,0,0,0
      ordeal_3-2,0,0,0,0	monster	Gold Peco Peco	3003,50,0,0,0
      ordeal_3-2,0,0,0,0	monster	Gold Peco Peco	3003,50,0,0,0
    
      // Map Flags v1.0
      ordeal_3-2	mapflag	nowarp
      ordeal_3-2	mapflag	nobranch
      ordeal_3-2	mapflag	nomemo
      ordeal_3-2	mapflag	nowarpto
      ordeal_3-2	mapflag	nopenalty
      ordeal_3-2	mapflag	pvp_noparty
      ordeal_3-2	mapflag	noskill
      ordeal_3-2	mapflag	nosave
      ordeal_3-2	mapflag	novending
      ordeal_3-2	mapflag	noteleport

     

     

     

  4. add this to your mob_db.txt

    3000,DOKEBI,Dokebi,Dokebi,68,2820,1,675,759,1,317,347,85,20,52,56,35,20,60,25,10,12,0,6,27,0x191,250,1156,456,384,0,0,0,0,0,0,0,969,9000,969,9000,969,9000,969,9000,969,9000,969,9000,969,9000,969,9000,969,9000,4098,1

     

    then add this script 

    prontera,167,178,3 script Gold Room Manager 965,{
    mes "[ Gold Room Manager ]";
    mes "I can warp you to the gold room.";
    next;
    if (select("Okay.:Not now.") == 2) {
     mes "[Gold Room Manager]";
     mes "Come back to me if you've changed your mind.";
     close;
    }
    mes "[Gold Room Manager]";
    mes "You'll be there quickly. c;";
    next;
    mes "[ Gold Room Manager ]";
    mes "Enjoy.";
    close2;
    warp "guild_vs1",50,50;
    end;
    }
    // Mob Spawn
    guild_vs1,0,0,0,0 monster Golden Dokebi 3000,300,0,0,0
    // Exit
    guild_vs1,49,49,5 script Exit#1 790,{
    warp "prontera",155,181;
    end;
    OnInit:
    waitingroom "Gold Gold Gold",0,0;
    end;
    }

    then reload script/npc , mobdb

    • Upvote 1
  5. 16 minutes ago, Quesooo said:

    hi good day can you help me guys how to fix this

     

    i  added a dupicate at the bottom of the script but the duplicates not showing

     

    thank you

     

    heres the script

     

     

    PvP-GvG-PartyVsParty.txt

    guild_vs3	mapflag	nobranch
    guild_vs3	mapflag	nomemo
    guild_vs3	mapflag	nosave	SavePoint
    guild_vs3	mapflag	noteleport
    guild_vs3	mapflag	nowarp
    guild_vs3	mapflag	nowarpto
    guild_vs3	mapflag	nomvploot
    guild_vs3	mapflag	loadevent
    guild_vs3	mapflag	pvp
    guild_vs3	mapflag	pvp_noguild
    guild_vs3	mapflag	pvp_noparty
    
    guild_vs4	mapflag	nobranch
    guild_vs4	mapflag	nomemo
    guild_vs4	mapflag	nosave	SavePoint
    guild_vs4	mapflag	noteleport
    guild_vs4	mapflag	nowarp
    guild_vs4	mapflag	nowarpto
    guild_vs4	mapflag	nomvploot
    guild_vs4	mapflag	loadevent
    guild_vs4	mapflag	pvp
    
    pvp_n_2-5	mapflag	nobranch
    pvp_n_2-5	mapflag	nomemo
    pvp_n_2-5	mapflag	nosave	SavePoint
    pvp_n_2-5	mapflag	noteleport
    pvp_n_2-5	mapflag	nowarp
    pvp_n_2-5	mapflag	nowarpto
    pvp_n_2-5	mapflag	nomvploot
    pvp_n_2-5	mapflag	loadevent
    pvp_n_2-5	mapflag	gvg
    
    pvp_y_1-2	mapflag	nobranch
    pvp_y_1-2	mapflag	nomemo
    pvp_y_1-2	mapflag	nosave	SavePoint
    pvp_y_1-2	mapflag	noteleport
    pvp_y_1-2	mapflag	nowarp
    pvp_y_1-2	mapflag	nowarpto
    pvp_y_1-2	mapflag	nomvploot
    pvp_y_1-2	mapflag	loadevent
    pvp_y_1-2	mapflag	pvp
    
    rachel,119,144,4	script	PvP_Warper	413,{
    
    if(getgmlevel() > 99) goto gmenu;
    
    beginnplayer:
    if(agitcheck()) goto nowoetime;
    if(Class == 0) goto nonovice;
    delwaitingroom;
    waitingroom "["+ (getmapusers("guild_vs3")) +"] ["+ (getmapusers("guild_vs4")) +"] ["+ (getmapusers("pvp_n_2-5")) +"] ["+ (getmapusers("pvp_y_1-2")) +"]",0;
    	mes "[PvP Warper]";
    	mes "Hello, ^0000CD"+strcharinfo(0)+"^000000";
    	mes "Where do you want to battle?";
    	mes "     ";
    	mes "?What happens in the PvP Room";
    	mes "stays in the PvP Room.";
    	menu 	"- PVP Square ^FF0000["+ (getmapusers("guild_vs3")) +"]^000000",alljob,
    	"- PVP Arena ^FF0000["+ (getmapusers("guild_vs4")) +"]^000000",trans,
    	"- Guild vs. Guild Room ^FF0000["+ (getmapusers("pvp_n_2-5")) +"]^000000",gvgor,
    	"- Party vs. Party Room^FF0000["+getmapusers("pvp_y_1-2")+"]^000000",pavpa;
    
    	alljob:
    		if(getgmlevel()> 0) goto leise1;
    		query_sql ("SELECT `pvpladder`.`kills` FROM `pvpladder` WHERE `pvpladder`.`char_id` = "+ getcharid(0), .@kills);
    		query_sql ("SELECT `pvpladder`.`deaths` FROM `pvpladder` WHERE `pvpladder`.`char_id` = "+ getcharid(0), .@deaths);
    		announce "~ [ "+strcharinfo(0)+" ("+ .@kills +" Kills and "+ .@deaths +" Deaths) entered the pvp square! ] ~",0,0x00CCFF;
    		leise1:
    		warp "guild_vs3", 0,0;
    		end;
    
    	trans:
    		if(getgmlevel()> 0) goto leise2;
    		query_sql ("SELECT `pvpladder`.`kills` FROM `pvpladder` WHERE `pvpladder`.`char_id` = "+ getcharid(0), .@kills);
    		query_sql ("SELECT `pvpladder`.`deaths` FROM `pvpladder` WHERE `pvpladder`.`char_id` = "+ getcharid(0), .@deaths);
    		announce "~ [ "+strcharinfo(0)+" ("+ .@kills +" Kills and "+ .@deaths +" Deaths) entered the pvp arena! ] ~",0,0x00CCFF;
    		leise2:
    		warp "guild_vs4", 0,0;
    		end;
    
    	pavpa:
    	next;
    	mes "[PvP Warper]";
       		if (getcharid(1) == 0) {
          		mes "You are not in a party.";
    			close;
        		} else if (getpartyleader(getcharid(1),2) != getcharid(0)) {
          		mes "You are not the party leader.";
    			close;
       		} else {
           	getpartymember(getcharid(1));
          	if ($@partymembercount < 2) {
               	 mes "You need at least 2 party members for me to warp you.";
    			 close;
            	} else {
    	warpparty "pvp_y_1-2",0,0, getcharid(1);
            }
        	}
        	end;
    
    	nowoetime:
    		mes "[PvP Warper]";
    		mes "You cannot enter to PvP Room during WoE!";
    		close;
    
    	nonovice:
    		mes "[PvP Warper]";
    		mes "You are to weak to go in PvP!";
    		close;
    
    	gvgor:
    		next;
    		mes "[PvP Warper]";
    		mes "please insert your ^0000CDGuild name^000000";
    		input .@guildname$;
    		if (.@guildname$!=strcharinfo(2)) {
    			next;
    			mes "[PvP Warper]";
    			mes "Sorry, but I don't think I heard";
    			mes "you correctly";
    			end;
    			}
    		next;
    		mes "[PvP Warper]";
    		mes "Where you want to Begin Battle?";
    		menu "North",gvgnorth,"East",gvgeast,"South",gvgsouth,"West",gvgwest;
    
    
    
    
    	gvgnorth:
    		mapannounce "pvp_n_2-5",""+strcharinfo(0)+" of the "+strcharinfo(2)+" Guild has entered the Guild Battle Ground!",0,0x00CCFF;
    		set @glvl, 1;
    		warp "pvp_n_2-5", 99,133;
    		end;
    
    	gvgeast:
    		mapannounce "pvp_n_2-5",""+strcharinfo(0)+" of the "+strcharinfo(2)+" Guild has entered the Guild Battle Ground!",0,0x00CCFF;
    		set @glvl, 1;
    		warp "pvp_n_2-5", 133,99;
    		end;
    
    	gvgsouth:
    		mapannounce "pvp_n_2-5",""+strcharinfo(0)+" of the "+strcharinfo(2)+" Guild has entered the Guild Battle Ground!",0,0x00CCFF;
    		set @glvl, 1;
    		warp "pvp_n_2-5", 100,65;
    		end;
    
    	gvgwest:
    		mapannounce "pvp_n_2-5",""+strcharinfo(0)+" of the "+strcharinfo(2)+" Guild has entered the Guild Battle Ground!",0,0x00CCFF;
    		set @glvl, 1;
    		warp "pvp_n_2-5", 66,99;
    		end;
    
    	gmbeginmenu:
    		menu "Normal Player View",beginnplayer,"Warp Player Out of Batlleground",outwarp;
    		outwarp:
    			mapannounce "guild_vs3","I am Sorry..But GM "+strcharinfo(0)+" has warped all players out of this map!",0,0x00CCFF;
    			close2;
    		sleep2 3000;
    		mapwarp "guild_vs3","prontera",155,180;
    		end;
    
    OnPcKillEvent:
    	if((@glvl == 1)) goto glvln;
    	set @killer$, rid2name(killedrid);
    	if (getmapxy(@mapname$,@mapx,@mapy,0,""+strcharinfo(0)+"") != 0) goto Cancel;
    	if (@mapname$ != "guild_vs3") end;
    	if (strcharinfo(0)==@killer$ || "(null)"==@killer$) {
    	mapannounce "guild_vs3",""+strcharinfo(0)+" has suicided.",0,0x0000FF; }
    	end;
    
    glvln:
    	set @gglvlt, rand(1,3);
    	if((@gglvlt == 3)) goto gglvlt;
    	end;
    
    gglvlt:
    	atcommand "@glvl +1";
    	end;
    
    OnPcLoginEvent:
    	set @glvl, 0;
    	end;
    
    OnPcDeadEvent:
    	set @glvl, 0;
    	end;
    
    OnInit:
    	finalstrikeropresents:
    	delwaitingroom;
    	waitingroom "PVP Square - "+getmapusers("guild_vs3")+" Player ",0;
    	delwaitingroom;
    	waitingroom "PVP Square - "+getmapusers("guild_vs3")+" Player ",0;
    	delwaitingroom;
    	waitingroom "PVP Square - "+getmapusers("guild_vs3")+" Player ",0;
    	delwaitingroom;
    	waitingroom "PVP Arena - "+getmapusers("guild_vs4")+" Player ",0;
    	delwaitingroom;
    	waitingroom "PVP Arena - "+getmapusers("guild_vs4")+" Player ",0;
    	delwaitingroom;
    	waitingroom "PVP Arena - "+getmapusers("guild_vs4")+" Player ",0;
    	delwaitingroom;
    	waitingroom "Guild vs. Guild - "+getmapusers("pvp_n_2-5")+" Player ",0;
    	delwaitingroom;
    	waitingroom "Guild vs. Guild - "+getmapusers("pvp_n_2-5")+" Player ",0;
    	delwaitingroom;
    	waitingroom "Guild vs. Guild - "+getmapusers("pvp_n_2-5")+" Player ",0;
    	delwaitingroom;
    	waitingroom "Party vs. Party "+getmapusers("pvp_y_1-2")+" Player ",0;
    	delwaitingroom;
    	waitingroom "Party vs. Party "+getmapusers("pvp_y_1-2")+" Player ",0;
    	delwaitingroom;
    	waitingroom "Party vs. Party "+getmapusers("pvp_y_1-2")+" Player ",0;
    	goto finalstrikeropresents;
    }
    
    //===================== Duplicates ==============================================
    alberta,31,240,4	duplicate(PvP_Warper)	PvP_Warper#alb	413
    aldebaran,111,110,4	duplicate(PvP_Warper)	PvP_Warper#ald	413
    amatsu,213,101,4	duplicate(PvP_Warper)	PvP_Warper#ama	413
    ayothaya,155,119,4	duplicate(PvP_Warper)	PvP_Warper#ayo	413
    comodo,166,164,4	duplicate(PvP_Warper)	PvP_Warper#com	413
    einbroch,79,186,4	duplicate(PvP_Warper)	PvP_Warper#ein	413
    einbroch,231,190,2	duplicate(PvP_Warper)	PvP_Warper#ein2	413
    einbech,82,110,4	duplicate(PvP_Warper)	PvP_Warper#einb	413
    geffen,130,111,4	duplicate(PvP_Warper)	PvP_Warper#gef	413
    gonryun,147,109,4	duplicate(PvP_Warper)	PvP_Warper#gon	413
    izlude,142,139,4	duplicate(PvP_Warper)	PvP_Warper#izl	413
    hugel,85,147,3	duplicate(PvP_Warper)	PvP_Warper#hug	413
    lighthalzen,146,93,2	duplicate(PvP_Warper)	PvP_Warper#ligh	413
    louyang,218,119,4	duplicate(PvP_Warper)	PvP_Warper#lou	413
    morocc,145,81,4	duplicate(PvP_Warper)	PvP_Warper#mor	413
    payon,146,227,4	duplicate(PvP_Warper)	PvP_Warper#pay	413
    umbala,84,143,4	duplicate(PvP_Warper)	PvP_Warper#umb	413
    xmas,141,127,4	duplicate(PvP_Warper)	PvP_Warper#xmas	413
    yuno,176,187,4	duplicate(PvP_Warper)	PvP_Warper#yuno	413

     

    • Love 1
  6. this is best guide ever 

    https://github.com/rathena/rathena/wiki/Custom_Items

    you are using sql db or txt db? make sure which db u are using and edit accordingly 

    //Use SQL item_db, mob_db and mob_skill_db for the map server
    use_sql_db: no

    if you are able to load items and getting sprite error, check sprite view in itemdb with accessoryid.lub

    and resource file name in system/iteminfo.lub (if you are using 2013+ clients )

     

  7. 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ if(countitem(512)>0) { callfunc "CustomBox"; }},{},{}
    function	script	CustomBox	{
    	setarray .BoxItems[0],501,502,503;
    	
    	set .Random, getarraysize( .BoxItems );
    	delitem 512,1;
    	getitem .BoxItems[ rand( .Random ) ], 1;
    	announce "["+strcharinfo(0)+"] has just obtained a ["+getitemname(.BoxItems[ .Random ])+"] from a Custom Box.",0;
    	end;
    }

     

    • Like 1
×
×
  • Create New...