Jump to content

sandbox

Members
  • Posts

    949
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by sandbox

  1. This might sound cliche but, have you tried patching again? If the NPCs are warp are accessible, you might wanna rearrange the GRFs on your DATA.ini. IME, rdata should be read second after your GRF.
  2. conf/battle/status.conf // Adjustment for the natural rate of resistance from status changes. // If 50, status defense is halved, and you need twice as much stats to block // them (eg: 200 vit to completely block stun) pc_status_def_rate: 100 mob_status_def_rate: 100
  3. Yep, checkout https://github.com/rathena/rathena/blob/master/doc/mob_db_mode_list.txt So the initial mode of your monster should be.. 0x20 = MvP, cannot be knocked back, snatched, etc. Then just add more bit to suit your desired target.
  4. prontera,100,200,3 script Freebies 78,{ if(#Freebie) end; mes "Here's your freebies"; getitem 1234,1; #Freebie = 1; close; }
  5. Search button = rA's google http://rathena.org/board/files/file/2499-breaker-room/
  6. that means it's in npc/mapflag/nopvp.txt as i've stated above xD
  7. Nope, no need.
  8. You can check out my Dice Event script though its old and badly written. Anyways here's the code, it's basically a warp portal npc. quiz_01,100,100,0 warp 100to200 1,1,quiz_01,200,200 ^Will transfer the user from quiz_01 100 100 to quiz_01 200 200 upon walking through the portal
  9. It should be quiz_01%tab%mapflag%tab%pvp%tab%off Then load the mapflag via @loadnpc conf/mapflag/nopvp.txt
  10. sandbox

    NPC Script

    Kindly test - script SupplyTrigger -1,{ OnWed1700: OnSun1600: enablenpc "WoE Supply"; end; OnAgitEnd: OnAgitEnd2: disablenpc "WoE Supply"; end; } prontera,100,200,3 script WoE Supply 78,{ mes .@Npc_Name$; mes "I'm here to give you supplies for WoE!"; next; mes .@Npc_Name$; for(set .@i,0; .@i <= getarraysize(.@App_Guild); set .@i, .@i+1) { if(getcharid(2) == .@App_Guild[.@i]) set .@Guild_Check,.@Guild_Check+1; } if(.@Guild_Check < 1) { mes "Your guild has not yet been approved, please contact the GMs"; close; } if(BaseLevel < 99 || Class > 4022) { mes "Sorry this is for Lvl 99 Trans Class only"; close; } if(gettimetick(2) < Delay) { mes "Sorry, you can only claim this once every WoE"; close; } switch(Class) { case 4012: //Sniper class getitem 1065,10; //10 Traps getitem 504,20; //20 White potions break; case 4019: //Creator class getitem 7136,10; //10 Acid Bottles getitem 504,20; //20 White potions break; //Add more cases for all classes default: break; } set Delay,gettimetick(2)+10800; mes "Here you go, goodluck!"; close; OnInit: setarray .@App_Guild[0],1001,1002,1003; //Edit content to Guild IDs of approved guilds. set .@Npc_Name$,"[^0000FF WoE Supply ^000000]"; disablenpc "WoE Supply"; end; }
  11. This item script will give 1% chance to cast EDP on the user when attacking. bonus3 bAutoSpell,378,1,10; For Q1&3, It can be done by script by disabling the item for monk / paladin class via item script checking. Unless you know how to edit the codes in source. if(Class != 15 || Class != 4016 || Class != 4070 || Class != 4077 || Class != 4015 || Class != 4066 || Class != 4073) { bonus3 bAutoSpell,378,1,10; } For Q3, kindly test this. bonus2 bSPDrainValueRace,RC_DemiHuman,-(MaxSP%10); For Q4, You need to edit that source for that..
  12. It should, why not test it yourself?
  13. sandbox

    Bug Item

    What's wrong? You're viewing 2 different tabs, the first one with the item is the equip window and the second one is the costume window.
  14. its an option, because old SVNs have the mapflag folder in conf, instead of npc
  15. Subukan mo to 12114,Elemental_Fire,Elemental Converter,2,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_start SC_FIREWEAPON,180000,1; },{},{} 12115,Elemental_Water,Elemental Converter,2,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_start SC_WATERWEAPON,180000,1; },{},{} 12116,Elemental_Earth,Elemental Converter,2,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_start SC_EARTHWEAPON,180000,1; },{},{} 12117,Elemental_Wind,Elemental Converter,2,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_start SC_WINDWEAPON,180000,1; },{},{}
  16. Yes.. Make sure to backup though.
  17. 1 line only.. if(readparam(bStr) >= 90) { bonus bAllStats,1; bonus bMaxHPrate,1; bonus bMaxSPrate,1; bonus bStr,getrefine(); } if(readparam(bAgi) >= 90) { bonus bAllStats,1; bonus bMaxHPrate,1; bonus bMaxSPrate,1; bonus Agi,getrefine(); } if(readparam(bVit) >= 90) { bonus bAllStats,1; bonus bMaxHPrate,1; bonus bMaxSPrate,1; bonus bVit,getrefine(); } if(readparam(bInt) >= 90) { bonus bAllStats,1; bonus bMaxHPrate,1; bonus bMaxSPrate,1; bonus bInt,getrefine(); } if(readparam(bDex) >= 90) { bonus bAllStats,1; bonus bMaxHPrate,1; bonus bMaxSPrate,1; bonus bDex,getrefine(); } if(readparam(bLuk) >= 90) { bonus bAllStats,1; bonus bMaxHPrate,1; bonus bMaxSPrate,1; bonus bLuk,getrefine(); }
  18. Just copy the table from db/re/refine_db.txt
  19. sandbox

    NPC Script

    I forgot to add an 'end;' on the OnInit part, kindly add it and test. May you show me the script and let me look if it's properly placed
  20. set a mapflag for your event maps at [conf|npc]/mapflag/nopvp.txt
  21. Try mo nga kung lalabas. 1 poring muna kill mo
  22. kelan lumabas yang error? wala naman sakin.
  23. ano bang version ng eathena mo? hindi nya na re-read ung killer id. weird..
  24. from this day forward I must not be confused with greenbox anymore!

    1. Kido

      Kido

      who is green box lol

    2. sandbox

      sandbox

      search :3 haha

    3. Kido

      Kido

      loool and i just thinked that you only changed the profile pic!

  25. - script PoringMob -1,{ OnMinute00: if(!(gettime(3) % 2)) { announce "Poring mob has started",0; monster "prontera",123,42,"--ja--",1002,100,strnpcinfo(1)+"::OnPoringDeath"; } end; OnPoringDeath: set @PoringKill,@PoringKill+1; announce strcharinfo(0)+" has killed "+@PoringKill+" porings!",0; if(@PoringKill == 30) { announce strcharinfo(0)+" is the winner!",0; atcommand "@killmonster2"; getitem 7227,10; } end; }
×
×
  • Create New...