Jump to content

sandbox

Members
  • Posts

    949
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by sandbox

  1. - script AFKpts -1,{ OnPCLoginEvent: CheckAFK: if(checkidle() >= 300) { AFKpts++; dispbottom "You gained 1 AFK point. [Total: "+AFKpts+"]"; } sleep2 300000; goto CheckAFK; end; }
  2. Change it to what? There's no TXT version anymore, only trunk/master
  3. That seems to be custom, not old..
  4. I did that, but only when I was applying for my internship, I don't think that would count for professional work, UNLESS you created YOUR OWN CODES, MODIFICATIONS and ADDONS not only plain scripts.
  5. +Added Click The Pub! Event
  6. File Name: Click The Pub File Submitter: sandbox File Submitted: 14 Mar 2014 File Category: Game, Event, Quest Content Author: sandbox Script Details & Usage This simple event will create an NPC chatroom upon starting, the first player to enter the chat room will be declared winner. Feel free to suggest on how can I improve this very simple script even more. Thank you! Installation Enable the script on your NPC folder Carefully read the comments I made inside the script and make sure to configure it properly Terms & Conditions You are not allowed to reproduce or make profit of this script You are not allowed to take credit for this script. Though you can modify/edit it to your liking. I can give you support, but please, do not message me. It is your own responsibility to create a backup before implementing anything new. Pastebin: http://rathena.org/board/pastebin/nc21plexy9b/ Special thanks to: @ToastOfDoom, @nanakiwurtz for helping me with this script! Version History: 1.0 - Initial Release 1.1 - Fixed minor errors thanks to @666BANDIT007 clickthepub.txt
  7. find getitem @bought_nameid[.@i], @bought_quantity[.@i]; replace getitembound @bought_nameid[.@i], @bought_quantity[.@i],x; change x to
  8. Yes, umm change the machine's time!? Depends on the OS.
  9. Nope, even if someone would host it for free, don't expect it to be good.
  10. Why not see it for yourself? >_> Though i'm not sure for I do not have an emulator. The cards will be untradable also, and should expire the same with the item.
  11. Here you go, just edit the mob ids. - script tbox -1,{ OnNPCKillEvent: if(getmonsterinfo(killedrid,22) > 1) { getmapxy(.@mvp$,.@mx,.@my,0); setarray .@T_Box[0],1111,2222,3333,4444; //Edit to Treasure Box MOB Ids if(rand(10) < 4) monster .@mvp$,.@mx,.@my,"--ja--",.@T_Box[rand(getarraysize(.@T_Box))],1; } end; }
  12. Here you go - script TownInvasion -1,{ OnMinute00: if(gettime(3) % 2 == 1 && !agitcheck() && !agitcheck2()) { for(.@i = 0; .@i < 4; .@i++) { //Spawn on 4 towns .Town_Invade$ = .Town$[rand(getarraysize(.Town$))]; announce .Town_Invade$+" Guard: Help us! Our town is being invaded!",bc_blue|bc_all; for(.@ix = 0; .@ix < 5; .@ix++) { //MvP spawner monster .Town_Invade$,0,0,"--ja--",.MvP[rand(getarraysize(.MvP))],1,strnpcinfo(1)+"::OnInvadeDeath"; } for(.@iy = 0; .@iy < 100; .@iy++) { //Mob spawner monster .Town_Invade$,0,0,"--ja--",-1,1,strnpcinfo(1)+"::OnMobsDeath"; } } } end; OnInvadeDeath: getitem .Prize[0],.Prize[1]; end; OnMobsDeath: getitem .Prize2[0],.Prize2[1]; end; OnInit: //Towns to Invade setarray .Town$[0],"prontera","izlude","geffen","payon","alberta","aldebaran","yuno","lighthalzen","einbroch","einbech","comodo","umbala","amatsu","gonryun","ayothaya","louyang","hugel","rachel","veins"; //MvPs to summon setarray .MvP[0],1583,1832,1312; //Prize to give, followed by amount setarray .Prize[0],7227,2; setarray .Prize2[0],607,5; end; }
  13. @loadnpc db/const.txt ? eh =/
  14. welcome guys feedbacks are always appreciated
  15. Apologies make attribute 0
  16. - script tbox -1,{ OnNPCKillEvent: if(getmonsterinfo(killedrid,22) > 1) { getmapxy(.@mvp$,.@mx,.@my,0); if(rand(100) < 40) monster .@mvp$,.@mx,.@my,"--ja--",1234,1; } end; } change 1234 to tbox ID
  17. Did you actually read my reply? >_> rentitem2 2268,259200,1,7,1,0,0,0,0;
  18. Sure thing, i'll do it tomorrow morning
  19. OT: I wonder why is the eA forum still running >_>
  20. So is it granted? I'll make a PR for you.
  21. Well, you can turn the target into an undead, so you can deal damage to them when you heal them. bonus4 bAutoSpellOnSkill,"AL_HEAL","NPC_CHANGEUNDEAD",1,1000;
  22. Follow this guide http://rathena.org/board/topic/82726-2013-ragexe-and-diff-up-to-date-2013-08-07/
  23. There's a lot of work but here's an idea, you can reverse their formulas in src/map/skill.c example.. if (skill_id == AB_HIGHNESSHEAL) hp = hp * ( 17 + 3 * skill_lv ) / 10;
×
×
  • Create New...