Jump to content

Jb Roxas

Members
  • Posts

    95
  • Joined

  • Last visited

Everything posted by Jb Roxas

  1. @backtea The Script is not running, can u check it on your test server?
  2. How to disable the skill of "ESKE" & "ESWOO" of Soul Linker Job. Thanks.
  3. i got a problem on my server, some of player's encountered an auto exit, sometimes when they are playing or warping its automatically exit the ro.exe has anyone encountered that problem?
  4. i need working LMS guys hope you can help me, i already try other LMS script but some of them are still bug/error & not working. Script Request, Prize 7227, Quantity 1, * EVERY 3hours Map *force_1-3 100 180 disable skill *no backslide *no icewall *no branch *no vend *no party *no memo *no save *no warp *no warpto *no teleport Tnx.
  5. oh that's the portal, let me try sir the Disguise NPC is not starting to talk about what monster is going to guess.
  6. Where is the portal? the npc says that please enter the portal, but it's not showing. /*//----------------------------------------------------------------// //----------------Scripted by Spera---------------------------------// //------------------FinalStrikeRO-----------------------------------// //--------------------Disguise Event NPC v2-------------------------// /-------------------------------------------------------------------//*/ yuno_pre,33,95,2 script Disguise CP 968,{ if (getgmlevel()<50) { mes "^3399FF[Disguise CP]^000000"; mes "Sorry, you are not a GM!"; close; } mes "^3399FF[Disguise CP]^000000"; mes "Hello GameMaster!"; mes "What do you want to do?"; switch(select("Start Event:Stop Event:Set number of rounds[^E50000"+$guessrounds+"^000000]:Set prize^E50000 ["+getitemname($guessprize)+"]^000000 ^E50000 ["+ $guessprizecount + "]^000000:Nothing")) { case 1: { next; mes "^3399FF[Disguise CP]^000000"; mes "Please confirm by typing START."; input .@confirm$; if (.@confirm$ == "START") { donpcevent "guessAnnouncer::OnGMStart"; close; } mes "Confirmation failed"; close; break; } case 2: { next; mes "^3399FF[Disguise CP]^000000"; mes "Please confirm by typing STOP."; input .@confirm$; if (.@confirm$ == "STOP") { donpcevent "guessAnnouncer::OnGMStop"; close; } mes "Confirmation failed"; close; break; } case 3: { next; mes "^3399FF[Disguise CP]^000000"; mes "Please type in the new number."; input $guessrounds; if ($guessrounds > 30) set $guessrounds, 30; else if ($guessrounds < 1) set $guessrounds, 1; close; } case 4: { next; mes "^3399FF[Disguise CP]^000000"; mes "Please type in the new prize id."; input .@guessprizeid; if (getitemname(.@guessprizeid) == "null" || getitemname(.@guessprizeid) == "") {next; mes "^3399FF[Disguise CP]^000000"; mes "Error"; mes "This item does not exist in the database..."; close;} set $guessprize, .@guessprizeid; next; mes "^3399FF[Disguise CP]^000000"; mes "Please type in the amount."; input .@guessprizeamount; if (!.@guessprizeamount) set .@guessprizeamount,1 ; set $guessprizecount,.@guessprizeamount; next; mes "^3399FF[Disguise CP]^000000"; mes "Prize has been set to ^E50000 "+ getitemname($guessprize)+ "^000000 and the amount to ^E50000 " +$guessprizecount+"^000000"; close; } case 5: { next; mes "^3399FF[Disguise CP]^000000"; mes "Good bye"; close; } } } poring_c01,102,99,4 script Disguise NPC 794,{ if (!$guessbegin) { mes "^3399FF[Disguise NPC]^000000"; mes "The event is going to start soon!"; close; } end; OnStart: set $guessbegin, 1; set .DisguiseWon, 0; if (!$DisguiseRound) { npctalk "Alright. Let's get it over with ~.~ "; sleep 4000; npctalk "But first I will explain to you how to play the game."; sleep 6000; npctalk "I am going to disguise into a random monster."; sleep 5000; npctalk "You have to guess the monster's name and shout it out."; sleep 5000; npctalk "Don't bother about the use of capital and small initial letters."; sleep 8000; npctalk "Now get ready."; sleep 5000; } else if ($DisguiseRound < $guessrounds-1) { npctalk "Get ready for the next round."; setnpctimer 0; sleep 8000; } else { npctalk "Last round now!"; sleep 2000; npctalk "Get ready."; sleep 6000; } do { set .@guessrepeat, 0; set $monster, 1000 + rand(1,950); for (set .@k, 0; .@k <getarraysize($Forbidden); set .@k, .@k+1) { if ($monster == $Forbidden[.@k]) { set .@guessrepeat, 1; break; } } } while (.@guessrepeat); setnpctimer 0; initnpctimer; setnpcdisplay "Disguise NPC",$monster; set $MonsterName$, strmobinfo(1,$monster); defpattern 1, "([^:]+):.*s"+$MonsterName$+"(.*)", "winround"; activatepset 1; npctalk "What's my name?"; sleep 3000; npcwalkto 102,103; sleep 2000; npcwalkto 102,99; end; OnTimer10000: if (!.DisguiseWon) { npctalk "Come on. What monster am I?"; sleep 3000; npcwalkto 102,103; sleep 2000; npcwalkto 102,99; if (!$guessactive) {disablenpc "guesswarp"; disablenpc "Disguise NPC"; end;} } end; OnTimer25000: if (!.DisguiseWon) { npctalk "Nobody knows that monster?"; sleep 3000; npcwalkto 102,103; sleep 2000; npcwalkto 102,99; } end; OnTimer35000: if (!.DisguiseWon) { npctalk "You get 10 more seconds to guess my name."; sleep 3000; npcwalkto 102,103; sleep 2000; npcwalkto 102,99; } end; OnTimer45000: if (!.DisguiseWon) { npctalk "Round is over."; if (!$guessactive) {disablenpc "guesswarp"; disablenpc "Disguise NPC"; end;} set $DisguiseRound, $DisguiseRound + 1; sleep 3000; deletepset 1; npctalk $MonsterName$ + " would have been the correct answer."; sleep 5000; if ($DisguiseRound >= $guessrounds) { set $DisguiseRound, 0; sleep 3000; npctalk "Event is over now!"; sleep 3500; npctalk "See ya guys"; sleep 2000; emotion 12; sleep 1000; set $guessactive, 0; mapwarp "poring_c01.gat","que_qsch05.gat",252,341; setnpcdisplay "Disguise NPC",794; disablenpc "Disguise NPC"; end; } goto OnStart; } end; winround: setnpctimer 0; deletepset 1; set .DisguiseWon, 1; set $DisguiseRound, $DisguiseRound + 1; npctalk strcharinfo(0) + " got my right name!",0; sleep2 3000; npctalk $MonsterName$ + " is the correct answer."; sleep2 3000; npctalk "Take this as a reward."; getitem $guessprize, $guessprizecount; if (!$guessactive) {disablenpc "guesswarp"; disablenpc "Disguise NPC"; end;} if ($DisguiseRound >= $guessrounds) { set $DisguiseRound, 0; set $guessactive, 0; sleep 3000; npctalk "Event is over now!"; sleep 3500; npctalk "See ya guys"; sleep 2000; emotion 12; sleep 1000; mapwarp "poring_c01.gat","que_qsch05.gat",252,341; setnpcdisplay "Disguise NPC",794; disablenpc "Disguise NPC"; end; } sleep 5000; goto OnStart; end; } //----------------------------------------------------------------------------------- //----------------------------------------------------------------------------------- - script guessAnnouncer -1,{ OnGMStart: if ($guessactive) end; set $guessactive, 1; announce "A Gamemaster has started the Disguise Event",0; set $guessbegin, 0; sleep 3000; if (!$guessactive) end; announce "If you want to join, come to the main town, head downwards and enter the warp portal.",0; enablenpc "guesswarp"; enablenpc "Disguise NPC"; sleep 3000; announce "Number of Rounds: "+$guessrounds,0; sleep 2000; announce "Prize: "+ getitemname($guessprize) + " x " + $guessprizecount,0; sleep 2000; if (!$guessactive) {disablenpc "guesswarp"; disablenpc "Disguise NPC"; end;} announce "The portal is going to close in one minute.",0; sleep 60000; if (!$guessactive) {disablenpc "guesswarp"; disablenpc "Disguise NPC"; end;} announce "The portal has been closed.",0; disablenpc "guesswarp"; set $DisguiseRound, 0; sleep 5000; if (!$guessactive) {disablenpc "Disguise NPC"; end;} if(getmapusers("poring_c01") == 0) { disablenpc "Disguise NPC"; set $guessactive, 0; end; } donpcevent "Disguise NPC::OnStart"; end; OnGMStop: if ($guessactive) { set $guessactive, 0; announce "A Gamemaster has stopped the Disguise Event",0; set $DisguiseRound, 0; mapwarp "poring_c01.gat","que_qsch05.gat",252,341; setnpcdisplay "Disguise NPC",794; disablenpc "Disguise NPC"; disablenpc "guesswarp"; } end; OnClock0200: OnClock0400: OnClock0600: OnClock0800: OnClock1000: OnClock1200: OnClock1400: OnClock1600: OnClock1800: OnClock2000: OnClock2200: OnClock0000: if ($guessactive) end; set $guessactive, 1; announce "The server is starting a Disguise Event now.",0; set $guessbegin, 0; sleep 3000; if (!$guessactive) end; announce "If you want to join, come to the main town, head downwards and enter the warp portal.",0; enablenpc "guesswarp"; enablenpc "Disguise NPC"; sleep 2000; announce "Prize: "+ getitemname($guessprize) + " x " + $guessprizecount,0; sleep 2000; if (!$guessactive) {disablenpc "guesswarp"; disablenpc "Disguise NPC"; end;} announce "The portal is going to close in one minute.",0; sleep 60000; if (!$guessactive) {disablenpc "guesswarp"; disablenpc "Disguise NPC"; end;} announce "The portal has been closed.",0; disablenpc "guesswarp"; sleep 5000; if (!$guessactive) {disablenpc "Disguise NPC"; end;} announce "Next Event will start in 2 hours.",0; set $DisguiseRound, 0; if(getmapusers("poring_c01") == 0) { disablenpc "Disguise NPC"; set $guessactive, 0; end; } donpcevent "Disguise NPC::OnStart"; end; OnInit: disablenpc "Disguise NPC"; disablenpc "guesswarp"; set $guessactive, 0; setarray $Forbidden[0],1003,1006,1017,1021,1022,1027,1043,1136,1137,1168,1171,1172,1173,1181,1210,1217,1218,1223,1284,1324,1325,1326,1327,1328,1329,1330,1331,1332,1333,1334,1335,1336,1337,1338,1339,1340,1341,1342,1343,1344,1345,1346,1347,1348,1349,1350,1351,1352,1353,1354,1355,1356,1357,1358,1359,1360,1361,1362,1363,1407,1411,1414,1496,1501,1900; } //----------------------------------------------------------------------------------- //------------------Warp Portal------------------------------------------------------ que_qsch05,253,320,0 warp guesswarp 2,2,poring_c01,103,95 //----------------------------------------------------------------------------------- //------------------Map Flags-------------------------------------------------------- poring_c01 mapflag nowarpto poring_c01 mapflag noskill poring_c01 mapflag nosave poring_c01 mapflag nomemo poring_c01 mapflag noteleport //----------------------------------------------------------------------------------- no one reply?
  7. Sir on this script, the npc prize giver is not showing after someone won the game.
  8. Sir can u type how to put the broadcast on this script if i win this item elseif(.Random>5&&.Random<=10) getitem 5443,1; <---- that is Cherub Hat Example of broadcast, YOU WON CHERUB HAT
  9. elseif(.Random>5&&.Random<=10) getitem 5443,1; announce "You get item NAME",5443; elseif(.Random>10&&.Random<=14) getitem 2294,1; announce "You get item NAME",2294; elseif(.Random>14&&.Random<=17) getitem 5509,1; announce "You get item NAME",5509; elseif(.Random>17&&.Random<=19) getitem 5150,1; announce "You get item NAME",5150; elseif(.Random>19&&.Random<=20) getitem 5426,1; announce "You get item NAME",5426; is it right?
  10. @Emistry How about if, else if( .Random > 5 && .Random <= 10 ) getitem 5443,1; BROADCAST THE NAME OF THE ITEM IF THEY WON
  11. else if( .Random > 5 && .Random <= 10 ) getitem 5443,1; <<- it means 5% over 100% ?? else if( .Random > 10 && .Random <= 14 ) getitem 2294,1; else if( .Random > 14 && .Random <= 17 ) getitem 5509,1; else if( .Random > 17 && .Random <= 19 ) getitem 5150,1; else if( .Random > 19 && .Random <= 20 ) getitem 5426,1; <<-- it means 1% over 100% ??
  12. Please Help me to set this script into, every 3HOURS and the Prize is id# 20078 Quantity 1 tnx. //########################################################################## //By: ____ _ __ __ ____ _____ # // | \ ___ __ __ _ | | \ \ / /_ _ _ / ___\ / ____| # // | || | / _ \\ \ / /| || | \ \ / /| || \ | || | ___ | (___ # // | || || __/ \ \/ / | || |__ \ \/\/ / | || \| || |___|\ \___ \ # // __|____/__\___|__\__/__|_||____|_____\_/\_/__|_||_|\__|_\_____/_____) | # //|_____________________________________________________________________/ # // # //########################################################################## // # //== Dice Event # // # //########################################################################## //== Edited by Keale # //== Removed 30 Min Timer and added trigger NPC # //== Able to set prize and amount via the NPC # //== Added Mapflags # //== Edited area warps # //########################################################################## - script Dice#disable -1,{ OnInit: disablenpc "prtevent"; hideonnpc "Dice#evnt1"; end; } prontera,140,162,5 script Mrs. Dice 959,{ if (getgmlevel() >= 80) goto Dice_Admin; mes "[Mrs. Dice]"; mes "Hello " + strcharinfo(0) + ", my husband Mr. Dice is currently out gambling."; mes "That buffoon is always losing our money... *sigh*"; close; Dice_Admin: mes "[Mrs. Dice]"; mes "Hello GM " + strcharinfo(0) + ", would you like me to call my husband?"; mes "He just loves playing the Dice Event with your players."; menu "Start Event",startdice,"Check Prize",checkprize,"Set Prize",setprize,"No Thanks",enddice; startdice: next; mes "[Mrs. Dice]"; mes "Ok, I'll call him this instant."; close2; goto startdiceevent; checkprize: next; mes "[Mrs. Dice]"; mes "The current prize is ^008000"+ $get_item_amount +" "+ getitemname($get_item_id) +"^000000"; next; goto Dice_Admin; setprize: next; mes "[Mrs. Dice]"; mes "What should the prize for winning be? Please input the ID"; input $get_item_id; next; mes "[Mrs. Dice]"; mes "How many if this item should we give away?"; input $get_item_amount; next; mes "[Mrs. Dice]"; mes "So, the prize is ^008000"+ $get_item_amount +" "+ getitemname($get_item_id) +"^000000? Wonderful dear."; next; goto Dice_Admin; enddice: next; mes "[Mrs. Dice]"; mes "Ok darling, nice seeing you."; close; startdiceevent: announce "Mr. Dice: The Dice event will be starting shortly.",0; sleep2 10000; announce "Mr. Dice: Those who want to play, please proceed to the center of Prontera and enter the Warp Portal.",0; sleep2 10000; announce "Mr. Dice: After 1 Minute the Portal will close.",0; sleep2 10000; announce "Mr. Dice: Please go to the middle of Prontera and enter the Warp Portal now if you want to join.",0; enablenpc "prtevent"; initnpctimer; end; OnTimer30000: announce "Mr. Dice: Last 30 seconds.",0; sleep2 5000; announce "Mr. Dice: If you want to join please enter the Warp Portal in Prontera.",0; end; OnTimer50000: announce "Mr. Dice: Last 10 seconds.",0; end; OnTimer55000: announce "Mr. Dice: 5.",0; end; OnTimer56000: announce "Mr. Dice: 4.",0; end; OnTimer57000: announce "Mr. Dice: 3.",0; end; OnTimer58000: announce "Mr. Dice: 2.",0; end; OnTimer59000: announce "Mr. Dice: 1.",0; end; OnTimer60000: announce "Mr. Dice: Time's up.",0; end; OnTimer61000: disablenpc "prtevent"; donpcevent "Dice#evnt1::OnEnable"; stopnpctimer; end; } //-------------------------------------------------- prontera,155,182,0 warp prtevent 2,2,quiz_01,204,90 //-------------------------------------------------- quiz_01,204,93,6 script Dice#evnt1 715,{ //-------------------------------------------------- mes "[Mr. Dice]"; mes "Please tell me your name."; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Mr. Dice]"; mes "Are you sure thats your character name?"; close; } mes "[Mr. Dice]"; mes "Congrats. You've won."; close2; announce "Mr. Dice: We have a winner! well done "+.@name$+".",0; getitem $get_item_id,$get_item_amount; warp "prontera",155,182; disablenpc "Dice#evnt1"; end; OnEnable: mapannounce "quiz_01","Mr. Dice: We are about to start the Dice event.",0; sleep2 10000; mapannounce "quiz_01","Mr. Dice: But before we start the event here's how to play the game...",0; sleep2 10000; mapannounce "quiz_01","Mr. Dice: I'm only gonna say this once so read carefully.",0; sleep2 10000; mapannounce "quiz_01","Mr. Dice: I'm going to roll a number, 1 to 4. Then I'll do a count down from 5 to 0.",0; sleep2 10000; mapannounce "quiz_01","Mr. Dice: All you have to do is go stand on the box of the number you want.",0; sleep2 10000; mapannounce "quiz_01","Mr. Dice: For example, If I roll a number 4, All the players standing on numbers 1 to 3 will be warped back to town.",0; sleep2 10000; mapannounce "quiz_01","Mr. Dice: We will do it until we only have 1 player left on the map.",0; sleep2 10000; mapannounce "quiz_01","Mr. Dice: Oh yeah! Before I forget you MUST GO INSIDE THE BOX, because if you're caught standing on the stairs you'll be automatically disqualified.",0; sleep2 10000; mapannounce "quiz_01","Mr. Dice: Simple huh?.. Let's play...",0; sleep2 10000; goto L_Start; end; L_Start: if(getmapusers("quiz_01") == 1) goto L_Champ; if(getmapusers("quiz_01") == 0) goto L_None; if(getmapusers("quiz_01") > 1) { mapannounce "quiz_01","Mr. Dice: . . . . .",0; set $@number, rand(1,4); sleep2 10000; mapannounce "quiz_01","Mr. Dice: I have rolled. Please pick a number and go stand there.... GO!",0; sleep2 10000; mapannounce "quiz_01","Mr. Dice: 5",0; sleep2 5000; mapannounce "quiz_01","Mr. Dice: 4",0; sleep2 4000; mapannounce "quiz_01","Mr. Dice: 3",0; sleep2 3000; mapannounce "quiz_01","Mr. Dice: 2",0; sleep2 2000; mapannounce "quiz_01","Mr. Dice: 1",0; sleep2 1000; mapannounce "quiz_01","Mr. Dice: Time's up.",0; donpcevent "evnt#1::OnEnable"; mapannounce "quiz_01","Mr. Dice: The winning number is "+$@number+".",0; if(($@number != 1) && ($@number != 2) && ($@number != 3)) goto L_Lose1; if(($@number != 1) && ($@number != 2) && ($@number != 4)) goto L_Lose2; if(($@number != 1) && ($@number != 3) && ($@number != 4)) goto L_Lose3; if(($@number != 2) && ($@number != 3) && ($@number != 4)) goto L_Lose4; end; } L_Lose1: areawarp "quiz_01",183,81,191,59,"prontera",155,182; areawarp "quiz_01",195,81,203,59,"prontera",155,182; areawarp "quiz_01",207,81,215,59,"prontera",155,182; goto L_Start; end; L_Lose2: areawarp "quiz_01",183,81,191,59,"prontera",155,182; areawarp "quiz_01",195,81,203,59,"prontera",155,182; areawarp "quiz_01",219,81,227,59,"prontera",155,182;; goto L_Start; end; L_Lose3: areawarp "quiz_01",183,81,191,59,"prontera",155,182; areawarp "quiz_01",207,81,215,59,"prontera",155,182; areawarp "quiz_01",219,81,227,59,"prontera",155,182; goto L_Start; end; L_Lose4: areawarp "quiz_01",195,81,203,59,"prontera",155,182; areawarp "quiz_01",207,81,215,59,"prontera",155,182; areawarp "quiz_01",219,81,227,59,"prontera",155,182; goto L_Start; end; L_Champ: mapannounce "quiz_01","Mr. Dice: Come to me and tell me your name.",0; hideoffnpc "Dice#evnt1"; end; L_None: disablenpc "Dice#evnt1"; end; } - script evnt#1 -1,{ OnEnable: areawarp "quiz_01",182,94,228,88,"prontera",155,182; areawarp "quiz_01",185,87,188,82,"prontera",155,182; areawarp "quiz_01",197,87,200,82,"prontera",155,182; areawarp "quiz_01",209,87,212,82,"prontera",155,182; areawarp "quiz_01",221,87,224,82,"prontera",155,182; end; } // -- Mapflags quiz_01 mapflag nowarp quiz_01 mapflag nowarpto quiz_01 mapflag noteleport quiz_01 mapflag nosave quiz_01 mapflag nomemo quiz_01 mapflag nobranch
  13. for example: headgear's id# 5738 chance 5% 5443 chance 5% 2294 chance 4% 5509 chance 3% 5150 chance 2% 5426 chance 1% Chances of Losing is 20% item to use to get those prize is id# 20078 Quantity 1 Npc special effect IF WON = /grat IF LOSE = npc effect like the refiner who failed to refine the items
  14. where should i put that patch?
  15. i need goldroom with Dokebi monster 1000 monster respawn 5sec when they died map ordeal_1-1 no time limit tnx.
  16. sir its not working, i cant see the npc board, can u refixed please?
×
×
  • Create New...