Jump to content

Cooon

Members
  • Posts

    42
  • Joined

  • Last visited

Everything posted by Cooon

  1. Request SOLVED.. Thank You Again Emistry for Helping
  2. Merry Christmas To All. Godbless Us =)

  3. Cooon

    WOE WARPER

    sure sir. appreciate it. sorry my mistake
  4. @Emistry is work but nothing wons. the npc disguise as Vitata. when i type the word Vitata and press enter. the npc continues to countdown.
  5. i think the given link of Emistry is not only the name of the monster will be guess.. and so long to wait if you don't know the monster and you want to move on the nxt round.
  6. prontera,155,167,5 script Monster Wiki 439,{ while( 1 ){ mes "Event Status : "+((!.WikiStatus )?"^FF0000OFF":"^0000FFON")+" ^000000"; mes "^00FF00_______________________________^000000"; mes "How may i assist you, ^0000FF"+strcharinfo(0)+"^000000 ?"; next; switch( select( ( !.WikiStatus || !.MonsterID )?"":"Write Answer", "^00FF00Information^000000", ( getgmlevel() < 60 )?"":"^FF0000[GM]^000000 "+(( !.WikiStatus )?"Start Event":"Stop Event"), ( getgmlevel() < 80 )?"":"^FF0000[GM]^000000 Setting" )){ Case 1: if( getgmlevel() >= 80 ) mes "Answer : ^FF0000"+.Answer$+"^000000"; switch( .Mode ){ Case 0: mes "Please Input the ^FF0000NAME^000000 of monster."; mes "^0000FFRemind^000000 : It is ^FF0000Case-Sensitive^000000"; mes "Example : ^0000FFPoring^000000"; break; Case 1: mes "Please Input the ^FF0000LEVEL^000000 of monster."; mes "Example. ^0000FF10 / 20 / 35 / 75^000000"; set .Hint,getmonsterinfo( .MonsterID,1 ) - rand(30); mes "^FF0000Hint^000000 : Between "+( (( .Hint ) < 1 )?"0":.Hint)+" ~ "+( getmonsterinfo( .MonsterID,1 ) + rand(30) )+" "; break; Case 2: mes "Please Input the ^FF0000SIZE^000000 of monster."; mes "^0000FFRemind^000000 : It is ^FF0000Case-Sensitive^000000"; mes "Example. ^0000FFSmall / Medium / Large^000000"; break; Case 3: mes "Please Input the ^FF0000RACE^000000 of monster."; mes "^0000FFRemind^000000 : It is ^FF0000Case-Sensitive^000000"; mes "^FF0000List of Available Answer^000000"; mes "^00FF00_______________________________^000000"; for( set .@i,0; .@i < getarraysize( .Race$ ); set .@i,.@i + 1 ){ mes " - ^0000FF"+.Race$[.@i]+"^000000"; } break; Case 4: mes "Please Input the ^FF0000ELEMENT^000000 of monster."; mes "^0000FFRemind^000000 : It is ^FF0000Case-Sensitive^000000"; mes "^FF0000List of Available Answer^000000"; mes "^00FF00_______________________________^000000"; for( set .@i,0; .@i < getarraysize( .Element$ ); set .@i,.@i + 1 ){ mes " - ^0000FF"+.Element$[.@i]+"^000000"; } break; } input @Guess$; if( .MonsterID == 0 || @Guess$ != .Answer$ ){ mes "Sorry, you are ^FF0000WRONG^000000 or ^FF0000Too Late^000000 for the Answer."; close; }else{ mes "^FF0000Correct^000000 !! I wonder how good are you in this."; stopnpctimer; getitem $WikiItemID,$WikiAmount; close2; setnpcdisplay( strnpcinfo(0),rand( 436,439 ) ); announce "You're Right [ "+strcharinfo(0)+" ] . The Answer is [ "+.Answer$+" ]",bc_npc,0xED1ADC; set .MonsterID,0; doevent strnpcinfo(0)+"::OnStart"; } end; Case 2: mes "^FF0000PsychoRO^000000 is the ^0000FFFirst Server^000000 who have this Event."; next; mes "This is a ^FF0000Monster Wiki^000000"; mes "I will ask you everything about ^FF0000Monster^000000."; mes "^00FF00_______________________________^000000"; mes "The ^0000FFQuestions^000000 could be either in ^FF0000Name , Race , Element , Level , Size ^000000 of Monster."; next; break; Case 3: if( !$WikiRound || getitemname( $WikiItemID ) == "null" ){ mes "Please Configure your ^FF0000NPC Setting^000000 before you start."; next; break; } set .WikiStatus,( .WikiStatus )?"0":"1"; mes "Event is now "+( .WikiStatus )?"^0000FFStarted":"^FF0000Stopped"+"^000000"; announce "Monster Wiki Event is now "+( .WikiStatus )?"Started":"Stopped"+"^000000",bc_blue; close2; if( .WikiStatus ){ set .Round,0; doevent strnpcinfo(0)+"::OnStart"; } end; Case 4: while( 1 ){ mes "How can i assist you ^FF0000GM^000000?"; next; switch( select( "Prize [ ^0000FF"+$WikiAmount+" x "+getitemname( $WikiItemID )+"^000000 ]", "Round [ ^0000FF"+$WikiRound+"^000000 ]", "^0000FFBack^000000" )){ Case 1: mes "Input the ^FF0000Item ID^000000"; do{ input $WikiItemID,501,32767; }while( getitemname( $WikiItemID ) == "null" ); mes "Input the ^FF0000Amount^000000"; input $WikiAmount,1,30000; next; break; Case 2: mes "Input the ^FF0000Max. Round^000000"; input $WikiRound,1,50; next; break; Case 3: mes "Redirect back to menu..."; next; } break; } break; } } OnMinute00: for( set .@i,3; .@i > 0 ; set .@i,.@i - 1 ){ announce "Monster Wiki Event will take place in Prontera within "+.@i+" Minutes",bc_blue; sleep 60000; } set .Round,0; set .WikiStatus,1; OnStart: sleep2 5000; set .Round,.Round + 1; if( .Round > $WikiRound ){ mapannounce .Map$,"Monster Wiki Event has Ended. Thank for Participate in this Event.",bc_map,0x7766EE; set .WikiStatus,0; sleep2 5000; //mapwarp .Map$,"prontera",155,171; setnpcdisplay( strnpcinfo(0),rand( 436,439 ) ); }else{ npctalk "Round [ "+.Round+" ] within 5 Seconds."; sleep2 5000; do{ set .MonsterID,rand( 1002,1999 ); }while( getmonsterinfo( .MonsterID,0 ) == "null" || getmonsterinfo( .MonsterID,0 ) == "" ); set .Mode,rand(5); switch( .Mode ){ Case 0: set .Answer$, getmonsterinfo( .MonsterID,0 ); break; // Name Case 1: set .Answer$, getmonsterinfo( .MonsterID,1 ); break; // Level Case 2: set .Answer$, .Size$[ getmonsterinfo( .MonsterID,18 ) ]; break; // Size Case 3: set .Answer$, .Race$[ getmonsterinfo( .MonsterID,19 ) ]; break; // Race Case 4: set .Answer$, .Element$[ getmonsterinfo( .MonsterID,20 ) ]; break; // Element } setnpcdisplay( strnpcinfo(0),.MonsterID ); npctalk "Let Guess the Info Of this Monster.."; initnpctimer; } end; OnTimer10000: npctalk "20 Left..."; end; OnTimer20000: npctalk "10 Left..."; end; OnTimer30000: mapannounce .Map$,"Time's Up. All Failed in this Round.",bc_map,0x00FF00; donpcevent strnpcinfo(0)+"::OnStart"; set .MonsterID,0; stopnpctimer; end; OnInit: OnWhisperGlobal: set .Map$,"prontera"; setarray .Size$[0],"Small","Medium","Large"; setarray .Race$[0],"Formless","Undead","Brute","Plant","Insect","Fish","Demon","Demi Human","Angel","Dragon"; setarray .Element$[0],"Neutral","Water","Earth","Fire","Wind","Poison","Holy","Dark","Spirit","Undead"; end; } @Emistry: Can u edit your script to Name only of the monster will be guess and ( 10seconds only to be guess the monster or else the npc will back to normal looks ) 15rounds of disguise please.. prize of each round is itemID:7179 (Proof of Donation)
  7. Cooon

    WOE WARPER

    @Emistry: Thank You So Much it works now.. so long discussion but a simple script will do. sorry for me im newbie here.. Merry Christmas
  8. if i type the correct monster name. the npc did not says im the winner he continues to countdown til Game Over error line 42 how i going to fix this ?
  9. Cooon

    WOE WARPER

    wrong.. the 4 menu is all prt_gld please state the Mardol(aru_gld) and warp to here aru_gld 161,267 also for Viblainn(sch_gld) and warp to sch_gld 97,193 like if i choose Mardol in the Menu i will warp here aru_gld 161,267 for Viblainn sch_gld 97,193 I Hope You Get That Sir
  10. //= Poring Catcher - GM Control Event Script //===== By: ================================================================================= //= Washi - www.EarthBound-RO.com //===== Compatible With: ==================================================================== //= Any eAthena Version //===== Description: ======================================================================== //= Single NPC that starts when a GM activates it. //===== Additional Comments: ================================================================ //= This script is a combenation of the Dice Event by [Mahina] //= and the origonal Poring Catcher Event by [Wild Karrd] //=========================================================================================== //= getgmlevel() >= 40 - Change the 40 to the GM level allowed to active this event. [ LINE 24 ] //= getitem - Change this to the Item ID of your prize. [ LINE 134 ] //=========================================================================================== - script poring#announcer -1,{ OnInit: disablenpc "poringevent"; hideonnpc "Poring Catcher#evnt2"; end; } prontera,147,175,6 script Poring Catcher 715,{ if (getgmlevel() >= 40) goto L_GM; mes "[Poring Catcher]"; mes "Hello, im under orders to only activate this great event when a GM says so."; close; L_No: close; L_GM: mes "[Poring Catcher]"; mes "Would you like to start this event?"; menu " - Yes",-,"- No",L_No; mes "^00DD00Please Wait^000000. (^DD000010 Seconds^000000)"; announce "Poring Catcher : It's time to play some Poring Catcher!",0; killmonster "poring_w01","All"; sleep2 10000; mes "Please Wait.. (^DD000010 Seconds^000000)"; announce "Poring Catcher : Please make your way to the centre of Prontera.",0; sleep2 10000; mes "^00DD00Please Wait^000000... (^DD000010 Seconds^000000)"; announce "Poring Catcher : After one minute the portal will close.",0; sleep2 10000; mes "Please Wait.... (^DD000010 Seconds^000000)"; announce "Poring Catcher : Enter the warp portal now if you want to join.",0; enablenpc "poringevent"; initnpctimer; close; OnMinute00: announce "Poring Catcher : Enter the warp portal now if you want to join.",0; enablenpc "poringevent"; OnTimer30000: announce "Poring Catcher : Last 30 seconds.",0; sleep2 5000; announce "Poring Catcher : Hurry to the centre of Prontera if you want to join.",0; end; OnTimer50000: announce "Poring Catcher : Last 10 seconds.",0; end; OnTimer55000: announce "Poring Catcher : 5.",0; end; OnTimer56000: announce "Poring Catcher : 4.",0; end; OnTimer57000: announce "Poring Catcher : 3.",0; end; OnTimer58000: announce "Poring Catcher : 2.",0; end; OnTimer59000: announce "Poring Catcher : 1.",0; end; OnTimer60000: announce "Poring Catcher : Time's up. Portal Will Open again when a GM activates it.",0; end; OnTimer61000: disablenpc "poringevent"; donpcevent "Poring Catcher#evnt2::OnEnable"; stopnpctimer; end; } //-------------------------------------------------- prontera,163,187,0 warp poringevent 2,2,poring_w01,106,129 //-------------------------------------------------- poring_w01,100,127,4 script Poring Catcher#evnt2 715,{ //-------------------------------------------------- mes "[Poring Catcher]"; if(PORING == 1) goto L_PORING; mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Poring Catcher]"; mes "Are you sure thats your character name?"; close; } mes "[Poring Catcher]"; mes "Congrats. You've won."; close2; announce "Poring Catcher : All laugh at, "+.@name$+". - This player tried to cheat the system. Muhahahahaha!",0; warp "prontera",155,182; end; L_PORING: mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Poring Catcher]"; mes "Are you sure thats your character name?"; close; } mes "[Poring Catcher]"; mes "Congrats. You've won."; close2; announce "Poring Catcher : We have a winner, "+.@name$+". - 1 Proof of Donation!",0; getitem 7179,1; // SET THE 20085 TO THE ITEM ID OF YOUR PRIZE set PORING,0; warp "prontera",155,182; hideonnpc "Poring Catcher#evnt2"; end; OnEnable: mapannounce "poring_w01","Poring Catcher : I will be summoning 100 different Porings.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : Only one of these Porings is the correct Poring.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : The correct Poring is called [ Poring ], all the other Porings have different names.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : Take your time because if you kill the wrong Poring, your out of the game.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : The first player to kill the correct Poring wins.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : That's that.. Now let's play...",0; goto L_Start; end; L_Start: mapannounce "poring_w01","Poring Catcher : 5",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 4",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 3",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 2",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 1",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : Lets Do This!",0; areamonster "poring_w01",84,119,121,90,"Poring",1002,1,"poringwin::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Pouring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Proing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poiring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"I am not Poring",1002,5,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Gniriop",1002,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poring",1113,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poring",1062,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poriiing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"PoriNg",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Porong",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"P0ring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Por1ng",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Porng",1002,1,"poringlose::OnMobKilled"; end; } - script poringwin -1,{ OnMobKilled: dispbottom "Poring : Congratulations. You've got me."; set PORING,1; atcommand "@doommap"; killmonster "poring_w01","All"; mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0; hideoffnpc "Poring Catcher#evnt2"; end; } - script poringlose -1,{ OnMobKilled: dispbottom "Poring Catcher : Wahaha, your a loser! - I wasnt the correct Poring."; warp "prontera",155,178; end; } // -- Mapflags poring_w01 mapflag nowarp poring_w01 mapflag nowarpto poring_w01 mapflag noteleport poring_w01 mapflag nosave poring_w01 mapflag nomemo poring_w01 mapflag nobranch poring_w01 mapflag noloot poring_w01 mapflag noskill poring_w01 mapflag nopenalty [/codeBOX] is this correct? cuz its too fast to countdown the npc.. HELP PLEASE Thanks a Lot Sir.
  11. Cooon

    WOE WARPER

    @Emistry script error on npc/custom/woe.txt line 4 need '(' 2 : { 3 : setarray .Map$[0],"prt_gld","pay_gld","alde_gld","sch_gld","aru_gld", * 4 : mes '"'Where you want to go ?"; 5 : for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ){ 6 : set .@Menu$,.@Menu$ + .Map$ +":"; 7 : } 8 : set .@i,select( .@Menu$ ) - 1; 9 : warp .Map$[.@i],0,0; and [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/woe.txt', line '12 '. Stopping... * w1=prontera,155,181,5 duplicate(Sample) Sample#1 742 * w2= * w3= * w4= next time...please spend some time elaborate what you want in detail =='' i just want a woe warper that has viblainn & mardol only no other than that..
  12. @Emistry: cant understand sir.. sorry newbie here.. where should i put OnMinute00: i think it is not automatcially start.. need to click the npc again.
  13. i need a script that poring catcher starts automatically every 1hour.. w/o gm permision or clicking in the pc npc. tnx
  14. - script poring#announcer -1,{ OnInit: disablenpc "poringevent"; hideonnpc "Poring Catcher#evnt2"; end; } prontera,147,175,6 script Poring Catcher 715,{ if (getgmlevel() >= 40) goto L_GM; mes "[Poring Catcher]"; mes "Hello, im under orders to only activate this great event when a GM says so."; close; L_No: close; L_GM: mes "[Poring Catcher]"; mes "Would you like to start this event?"; menu " - Yes",-,"- No",L_No; mes "^00DD00Please Wait^000000. (^DD000010 Seconds^000000)"; announce "Poring Catcher : It's time to play some Poring Catcher!",0; killmonster "poring_w01","All"; sleep2 10000; mes "Please Wait.. (^DD000010 Seconds^000000)"; announce "Poring Catcher : Please make your way to the centre of Prontera.",0; sleep2 10000; mes "^00DD00Please Wait^000000... (^DD000010 Seconds^000000)"; announce "Poring Catcher : After one minute the portal will close.",0; sleep2 10000; mes "Please Wait.... (^DD000010 Seconds^000000)"; announce "Poring Catcher : Enter the warp portal now if you want to join.",0; enablenpc "poringevent"; initnpctimer; close; OnTimer30000: announce "Poring Catcher : Last 30 seconds.",0; sleep2 5000; announce "Poring Catcher : Hurry to the centre of Prontera if you want to join.",0; end; OnTimer50000: announce "Poring Catcher : Last 10 seconds.",0; end; OnTimer55000: announce "Poring Catcher : 5.",0; end; OnTimer56000: announce "Poring Catcher : 4.",0; end; OnTimer57000: announce "Poring Catcher : 3.",0; end; OnTimer58000: announce "Poring Catcher : 2.",0; end; OnTimer59000: announce "Poring Catcher : 1.",0; end; OnTimer60000: announce "Poring Catcher : Time's up. Portal Will Open again when a GM activates it.",0; end; OnTimer61000: disablenpc "poringevent"; donpcevent "Poring Catcher#evnt2::OnEnable"; stopnpctimer; end; } //-------------------------------------------------- prontera,163,187,0 warp poringevent 2,2,poring_w01,106,129 //-------------------------------------------------- poring_w01,100,127,4 script Poring Catcher#evnt2 715,{ //-------------------------------------------------- mes "[Poring Catcher]"; if(PORING == 1) goto L_PORING; mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Poring Catcher]"; mes "Are you sure thats your character name?"; close; } mes "[Poring Catcher]"; mes "Congrats. You've won."; close2; announce "Poring Catcher : All laugh at, "+.@name$+". - This player tried to cheat the system. Muhahahahaha!",0; warp "prontera",155,182; end; L_PORING: mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[Poring Catcher]"; mes "Are you sure thats your character name?"; close; } mes "[Poring Catcher]"; mes "Congrats. You've won."; close2; announce "Poring Catcher : We have a winner, "+.@name$+". - 1 Proof of Donation!",0; getitem 7179,1; // SET THE 20085 TO THE ITEM ID OF YOUR PRIZE set PORING,0; warp "prontera",155,182; hideonnpc "Poring Catcher#evnt2"; end; OnEnable: mapannounce "poring_w01","Poring Catcher : I will be summoning 100 different Porings.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : Only one of these Porings is the correct Poring.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : The correct Poring is called [ Poring ], all the other Porings have different names.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : Take your time because if you kill the wrong Poring, your out of the game.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : The first player to kill the correct Poring wins.",0; sleep2 10000; mapannounce "poring_w01","Poring Catcher : That's that.. Now let's play...",0; goto L_Start; end; L_Start: mapannounce "poring_w01","Poring Catcher : 5",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 4",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 3",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 2",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : 1",0; sleep2 1000; mapannounce "poring_w01","Poring Catcher : Lets Do This!",0; areamonster "poring_w01",84,119,121,90,"Poring",1002,1,"poringwin::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Pouring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Proing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poiring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"I am not Poring",1002,5,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Gniriop",1002,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poring",1113,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poring",1062,1,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Poriiing",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"PoriNg",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Porong",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"P0ring",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Por1ng",1002,10,"poringlose::OnMobKilled"; areamonster "poring_w01",84,119,121,90,"Porng",1002,1,"poringlose::OnMobKilled"; end; } - script poringwin -1,{ OnMobKilled: dispbottom "Poring : Congratulations. You've got me."; set PORING,1; atcommand "@doommap"; killmonster "poring_w01","All"; mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0; hideoffnpc "Poring Catcher#evnt2"; end; } - script poringlose -1,{ OnMobKilled: dispbottom "Poring Catcher : Wahaha, your a loser! - I wasnt the correct Poring."; warp "prontera",155,178; end; } // -- Mapflags poring_w01 mapflag nowarp poring_w01 mapflag nowarpto poring_w01 mapflag noteleport poring_w01 mapflag nosave poring_w01 mapflag nomemo poring_w01 mapflag nobranch poring_w01 mapflag noloot poring_w01 mapflag noskill poring_w01 mapflag nopenalty[/codeBOX]
  15. Cooon

    WOE WARPER

    1 click emperium like dis click(npc)>warp for viblainn and mardol only and please put the duplicate npc because im having trouble this npc. sorry newbie here
  16. @Mysterious this is my DisguiseEvent.txt prontera,157,185,4 script Disguise event 990,{ if(.g==2) { mes "The game is starting now."; close; } if(.g==1) { mes "There is no game now."; close; } if(getarraysize(.n$)==100) { mes "Full"; close; } set @a6d92a9246c71689,0; set .n$[set(@f724386d4d0cf34b,getarraysize(.n$)+1)],strcharinfo(0); end; OnClock2100: set .g,0; deletearray .n$[0],128; announce "[system]Disguise event will start in 5 mins.",0; end; OnClock2105: set .g,2; getmapxy(.@m$,.@x,.@y,1,strnpcinfo(0)); areaannounce .@m$,.@x-10,.@y-10,.@x+10,.@y+10,"[Disguise event]Now the game is starting now.",0; sleep2(1000); areaannounce .@m$,.@x-10,.@y-10,.@x+10,.@y+10,"[Disguise event]You have to say what monster is disguised by me.",0; sleep2(2000); while(.t<=10) { for(; { if(set(.i$,getmonsterinfo(set(.i,rand(1022,2000)),0))!="null") { break; } } set .h,0; setnpcdisplay(strnpcinfo(0),strnpcinfo(0),.i); defpattern 1,".*:s(.*)"+.i$,"OnTalkC"; activatepset 1; sleep2(9000); set .t,.t+1; if(!.h) areaannounce .@m$,.@x-10,.@y-10,.@x+10,.@y+10,"[Disguise event] the answer is "+.i$+".",0; sleep2(2000); } areaannounce .@m$,.@x-10,.@y-10,.@x+10,.@y+10,"[Disguise event] Game Over "+.i$+".",0; setnpcdisplay(strnpcinfo(0),strnpcinfo(0),990); set .h,0; set .g,1; set .i$,""; deletearray .n$[0],128; end; OnTalkC: if(.g==1||.h||.n$[@f724386d4d0cf34b]!=strcharinfo(0)) end; set .h,1; dispbottom "================================================"; dispbottom " "; dispbottom "[Point+1][Now:"+set(@a6d92a9246c71689,@a6d92a9246c71689+1)+"]"; dispbottom " "; dispbottom "================================================"; getmapxy(.@m$,.@x,.@y,1,strnpcinfo(0)); areaannounce .@m$,.@x-10,.@y-10,.@x+10,.@y+10,"[Disguise event] "+strcharinfo(0)+" say the answer is "+.i$+".",0; getitem itemid,7179; end; OnInit: set .g,1; set .i$,""; end; } how can i change it to automatically start every 3hours.. thanks for your help , appreciate it
  17. is this automatic start the event or need a gm permision to start the event ?
  18. can anyone post a script of pods npc note: - 1 donation npc and all i want item will be there by cathegorized example menu: armors weapons cards accessories usables head gears shields garments etc. thanks a lot
×
×
  • Create New...