Jump to content

patr3k

Members
  • Posts

    257
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by patr3k

  1. where can i insert this to last man standing script?

    if( Class == Job_Novice ){
    mes "Novice cant join.";
    close;
    }
    
    

    and this one

    setmadogear 0;
    setdragon 0;
    if( ismounting() ) setmounting;
    setriding 0;
    setfalcon 0;
    setcart 0;
    
    

    attached last man standing script

    lms.txt

  2. what is the right tab for this script

    /--------------------------------------------------
    
    prontera,156,167,0    warp poringevent 2,2,poring_w01,106,129
    
    //--------------------------------------------------
    
    poring_w01,100,127,4 script Poring Catcher#evnt2 715,{
    
    //--------------------------------------------------
    
    

  3. No error in console. I mean when i'm about to rent a pecopeco for "Paladin" using that script. It says,

    "Sorry, please make sure that you have the required job and skill, also not riding one."

    But i already learned the skills "Riding lvl 1 (Passive), Cavalry Mastery lvl 5 (Passive)".

  4. I'm using this script. But there's no rental for Paladin. Can someone fix this. thanks!

    //===== eAthena Script =======================================
    //= Breeder
    //===== By: ==================================================
    //= Ace
    //===== Current Version: =====================================
    //= 1.2
    //===== Compatible With: =====================================
    //= rAthena SVN 15400 and up.
    //= Client that supports new mounts.
    //===== Description: =========================================
    //= Known as "Universal Rental NPC"
    //= Let's a player rent a pecopeco, falcon, cart, warg
    //= or ride a dragon, gryphon, and mado.
    //===== Changelog: ===========================================
    //= 1.1	Added Peco peco option, forgot to.
    //=		Changed KN_RIDING to RK_DRAGONTRAINING
    //=		for renting dragons.
    //= 1.2	Added restrictions for renting falcons and wargs.
    //=		Added Warg Mastery skill requirement.
    //===== Additional Comments: =================================
    //= No bugs found so far.
    //= Please report bugs to me([email protected])
    //============================================================
    
    -	script	gbreeder	448,{
    
    mes	"^FF0000Universal Rental NPC^000000";
    mes	"Greetings " + strcharinfo(0) + "!";
    mes	"How may I help you today?";
    next;
    
    switch(select("Rental Services:Cancel"))
    {
    	case 1:
    		mes	"^FF0000Universal Rental NPC^000000";
    		mes	"Please select from the items below:";
    
    		switch(select("PecoPeco:Cart:Falcon:Wolf Flute:Dragon:Gryphon:Mado"))
    		{
    			case 1: // Pecopeco
    				if(BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING") > 0 && Class == 7 || Class == 14)
    				{
    					setriding;
    					mes	"There you go, enjoy your Peco Peco!";
    					close;
    				} else {
    					mes	"Sorry, please make sure that you have the required job and skill, also not riding one.";
    					close;
    				}
    			case 2: // Cart
    				if((BaseClass == Job_Merchant || Base_Job == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART") > 0)
    				{
    					setcart;
    					mes	"There you go, enjoy your cart!";
    					close;
    				} else {
    					mes	"Sorry, please make sure that you have the required job and skill, also not having a cart.";
    					close;
    				}
    			case 3: // Falcon
    				if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON") > 0)
    				{
    					if((Class == Job_Ranger || Class == Job_Ranger_T) && checkriding())
    					{
    						mes	"Sorry, You can't rent a falcon while having a warg with you.";
    						close;
    					} else {
    						setfalcon;
    						mes	"There you go, have fun with your falcon!";
    						close;
    					}
    				} else {
    					mes	"Sorry, please make sure that you have the required job and skill, also not having a falcon.";
    					close;
    				}
    			case 4: // Warg
    				if(BaseClass == Job_Archer && countitem(6124) == 0 && getskilllv("RA_WUGMASTERY") > 0 && Class == Job_Ranger || Class == Job_Ranger_T)
    				{
    					if(checkfalcon())
    					{
    						mes	"Sorry, You can't rent a warg while having a falcon with you.";
    						close;
    					} else {
    						getitem 6124, 1;
    						mes	"There you go, have fun calling your Warg!";
    						close;
    					}
    				} else {
    					mes	"Sorry, please make sure that you have the required job and skill.";
    					close;
    				}
    			case 5: // Dragon
    				if(checkriding() == 0 && getskilllv("KN_RIDING") > 0 && getskilllv("RK_DRAGONTRAINING") > 0 && Class == 4060 || Class == 4054)
    				{
    					atcommand "@mount";
    					setriding;
    					mes	"There you go, don't let your dragon bite you!";
    					close;
    				} else {
    					mes	"Sorry, please make sure that you have the required job and skill, and not riding one.";
    					close;
    				}
    			case 6: // Gryphon
    				if(checkriding() == 0 && getskilllv("KN_RIDING") > 0 && Class == 4066 || Class == 4073)
    				{
    					atcommand "@mount";
    					setriding;
    					mes	"There you go, fly away with your gryphon... if you can.";
    					mes	"*Laughing*";
    					close;
    				} else {
    					mes	"Sorry, please make sure that you have the required job and skill, and not riding one.";
    					close;
    				}
    			case 7: // Mado
    				if(BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE") > 0 && Class == 4064 || Class == 4058)
    				{
    					atcommand "@mount";
    					setriding;
    					mes	"There you go, be proud of your Mado!";
    					close;
    				} else {
    					mes	"Sorry, please make sure that you have the required job and skill, and not riding one.";
    					close;
    				}
    		}
    	case 2:
    		mes	"^FF0000Universal Rental NPC^000000";
    		mes	"Alright, come again!";
    		close;
    }
    }
    
    //===== Duplicates: ==========================================
    prontera, 158, 185, 4	duplicate(gbreeder)	Rental#1	448
    //============================================================
    

  5. My setup.exe (blue ghost) is not working.. I'm trying the full screen mode but it is not working.. still in window mode.. Any help please.....

  6. in myphpadmin:

    Use tables: do i have to select item_db_re?

    SQL query on database ragnarok: ( i insert this in the text box?)

    REPLACE INTO `item_db_re` VALUES (19513,'Chicken_Bill','Chicken Bill',5,NULL,NULL,0,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,4096,NULL,1,NULL,699,NULL,NULL,NULL);

    then submit query?

  7. I already config everything. I tried it at home. I also uploaded all the files in my hosting. I run my patcher then it updates everything. But some other players can't patch their client it says " failed to patch " or " runtime error". How can i solve this problem?

  8. Can someone help me wtih this script? I want an account base not an ip base.

    amatsu,116,146,3 script Seyra 90,{
    
    set .@n$, "[seyra]";
    setarray .@rwd[0],2115,1,2357,1,2421,1,2524,1; // Rewards: <item id>,<item amount>
    
    query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", .@lip$);
    
    if ( getd("$" + .@lip$ + "_NG") > 0 || #NewbieGift > 0)
    {
    mes .@n$;
    mes "I'm sorry, the rewards are exclusively for new players.";
    close;
    }
    
    mes .@n$;
    mes "Welcome! Here are some free gifts";
    mes "for newcomers:";
    
    for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 )
    mes .@rwd[.@i+1] + " x " + getitemname(.@rwd[.@i]);
    
    close2;
    set #NewbieGift, 1;
    setd "$" + .@lip$ + "_NG", getd("$" + .@lip$ + "_NG") + 1;
    
    for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 )
    getitem .@rwd[.@i], .@rwd[.@i+1];
    
    end;
    
    OnInit:
    
    waitingroom "Newbie Gift!",0;
    end;
    
    }

  9. What is the difference between

    this :

     Thor_Patcher[2.6.1.66].7z 2.6.1.66 (Pre) 

    and this one:

     Thor_Patcher[2.5.4.18].7z 2.5.4.18 

    2.6.1.66 (Pre) - << Pre-renewal?

    2.5.4.18 - <<< Renewal?

×
×
  • Create New...