Jump to content

johnbond

Members
  • Posts

    457
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by johnbond

  1.  

     

    This is awesome!

     

    But kindly can you make me an edit that instead of 1M zeny it will ask for 3 pcs of the item 6242,Midgard_Coin. And will also have a random chance of 30% of success. When fail the item will not break and will retain its previous enchantment/s.

     

    I plan to use this NPC but I am afraid to touch it to include these mods as I might ruin it.

     

    By the way, where can I see the list in this script what enchantments this NPC could give?

     

    Thank you very much Mr. Skorm!

     

     

    I have no time to test, but the changes have been made.

     

     

    Nice!

     

    Buyt where can I set which enchants should it give? I believe the neo enchanter should give 3 enchants?

     

    Thank you my friend!

  2.  

    Hello guys!

     

    I got this Disguise Event NPC script from EA made by GmOcean. The script is working fine as well as all its features/settings but the problem is the script needs for the player to actually "shout" the answer aloud so the NPC can get it.

     

    The problem is my current client version and langtype seems to have a problem recognizing shouts so the NPC itself cannot actually "hear" the players answers.

     

    If maybe we could modify this script so that instead of having the players shout the answer, the player should click the NPC and an input box will appear wherein they would type in their answers. Anyone who clicks "ok" first with the correct answer is considered the winner by the NPC.

     

    I cannot touch the NPC and I do not even know where to begin to have this input box option. Maybe the knowledgeable scripters here can extend some help. I can pay for the service.

     

    Here is a copy of my script: http://pastebin.com/raw.php?i=CjafFkfr

     

    Any help is greatly appreciated.

     

    Thank you in advance guys! :)

     

    Have you tried using the rA version?

    https://github.com/rathena/rathena/blob/master/npc/custom/events/disguise.txt

     

     

     

    Yes I tried it but it gives me errors because I am using 3ceam SRC.

    [05:46:06][Error]:  Loading NPC file: npc/extras/disguise_event.txt
    script error on npc/extras/disguise_event.txt line 61
        parse_callfunc: expected ')' to close argument list
        56 :                        case 1:
        57 :                                setarray .@r$[0],"Disguise as all monste
    rs.","Disguise as MVPs only.";
        58 :                                mes .@n$;
        59 :                                mes "Choose a disguise rule.";
        60 :                                next;
    *   61 :                                set .Rule, select(implode'('.@r$,":"));
        62 :                                mes .@n$;
        63 :                                mes "The Disguise Rule has been set:";
        64 :                                mes "  > ^0055FF"+.@r$[.Rule-1]+"^000000
    ";
        65 :                                close;
        66 :                        case 2:
    

    I wanted to use my original script and just have an "input box" edit on it so it can be used for my Server.

     

    Thank you.

  3. Hello guys!

     

    I got this Disguise Event NPC script from EA made by GmOcean. The script is working fine as well as all its features/settings but the problem is the script needs for the player to actually "shout" the answer aloud so the NPC can get it.

     

    The problem is my current client version and langtype seems to have a problem recognizing shouts so the NPC itself cannot actually "hear" the players answers.

     

    If maybe we could modify this script so that instead of having the players shout the answer, the player should click the NPC and an input box will appear wherein they would type in their answers. Anyone who clicks "ok" first with the correct answer is considered the winner by the NPC.

     

    I cannot touch the NPC and I do not even know where to begin to have this input box option. Maybe the knowledgeable scripters here can extend some help. I can pay for the service.

     

    Here is a copy of my script: http://pastebin.com/raw.php?i=CjafFkfr

     

    Any help is greatly appreciated.

     

    Thank you in advance guys! :)

     

     

  4. I don't think that's possible without a src modification

     

    that is a technique pretty old, change to an axe heavier than the spear while casting spiral pierce

     

    or change to 2 elemental swords while casting cold bolt with ice falchon with assassins

     

    you will have to wait for a src modifier, good luck with it :)

     

     

    Yes I believe this will be a SRC modification.

     

    Thanks.

  5. Hello guys!

     

    Currently in my Server while a player is casting a skill (cast bar ongoing) he can be able to switch weapons. Now the problem here is when a player is casting a "sword/spear-only-skill" he can be able to switch to an axe type weapon not intended for the Spiral pierce skill (should only be sword or spear) which results to a more powerful damage which is like of an exploit.

     

    Maybe if we could prohibit changing of weapons while a cast time is ongoing we could fix this exploit. Please show me how I could unallow changing of weapons while a skill is currently being casted but they can immediately change weapons right after the "cast time" finishes.

     

    Any help will be greatly appreciated. I can pay for service.

     

    Thank you in advance guys!

     

     

  6.  

    If getequipid was returning 0 then yeah it would.

     

     

    This is awesome!

     

    But kindly can you make me an edit that instead of 1M zeny it will ask for 3 pcs of the item 6242,Midgard_Coin. And will also have a random chance of 30% of success. When fail the item will not break and will retain its previous enchantment/s.

     

    I plan to use this NPC but I am afraid to touch it to include these mods as I might ruin it.

     

    By the way, where can I see the list in this script what enchantments this NPC could give?

     

    Thank you very much Mr. Skorm!

  7. Hello everyone,

     

    I currently use a fluxcp as my main website. I orderd this from someone (Nibi) and it was good but I cannot find him anymore, no further support.

     

    I would just like to ask on how and where to edit the voting sites. I needed to change the .jpg image of one of my voting site links to a new one.

     

    Anyone has an idea?? Any help is greatly appreciated.

     

    Thank you guys!

     

     

  8. Nice i think this will work.

     

    But let's say this is my NPC:

     

    poring_w02,121,68,1	script	sample	2235,3,3,{
    
    
    OnTouch:
    
    
    	mes "You are in Kyrie";
    	next;
    	menu "I will now warp you somewhere";
    	close2;
    	warp "poring_w02",118,83;
    	end;
    }
    

    What I want is when player is on a specific status and he goes near the NPC it will warp him. Where do I add the getstatus check for this sample NPC?

     

     

    Thanks!

  9. Hello!

     

    I am trying to look for an "if ()" command that will check for sc_statuses for an NPC script but I cannot find or know any that would do it with my limited scripting capabilities.

     

    May I request for a simple npc script that when clicked will check for players that has the let's say SC_KYRIE status on them then the NPC will warp then somewhere. I will use it as a basis and just adjust things from there.

     

    Any help will be greatly appreciated.

     

    Thank you guys!

  10. Hello guys!

     

    May I request an item script that can counter/nullify the dispell skill of sorcerers. I know there is GTB and the gtb_sc_immunity setting but I want to use this costume item script for a specific item that can counter the dispell skill when equipped but has no magical damage immunity without touching my current GTB effects because I still use the GTB.

     

    I think this is a SRC mod to add the item script. Maybe someone can whip me up a quick code for this. I can pay for service.

     

    Thank you very much guys!

  11. ...{ bonus bUnbreakableHelm,0; if (getequipisequiped(EQI_COSTUME_HEAD_LOW) && getequipisequiped(EQI_COSTUME_HEAD_MID) && getequipisequiped(EQI_COSTUME_HEAD_TOP) && @wear == 0 ) { bonus bAllStats,1; set @wear,1; } },{},{ set @wear,0; }
    

    This one should work (it's working on my test server)

     

    Oh huhu its still not working in mine. Will this work on 3ceam EMU? Maybe this is the problem? Maybe we can do adjustments to it to work on 3ceam?

     

    Thanks!

  12. Put the check in on_script part - it seems the command check the equipment before the server make the equipment equipped.

    ...,{ if (getequipisequiped(EQI_COSTUME_HEAD_LOW) && getequipisequiped(EQI_COSTUME_HEAD_MID) && getequipisequiped(EQI_COSTUME_HEAD_TOP) ) { bonus bAllStats,1; set @wear,1; } },{},{ set @wear,0; }
    

     

    First of all thanks for your reply.

     

    I tried this fix my friend but it still doesnt work. No +1 to stats given.

     

    Here is what I used:

     

    19504,T_Sunglasses,Costume Sunglasses,5,0,,0,,0,,0,0xFFFFFFFF,7,2,2048,,0,0,12,{ bonus bUnbreakableHelm,0; if (getequipisequiped(EQI_COSTUME_HEAD_LOW) && getequipisequiped(EQI_COSTUME_HEAD_MID) && getequipisequiped(EQI_COSTUME_HEAD_TOP) ) { bonus bAllStats,1; set @wear,1; } },{},{ set @wear,0; }
    
    19505,T_Cigarette,Costume Cigarette,5,0,,0,,0,,0,0xFFFFFFFF,7,2,4096,,0,0,54,{ bonus bUnbreakableHelm,0; if (getequipisequiped(EQI_COSTUME_HEAD_LOW) && getequipisequiped(EQI_COSTUME_HEAD_MID) && getequipisequiped(EQI_COSTUME_HEAD_TOP) ) { bonus bAllStats,1; set @wear,1; } },{},{ set @wear,0; }
    
    19506,T_Valkyrie_Feather_Band,Costume Valkyrie Feather Band,5,0,,0,,0,,0,0xFFFFFFFF,7,2,1024,,0,1,300,{bonus bUnbreakableHelm,0; if (getequipisequiped(EQI_COSTUME_HEAD_LOW) && getequipisequiped(EQI_COSTUME_HEAD_MID) && getequipisequiped(EQI_COSTUME_HEAD_TOP) ) { bonus bAllStats,1; set @wear,1; } },{},{ set @wear,0; }
    
    

     

    Though there is no error in map console when loaded.

     

    Thank you my friend! :)

  13.  

    but if they wear like 3 of those wont they get like +3 stats all in all?

    Nope the variable @wear prevent multi-allstats, they get only allstats +1 when wearing the set of costumes (low, middle, up) ;)

     

     

    I tried the script but I think its not working my friend.

     

    I equipped all these 3 costumes (upper,mid,lower) :

     

    19504,T_Sunglasses,Costume Sunglasses,5,0,,0,,0,,0,0xFFFFFFFF,7,2,2048,,0,0,12,{ bonus bUnbreakableHelm,0; },{ if (getequipisequiped(EQI_COSTUME_HEAD_LOW) && getequipisequiped(EQI_COSTUME_HEAD_MID) && getequipisequiped(EQI_COSTUME_HEAD_TOP) ) { bonus bAllStats,1; set @wear,1; } },{ set @wear,0; }
    
    19505,T_Cigarette,Costume Cigarette,5,0,,0,,0,,0,0xFFFFFFFF,7,2,4096,,0,0,54,{ bonus bUnbreakableHelm,0; },{ if (getequipisequiped(EQI_COSTUME_HEAD_LOW) && getequipisequiped(EQI_COSTUME_HEAD_MID) && getequipisequiped(EQI_COSTUME_HEAD_TOP) ) { bonus bAllStats,1; set @wear,1; } },{ set @wear,0; }
    
    19506,T_Valkyrie_Feather_Band,Costume Valkyrie Feather Band,5,0,,0,,0,,0,0xFFFFFFFF,7,2,1024,,0,1,300,{bonus bUnbreakableHelm,0;},{ if (getequipisequiped(EQI_COSTUME_HEAD_LOW) && getequipisequiped(EQI_COSTUME_HEAD_MID) && getequipisequiped(EQI_COSTUME_HEAD_TOP) ) { bonus bAllStats,1; set @wear,1; } },{ set @wear,0; }
    
    

     

    What am I missing?

     

    Thanks!

    Just a follow up on the above.

     

    Thank you Mr. Capuche

     

    :)

  14. but if they wear like 3 of those wont they get like +3 stats all in all?

    Nope the variable @wear prevent multi-allstats, they get only allstats +1 when wearing the set of costumes (low, middle, up) ;)

     

     

    I tried the script but I think its not working my friend.

     

    I equipped all these 3 costumes (upper,mid,lower) :

     

    19504,T_Sunglasses,Costume Sunglasses,5,0,,0,,0,,0,0xFFFFFFFF,7,2,2048,,0,0,12,{ bonus bUnbreakableHelm,0; },{ if (getequipisequiped(EQI_COSTUME_HEAD_LOW) && getequipisequiped(EQI_COSTUME_HEAD_MID) && getequipisequiped(EQI_COSTUME_HEAD_TOP) ) { bonus bAllStats,1; set @wear,1; } },{ set @wear,0; }
    
    19505,T_Cigarette,Costume Cigarette,5,0,,0,,0,,0,0xFFFFFFFF,7,2,4096,,0,0,54,{ bonus bUnbreakableHelm,0; },{ if (getequipisequiped(EQI_COSTUME_HEAD_LOW) && getequipisequiped(EQI_COSTUME_HEAD_MID) && getequipisequiped(EQI_COSTUME_HEAD_TOP) ) { bonus bAllStats,1; set @wear,1; } },{ set @wear,0; }
    
    19506,T_Valkyrie_Feather_Band,Costume Valkyrie Feather Band,5,0,,0,,0,,0,0xFFFFFFFF,7,2,1024,,0,1,300,{bonus bUnbreakableHelm,0;},{ if (getequipisequiped(EQI_COSTUME_HEAD_LOW) && getequipisequiped(EQI_COSTUME_HEAD_MID) && getequipisequiped(EQI_COSTUME_HEAD_TOP) ) { bonus bAllStats,1; set @wear,1; } },{ set @wear,0; }
    
    

     

    What am I missing?

     

    Thanks!

  15. try this

    http://upaste.me/r/1efb51

    // 607,..........,{ callfunc( "Sample",607,2,4060 ); percentheal 100,100; },{},{}
    

     

    Thanks!

     

    But there are like several kinds of Rune Knights:

     

    (const.txt)

    Job_Rune_Knight    4054

    Job_Rune_Knight_T    4060

    Job_Rune_Knight2    4080

    Job_Rune_Knight_T2    4081

    Job_Baby_Rune    4096

    Job_Baby_Rune2    4109

     

    How do I include all these types of RK? (Just to be sure)

     

    Thank you my friend!

  16. Is it possible to put a kind of "usage delay" on Yggdrasil Berries and Seeds but ONLY when used by Rune Knights? Other jobs will have normal usage.

     

    607,Yggdrasilberry,Yggdrasil Berry,0,5000,,300,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 100,100; },{},{}
    608,Seed_Of_Yggdrasil,Yggdrasil Seed,0,5000,,300,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 50,50; },{},{}
    
    

     

    I know there is a db/item_delay.txt setting but this will affect the item for all jobs. I only want to have the RK have this delay on ygg usage.

     

    Maybe somekind of item script to add on them? Or modify my SRC?

     

    Anyone has an idea how to do it?

     

    Any help would be greatly appreciated.

     

    Thank you guys!

     

     

     

     

  17. Hello guys,

     

    Does anybody know where can I download the latest idnum2itemdisplaynametable.txt and idnum2itemdesctable.txt files? I need the costume items parts to be in english starting with item ID# 19500 up to 19573.

     

    Or does anybody have these complete costume texts? Any help would be greatly appreciated.

     

    Thank you guys! /no1

     

     

  18. The query would only work if they talk to the npc. Not everytime. So i think it would not affect server performance that much.

     

    For refine, add this on your script :

    query_sql "SELECT `refine` FROM `cart_inventory` WHERE `char_id` = '" +getcharid(0)+ "'",.@refine;
    for ( set .@i, 0; .@i < getarraysize(.@refine); set .@i, .@i + 1 )
        if ( .@refine[.@i] > 10 ) 
            end;
    

     

     

     

     

     

    Thank you my friend!

  19. Try this one :

    prontera,150,150,0    script    Sample    100,{
        for ( set .@j, 1; .@j < 11; set .@j, .@j + 1 )
            if ( getequiprefinerycnt(.@j) > 10 ) end;
        getinventorylist;
        for ( set .@i,0; .@i < @inventorylist_count; set .@i, .@i + 1 )
            if ( @inventorylist_refine[.@i] > 10 ) end;
            
        mes "Bye ~";
        warp "prontera",150,150;
        close;
    }
    

     

     

    Nice it works! But can you also add a cart items checker? Because I just remembered players can just put the +11 items in cart first upon entering and get it from cart when inside to bypass these checks. Then deal the items to friends inside the map. Only for cart skilled jobs.

     

     

    Thank you my friend!

     

  20. Hello everyone,

     

    May I request a simple checker script that would check players' equipped items and inventory of over upgraded items more than +10. When there are no items of above +10 refinement in equip and inventory they will be warped somewhere. Or is this even possible?

     

    I tried to do this but I cannot find the right scripts to use to check for refinements on items on a player.

     

    Any help would be greatly appreciated.

     

    Thank you guys!

     

     


     

×
×
  • Create New...