Jump to content

Pollux

Members
  • Content Count

    0
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    Pollux reacted to Kuya Jeo in [Request] Daily Supply NPC   
    You can try this one..
    Try it, i just made the script without testing it. haha 😝😅
     
    prontera,90,110,4 script Daily Supply 4_M_MAYOR,{ if(#DailySupply){ message strcharinfo(0), "Supply already claimed."; end; } else if(!#DailySupply){ getitem 505,1; getitem 506,1; getitem 507,1; getitem 508,1; set #DailySupply,1; end; } } - script DailySupplyReseter FAKE_NPC,{ OnClock1159: announce "[ Daily Supply ] : You can now claim your Daily Supply Now. Thank You!",bc_all | bc_blue; while(1){ query_sql("SELECT `account_id` from `char` WHERE `online` = 1",.@GetAccID); attachrid(.@GetAccID); set #DailySupply,0; detachrid; break; } end; }  
  2. Upvote
    Pollux reacted to Kuya Jeo in Punching Bag [ Damage Tester in Main Town ] (Tarot Skill)   
    use mapflag
     
    prontera mapflag monster_noteleport
  3. Upvote
    Pollux reacted to Kuya Jeo in remove @go in PVP room (script command)   
    change this part of the code into this one
    function go { if (.deadlock && !Hp) { message strcharinfo(0), "You may not use @go when you are dead."; } else if (.town && !getmapflag(strcharinfo(3), mf_town)) { message strcharinfo(0), "You may only use @go in towns."; } else if (getmapflag(strcharinfo(3), mf_pvp)) { message strcharinfo(0), "You cannot use @go in PvP Maps."; } else if (.delay && @go_delay > gettimetick(2)) { message strcharinfo(0), "You must wait "+ (@go_delay - gettimetick(2)) +" seconds before warping again."; } else if (BaseLevel < getarg(3)) { message strcharinfo(0), "You must be at least level "+ getarg(3) +" to warp to this map."; } else if (getgroupid() < getarg(4) || getmapflag(getarg(0), mf_nowarp)) { message strcharinfo(0), "You are not authorised to warp to this map."; } else if (.charge && Zeny < getarg(5)) { message strcharinfo(0), "You must have at least "+ getarg(5) +" zeny to warp to this map."; } else { if (.delay) { @go_delay = gettimetick(2) + .delay; } if (.charge) { Zeny -= getarg(5); } warp getarg(0), getarg(1), getarg(2); end; } message strcharinfo(0), "@go failed."; end; }  
    reload the script and try it
  4. Upvote
    Pollux reacted to Kuya Jeo in Player Status Error   
    This is KS_PROTECTION, you must put the KS_PROTECTION on sc_config.conf

     
    SC_KSPROTECTED: { Flags: { NoClearanceReset: true Buff: true } Icon: "SI_ANGEL_PROTECT" }  
  5. Like
    Pollux reacted to Kuya Jeo in Unmanage VPS   
    For me, I used OVH, it easy to manage if you know hos to setup your VPS and easy to contact them
  6. Upvote
    Pollux reacted to Kuya Jeo in bindatcmd in certain map   
    im kinda confuse on your question.. are you asking to get the map name? because as the title says "bindcmd in certain map"
    then maybe you asking.. "can only use the bindcmd in the certain map"
     
    I can give you the script but i dont know if this is what you are looking for...

     
    - script TestNPC FAKE_NPC,{ OnInit: bindatcmd "test",strnpcinfo(3)+"::OnTestCmd"; end; OnTestCmd: if(strcharinfo(3) == "new_1-1"){ /* put the content here */ /* this is only an example */ message strcharinfo(0), "You got a "+getitemname(512)+"."; getitem 512,100; end; } else{ message strcharinfo(0), "Sorry but this command can only used in a certain map."; end; } end; }  
  7. Upvote
    Pollux reacted to Kuya Jeo in Regarding Cash Foods   
    Adding Delay on the item is the best way to used it one at a time

    example is something like this

    Before :
     
    { Id: 12041 AegisName: "Str_Dish01" Name: "Fried Grasshopper Legs" Type: "IT_HEALING" Buy: 2000 Weight: 60 BuyingStore: true Script: <" sc_start SC_FOOD_STR,1200000,1; percentheal 5,0; "> }, After :
    { Id: 12041 AegisName: "Str_Dish01" Name: "Fried Grasshopper Legs" Type: "IT_HEALING" Buy: 2000 Delay: 1800000 Weight: 60 BuyingStore: true Script: <" sc_start SC_FOOD_STR,1200000,1; percentheal 5,0; "> }, Item Delay : 30 minutes
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.