Jump to content

maynard

Members
  • Posts

    159
  • Joined

  • Last visited

Posts posted by maynard

  1. I will input the name of the GM and if his/her name is not on the list he/she will be kick..

    1.

    2.

    3.

    4.

    5.

    The GM lvl is anything from 1-99, All names in the list is legitimate. If he create another charcter as a GM and not in the list he will be automatically be kick.This way I can limit him making a new GM character.Can someone make it?thank you

  2. The message doesn't show, the portal appear but there is none broadcast of message. The only message that show are the countdown.

    for( set .@i,0; .@i < getarraysize( .Mesage$ ); set .@i,.@i + 1 ){ <<<<<<<<<<typo error

    Its working now

    Sir add also time limit of 1 minute inside the map then after 1 minute it will clean the map and all people inside will be warp back in prontera.

  3. Can someone make me a script. the npc wil be hidden and only appear on a specific time and last for 1 minute only. Lets say 4pm. if you click you will go to a small room .After 1 minute it will be close and all people that inside will be warp back to prontera.

    Maybe a Portal will do. It will re-spawn in the middle of prontera and there's a Broadcast that the portal have appear and it will give some info that it will only last for 1 minute only.If possible can it give warning like 30 seconds remaining and then last 10 seconds then countdown.987654321. Thank you!

  4. Yes its working, even in my own server it works for many hours but then it just dont show up suddenly, maybe the problem is in my server side.I used both script to test it out one at a time and same problem occur to me. I use wakoko321 fixed to remove the stopnpctimer in his version and currently being tested.I think I'm the only one who have these problem because the thread starter is not replying so I think it works perfectly to him.Anyway Thanks for the script.If ever I have encounter problems I hope you don't mind giving me a hand.

  5. @emistry @wakoko both of you make the script so I tried them both and see if there's a bug.Thanks for the nice script.

    erm...why not using the one in post#14 ?? /ok

    it work fine as i tried several times...

    if you want another NPC for it..

    then just copy whole text file...and paste in a new text file...and rename the NPC...

    for the buff...just add it..

    Same problem I encounter, it doesn't show up after a while, If I step in the respawn point of the npc it gets BUG. All I did is step on it and follow the respawn point and at some time it got bug.NPC is still hiding. SVN revision 14993.

  6. after some time, the runes will not appear? there's no error in mapserv here's the script

    - script Runes -1,{
    set .@dif, strnpcinfo(2);
    if ( .remind[.@dif] == 0 ) {
     set .remind[.@dif], 1;
     initnpctimer;
    }
    dispbottom "Walkthrough to get Runes.";
    end;
    OnTouch:
    switch( .Runes ){
    Case 1: // Double Damage
     sc_start SC_INCATKRATE,( .Duration * 1000 ),100;
     sc_start SC_INCMATKRATE,( .Duration * 1000 ),100;
     break;
    Case 2: // Invisibilty
     initnpctimer "Runes",1;
     skill "AS_CLOAKING",10,1;
     sc_start SC_CLOAKING,( .Duration * 1000 ),10;
     stopnpctimer "Runes",1;
     break;
    Case 3: // Ressurection
     sc_start SC_KAIZEL,( .Duration * 1000 ),7;
     break;
    Case 4: // Illusion
     getmapxy( .@Map$,.@X,.@Y,0,strcharinfo(0) );
     clone .@Map$,.@X,.@Y,"",getcharid(0),getcharid(0),"",1,.Duration;
     clone .@Map$,.@X,.@Y,"",getcharid(0),getcharid(0),"",1,.Duration;
     break;
    Case 5: // Haste
     sc_start SC_SpeedUp1,( .Duration * 1000 ),0;
     break;
    Case 6: // Increase Flee
     sc_start SC_INCFLEE,( .Duration * 1000 ),300;
     break;
    Case 7: // Double HP
     sc_start SC_INCMHPRATE,( .Duration * 1000 ),100;
     break;
    //Add New Runes Here...
    }
    announce "[ "+strcharinfo(0)+" ] has gained "+.Names$[.Runes]+".",bc_map,0x00FF00;
    dispbottom "You have gained "+.Names$[.Runes]+" for 1 minute!";
    disablenpc strnpcinfo(0);
    set .Runes,0;
    initnpctimer;
    set .timeout, 2; // Set this for the cooldown of Runes in minutes...
    if ( .timeout == 0 ) set .timeout, 2; // Set this for the cooldown of Runes...
    set .@dif, strnpcinfo(2);
    set .remind[.@dif], 0;
    set .starttime[.@dif], gettimetick(2);
    do {
     set .remaintime[.@dif], .timeout * 60 + .starttime[.@dif] - gettimetick(2);
     set .@hour[.@dif], .remainTime[.@dif] / 3600 ;
     set .@min[.@dif], .remainTime[.@dif] % 3600 / 60 ;
     set .@sec[.@dif], .remainTime[.@dif] % 3600 % 60 ;
     delwaitingroom strnpcinfo(0);
     waitingroom "Cooldown "+( ( .@hour[.@dif] )?( .@hour[.@dif] +":"):"" )+( ( .@min[.@dif] < 10 )?"0"+ .@min[.@dif]: .@min[.@dif] )+":"+( ( .@sec[.@dif] < 10 )?"0"+ .@sec[.@dif]: .@sec[.@dif] ), 0;
     set .Runes,rand(1,( getarraysize( .Names$ ) - 1 ));
     sleep 1000;
    } while ( .remaintime[.@dif] > 1 );
    set .remaintime[.@dif], 0;
    delwaitingroom strnpcinfo(0);
    end;
    OnInit:
    OnTimer120000: //Change this if you changed the cooldown for Runes...
    setarray .Names$[1],
    "Double Damage",
    "Invisibility",
    "Ressurection",
    "Illusion",
    "Haste",
    "Increase Flee",
    "Double HP";
    //Add the Name of the Rune Here..
    // Random Coordinate where NPC will Shown Again
    setarray .CoordinateX[0],150,161;
    setarray .CoordinateY[0],171,171;
    // Status to be ended....
    sc_end SC_CLOAKING;
    set .Random,rand( getarraysize( .CoordinateX ) );
    movenpc strnpcinfo(0),.CoordinateX[ .Random ],.CoordinateY[ .Random ];
    // NPC will show again...
    enablenpc strnpcinfo(0);
    // Settings
    set .Duration,60; //Change the Duration of Runes here...
    set .Runes,rand( 1,( getarraysize( .Names$ ) - 1 ));
    stopnpctimer;
    }
    //Duplicates here....
    prontera,83,158,4, duplicate(Runes) Runes#1 802,2,2
    

    Here is the screen shot, there's no countdown timer, the other respawn point is beside the sinx.

    20p91fr.jpg

    I tryied the Post #24 and I didn't change anything, it works first but same as my problem.It did not re-spawn again. All I did is get the runes and stay beside it until it cools down then it stops working.bug.

    2h590rq.jpg

  7. @emistry

    OnInit:

    // Runes Duration in Seconds

    set .Duration,5; <<<< I change it to 120 so this will be 2 minutes, right?

    Anyway I also try your script but after a while they don't re-spawn, I was AFk for two hours then when I play again the runes doesn't re-spawn. I don't know what happen and there's no error.

  8. ahh ok, waiting, so how about the timer if im not mistaken you can get runes every 2 minutes.What I mean to say is the runes will only get every 2 minutes or change it to 5 minutes but the DD haste clone effect will only last 1 minute.

  9. is this possible? a NPC that can show you the equipment of the player that he wear. I will type the name of the player and it will show me the equip he is wearing.For the price of 1 gold coin I can see his equipment.much better if it will show his stats build also.

  10. sorry my bad, im poor in english, didnt explain it properly. What I mean to say is a NPC like a kafra that save the player respawn point or save point.When a player click the NPC it will ask if he wants to save.That NPC Its like the ordinary kafra that ask if save, storage and more but all i want is save. Then it has 5 save point. when the player died in battle or killed by a monster hi will respawn to the save point and that is prontera.If possible when he returns to his save point, he will respawn randomly in that 5 save point (the player).thank you.

×
×
  • Create New...