Jump to content

sandbox

Members
  • Posts

    949
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by sandbox

  1. Not sure why you have semi-colons after your if statement..
  2. What do you mean by BG ID?
  3. sandbox

    Need help.

    schg_cas06,1,1,6 script battle#base -1,1,1,{ OnTouch: sc_end sc_all; sc_start SC_BLESSING,240000,10; sc_start SC_INCAGI,240000,10; if(Class == 4049) sc_start4 SC_SPIRIT,240000,5,461,0,0; else if(Class == 4018) sc_start4 SC_SPIRIT,240000,5,456,0,0; end; } Try
  4. Probably incompatible with your svn, might wanna show some errors?
  5. After adding them as items, you have to add them to your item shop.. your-ro.com/?module=itemshop&action=add&id=<ITEM_ID>
  6. Seems weird, we tested this before and it worked. I'll have it checked again. Thanks
  7. Oh my bad.. Try this menu "Room 1 ["+getmapusers("new_1-3")+"]",pvp1,"Room 2 ["+getmapusers("new_2-3")+"]",pvp2,"Room 3 ["+getmapusers("new_3-3")+"]",pvp3,"Room 4 ["+getmapusers("new_4-3")+"]",pvp4,"Room 5 ["+getmapusers("new_5-3")+"]",pvp5; To enable, you can config it in npc/mapflag/nobranch.txt
  8. Revised the script, kindly test. Also, don't forget to config it properly.. //======Name======================================== // Click The Pub! //======Version===================================== // 1.0 //======Author(s)=================================== // Sandbox //======Comments==================================== // This simple event will create an NPC chatroom upon // starting, the first player to enter the chat room // will be declared winner. //================================================== prontera,100,200,3 script Click The Pub 78,{ if(!.AM) { if(getgroupid() > 40) { mes "Hello! Do you want to start the event?"; next; close; mes "Thank you!"; goto OnCTPStart; close; } else end; } OnInit: //Set the Prize's Item ID, followed by amount"; setarray .Prize[0],607,1; //Set 1 for Automated, 0 for Manual .AM = 0; //If automated, set number of hours to repeat it. Default: 1 hour .Repeat = 1; if(!.AM) end; OnCTPStart: if(.AM && !agitcheck() && !agitcheck2()) { sleep .Repeat*600000; enablenpc strnpcinfo(1); } announce "Click The Pub event will start in a few seconds!",0; sleep 2000; announce "Gather around prontera 100 200!",0; sleep 2000; announce "This event will give a prize to the player who enters my Pub first!",0; sleep 2000; announce "Ready...!",0; for(.@i = 10; .@i > 0; .@i--) { announce .@i,0; waitingroom .@i,0; sleep 1000; delwaitingroom; } announce "Go! Go! Go!",0; waitingroom "Click Me!",2,strnpcinfo(1)+"::OnFirstClick",1; end; OnFirstClick: warpwaitingpc "prontera",100,200,1; announce rid2name($@warpwaitingpc[0])+" won the Click The Pub event!",0; getitem .Prize[0],.Prize[1]; delwaitingroom; disablenpc strnpcinfo(1); if(.AM) goto OnCTPStart; end; }
  9. Replace your menu with this menu "Room 1 ["+getmapusers(new_1-3)+"]",pvp1,"Room 2 ["+getmapusers(new_1-3)+"]",pvp2,"Room 3 ["+getmapusers(new_1-3)+"]",pvp3,"Room 4 ["+getmapusers(new_1-3)+"]",pvp4,"Room 5 ["+getmapusers(new_1-3)+"]",pvp5; To disable the mobs in that map, look for them in your NPC folder as it is the official training grounds, I think.
  10. Idun's Apple https://github.com/rathena/rathena/blob/master/src/map/status.c#L9691 Service For You https://github.com/rathena/rathena/blob/master/src/map/skill.c#L11894 Read the comment and formula and adjust the values, don't forget to make a backup before testing
  11. You could create an exit npc like how you did the entrance npc
  12. Try this - script test -1,{ OnPCLoginEvent: if(#VIPitem >= gettimetick(2)) { atcommand "@adjgroup 1"; } end; } //put this on your usable as its Item Script //Default 5 minutes VIP //set #VIPItem,gettimetick(2)+300;
  13. You should get the code of bow, for example in double strafe
  14. Oh I forgot they were changed since the third jobs, well based on the structure, he can just use 7 as upper for it to be equippable.. Not sure what's his problem.
  15. Edit the item ID's for the required item to use the skill here.. https://github.com/rathena/rathena/blob/master/db/re/skill_require_db.txt#L679
  16. Did he meet the required level? o_O
  17. Seems to be already like that based on the formula here https://github.com/rathena/rathena/blob/master/conf/battle/pet.conf You could also check your configuration here https://github.com/rathena/rathena/blob/master/conf/battle/pet.conf
  18. Check your configs here https://github.com/rathena/rathena/blob/master/conf/battle/pet.conf
  19. http://lmgtfy.com/?q=rathena+custom+maps
  20. - script main -1,{ OnPCLoginEvent: atcommand "@channel join #main"; if(!#newplayer) announce "Welcome "+strcharinfo(0)+" to rAthenaRO",bc_all; #newplayer = 1; end; }
  21. Something like this? http://rathena.org/board/files/file/2252-rathena-database-editor/
×
×
  • Create New...