Jump to content

Fcuk

Members
  • Posts

    33
  • Joined

  • Last visited

Posts posted by Fcuk

  1. how to download old revisions like this

     

    http://trac.rathena.org/browser/rathena/trunk?rev=16987

     

    i used Tortoise SVN and it doesn't work.

     

    here is the error in Tortoise SVN

     

     

     

    Command: Checkout from http://trac.rathena.org/browser/rathena/trunk?rev=16987, revision HEAD, Fully recursive, Externals included  
    Error: Unable to connect to a repository at URL  
    Error:  'http://trac.rathena.org/browser/rathena/trunk%3Frev=16987'  
    Error: 'http://trac.rathena.org/browser/rathena/trunk%3Frev=16987' path not found  
    Completed!:   
    
     

     

     

  2. how to make NO DELAY when being warped

    ex.

    player 1 - sinx

    player 2 - champ ( can be any job )

    player 1 spam meteor assault in portal 2 .

    player 2 enter portal 1 ( portal 1 will warp to portal 2 )

    i want that even player 2 will not move . i want the damage will automatically received.

  3. i want the ws_createnugget skill to become like this . can you help me

    Situation

    Player 1 : ( stalker ) - i want to add ws_createnugget to skills of stalker

    Player 2 : ( any job )

    i want that the ws_createnugget skill effect would be when Player 1 cast ws_createnugget to Player 2 . The ws_createnugget effect will be same as tk_jumpkick ( flying side kick ) but there is no damage. Player 1 will just warp to Player 2.

  4. quiz_00,20,115,3 script MVP Event GM 403,{
    if( getgroupid() < 60 ) end;
    mes "Would you like to start the MVP event?";
    next;
    
    if( select( "Yes", "No" ) == 1 )
    donpcevent strnpcinfo(0)+"::OnEventStart";
    close;
    
    
    //Time to be happening annons.
    OnClock0000:
    OnClock0600:
    OnClock1200:
    OnClock1800:
    OnEventStart:
    initnpctimer;
    announce "Mvp Event will start after 3 minute",0;
    end;
    OnTimer1000:
    enablenpc "MVP Event";
    killmonsterall "guild_vs1";
    announce "MVP Event: Please proceed to Prontera to join the event",0;
    end;
    OnTimer6000:
    announce "MVP Event will start after 2 minute",0;
    end;
    OnTimer12000:
    announce "Mvp Event will start after 1 minute",0;
    end;
    OnTimer18000:
    announce "MVP Event warper is now closed.",0;
    stopnpctimer; //disable the timer.
    disablenpc "MVP Event";
    sleep 10000;
    mapannounce "guild_vs1","The first invasion of monsters in 10 seconds",0,0x00ff00;
    sleep 10000;
    .count = 24;
    monster "guild_vs1",0,0,"--ja--",1785,2,strnpcinfo(0)+"::OnMyKill"; //atroce
    monster "guild_vs1",0,0,"--ja--",1630,2,strnpcinfo(0)+"::OnMyKill"; //bacsojin
    monster "guild_vs1",0,0,"--ja--",1252,2,strnpcinfo(0)+"::OnMyKill"; //garm
    monster "guild_vs1",0,0,"--ja--",1688,2,strnpcinfo(0)+"::OnMyKill"; //lady tanee
    monster "guild_vs1",0,0,"--ja--",1147,2,strnpcinfo(0)+"::OnMyKill"; //maya
    monster "guild_vs1",0,0,"--ja--",1150,2,strnpcinfo(0)+"::OnMyKill"; //moonlight flower
    monster "guild_vs1",0,0,"--ja--",1120,2,strnpcinfo(0)+"::OnMyKill"; //ghostring
    monster "guild_vs1",0,0,"--ja--",1582,2,strnpcinfo(0)+"::OnMyKill"; //deviling
    monster "guild_vs1",0,0,"--ja--",1059,2,strnpcinfo(0)+"::OnMyKill"; //mistress
    monster "guild_vs1",0,0,"--ja--",1087,2,strnpcinfo(0)+"::OnMyKill"; //orc hero
    monster "guild_vs1",0,0,"--ja--",1159,2,strnpcinfo(0)+"::OnMyKill"; //phreeoni
    monster "guild_vs1",0,0,"--ja--",1289,2,strnpcinfo(0)+"::OnMyKill"; //maya purple
    end;
    
    OnMyKill:
    .count--;
    if( .count ) end;
    mapannounce "guild_vs1","The second invasion of monsters in 10 seconds.",0,0x00ff00;
    sleep 10000;
    monster "guild_vs1",0,0,"--ja--",1511,2,strnpcinfo(0)+"::OnMyKill2"; //amon ra
    monster "guild_vs1",0,0,"--ja--",1039,2,strnpcinfo(0)+"::OnMyKill2"; //baphomet
    monster "guild_vs1",0,0,"--ja--",1719,2,strnpcinfo(0)+"::OnMyKill2"; //detale
    monster "guild_vs1",0,0,"--ja--",1046,2,strnpcinfo(0)+"::OnMyKill2"; //doppelganger
    monster "guild_vs1",0,0,"--ja--",1389,2,strnpcinfo(0)+"::OnMyKill2"; //Dracula
    monster "guild_vs1",0,0,"--ja--",1112,2,strnpcinfo(0)+"::OnMyKill2"; //drake
    monster "guild_vs1",0,0,"--ja--",1115,2,strnpcinfo(0)+"::OnMyKill2"; //Eddga
    monster "guild_vs1",0,0,"--ja--",1418,2,strnpcinfo(0)+"::OnMyKill2"; //Evil Snake Lord
    monster "guild_vs1",0,0,"--ja--",1373,2,strnpcinfo(0)+"::OnMyKill2"; //Lord of Death
    monster "guild_vs1",0,0,"--ja--",1190,2,strnpcinfo(0)+"::OnMyKill2"; //Orc Lord
    monster "guild_vs1",0,0,"--ja--",1157,2,strnpcinfo(0)+"::OnMyKill2"; //Pharaoh
    
    OnMyKill2:
    .count2--;
    if( .count2 ) end;
    mapannounce "guild_vs1","The Third Invasion of monsters in 10 seconds.",0,0x00ff00;
    sleep 10000;
    monster "guild_vs1",0,0,"--ja--",1874,1,strnpcinfo(0)+"::OnMyKill3"; //Beelzebub
    monster "guild_vs1",0,0,"--ja--",1272,1,strnpcinfo(0)+"::OnMyKill3"; //Dark Lord
    monster "guild_vs1",0,0,"--ja--",1768,1,strnpcinfo(0)+"::OnMyKill3"; //Gloom Under Night
    monster "guild_vs1",0,0,"--ja--",1086,1,strnpcinfo(0)+"::OnMyKill3"; //Golden Thief Bug
    monster "guild_vs1",0,0,"--ja--",1832,1,strnpcinfo(0)+"::OnMyKill3"; //Ifrit
    monster "guild_vs1",0,0,"--ja--",1492,1,strnpcinfo(0)+"::OnMyKill3"; //Incantation Samurai
    monster "guild_vs1",0,0,"--ja--",1734,1,strnpcinfo(0)+"::OnMyKill3"; //kiel
    monster "guild_vs1",0,0,"--ja--",1251,1,strnpcinfo(0)+"::OnMyKill3"; //Stormy Knight
    monster "guild_vs1",0,0,"--ja--",1779,1,strnpcinfo(0)+"::OnMyKill3"; //ktullanux
    monster "guild_vs1",0,0,"--ja--",1038,1,strnpcinfo(0)+"::OnMyKill3"; //Osiris
    monster "guild_vs1",0,0,"--ja--",1623,1,strnpcinfo(0)+"::OnMyKill3"; //RSX
    
    OnMyKill3:
    .count3--;
    if( .count3 ) end;
    mapannounce "guild_vs1","The Third Invasion of monsters in 10 seconds.",0,0x00ff00;
    sleep 10000;
    monster "guild_vs1",0,0,"--ja--",1583,2,strnpcinfo(0)+"::OnMyKill4"; //Tao Gunka
    monster "guild_vs1",0,0,"--ja--",1708,2,strnpcinfo(0)+"::OnMyKill4"; //Thanatos
    monster "guild_vs1",0,0,"--ja--",1312,2,strnpcinfo(0)+"::OnMyKill4"; //turtle general
    monster "guild_vs1",0,0,"--ja--",1751,1,strnpcinfo(0)+"::OnMyKill4"; //randgris
    monster "guild_vs1",0,0,"--ja--",1871,1,strnpcinfo(0)+"::OnMyKill4"; //fallen bishop
    monster "guild_vs1",0,0,"--ja--",1685,1,strnpcinfo(0)+"::OnMyKill4"; //vesper
    monster "guild_vs1",0,0,"--ja--",1646,1,strnpcinfo(0)+"::OnMyKill4"; //lord knight
    monster "guild_vs1",0,0,"--ja--",1651,1,strnpcinfo(0)+"::OnMyKill4"; //
    //disablenpc "Kenny";
    end;
    
    OnInit:
    disablenpc "MVP Event";
    end;
    }
    prontera,155,162,5 script MVP Event 811,{
    mes "Event will begin after 1 minute.";
    mes "You want to participate?";
    next;
    mes "Well, you are registered";
    mes "Want to get to locations of event?";
    next;
    menu "Yes.",case1,"No.",case2;
    case1:
    warp "guild_vs1",0,0;
    close;
    case2:
    mes "[Mvp]";
    mes "Well, come whenever you want.";
    close;
    }
    // -- Mapflags
    guild_vs1 mapflag nowarp
    guild_vs1 mapflag nowarpto
    guild_vs1 mapflag noteleport
    guild_vs1 mapflag nomemo
    guild_vs1 mapflag nobranch
    guild_vs1 mapflag nopenalty
    guild_vs1 mapflag nosave SavePoint
    guild_vs1 mapflag pvp off
    

    im having trouble in 3rd round

  5. Kindly modify my script .

    i want all the monster in round 1 to be killed in order to proceed to the 2nd round

    and also im having trouble with this

    quiz_00,20,115,3 script MVP Event GM 403,{
    if(getgroupid() >= 60) {
     mes "Would you like to start the MVP event?";
     next;
     menu "Yes.",STR,"No.",STP;
      STR:
    Callsub OnEventStart;
    end;
      STP:
    close;
    }
    end;
    

    when i start the event . the npc wont close . thx

    - script mvpevent -1,{
    OnInit:
    disablenpc "MVP Event";
    end;
    }
    quiz_00,20,115,3 script MVP Event GM 403,{
    if(getgroupid() >= 60) {
     mes "Would you like to start the MVP event?";
     next;
     menu "Yes.",STR,"No.",STP;
      STR:
    Callsub OnEventStart;
    end;
      STP:
    close;
    }
    end;
    
    //Time to be happening annons.
    OnClock0000:
    OnClock0600:
    OnClock1200:
    OnClock1800:
    OnEventStart:
    initnpctimer;
    OnTimer0:
    announce "Mvp Event will start after 3 minute",0;
    end;
    OnTimer10000:
    enablenpc "MVP Event";
    killmonsterall "guild_vs1";
    announce "MVP Event: Please proceed to Prontera to join the event",0;
    end;
    OnTimer60000:
    announce "MVP Event will start after 2 minute",0;
    end;
    OnTimer120000:
    announce "Mvp Event will start after 1 minute",0;
    end;
    OnTimer180000:
    announce "MVP Event warper is now closed.",0;
    stopnpctimer; //disable the timer.
    disablenpc "MVP Event";
    sleep 10000;
    mapannounce "guild_vs1","The first invasion of monsters in 10 seconds",0,0x00ff00;
    sleep 10000;
    monster "guild_vs1",0,0,"--ja--",1785,2; //atroce
    monster "guild_vs1",0,0,"--ja--",1630,2; //bacsojin
    monster "guild_vs1",0,0,"--ja--",1252,2; //garm
    monster "guild_vs1",0,0,"--ja--",1688,2; //lady tanee
    monster "guild_vs1",0,0,"--ja--",1147,2; //maya
    monster "guild_vs1",0,0,"--ja--",1150,2; //moonlight flower
    monster "guild_vs1",0,0,"--ja--",1120,2; //ghostring
    monster "guild_vs1",0,0,"--ja--",1582,2; //deviling
    monster "guild_vs1",0,0,"--ja--",1059,2; //mistress
    monster "guild_vs1",0,0,"--ja--",1087,2; //orc hero
    monster "guild_vs1",0,0,"--ja--",1159,2; //phreeoni
    monster "guild_vs1",0,0,"--ja--",1289,2; //maya purple
    sleep 120000;
    mapannounce "guild_vs1","The second invasion of monsters in 10 seconds.",0,0x00ff00;
    sleep 10000;
    monster "guild_vs1",0,0,"--ja--",1511,2; //amon ra
    monster "guild_vs1",0,0,"--ja--",1039,2; //baphomet
    monster "guild_vs1",0,0,"--ja--",1719,2; //detale
    monster "guild_vs1",0,0,"--ja--",1046,2; //doppelganger
    monster "guild_vs1",0,0,"--ja--",1389,2; //Dracula
    monster "guild_vs1",0,0,"--ja--",1112,2; //drake
    monster "guild_vs1",0,0,"--ja--",1115,2; //Eddga
    monster "guild_vs1",0,0,"--ja--",1418,2; //Evil Snake Lord
    monster "guild_vs1",0,0,"--ja--",1373,2; //Lord of Death
    monster "guild_vs1",0,0,"--ja--",1190,2; //Orc Lord
    monster "guild_vs1",0,0,"--ja--",1157,2; //Pharaoh
    sleep 120000;
    mapannounce "guild_vs1","The Third Invasion of monsters in 10 seconds.",0,0x00ff00;
    sleep 10000;
    monster "guild_vs1",0,0,"--ja--",1874,1; //Beelzebub
    monster "guild_vs1",0,0,"--ja--",1272,1; //Dark Lord
    monster "guild_vs1",0,0,"--ja--",1768,1; //Gloom Under Night
    monster "guild_vs1",0,0,"--ja--",1086,1; //Golden Thief Bug
    monster "guild_vs1",0,0,"--ja--",1832,1; //Ifrit
    monster "guild_vs1",0,0,"--ja--",1492,1; //Incantation Samurai
    monster "guild_vs1",0,0,"--ja--",1734,1; //kiel
    monster "guild_vs1",0,0,"--ja--",1251,1; //Stormy Knight
    monster "guild_vs1",0,0,"--ja--",1779,1; //ktullanux
    monster "guild_vs1",0,0,"--ja--",1038,1; //Osiris
    monster "guild_vs1",0,0,"--ja--",1623,1; //RSX
    sleep 120000;
    mapannounce "guild_vs1","The Third Invasion of monsters in 10 seconds.",0,0x00ff00;
    sleep 10000;
    monster "guild_vs1",0,0,"--ja--",1583,2; //Tao Gunka
    monster "guild_vs1",0,0,"--ja--",1708,2; //Thanatos
    monster "guild_vs1",0,0,"--ja--",1312,2; //turtle general
    monster "guild_vs1",0,0,"--ja--",1751,1; //randgris
    monster "guild_vs1",0,0,"--ja--",1871,1; //fallen bishop
    monster "guild_vs1",0,0,"--ja--",1685,1; //vesper
    monster "guild_vs1",0,0,"--ja--",1646,1; //lord knight
    monster "guild_vs1",0,0,"--ja--",1651,1; //
    //disablenpc "Kenny";
    stopnpctimer; //disable the timer.
    end;
    }
    prontera,155,162,5 script MVP Event 811,{
    mes "Event will begin after 1 minute.";
    mes "You want to participate?";
    next;
    mes "Well, you are registered";
    mes "Want to get to locations of event?";
    next;
    menu "Yes.",case1,"No.",case2;
    case1:
    warp "guild_vs1",0,0;
    close;
    case2:
    mes "[Mvp]";
    mes "Well, come whenever you want.";
    close;
    }
    // -- Mapflags
    guild_vs1 mapflag nowarp
    guild_vs1 mapflag nowarpto
    guild_vs1 mapflag noteleport
    guild_vs1 mapflag nomemo
    guild_vs1 mapflag nobranch
    guild_vs1 mapflag nopenalty
    guild_vs1 mapflag nosave SavePoint
    guild_vs1 mapflag pvp off
    //
    //
    

    bump !

  6. in src/map/pc.h

    find

      unsigned int canuseitem_tick; // [skotlex]
    

    then add below

    unsigned int warpgodelay_tick;
    

    then go to the src/map/pc.c

    find

    sd->canuseitem_tick = tick;
    

    then add below

    sd->warpgodelay_tick = tick;
    

    then

    this is still in src/map/pc.c

    find:(In the description it says this function is invoked when the player is receiving)

    void pc_damage(struct map_session_data *sd,struct block_list *src,unsigned int hp, unsigned int sp)
    

    inside the function add this:

     unsigned int tick = gettick();
     int warpgodelaycd = 5000; //This is the delay in milliseconds
     sd->warpgodelay_tick = tick+warpgodelaycd; //This is the timer
    
    

    then go now in map/atcommand.c

    find

     ACMD_FUNC(go)
    

    then add this inside the function

    unsigned int tick = gettick();
    

    this is still in the (go) function

    find below

    nullpo_retr(-1, sd);
    

    This is just below the list of maps in @go

    then add below

    if(DIFF_TICK(sd->warpgodelay_tick,tick)>0)
    {
    clif_displaymessage(fd,"There is a 5 seconds delay in using @go command");
    return 0;
    }
    

    i want this to modify = when hit by mobs , there is no delay on using @go

×
×
  • Create New...