Jump to content

RyokoMVP

Members
  • Posts

    209
  • Joined

  • Last visited

Posts posted by RyokoMVP

  1. Hello , Can Someone Share A Newest idnum2itemdesctable With FULL Update Into 2012 Patch [ NON RENEWALL ]

    ~ My Friends Say Its too old update [ example White Wings Suit ] I Have 100% Effect To Arrow Strom~ But My friends say a new effect is 50% effect with arrow strom..

    so someone want to share it here? remember i need non renewall version ~

    thanks for help

    eh~ sorry... can someone help me to find effect for this item too ?

    5603,RTC_Winner_Only,RTC First Place,5,20,,800,,1,,0,0xFFFFFFFF,7,2,256,,0,1,577,{ bonus bAllstats,3; },{},{}

    5604,RTC_Second_Best,RTC Second Place,5,20,,800,,1,,0,0xFFFFFFFF,7,2,256,,0,1,578,{ bonus bAllstats,2; },{},{}

    5605,RTC_Third_Best,RTC Third Place,5,20,,800,,1,,0,0xFFFFFFFF,7,2,256,,0,1,579,{ bonus bAllstats,1; },{},{}

    18321,RWC_2010_Indonesia_Cap,RWC 2010 Indonesia Cap,5,20,,100,,6,,1,0xFFFFFFFE,7,2,256,,15,1,678,{ bonus bAspd,1; bonus bAtkRate,3; bonus bMatkRate,3; bonus bLuk,5; bonus bCritical,10; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bAddItemHealRate,501,100; bonus2 bAddItemHealRate,504,100; },{},{}

    18322,RTC_WINNER_HEADGEAR,Rtc Winner Headgear,5,1000,,200,,2,,1,0xFFFFFFFF,7,2,256,,0,1,683,{ bonus bAllstats,3; },{},{}

    18323,RTC_2ND_HEADGEAR,Rtc 2nd Headgear,5,1000,,200,,2,,1,0xFFFFFFFF,7,2,256,,0,1,684,{ bonus bAllstats,2; },{},{}

    18324,RTC_3RD_HEADGEAR,Rtc 3rd headgear,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,685,{ bonus bAllstats,1; },{},{}

    18325,EVILMARCHER_HAT,Evilmarcher Hat,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,687,{},{},{}

    18326,SINGING_BIRD,Singing Bird,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,702,{},{},{}

    18327,HEART_RIBBON_BAND,Heart Ribbon Band,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,708,{},{},{}

    18328,HONEYBEE_HAT,Honeybee Hat,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,709,{},{},{}

    18329,FANCY_PHANTOM_MAS,Fancy Phantom Mas,5,60,,100,,1,,0,0xFFFFFFFF,7,2,513,,0,0,710,{},{},{}

    18330,DEVIL_WHISPER,Devil Whisper,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,712,{},{},{}

    18331,SKULL_CAP,Skull Cap,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,713,{},{},{}

    18332,EVIL_MASK,Evil Mask,5,60,,100,,1,,0,0xFFFFFFFF,7,2,513,,0,0,714,{},{},{}

    18333,LITTLE_FHAT,Little Fhat,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,715,{},{},{}

    18334,LOVE_GUARD,Love Guard,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,716,{},{},{}

    18335,WITCHS_HAT,Witchs Hat,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,717,{},{},{}

    18336,LOVER_IN_MOUTH,Lover in Mount,5,20,,100,,0,,0,0xFFFFFFFE,7,2,1,,0,0,720,{},{},{}

    18337,CAMPUS_FESTIVAL,Campus Festival,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,721,{},{},{}

    18338,TAINI_CAP,Taini Cap,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,722,{},{},{}

    18339,BUTTERFLY_HAIRPIN,Butterfly Hairpin,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,723,{},{},{}

    18340,ASGARD_BLESS,Asgard Bless,5,20,,100,,0,,0,0xFFFFFFFE,7,2,512,,70,0,724,{},{},{}

    18376,Chicken_Bill,Chicken Bill,5,20,,0,,0,,0,0xFFFFFFFF,7,2,1,,1,0,699,{},{},{}

    18377,Charlie_Beard,Charlie Beard,5,20,,0,,0,,0,0xFFFFFFFF,7,2,1,,1,0,700,{},{},{}

    18378,Yellow_Hat,Yellow Hat,5,20,,0,,0,,0,0xFFFFFFFF,7,2,256,,1,1,701,{},{},{}

    18379,Chicken_Crest,Chicken Crest,5,20,,0,,0,,0,0xFFFFFFFF,7,2,256,,1,1,703,{},{},{}

    18380,Rainbow,Rainbow,5,20,,0,,0,,0,0xFFFFFFFF,7,2,256,,1,0,704,{},{},{}

    18381,Thunderstorm_Cloud,Thunderstorm Cloud,5,20,,0,,0,,0,0xFFFFFFFF,7,2,256,,1,0,688,{},{},{}

    18382,Rain_Cloud,Rain Cloud,5,20,,0,,0,,0,0xFFFFFFFF,7,2,256,,1,0,705,{},{},{}

    18383,Charlie_Hat,Charlie Hat,5,20,,0,,0,,0,0xFFFFFFFF,7,2,256,,1,1,706,{},{},{}

    18384,Mini_Crown1,Mini Crown1,5,20,,0,,0,,0,0xFFFFFFFF,7,2,256,,1,1,707,{},{},{}

  2. However, if you change the >= it will make it only work less than 24 hours. So after 24 hours they can't click on it anymore. Basically it takes the current epoc time and adds 86,400 seconds to it. If you click again before that 86,400 seconds then it knows that 24 hours hasn't passed yet. By changing it then you are saying it has to be clicked before the 24 hours and once it is exceeded they cannot ever click on it again (because wont meet the <24 hour conditions). Atleast, thats how I picture it in my mind.

    Wtf? Let me ask you something....

    What means ">=" for you?

    - script AttendanceScript -1,{
    OnPCLoginEvent:
    dispbottom "Welcome back!";
    dispbottom "Thanks your for playing WhateverRO!";
    if (#LoginTracker>=gettimetick(2)) {
    set #DailyLoginCount,#DailyLoginCount+1;
    set #LoginTracker,gettimetick(2)+86400;
    end;
    } 

    This will never work, escpecially on the first execution.

    Reason:

    The scripts checks for the value of "#LoginTracker", but since it's the first exection it has the value of "0".

    And gettimetick(2) gets the UNIX Time in seconds, which is obviously higher than 0.

    Hint: Read the doc/script_commands.txt for more info.

    Next explanation:

    The "#LoginTracker" only increases when the "if" is true, which can't happen (like stated above) and the gettimetick(2) ALWAYS continues to count the seconds.

    >= means Higher and equal

    <= means Less and equal

    Also to make tit an "clickable" NPC, try changing the header.

    Currently it's an floating NPC.

    Example:

    prontera,150,180,0%TAB%script%TAB%Login Tracker%TAB%100,{

    I hope I could explain it properly.

    Regards,

    Chris

    i already try...yes its work 100% and but i need if click all people can see top ten clickers list and admin have a reset menu o.O

    and btw where i can see who is click this npc ?

    and btw if i spam click npc will spam " welcome back , thanks for playing whatever ro " too

    no one can help me ? :'(

  3. @chris & peopleperson49

    thanks for help me , but im still need a NPC because i need people can see the list of top 10 players...

    and because the npc it's not easy to click...it will spawn in some place and need kill a few of monster to go there....

    because every 1 month GM will reset the list of top ten and give a permanent custom wings reward to player ~_~

  4. hello , i want request a script like this

    npc will spawn in prontera and count 1x / day if player click this npc...

    after player click npc will count the login sign in...

    and npc will display most TOP 10 Login Count... ( will show Nickname )

    but for Admin , will show account_id and nickname

    1 ID / 1 DAY

    GM Can Reset in game and only gm lv 99 can reset this npc...

    thanks b4 ^^

  5. This project will mainly focus on database and npc files for non-renewal servers, source code updates will only be provided when needed for certain database and npc updates.

    All npc files in ROUP are intended to work only for non-renewal servers, preferably those using the rAthena emulator. Keep in mind, there is no official non-renewal version for any episode 13.3 or newer content. The databases provided here were customized/balanced by me to allow non-renewal servers to implement renewal-only content without any bugs or imbalance issues.

  6. helo , sorry for ask again :) i have problem with this script

    /*==============================================================================//
    //--- Script By Masao ----------------------------------------------------------//
    //--- Disguise Event NPC -------------------------------------------------------//
    //--- Ver: Suram ---------------------------------------------------------------//
    //==============================================================================*/
    
    comodo,0,0,0	script	DisguiseAnnouncer	-1,{
    OnWhisperGlobal:
    if(getgmlevel()<99){end;}
    OnClock0100:
    OnClock0200:
    OnClock0300:	
    OnClock0500:
    OnClock0600:
    OnClock0700:
    OnClock0800:
    OnClock0900:
    OnClock1000:
    OnClock1100:
    OnClock1200:
    OnClock1300:
    OnClock1400:
    OnClock1500:
    OnClock1600:
    OnClock1700:
    OnClock1800:
    OnClock1900:
    OnClock2000:
    OnClock2100:
    OnClock2200:
    OnClock2300:
    set $@startdisguise,1;
    l_remake:
    set $@Monster,1000+rand(1,200);
    if($@Monster == 1003 || $@Monster == 1006 || $@Monster == 1017 || $@Monster == 1021 || $@Monster == 1027 || $@Monster == 1043 || $@Monster == 1136 || $@Monster == 1137 || $@Monster == 1168 || $@Monster == 1171 || $@Monster == 1172 || $@Monster == 1173 || $@Monster == 1181){ goto l_remake; }
    set $MonsterName$,getmonsterinfo($@Monster,0);
    setnpcdisplay "Disguise Event",$@Monster;
    set $@startdisguise,1;
    announce "The [Disguise Event] starts now in Comodo!",0;
    initnpctimer;
    end;
    }
    
    comodo,214,151,4	script	Disguise Event	795,{
    
    set .@npcname$,"[^0000FFDisguise NPC^000000]";
    
    if (getgmlevel() >= 90) goto DisguiseAdmin;
    if ($@startdisguise==1) goto l_disguise;
    
    mes .@npcname$;
    mes "Hi, how can i help you?";
    next;
    menu "How does it work?",-,"Cancel.",Nothing;
    
    mes .@npcname$;
    mes "This is an very easy Event.";
    mes "At the beginning of the Event i will disguise myself into a randomly chosen Monster.";
    mes "After i've done that, you've to put the correct Name into the Box.";
    next;
    mes "If the name was correct, you win a Prize! if it was wrong, just try again ";
    mes "And that's it! Good luck.";
    close;
    
    Nothing:
    close;
    
    DisguiseAdmin:
    
    mes .@npcname$;
    mes "^FF0000~Hi GM " + strcharinfo(0) + ", what can i do for you?~^000000";
    switch(select("Start Event:End Event:Check Prize:Set Prizes:Rounds:Nothing")) {
    
    case 1:
    next;
    mes .@npcname$;
    mes "Would you like to start the Event now?";
    switch(select("Yes:No")) {
    
    	case 1:
    			set $@Monster,1000+rand(1,200);
    			set $MonsterName$,getmonsterinfo($@Monster,0);
    			setnpcdisplay "Disguise Event",$@Monster;
    			set $@startdisguise,1;
    			announce "The [Disguise Event] starts now in Comodo!",0;
    			close;
    
    	case 2:
    		mes .@npcname$;
    		mes "Ok, bye.";
    		close;
    }
    
    case 2:
    next;
    mes .@npcname$;
    mes "Would you like to End the Event now?";
    switch(select("Yes:No")) {
    
    	case 1:
    			setnpcdisplay "Disguise Event",795;
    			set $@Round,0;
    			set $@startdisguise,0;
    			announce "The [Disguise Event] has been ended by an GM! There will be no prizes!",0;
    			close;
    
    	case 2:
    		mes .@npcname$;
    		mes "Ok, bye.";
    		close;
    }
    
    case 3:
    mes .@npcname$;
    mes "^FF0000~The current winning Prize is ^000000 ^008000"+ $prize_item_amount +" "+ getitemname($prize_item_id) +".^000000";
    next;
    goto disguiseadmin;
    
    case 4:
    mes .@npcname$;
    mes "^FF0000~What should the Prize be? Please insert the Item ID.~^000000";
    input $prize_item_id;
    next;
    mes .@npcname$;
    mes "^FF0000~Now the amount?~^000000";
    input $prize_item_amount;
    mes .@npcname$;
    mes "^FF0000~So, the Prize is^000000 ^008000"+ $prize_item_amount +" "+ getitemname($prize_item_id) +"^000000? ^FF0000Great.~^000000";
    emotion 33;
    next;
    goto disguiseadmin;
    
    case 5:
    mes .@npcname$;
    mes "Here you can set how many Rounds will be played each time the Event Starts";
    input $@Rounds;
    mes "^FF0000~So, there will be ^FF0000"+ $Rounds +" Rounds played.^000000";
    next;
    goto disguiseadmin;
    
    case 6:
    mes .@npcname$;
    mes "Ok, bye.";
    close;
    }
    
    l_disguise:
    input .@MonsterInput$;	
    if ($@disguisewin==1) {
    mes "Someone already won this Round!!";
    close;
    }
    if(.@MonsterInput$==$MonsterName$) goto Correct;
    if(.@MonsterInput$!=$MonsterName$) goto Nothing;
    end;
    
    OnTimer30000:
    stopnpctimer;
    setnpctimer 0;
    npctalk "Too Late, Time Out !";
    set $@Round,$@Round+1;
    if($@round>=$rounds)goto l_gameover;
    goto l_round;
    end;
    
    Correct:
    stopnpctimer;
    setnpctimer 0;
    announce ""+strcharinfo(0)+" is correct! I was disguised as: "+$MonsterName$+"",bc_map;
    mapannounce "comodo","Disguise Event: "+strcharinfo(0)+" won the Disguise Event! He won a "+ $prize_item_amount +" "+getitemname($prize_item_id)+" !",0;
    getitem $prize_item_id,$prize_item_amount;
    set $@Round,$@Round+1;
    set $@disguisewin,1;
    sleep2 3000;
    if($@round>=$rounds)goto l_gameover;
    goto l_round;
    end;
    
    l_round:
    set $@Monster,1000+rand(1,200);
    if($@Monster == 1003 || $@Monster == 1006 || $@Monster == 1017 || $@Monster == 1021 || $@Monster == 1027 || $@Monster == 1043 || $@Monster == 1136 || $@Monster == 1137 || $@Monster == 1168 || $@Monster == 1171 || $@Monster == 1172 || $@Monster == 1173 || $@Monster == 1181){ goto l_round; }
    set $MonsterName$,getmonsterinfo($@Monster,0);
    set $@disguisewin,0;
    setnpcdisplay "Disguise Event",$@Monster;
    initnpctimer;
    end;
    
    l_gameover:
    	setnpcdisplay "Disguise Event",795;
    	set $@Round,0;
    	set $@startdisguise,0;
    	set $@disguisewin,0;
    	npctalk "Thank you all for playing. That was the last round of the Disguise Event. See you next time.";
    	end;
    }
    
    -	script	EDDisguiseAnnouncer	-1,{
    OnClock2202:
    announce "Disguise Event : Wah , Ayam Sama Cowo Maho Uda Pamit~ Gua Ikutan Pamit AH....Bye2 aLL~",bc_all;
    disablenpc "Disguise Event";
    end;
    OnClock0902:
    announce "Disguise Event : Wah Uda Pagi Ayam & Cowo Maho Juga Udah Panggil2~ Saatnya Saya Kerja Kembali, Morning All",bc_all;
    enablenpc "Disguise Event";
    end;
    }

    1. when i set 10 rounds~ sometimes it's will end at 1-2 rounds

    2. sometimes , if i set 10 rounds , it's will be more than 10 rounds

    3. how to make this script will auto disguise again if no one can't answer in 30 second or more ?

    thanks for help me ^^

  7. btw judas i get some error at 2011-11-22

    example :

    i have whiteblinker , in 2010-06-16 100% work

    in 2011-11-22 the pic in inventory is missing , i dont know why and this is only at 2011-11-22 because after it i change into 2010-06-16 work again ^^

    i'll help u to re-check error or bug at 2011-11-22 ^^

  8. it's not work in here judas , i use src 100% like i share to you ~ and same database too...

    but i get this error...now i use 2010-06-16

    no error until now and no error in map console when i use 2011-11-22

    do you know what's error in my server? o.O

  9. i don't know why i get this error~

    before i use old svn and work good~

    now i use new SVN and edit some src and i get this error

    153695428ac2dc63119c36d01c4467e17c28f075.jpg

    First :

    1. I can't enter 3 portal in picture

    2. i can't talk to girl npc and man NPC ( but now i can click the girl npc ~ i dont know why... but man npc still can't )

    no error in mapserver , i try to copy all npc to offline RO , and work good

    i use onclock trigger

    it's must be portal will spawn in 3 hours ~ but when i restart my RO all portal spawn and can't entered or hidden ( i'll try to @hidenpc ) it's say npc disabled , but npc still spawn , try to @refresh still spawn~

    in offline , when i restart my server , portal will hidden until 3 hours and spawn again ~

    someone know why ? my friends say it's about src edit ? o.O~

    i have a pvp event with portal too..but it work 100% ~

    First NPC ( Man )

    //==========KOTH============

    mjolnir_04,77,304,5 script King of the Hill#KOTH 108,{

    set .@name$,"[^FF00FF King of the Hill ^000000]";

    if ($@KOTH == 1) goto L_EventOn;

    if(getgmlevel() < 61) close;

    if(getgmlevel() >= 61) goto L_GMCP;

    L_GMCP:

    mes .@name$;

    mes "Do you want to start the KOTH event?";

    next;

    menu "Yes",-,"No",L_End;

    mes .@name$;

    mes "Allright, i've started the Event!";

    close2;

    initnpctimer "King of the Hill#KOTH";

    announce "The King of the Hill Event will start soon, please get ready! The Warp NPC Will Spawn On Prontera",bc_all;

    end;

    OnTimer30000:

    announce "Participants of the King of the Hill Event, please get ready, you'll bee soon warped to the Starting Line! You have to race to the end of the Bridge found at the top of the Hill! 1st one to reach it will win!",bc_all;

    end;

    OnTimer40100:

    announce "5",bc_all;

    end;

    OnTimer41100:

    announce "4",bc_all;

    end;

    OnTimer42100:

    announce "3",bc_all;

    end;

    OnTimer43100:

    announce "2",bc_all;

    end;

    OnTimer44100:

    announce "1...",bc_all;

    end;

    OnTimer44800:

    mapwarp "mjolnir_04","mjolnir_04",77,301;

    end;

    OnTimer45100:

    set $@KOTH,1;

    announce "GO!!!",bc_all;

    disablenpc "KOTH WarPeR";

    end;

    L_End:

    close;

    L_EventOn:

    mes .@name$;

    mes "An event is still being held.";

    close;

    }

    mjolnir_04,135,208,5 script Finish Line! 111,2,2,{

    OnTouch:

    if($@KOTH < 1) close;

    if($@KOTH == 1)

    announce strcharinfo(0)+" is the King of the Hill!!",bc_all;

    set Zeny, Zeny + rand(100000,15000000);

    set $@KOTH,0;

    atcommand "@doommap";

    atcommand "@kill "+strcharinfo(0);

    end;

    }

    prontera.gat,156,183,4 script KOTH WarPeR 899,{

    mes "[MiracLe Guardian]";

    mes "Hello ^0000FF"+strcharinfo(0)+"^000000, I'm Andrew Ric0zTa~want to get Warp to the special place??";

    next;

    mes "[KOTH WarPeR";

    mes "Want To Follow KinG Of The Hill EvenT???";

    next;

    menu "Yes",L_Yo,"No thanks",L_Bye;

    L_Yo:

    mes "[KOTH WarPeR]";

    mes "Ok wait for a minute. I will Warp you ^^V";

    // Remove Peco / Cart

    atcommand strcharinfo(0)+":@option 0 0 0";

    // Remove Any Speed Buffs

    sc_end SC_SPEEDUP0;

    sc_end SC_SPEEDUP1;

    sc_end SC_INCREASEAGI;

    sc_end SC_WINDWALK;

    sc_end SC_CARTBOOST;

    sc_end SC_CLOAKING;

    sc_end SC_BERSERK;

    sc_end SC_RUN;

    sc_end SC_AVOID;

    next;

    warp "mjolnir_04",70,304;

    end;

    L_Bye:

    mes "[KOTH WarPeR]";

    mes "Oh, you don't want to get warp, ok then~";

    close;

    OnInit:

    disablenpc "KOTH WarPeR";

    end;

    }

    mjolnir_04 mapflag nomemo

    mjolnir_04 mapflag noreturn

    mjolnir_04 mapflag noteleport

    mjolnir_04 mapflag nowarpto

    mjolnir_04 mapflag nowarp

    mjolnir_04 mapflag pvp

    mjolnir_04 mapflag nosave

    mjolnir_04 mapflag noskill

    Second NPC ( Portal )

    - script poring#announcer -1,{

    OnInit:

    disablenpc "poringevent";

    hideonnpc "Poring Catcher#evnt2";

    end;

    OnClock0120:

    OnClock0420:

    OnClock0720:

    OnClock1020:

    OnClock1320:

    OnClock1620:

    OnClock1920:

    OnClock2220:

    announce "Poring Catcher : It's time to play some Poring Catcher!",0;

    killmonster "poring_w01","All";

    sleep2 10000;

    announce "Poring Catcher : Please make your way to the centre of Prontera.",0;

    sleep2 10000;

    announce "Poring Catcher : After one minute the portal will close.",0;

    sleep2 10000;

    announce "Poring Catcher : Enter the warp portal now if you want to join.",0;

    enablenpc "poringevent";

    initnpctimer;

    end;

    OnTimer30000:

    announce "Poring Catcher : Last 30 seconds.",0;

    OnTimer50000:

    announce "Poring Catcher : Last 10 seconds.",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$+". - Won Random Zeny !",0;

    //getitem 969,1000; // SET THE 20085 TO THE ITEM ID OF YOUR PRIZE

    set Zeny, Zeny + rand(100000,15000000);

    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,10,"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,5,"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,20,"poringlose::OnMobKilled";

    areamonster "poring_w01",84,119,121,90,"Porong",1002,15,"poringlose::OnMobKilled";

    areamonster "poring_w01",84,119,121,90,"P0ring",1002,15,"poringlose::OnMobKilled";

    areamonster "poring_w01",84,119,121,90,"Por1ng",1002,15,"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

    Third NPC ( Portal )

    prontera,156,173,0 warp barricadewarp 2,2,bat_a02,0,0

    - script barricade#announcer -1,{

    OnInit:

    disablenpc "barricadewarp";

    killmonsterall "bat_a02";

    end;

    OnClock0230:

    OnClock0500:

    OnClock0730:

    OnClock1000:

    OnClock1230:

    OnClock1500:

    OnClock1730:

    OnClock2000:

    OnClock2230:

    announce "Barricade Event : It's time to play Barricade Event!",0;

    killmonsterall "bat_a02";

    sleep2 10000;

    announce "Barricade Event : Please Use @go 0",0;

    sleep2 10000;

    announce "Barricade Event : Enter The Warp Portal At Center Of Prontera",0;

    enablenpc "barricadewarp";

    monster "bat_a02",0,0, "--AFRO--", 1906, 29, "Baricade Event#ev::Onfakekill";

    monster "bat_a02",0,0, "--AFRO--", 1906, 1, "Baricade Event#ev::Onrealkill";

    end;

    }

    //prontera,147,167,4 script Baricade Event#reg 469,{

    // set .@eventgmlevel, 60; // event gm usually is 60

    // if ( .start == 1 ) {

    // mes "join the event ?";

    // next;

    // if ( select ( "yes", "no" ) == 2 ) close;

    // else if ( getgmlevel() >= .@eventgmlevel ) {

    // warp "bat_a02", 0,0;

    // end;

    // }

    //

    // else if ( @inventorylist_card1[0] || @inventorylist_card2[0] || @inventorylist_card3[0] || @inventorylist_card4[0] ) {

    // mes "no cheating ! you have slotted card in !";

    // close;

    // }

    //

    // Remove Peco / Cart

    // atcommand strcharinfo(0)+":@option 0 0 0";

    // Remove Any Speed Buffs

    // sc_end SC_SPEEDUP0;

    // sc_end SC_SPEEDUP1;

    // sc_end SC_INCREASEAGI;

    // sc_end SC_WINDWALK;

    // sc_end SC_CARTBOOST;

    // sc_end SC_CLOAKING;

    // sc_end SC_BERSERK;

    // sc_end SC_RUN;

    // sc_end SC_AVOID;

    //

    // warp "bat_a02", 0,0;

    // end;

    // }

    // else if ( getgmlevel() >= .@eventgmlevel ) {

    // mes "start event now?";

    // next;

    // if ( select ( "yes", "no" ) == 2 ) close;

    // set .start, 1;

    // announce strcharinfo(0) +" has started Baricade event !", 0;

    // monster "bat_a02",0,0, "--AFRO--", 1906, 29, "Baricade Event#ev::Onfakekill";

    // monster "bat_a02",0,0, "--AFRO--", 1906, 1, "Baricade Event#ev::Onrealkill";

    // close;

    // }

    // mes "no event in progress";

    // close;

    //}

    bat_a02,352,47,3 script Baricade Event#ev 100,{

    set .@eventgmlevel, 60; // event gm usually is 60

    if ( getgmlevel() >= .@eventgmlevel ) {

    mes "spawn another round ? or stop this event";

    next;

    if ( select ( "another round", "stop this event" ) == 1 ) {

    mapannounce "bat_a02", strcharinfo(0) +" has spawn another round for Baricade event", 0;

    monster "bat_a02",0,0, "--AFRO--", 1906, 29, "Baricade Event#ev::Onfakekill";

    monster "bat_a02",0,0, "--AFRO--", 1906, 1, "Baricade Event#ev::Onrealkill";

    close;

    }

    else {

    set getvariableofnpc ( .start, "Baricade Event#reg" ), 0;

    mapannounce "bat_a02", strcharinfo(0) +" has stop the Baricade event", 0;

    mapwarp "bat_a02", "prontera", 156,191;

    killmonsterall "bat_a02";

    end;

    }

    }

    mes "return back to prontera ?";

    next;

    if ( select ( "Yes:No" ) == 2 ) close;

    warp "prontera", 156,191;

    end;

    Onfakekill:

    end;

    Onrealkill:

    announce strcharinfo(0) +" has found the correct Baricade !! Congratulations !", 0;

    switch ( rand(9) ) { // make random reward here

    default: getitem 14232, 20; break;

    case 1: getitem 5321, 1; break;

    case 2: getitem 5377, 1; break;

    case 3: getitem 5160, 1; break;

    case 4: getitem 12221, 50; break;

    case 5: getitem 12187, 25; break;

    case 6: getitem 7511, 90; break;

    case 7: getitem 7227, 1; break;

    case 8: getitem 7227, 1; break;

    }

    killmonsterall "bat_a02";

    atcommand "@doommap";

    disablenpc "barricadewarp";

    end;

    }

    bat_a02 mapflag nomobloot

    bat_a02 mapflag nobaseexp

    bat_a02 mapflag nojobexp

    bat_a02 mapflag nowarpto

    bat_a02 mapflag pvp

    bat_a02 mapflag noskill

    bat_a02,205,5,48,0 script Exit 45,1,2,{

    warp "bat_a02",57,213;

    end;

    }

    bat_a02,59,208,48,0 script Exit1 45,1,2,{

    warp "bat_a02",0,0;

    end;

    }

    bat_a02,200,5,48,0 script Exit2 45,1,2,{

    warp "bat_a02",44,17;

    end;

    }

    bat_a02,38,12,48,0 script Exit3 45,1,2,{

    warp "bat_a02",0,0;

    end;

    }

    UPDATE : I only get this error if i use 2011-11-22

    because after i edit mmo.h into 2010-06-16 and recompile

    all npc work 100% normal and no error ><~

  10. hmm , i dont want to open a new thread so i will ask here

    before this i get gravity error or something else when buy cash item

    and i already follow judas tutorial at Here

    yes i don't get gravity error again , but i get a new problem , after i buy some item i'll auto disconect from server like this

    15359953c632ca5d3cdd52e13c1d7f0b6213c9c0.jpg

    And Why I get this error too ?

    15359972a025a7a28fcc2afcc24a5ed9d326d3f7.jpg

    *off topic*

    i try to make some box for my rent item , i already add :

    1.itemdb , idnumdisplay , idnum res

    but why no pic in my box ( at inventory ) ? and if i double click i got error ? what i must do if i want to make somebox for my custom item ?

    please give me example :'(

    with pic pls :(

×
×
  • Create New...