Jump to content

VladimirCastro

Members
  • Posts

    298
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by VladimirCastro

  1. //======================================= // Script By: // eAthenanabs // // http://astral-RO.net // //======================================= //= Info: // //= This event triggers every 15 minutes of the server time. //======================================= //= Mechanics: // //= Players have to run / choose a box between box 1 up to box 4 //= After that, that NPCs picks a number randomly //= (obviously,between 1-4) //= All players that are not inside the box that the NPC chose will //= all be eliminated. //= This event would run until there's only 1 player left. //= Winner would get an incrementation on its #EVENTPOINTS variable //= (users can simply just change the prize given.) // //======================================== - script DiceTrigger -1,{ OnInit: disablenpc "Dice Event Warper#dice"; disablenpc "Claim Your Prize!#dice"; end; OnMinute12: if(agitcheck() == 1 || $@diceon == 1) end; enablenpc "Dice Event Warper#dice"; announce "Dice Event: We are going to have a Dice Event",bc_all; sleep2 3000; announce "Dice Event: For those who want to join, please go to maintown(Anime Resort)",bc_all; sleep2 3000; announce "Dice Event: The Warper would be open for 3 minutes",bc_all; OnTimer60000: if (.Timer!=1) end; announce "Dice Event: The Warper would be open for 2 minutes",bc_all; end; OnTimer120000: if (.Timer!=1) end; announce "Dice Event: The Warper would be open for 1 minute",bc_all; end; OnTimer180000: if (.Timer!=1) end; announce "Dice Event: Last 30 Seconds.",bc_all; end; sleep2 7500; announce "Dice Event: Last 20 Seconds.",bc_all; sleep2 7500; announce "Dice Event: Last 10 Seconds.",bc_all; sleep2 3000; announce "Dice Event: Last 9 Seconds.",bc_all; sleep2 3000; announce "Dice Event: Last 8 Seconds.",bc_all; sleep2 3000; announce "Dice Event: Last 7 Seconds.",bc_all; sleep2 3000; announce "Dice Event: Last 6 Seconds.",bc_all; sleep2 3000; announce "Dice Event: Last 5 Seconds.",bc_all; sleep2 3000; announce "Dice Event: Last 4 Seconds.",bc_all; sleep2 3000; announce "Dice Event: Last 3 Seconds.",bc_all; sleep2 3000; announce "Dice Event: Last 2 Seconds.",bc_all; sleep2 3000; announce "Dice Event: Last 1 Seconds.",bc_all; sleep2 3000; announce "Dice Event: Warper Closed.",bc_all; disablenpc "Dice Event Warper#dice"; donpcevent "DiceEvent::OnDiceStart"; set $@diceon,1; end; } animeresort,156,176,3 script Dice Event Warper#dice 723,{ mes "Do you want to join the Dice Event?"; menu "Yes",-; warp "quiz_02",55,87; close; } quiz_02,55,90,3 script Got Stuck?#dice 779,{ mes "[ Got Stuck? ]"; mes "Do you wish to go back?"; menu "Yes",-; warp "prontera",0,0; close; } quiz_02,37,80,3 script Box 1 111,{ warp "quiz_02",37,70; close; } quiz_02,49,80,3 script Box 2 111,{ warp "quiz_02",49,70; close; } quiz_02,61,80,3 script Box 3 111,{ warp "quiz_02",61,70; close; } quiz_02,73,80,3 script Box 4 111,{ warp "quiz_02",73,70; close; } quiz_02,37,64,3 script Go Back#1 858,{ warp "quiz_02",55,76; close; } quiz_02,49,64,3 script Go Back#2 858,{ warp "quiz_02",55,76; close; } quiz_02,61,64,3 script Go Back#3 858,{ warp "quiz_02",55,76; close; } quiz_02,73,64,3 script Go Back#4 858,{ warp "quiz_02",55,76; close; } - script DiceEvent -1,{ OnDiceStart: mapannounce "quiz_02","We are about to start the Dice event.",bc_blue; sleep2 1000; mapannounce "quiz_02","Rules are simple:",bc_blue; sleep2 1000; mapannounce "quiz_02","I'm going to pick a number, 1 to 4. Then I'll do a countdown from 5 to 0",bc_blue; sleep2 1000; mapannounce "quiz_02","All you have to do is go to box of the number you want",bc_blue; sleep2 1000; mapannounce "quiz_02","Example, If I get the number 4, All players standing on number 1 to 3 loses.",bc_blue; sleep2 1000; mapannounce "quiz_02","We'll do it again and again until we have 1 player left on this map.",bc_blue; sleep2 2000; mapannounce "quiz_02","Before I forget, you must GO INSIDE THE BOX! because if you're caught standing outside the box you'll be automatically disqualified!",bc_blue; sleep2 2000; mapannounce "quiz_02","That's it.. Now let's get it on!",bc_blue; sleep2 3000; goto L_start; end; L_start: enablenpc "Go Back#1"; enablenpc "Go Back#2"; enablenpc "Go Back#3"; enablenpc "Go Back#4"; if(getmapusers("quiz_02") == 1) goto L_winner; enablenpc "Box 1"; enablenpc "Box 2"; enablenpc "Box 3"; enablenpc "Box 4"; if(getmapusers("quiz_02") == 0) goto L_noone; if(getmapusers("quiz_02") > 1) { set $@number,rand(1,4); sleep2 1000; mapannounce "quiz_02","I'm ready to pick a number. Please go to the box of the number you want! Go go go!",bc_blue; sleep2 20000; mapannounce "quiz_02","5",bc_blue; sleep2 1500; mapannounce "quiz_02","4",bc_blue; sleep2 1500; mapannounce "quiz_02","3",bc_blue; sleep2 1500; mapannounce "quiz_02","2",bc_blue; sleep2 1500; mapannounce "quiz_02","1",bc_blue; disablenpc "Box 1"; disablenpc "Box 2"; disablenpc "Box 3"; disablenpc "Box 4"; disablenpc "Go Back#1"; disablenpc "Go Back#2"; disablenpc "Go Back#3"; disablenpc "Go Back#4"; areawarp "quiz_02",32,95,79,76,"que_moon",100,22; areawarp "quiz_02",80,85,80,76,"que_moon",100,22; areawarp "quiz_02",31,85,31,76,"que_moon",100,22; if(getmapusers("quiz_02") == 0) goto L_noone; sleep2 1000; mapannounce "quiz_02","Time's Up. Winning number is "+$@number+"!",bc_blue; if($@number == 4) goto L_Lose1; if($@number == 3) goto L_Lose2; if($@number == 2) goto L_Lose3; if($@number == 1) goto L_Lose4; end; } L_Lose1: areawarp "quiz_02",33,73,41,52,"que_moon",100,22; areawarp "quiz_02",45,73,53,52,"que_moon",100,22; areawarp "quiz_02",57,73,65,52,"que_moon",100,22; goto L_start; end; L_Lose2: areawarp "quiz_02",33,73,41,52,"que_moon",100,22; areawarp "quiz_02",45,73,53,52,"que_moon",100,22; areawarp "quiz_02",69,73,77,52,"que_moon",100,22; goto L_start; end; L_Lose3: areawarp "quiz_02",33,73,41,52,"que_moon",100,22; areawarp "quiz_02",57,73,65,52,"que_moon",100,22; areawarp "quiz_02",69,73,77,52,"que_moon",100,22; goto L_start; end; L_Lose4: areawarp "quiz_02",45,73,53,52,"que_moon",100,22; areawarp "quiz_02",57,73,65,52,"que_moon",100,22; areawarp "quiz_02",69,73,77,52,"que_moon",100,22; goto L_start; end; L_noone: announce "No one won the Dice Event!",bc_all; disablenpc "Claim Your Prize!#dice"; disablenpc "Dice Event Warper#dice"; set $@diceon,0; end; L_winner: enablenpc "Claim Your Prize!#dice"; disablenpc "Dice Event Warper#dice"; end; } quiz_02,55,84,3 script Claim Your Prize!#dice 904,{ set #EVENTPOINTS,#EVENTPOINTS+1; announce strcharinfo(0)+" won the Dice Event!",bc_all; disablenpc "Claim Your Prize!#dice"; disablenpc "Dice Event Warper#dice"; dispbottom "You now have "+#EVENTPOINTS+" Event Point(s)."; warp "animeresort",155,180; set $@diceon,0; close; end; } can you pls tell me how can i change the announce time like 'Dice Will begin in 3mins. .Dice will begin in 2mins dice will begin in 1 min in 30 sec then 10 9 8 7 6 5 4 3 2 1
  2. what do you mean ill change it to no? tanks its working now.
  3. i dont know whats wrong i just got error when im trying to go kill all boss in dungeuns. ? why btw heres the error
  4. im uing this script. i dont see any error on map,char,log but when i try to buy something in that shop i just got stack cant move only solution is alt+f4
  5. done can you please tell me where can i get old version of xray or sakexe. Febrauray 02 2007
  6. how can i check the client version... like i have for example myRO.exe << how can i check the date ?
  7. HOW CAN I MAKE THIS 1 CLICK and only pvp_y_1-2
  8. how can i install this one. upload it to main or addons folder?
  9. yes its working now. but it doesnt show that im getting ccash point. but when i go to npc it show that i have points
  10. can you pls put it on notepad. because when i try to save it it ust in one line and i dont know how to arrange it its not working
  11. how can i make it for 1 map only?
  12. can someone give me a cashpoint npc. pls upload it with notepad
  13. helo, i just want to ask how to make custom shop using cashpoint?
  14. well i guess you didnt put the right name of your .bmp in item and collection folder check your idresnametable.txt if the name match with your item and collection.
  15. weird things happen after i put all sprite and .bmp of my custom items. check. SOLVED. can close topic now
  16. well i think there is no way to fix that with the latest hexed.
  17. this is the latest lua files.. http://svn6.assembla.com/svn/ClientSide/Lua_Project/lua%20files/
  18. thanks i got it fix thanks to all users in IRC.
  19. gawa ka lang new ng grf for example eto ung ginawa mo testing2.grf ilagay mo lang sya sa data.ini mo 0=testing.grf < main 1=testing2.grf < ung gusto mo ilagay 2=data.grf 3=rdata.grf
×
×
  • Create New...