Jump to content

Onairda

Members
  • Posts

    167
  • Joined

  • Last visited

Posts posted by Onairda

  1. Hi please i need some help, what is the code to connect my Script into my Database table . here is my script please help .
    ready also the script this is very basic :)
     

    -	script	test	1,{
    OnPCLoginEvent:
    if( !#Verification ){
    mes "Input Verification Code:";
    input .@verificationcode; //This the Player Input Where he/she will input the Code that we given 
    
    if( .@verification != my SqL Database ) //then this is the Tracking area where i want to connect this script to my Database  if the inputed verificationcode is not equal in the code on my database the player will be kicked :)
    {
    mes"Sorry you Inputed a Code That is not List in our Database";
    next;
    atcommand "@kick" Player // the player will be kick
    }
    }
    else
    {
    set #Verification,1; //meaning if this is set to 1 this will not pop up again when they are logging in
    mes "Welcome to the Server :)";
    close;
    }
    
    
    }

     

  2. hi :) . i want to request an npc that will popup to all new Register player ingame. that they need a code to proceed ingame 

    this msg will just only pop up once :)

    example:

    i registered a new account from my control panel then

    when i login in-game and created a new character .

    input box pop up : "Hi Please Enter Verification Code:"
    then trace the Verification code in Database :) . if the Verification code Exist they can now play (please only 1 code for 1 Account), but if  the verification code is not in database or wrong they will be kick out :) and if they try to login the script will pop up again  Enter Verfication code: 
    Thankyou iloveyou

  3. How to Remove this message 
    "please wait 10 seconds before trying to logout" 

     

    i take almost 5min before i can change my character :( please help . 
    i tried to /sit then wait for 10 sec . afger 10sec click character select then still "please wait 10 seconds before trying to logout  "
    i tried to teleport then character select still " please wait 10 seconds before trying to logout " 

    help

  4. 7 hours ago, chatterboy said:

    Suggestion sir its better use the atcommand_athena.conf ^_^

    but i have many custom map ingame :(. using this script is more useful and easy to add another map in @go commands please someone help /thx/heh 

  5. -	script	gobind	-1,{
    // Script-Based @go Alternative by jTynne
    // Version: 2.0 - January 2013
    // Feel free to edit this script or simply use it as a base.
    // Please give credit if you re-release this script with your own modifications.
    // Want to show your thanks via Paypal? Shoot me a buck or two : [email protected] - Thanks!
    
    OnInit:
    	unbindatcmd "go";
    	bindatcmd("go","gobind::OnAtcommand",0,10);
    	end;
    	
    
    OnAtcommand:
    set @warp$,.@atcmd_parameters$[0];
    set @warp,@warp$;
    
    if(@warp$ == "list") { dispbottom "Usage: @go #"; 
    dispbottom "0=Prontera         1=Morroc        2=Geffen      3=Payon      4=Alberta";
    dispbottom "5=Izlude           6=Al De Baran   7=Lutie       8=Comodo     9=Yuno";
    dispbottom "10=Amatsu          11=Gonryun      12=Umbala     13=Niflheim  14=Louyang";
    dispbottom "15=Novice Grounds  16=Prison       17=Jawaii     18=Ayothaya  19=Einbroch";
    dispbottom "20=Lighthalzen     21=Einbech      22=Hugel      23=Rachel    24=Veins";
    dispbottom "25=Moscovia        26=Midgard Camp 27=Manuk      28=Splendide 29=Brasilis";
    dispbottom "30=El Dicastes     31=Mora         32=Dewata     33=Malangdo  34=Port Malaya";
    dispbottom "35=Eclage          36=Gladia       37=Serenglade 38=Excolo    39=Sakura Town";
    dispbottom "40=Eden Village    41=Helheim      42=Paros Lighthouse 43=Paradise Group HQ  44=Morroc Ruins";
    dispbottom "45=Old Morroc      46=Old Payon    47=Autumn Prontera      48=Winter Prontera";
    dispbottom "49=Prontera Job Building           50=Verus                51=jTynne's Grotto";
    dispbottom "52=Deathmas Prontera               53=Muspelheim";
    dispbottom "Note: Non-VIP users have a 3 second delay when using this command and cannot access beyond @go 5.";
    end;
    }
    
    if(getgroupid() < 1) { 
    	if(@warp > 5) { dispbottom "[Server] : Non-VIP members may only use @go 0-5. To use the full list, please upgrade to VIP status."; end;}
    	progressbar "green",3; }
    
    // map name,x,y,level requirement, group id minimum requirement
    if(@warp$ == "0" || @warp$ == "pr" || @warp$ == "pro" || @warp$ == "pron" || @warp$ == "pront" || @warp$ == "prontera") { callsub	Process,"prontera",156,191,0,0; }
    if(@warp$ == "1" || @warp$ == "moc" || @warp$ == "mor" || @warp$ == "moro" || @warp$ == "moroc" || @warp$ == "morocc") { callsub	Process,"morocc",156,93,0,0; }
    if(@warp$ == "2" || @warp$ == "gef" || @warp$ == "geffen") { callsub	Process,"geffen",119,59,0,0; }
    if(@warp$ == "3" || @warp$ == "pay" || @warp$ == "payo" || @warp$ == "payon") { callsub	Process,"payon",177,101,0,0; }
    if(@warp$ == "4" || @warp$ == "al" || @warp$ == "alb" || @warp$ == "alberta") { callsub	Process,"alberta",192,147,0,0; }
    if(@warp$ == "5" || @warp$ == "iz" || @warp$ == "izl" || @warp$ == "izlude") { callsub	Process,"izlude",128,114,0,0; }
    if(@warp$ == "6" || @warp$ == "ald" || @warp$ == "alde" || @warp$ == "aldebaran") { callsub	Process,"aldebaran",140,131,0,0; }
    if(@warp$ == "7" || @warp$ == "xmas" || @warp$ == "lutie") { callsub	Process,"xmas",147,134,0,0; }
    if(@warp$ == "8" || @warp$ == "co" || @warp$ == "com" || @warp$ == "comodo") { callsub	Process,"comodo",209,143,0,0; }
    if(@warp$ == "9" || @warp$ == "ju" || @warp$ == "yu" || @warp$ == "juno" || @warp$ == "yuno") { callsub	Process,"yuno",157,51,0,0; }
    if(@warp$ == "10" || @warp$ == "ama" || @warp$ == "amat" || @warp$ == "amatsu") { callsub	Process,"amatsu",198,84,0,0; }
    if(@warp$ == "11" || @warp$ == "gon" || @warp$ == "gonr" || @warp$ == "gonryun") { callsub	Process,"gonryun",160,120,0,0; }
    if(@warp$ == "12" || @warp$ == "um" || @warp$ == "umb" || @warp$ == "umbala") { callsub	Process,"umbala",89,157,0,0; }
    if(@warp$ == "13" || @warp$ == "nif" || @warp$ == "nifl" || @warp$ == "niflh" || @warp$ == "niflheim") { callsub	Process,"niflheim",21,153,0,0; }
    if(@warp$ == "14" || @warp$ == "lou" || @warp$ == "ly" || @warp$ == "louyang") { callsub	Process,"louyang",217,40,0,0; }
    if(@warp$ == "15" || @warp$ == "nov" || @warp$ == "ng") { callsub	Process,"new_1-1",53,111,0,10; }	// Novice Grounds : GM Group 10 or higher only.
    if(@warp$ == "16" || @warp$ == "jail" || @warp$ == "prison") { callsub	Process,"sec_pri",23,61,0,10;}		// Prison: GM Group 10 or higher only.
    if(@warp$ == "17" || @warp$ == "jaw" || @warp$ == "jawa" || @warp$ == "jawaii") { callsub	Process,"jawaii",249,127,0,0; }
    if(@warp$ == "18" || @warp$ == "ayo" || @warp$ == "aya" || @warp$ == "ayothoya" || @warp$ == "ayathoya" || @warp$ == "ayothaya") { callsub	Process,"ayothaya",151,117,0,0; }
    if(@warp$ == "19" || @warp$ == "ein" || @warp$ == "ein1" || @warp$ == "einbr" || @warp$ == "einbro" || @warp$ == "einbroch") { callsub	Process,"einbroch",64,200,0,0; }
    if(@warp$ == "20" || @warp$ == "lhz" || @warp$ == "light" || @warp$ == "lighthalzen") { callsub	Process,"lighthalzen",158,92,0,0; }
    if(@warp$ == "21" || @warp$ == "einbe" || @warp$ == "ein2" || @warp$ == "einbech") { callsub	Process,"einbech",70,95,0,0; }
    if(@warp$ == "22" || @warp$ == "hu" || @warp$ == "hug" || @warp$ == "hugel") { callsub	Process,"hugel",96,145,0,0; }
    if(@warp$ == "23" || @warp$ == "ra" || @warp$ == "rach" || @warp$ == "rachel") { callsub	Process,"rachel",130,110,0,0; }
    if(@warp$ == "24" || @warp$ == "ve" || @warp$ == "vei" || @warp$ == "vein" || @warp$ == "veins") { callsub	Process,"veins",216,123,0,0; }
    if(@warp$ == "25" || @warp$ == "mosc" || @warp$ == "mosk" || @warp$ == "mosco" || @warp$ == "moscov" || @warp$ == "moscovia") { callsub	Process,"moscovia",223,184,0,0; }
    if(@warp$ == "26" || @warp$ == "camp" || @warp$ == "mid" || @warp$ == "midgard") { callsub	Process,"mid_camp",180,240,0,0; }
    if(@warp$ == "27" || @warp$ == "man" || @warp$ == "manuk") { callsub	Process,"manuk",282,138,0,0; }
    if(@warp$ == "28" || @warp$ == "spl" || @warp$ == "splen" || @warp$ == "splend" || @warp$ == "splendide") { callsub	Process,"splendide",211,179,0,0; }
    if(@warp$ == "29" || @warp$ == "br" || @warp$ == "bra" || @warp$ == "bras" || @warp$ == "brasi" || @warp$ == "brasil" || @warp$ == "brasilis") { callsub	Process,"brasilis",182,239,0,0; }
    if(@warp$ == "30" || @warp$ == "el" || @warp$ == "el dic" || @warp$ == "dic" || @warp$ == "dicas" || @warp$ == "dicast" || @warp$ == "el dicastes" || @warp$ == "dicastes") { callsub	Process,"dicastes01",198,187,0,0; }
    if(@warp$ == "31" || @warp$ == "mor" || @warp$ == "mora") { callsub	Process,"mora",44,151,0,0; }
    if(@warp$ == "32" || @warp$ == "dew" || @warp$ == "dewa" || @warp$ == "dewata") { callsub	Process,"dewata",200,180,0,0; }
    if(@warp$ == "33" || @warp$ == "mal" || @warp$ == "malang" || @warp$ == "malangdo") { callsub	Process,"malangdo",140,114,0,0; }
    if(@warp$ == "34" || @warp$ == "port" || @warp$ == "port malaya" || @warp$ == "malay" || @warp$ == "malaya") { callsub	Process,"malaya",242,211,0,0; }
    if(@warp$ == "35" || @warp$ == "ecl" || @warp$ == "ecla" || @warp$ == "eclag" || @warp$ == "eclage") { callsub	Process,"eclage",110,39,0,0; }
    // Custom @go locations below. Also edit them in or out of the master list found towards the top of this script file.
    if(@warp$ == "36" || @warp$ == "gla" || @warp$ == "glad" || @warp$ == "gladia") { callsub	Process,"gladia",73,71,0,0; }
    if(@warp$ == "37" || @warp$ == "ser" || @warp$ == "seren" || @warp$ == "serenglade") { callsub	Process,"serenglade",84,72,0,0; }
    if(@warp$ == "38" || @warp$ == "ex" || @warp$ == "exc" || @warp$ == "excolo") { callsub	Process,"excolo",101,93,0,0; }
    if(@warp$ == "39" || @warp$ == "sak" || @warp$ == "sakura") { callsub	Process,"sakura",114,144,0,0; }
    if(@warp$ == "40" || @warp$ == "ed" || @warp$ == "eden") { callsub	Process,"eden",61,38,0,0; }
    if(@warp$ == "41" || @warp$ == "hel" || @warp$ == "hell" || @warp$ == "helh" || @warp$ == "helheim") { callsub	Process,"helheim",132,111,0,0; }
    if(@warp$ == "42" || @warp$ == "par" || @warp$ == "paros" || @warp$ == "lighthouse") { callsub	Process,"cmd_fild07",132,131,0,0; }
    if(@warp$ == "43" || @warp$ == "hq" || @warp$ == "paradise") { callsub	Process,"moc_para01",30,15,0,0; }
    if(@warp$ == "44" || @warp$ == "ruins" || @warp$ == "morocc ruins") { callsub	Process,"moc_ruins",101,112,0,0; }
    if(@warp$ == "45" || @warp$ == "mem1" || @warp$ == "morocc2") { callsub	Process,"morocc_mem",160,116,0,0; }
    if(@warp$ == "46" || @warp$ == "mem2" || @warp$ == "payon2") { callsub	Process,"payon_mem",90,149,0,0; }
    if(@warp$ == "47" || @warp$ == "autumn" || @warp$ == "autumn prontera" || @warp$ == "fall") { callsub	Process,"au_pront",155,186,0,0; }
    if(@warp$ == "48" || @warp$ == "winter" || @warp$ == "winter prontera" || @warp$ == "snow") { callsub	Process,"win_pront",155,186,0,0; }
    if(@warp$ == "49" || @warp$ == "prt_in" || @warp$ == "job") { callsub	Process,"prt_in",43,107,0,0; }
    if(@warp$ == "50" || @warp$ == "ver" || @warp$ == "verus") { callsub	Process,"verus04",110,215,0,0; }
    if(@warp$ == "51" || @warp$ == "jt" || @warp$ == "jtynne" || @warp$ == "tynne") { if(getgroupid() < 5) { dispbottom "[jTynne] : Sorry, you can't sit with us."; end;} callsub	Process,"jtynne01",48,67,0,0; }
    if(@warp$ == "52" || @warp$ == "dxmas" || @warp$ == "kimi" || @warp$ == "death" || @warp$ == "deathmas" || @warp$ == "celine") { callsub	Process,"win_pront13",155,190,0,0; }
    if(@warp$ == "53" || @warp$ == "muspelheim" || @warp$ == "mus" || @warp$ == "muspel") { callsub	Process,"muspelheim",130,149,0,0; }
    
    else {
    //  || @warp$ == ""
    dispbottom "[Server] : To use @go, enter a number 0 or greater. For a full list of available warps, type '@go list'.";
    end;
    }
    Process:
    set @group,getarg(4);
    set @mapname$,getarg(0);
    set @x,getarg(1);
    set @y,getarg(2);
    if(@group > 0) { if(getgroupid() < @group) { dispbottom "[Server] : This map cannot be accessed by your group/account level."; end;} }
    	specialeffect2 543;
    	sleep2 1;
    warp @mapname$,@x,@y;
    end;
    
    
    
    
    
    end;
    
    }

    hi  how can i make that script will not bypass the map<tab>mapflag<tab>nowarp and nowarpto . 

    i have an idea is this possible please help 

    if(character at guild_vs5)

    {
    unbindatcmd "go"; ?

    or 

    disable @commands in the area
    }

  6. //===== rAthena Script =======================================
    //= Private Branch & Branch Room
    //===== By: ==================================================
    //= AnnieRuru
    //===== Current Version: =====================================
    //= 1.0
    //===== Compatible With: =====================================
    //= rAthena Project
    //===== Description: =========================================
    //= Allows players to rent an Branch room for personal use,
    //= or for a party or guild.
    //===== Additional Comments: =================================
    //= 1.0 First version, edited. [Euphy]
    //============================================================
    
    prontera,86,43,5	script	Private Branch Room	870,{
    	mes "[Private Branch Room]";
    	mes "Please select a private Branch room.";
    	if ( getvariableofnpc( .rentcost, "Branch Summoner" ) )
    		mes "The cost to rent a room for "+ getvariableofnpc( .timeout, "Branch Summoner" ) +" minutes is "+ callfunc("F_InsertComma", getvariableofnpc( .rentcost, "Branch Summoner" ) ) +" zeny.";
    	else
    		mes "You can only use the room for only "+ getvariableofnpc( .timeout, "Branch Summoner" ) +" minutes.";
    	mes " ";
    	for ( .@i = 1; .@i <= 8; .@i++ )
    		if ( getvariableofnpc( .renttime[.@i], "Branch Summoner" ) )
    			mes "Room #"+ .@i +" = "+ .color$[ .type[.@i] ] + .whoinuse$[.@i] +"^000000";
    	next;
    	.@room = select(
    		"Branch Room 1 ["+ getmapusers("06guild_01") +"]",
    		"Branch Room 2 ["+ getmapusers("06guild_02") +"]",
    		"Branch Room 3 ["+ getmapusers("06guild_03") +"]",
    		"Branch Room 4 ["+ getmapusers("06guild_04") +"]",
    		"Branch Room 5 ["+ getmapusers("06guild_05") +"]",
    		"Branch Room 6 ["+ getmapusers("06guild_06") +"]",
    		"Branch Room 7 ["+ getmapusers("06guild_07") +"]",
    		"Branch Room 8 ["+ getmapusers("06guild_08") +"]");
        if ( getvariableofnpc( .renttime[.@room], "Branch Summoner" ) ) {
            if ( .inuseid[.@room] == getcharid( .type[.@room] ) ) {
                warp "06guild_0"+ .@room, 0,0;
                close;
            } else {
                mes "[Private MVP Room]";
                mes "This room is reserved for ";
                mes .color$[ .type[.@room] ] + .whoinuse$[.@room] +"^000000.";
                mes "Please select another.";
                close;
            }
    	}
    	mes "[Private Branch Room]";
    	mes "Reserve this room for...";
    	next;
    	set .@type, select( "For my party members", "For my guild members", "For personal account use" );
    	if ( !getcharid(.@type) ) {
    		mes "[Private Branch Room]";
    		mes "You do not own a "+( ( .@type == 1 )? "Party" : "Guild" )+".";
    		close;
    	}
    	else if ( Zeny < getvariableofnpc( .rentcost, "Branch Summoner" ) ) {
    		mes "You don't have enough zeny to rent a room.";
    		close;
    	}
    	else if ( getvariableofnpc( .renttime[.@room], "Branch Summoner" ) ) {
    		mes "[Private Branch Room]";
    		mes "I'm sorry, somebody else has already registered this room faster than you.";
    		close;
    	}
    	for ( .@i = 1; .@i <= 8; .@i++ ) {
    		if ( ( getvariableofnpc( .renttime[.@i], "Branch Summoner" ) ) && .@type == .type[.@i] && getcharid(.@type) == .inuseid[.@i] ) {
    			mes "[Private Branch Room]";
    			mes "You already rented Room#"+ .@i +". Use that room instead.";
    			close;
    		}
    	}
    	set .type[.@room], .@type;
    	set .inuseid[.@room], getcharid(.@type);
    	set .whoinuse$[.@room], strcharinfo( ( .@type == 3 )? 0 : .@type );
    	Zeny -= getvariableofnpc( .rentcost, "Branch Summoner" );
    	warp "06guild_0"+ .@room, 0,0;
    	killmonsterall "06guild_0"+ .@room;
    	donpcevent "Branch Summoner#"+ .@room +"::OnEnterMap";
    	close;
    OnInit:
    	.color$[1] =  "^EE8800"; // party color
    	.color$[2] =  "^70CC11"; // guild color
    	.color$[3] =  "^0000FF"; // account color
    	end;
    }
    
    -	script	Branch Summoner	-1,{
    	mes "[Branch Summoner]";
    	mes "Time left: " + callfunc( "Time2Str", .renttime[ atoi( strnpcinfo(2) ) ] + .timeout * 60 );
    	mes "Hi, what can I do for you?";
    	next;
    	switch ( select(.menu$) ) {
    	case 1:
    		mes "[Branch Summoner]";
    		if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) ) {
    			mes "I cannot offer heal service when there are monsters around.";
    			close;
    		}
    		sc_end SC_STONE;
    		sc_end SC_SLOWDOWN;
    		sc_end SC_FREEZE;
    		sc_end SC_SLEEP;
    		sc_end SC_CURSE;
    		sc_end SC_SILENCE;
    		sc_end SC_CONFUSION;
    		sc_end SC_BLIND;
    		sc_end SC_BLEEDING;
    		sc_end SC_DECREASEAGI;
    		sc_end SC_POISON;
    		sc_end SC_HALLUCINATION;
    		sc_end SC_STRIPWEAPON;
    		sc_end SC_STRIPARMOR;
    		sc_end SC_STRIPHELM;
    		sc_end SC_STRIPSHIELD;
    		sc_end SC_CHANGEUNDEAD;
    		sc_end SC_ORCISH;
    		sc_end SC_BERSERK;
    		sc_end SC_SKE;
    		sc_end SC_SWOO;
    		sc_end SC_SKA;
    		percentheal 100,100;
    		specialeffect2 EF_HEAL;
    		mes "You are completely healed.";
    		close;
    	case 2:
    		if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) ) {
    			mes "[Branch Summoner]";
    			mes "I cannot summon another Branch when there are monsters around.";
    			close;
    		} else if ( .Branchcost ) {
    			mes "[Branch Summoner]";
    			mes "The cost to summon an Branch is "+ callfunc( "F_InsertComma", .Branchcost ) +" zeny.";
    			next;
    			set .@menu, select(.Branchid_menu$) -1;
    			mes "[Branch Summoner]";
    			if ( Zeny < .Branchcost ) {
    				mes "You don't have enough zeny to summon an Branch.";
    				close;
    			}
    		} else {
    			set .@menu, select(.Branchid_menu$) -1;
    			mes "[Branch Summoner]";
    		}
    		mes "Please get ready.";
    		close2;
    		if ( Zeny < .Branchcost ) end;
    		Zeny -= .Branchcost;
    		monster "this", 0, 0, "--ja--", .Branchid[.@menu], 1, strnpcinfo(3)+"::OnMobDead";
    		end;
    	case 3:
    		if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) ) {
    			mes "[Branch Summoner]";
    			mes "I cannot summon another mini-boss when there are monsters around.";
    			close;
    		} else if ( .bosscost ) {
    			mes "[Branch Summoner]";
    			mes "The cost to summon a mini-boss is "+ callfunc( "F_InsertComma", .bosscost ) +" zeny.";
    			next;
    			set .@menu, select(.bossid_menu$) -1;
    			mes "[Branch Summoner]";
    			if ( Zeny < .bosscost ) {
    				mes "You doesn't have enough zeny to summon a mini-boss.";
    				close;
    			}
    		} else {
    			set .@menu, select(.bossid_menu$) -1;
    			mes "[Branch Summoner]";
    		}
    		mes "Please get ready.";
    		close2;
    		if ( Zeny < .bosscost ) end;
    		Zeny -= .bosscost;
    		monster "this", 0, 0, "--ja--", .bossid[.@menu], 1, strnpcinfo(3)+"::OnMobDead";
    		end;
    	case 4:
    		if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) > 0 ) {
    			mes "[Branch Summoner]";
    			mes "I cannot offer this service when there are monsters around.";
    			close;
    		}
    		close2;
    		callshop "Branch room#branch", 1;
    		end;
    	case 5:
    		mes "[Branch Summoner]";
    		mes "Are you sure you want to leave this room?";
    		next;
    		if ( select( "Yes:No") == 1 )
    			warp .respawnmap$, .respawnx, .respawny;
    		close;
    	case 6:
    		mes "[Branch Summoner]";
    		if ( getmapusers( strcharinfo(3) ) > 1 ) {
    			mes "There are still some players in this room. Make sure you are the last member in this room to use this option.";
    			close;
    		}
    		mes "Are you sure you want to give up this room?";
    		if ( .rentcost )
    			mes "You will need to pay again to enter this room.";
    		next;
    		if ( select( "Yes", "No" ) == 2 ) close;
    		awake strnpcinfo(0);
    		end;
    	}
    	close;
    
    OnMobDead:
    	end;
    
    OnEnterMap:
    	.@id = atoi( strnpcinfo(2) );
    	.renttime[.@id] = gettimetick(2);
    	sleep .timeout * 60000;
    	mapwarp strnpcinfo(4), .respawnmap$, .respawnx, .respawny;
    	.renttime[.@id] = 0;
    	killmonsterall strnpcinfo(4);
    	end;
    
    OnInit:
    	if ( !getstrlen( strnpcinfo(2) ) ) {
    
    //	Config ---------------------------------------------------------------------------------------
    
    	// Room rental time, in minutes.
    	// When time runs out, all players inside the room will be kicked out.
    	// Do NOT set this to zero!
    	set .timeout, 60;
    
    	set .rentcost, 50000000;	// Zeny cost for renting a room (0 = free)
    	set .Branchcost, 100000;	// Zeny cost to summon an Branch (0 = free)
    	set .bosscost, 50000;	// Zeny cost to summon a boss monster (0 = free)
    
    	//	Options setting inside Branch room
    	set .@menu[1], 1;	// Turn Heal option On/Off
    	set .@menu[2], 1;	// Turn Branch Summoning On/Off
    	set .@menu[3], 1;	// Turn Mini boss Summoning On/Off
    	set .@menu[4], 0;	// Sell items (branches) On/Off (see shop below, before the mapflags)
    
    	// Respawn point when players leave the room
    	set .respawnmap$, "prontera";
    	set .respawnx, 150;
    	set .respawny, 174;
    
    	setarray .Branchid[0],
    		1511,//	Amon Ra
    		1647,// Assassin Cross Eremes
    		1785,//	Atroce
    		1630,//	Bacsojin
    		1039,//	Baphomet
    		1874,//	Beelzebub
    		1272,//	Dark Lord
    		1719,//	Datale
    		1046,//	Doppelgangger
    		1389,//	Dracula
    		1112,//	Drake
    		1115,//	Eddga
    		1418,//	Evil Snake Lord
    		1871,//	Fallen Bishop
    		1252,//	Garm
    		1768,//	Gloom Under Night
    		1086,//	Golden Thief Bug
    		1885,//	Gopinich
    		1649,// High Priest Magaleta
    		1651,// High Wizard Katrinn
    		1832,//	Ifrit
    		1492,//	Incantation Samurai
    		1734,//	Kiel D-01
    		1251,//	Knight of Windstorm
    		1779,//	Ktullanux
    		1688,//	Lady Tanee
    		1646,// Lord Knight Seyren
    		1373,//	Lord of Death
    		1147,//	Maya
    		1059,//	Mistress
    		1150,//	Moonlight Flower
    		1087,//	Orc Hero
    		1190,//	Orc Lord
    		1038,//	Osiris
    		1157,//	Pharaoh
    		1159,//	Phreeoni
    		1623,//	RSX 0806
    		1650,// Sniper Shecil
    		1583,//	Tao Gunka
    		1708,//	Thanatos
    		1312,//	Turtle General
    		1751,//	Valkyrie Randgris
    		1685,// Vesper
    		1648,// Whitesmith Harword
    		1917,// Wounded Morroc
    		1658;//	Ygnizem
    
    	setarray .bossid[0],
    		1096,// Angeling
    		1388,// Archangeling
    		1795,// Bloody Knight
    		1830,// Bow Guardian
    		1839,// Byorgue
    		1309,// Cat O' Nine Tail
    		1283,// Chimera
    		1302,// Dark Illusion
    		1198,// Dark Priest
    		1582,// Deviling
    		1091,// Dragon Fly
    		1093,// Eclipse
    		1205,// Executioner
    		1783,// Galion
    		1592,// Gangster
    		1120,// Ghostring
    		1259,// Gryphon
    		1720,// Hydro
    		1090,// Mastering
    		1289,// Maya Purple
    		1262,// Mutant Dragon
    		1203,// Mysteltainn
    		1870,// Necromancer
    		1295,// Owl Baron
    		1829,// Sword Guardian
    		1204,// Tirfing
    		1089,// Toad
    		1092,// Vagabond Wolf
    		1765;// Valkyrie
    
    //	Config Ends ------------------------------------------------------------------------
    
    		if ( !.timeout ) set .timeout, 60;
    		.menu$ = ( .@menu[1] ? "Heal" : "" ) +":" ;
    		.menu$ = .menu$ + ( .@menu[2] ? "Summon Branch" : "" ) +":";
    		.menu$ = .menu$ + ( .@menu[3] ? "Summon Mini-boss" : "" ) +":";
    		.menu$ = .menu$ + ( .@menu[4] ? "Buy branches" : "" ) +":";
    		.menu$ = .menu$ + "Leave this room:Give up this room";
    		if ( .@menu[2] ) {
    			.@size = getarraysize( .Branchid );
    			for ( .@i = 0; .@i < .@size; .@i++ )
    				.Branchid_menu$ = .Branchid_menu$ + getmonsterinfo( .Branchid[.@i], MOB_NAME ) +":";
    		}
    		if ( .@menu[3] ) {
    			.@size = getarraysize( .bossid );
    			for ( .@i = 0; .@i < .@size; .@i++ )
    				.bossid_menu$ = .bossid_menu$ + getmonsterinfo( .bossid[.@i], MOB_NAME ) +":";
    		}
    	}
    	else {
    		mapannounce strnpcinfo(4), "An administrator has refreshed the server. Please re-register this room.", bc_map;
    		mapwarp strnpcinfo(4), .respawnmap$, .respawnx, .respawny;
    	}
    	end;
    }
    
    -	shop	Branch room#branch	-1,604:100000,12103:1000000
    
    //06guild_01,49,49,4	duplicate(Branch Summoner)	Branch Summoner#1	116
    //06guild_02,49,49,4	duplicate(Branch Summoner)	Branch Summoner#2	116
    //06guild_03,49,49,4	duplicate(Branch Summoner)	Branch Summoner#3	116
    //06guild_04,49,49,4	duplicate(Branch Summoner)	Branch Summoner#4	116
    //06guild_05,49,49,4	duplicate(Branch Summoner)	Branch Summoner#5	116
    //06guild_06,49,49,4	duplicate(Branch Summoner)	Branch Summoner#6	116
    //06guild_07,49,49,4	duplicate(Branch Summoner)	Branch Summoner#7	116
    //06guild_08,49,49,4	duplicate(Branch Summoner)	Branch Summoner#8	116
    
    06guild_01	mapflag	nowarpto
    06guild_02	mapflag	nowarpto
    06guild_03	mapflag	nowarpto
    06guild_04	mapflag	nowarpto
    06guild_05	mapflag	nowarpto
    06guild_06	mapflag	nowarpto
    06guild_07	mapflag	nowarpto
    06guild_08	mapflag	nowarpto
    06guild_01	mapflag	nomemo
    06guild_02	mapflag	nomemo
    06guild_03	mapflag	nomemo
    06guild_04	mapflag	nomemo
    06guild_05	mapflag	nomemo
    06guild_06	mapflag	nomemo
    06guild_07	mapflag	nomemo
    06guild_08	mapflag	nomemo
    06guild_01	mapflag	noteleport
    06guild_02	mapflag	noteleport
    06guild_03	mapflag	noteleport
    06guild_04	mapflag	noteleport
    06guild_05	mapflag	noteleport
    06guild_06	mapflag	noteleport
    06guild_07	mapflag	noteleport
    06guild_08	mapflag	noteleport
    06guild_01	mapflag	nosave	SavePoint
    06guild_02	mapflag	nosave	SavePoint
    06guild_03	mapflag	nosave	SavePoint
    06guild_04	mapflag	nosave	SavePoint
    06guild_05	mapflag	nosave	SavePoint
    06guild_06	mapflag	nosave	SavePoint
    06guild_07	mapflag	nosave	SavePoint
    06guild_08	mapflag	nosave	SavePoint
    06guild_01	mapflag	nopenalty
    06guild_02	mapflag	nopenalty
    06guild_03	mapflag	nopenalty
    06guild_04	mapflag	nopenalty
    06guild_05	mapflag	nopenalty
    06guild_06	mapflag	nopenalty
    06guild_07	mapflag	nopenalty
    06guild_08	mapflag	nopenalty

    Hi im using this Private MVP room but i am having an error when it comes in checking the room , if there is a player or party inside the Room #1   it should be you can't enter inside the  Room#1 because there is a player

     but my problem is . if there's a player still anyone can enter in Room #1

    i don't have any error codes

    i think the code in trapping is in this part but i tried everything still the same

    Quote

     if ( getvariableofnpc( .renttime[.@room], "Branch Summoner" ) ) {
            if ( .inuseid[.@room] == getcharid( .type[.@room] ) ) {
                warp "06guild_0"+ .@room, 0,0;
                close;
            } else {
                mes "[Private MVP Room]";
                mes "This room is reserved for ";
                mes .color$[ .type[.@room] ] + .whoinuse$[.@room] +"^000000.";
                mes "Please select another.";
                close;
            }
        } 

     

  7. hi . in my server i have 2 PvP Room No Gods Room and Donator Room


    No Gods PvP -  i want to disable the mjolnir and sleipnir inside the map 

    so i edit my item_noequip.txt 

    2831,2  // sleipnir

    1530,2 // mjolnir

     

     

    my problem is , all PvP Room including my Donator room i can't equip my Gods Item

  8. On 1/10/2017 at 8:16 PM, Chaos92 said:

    make sure u are using the disguise event npc here : https://github.com/rathena/rathena/blob/master/npc/custom/events/disguise.txt

    still not working sir /wah why this happening , my rathena is clean , all clean , i already installed PCRE enable it and compile the server WHYYY :((((((((((((

    On 1/11/2017 at 6:20 PM, HappyMan said:

    change your langtype in your xml. i have same problem and i try to change my langtype it work.

    hi sir what is your langtype ? and what exe version are you using ? 

    On 1/11/2017 at 6:20 PM, HappyMan said:

    change your langtype in your xml. i have same problem and i try to change my langtype it work.

    iloveyou bro thankyou :) !

  9. 12 hours ago, Akkarin said:

    1. The name of the script is not a descriptive topic title.

    2. rAthena doesn't use SVN.

    3. "latest" will get you ignored by our developers.

    4. Show logs or debug output to prove it's not being read.

    5. Did you follow the notes in the script file header that says you need to have PCRE installed?

    im sorry sir Akkarin . there's no error in script , i also installed the PCRE in my Centos  i also followed this steps 
     

    if you are using centos :

    yum install pcre-devel

     

    when compiling server :

    ./configure --with-pcre

    make server

    12 hours ago, Chaos92 said:

    make sure u already install pcre

    if you are using centos :

    yum install pcre-devel

     

    when compiling server :

    ./configure --with-pcre

     

    or u can read it here : https://github.com/rathena/rathena/wiki/PCRE

    yes sir already did that . but still the same , there is no error i see in the script also in map-server so i can't identify it 

    6 hours ago, Kid Rock said:

    try this

    Disguise Event

    sir still not reading the Answer of any player sir please help 

     

     

    sir please help me try it sir on latest git

×
×
  • Create New...