Jump to content

Petey Pablo

Members
  • Posts

    569
  • Joined

  • Last visited

Posts posted by Petey Pablo

  1. Paano ba alisin yung spawn ng treasure sa bawat casle kung hindi siege. Kasi yung ibang casle kahit hindi pnaglalabanan nag sspawn pa rin yung mga treasure. Gusto ko sana pagkatapos ng siege dun lng mag spawn yung treasure. Sana may tumulong. Newbie lng po ako. /ok Salamat

  2. How do i delete or remove the sprite file from grf?

    Please check my patchlist.txt

    My patchlist

    1001<space>1<space>GRF<space>data\sprite\Àΰ£Á·\±Ã¼ö\±Ã¼ö_¿©_1740.act*
    1002<space>1<space>GRF<space>data\sprite\Àΰ£Á·\±Ã¼ö\±Ã¼ö_¿©_1740.spr*
    

    But if you delete like this. It works.

    1001<space>1<space>GRF<space>data\prontera.rsw*
    

    What's wrong? Only the sprite name cant delete or remove. Im using Jikari patcher version 3.7

  3. How to edit this to Round 1 = 1 Zombie.

    Like this:

    Round 1 = 1 Zombie

    Round 2 = 5 Zombie

    Round 3 = 10 Zombie

    Round 4 = 15 Zombie

    Round 5 = 30 Zombie

    
    - script announce_nvz -1,{
    
    OnClock0000: // Server Time
    
    announce "The event for Zombie vs. Novice will begin in 3 minutes",0;
    killmonsterall "quiz_01";
    sleep 5000;
    announce "Proceed @go event and talk to the Zombie NPC to join.",0;
    enablenpc "Novice vs. Zombie";
    sleep 55000;
    announce "Event Zombie vs. Novice will begin in 2 minutes.",0;
    sleep 60000;
    announce "Event Zombie vs. Novice will begin in 1 minute.",0;
    sleep 30000;
    mapannounce "quiz_01","In 30 seconds the Zombies will arrive!",0;
    sleep 25000;
    announce "Event Zombie vs. Novice will start in 5",0;
    sleep 1000;
    announce "Event Zombie vs. Novice will start in 4",0;
    sleep 1000;
    announce "Event Zombie vs. Novice will start in 3",0;
    sleep 1000;
    announce "Event Zombie vs. Novice will start in 2",0;
    sleep 1000;
    announce "Event Zombie vs. Novice will start in 1",0;
    sleep 1000;
    announce "Event 'Zombie vs. Novice' has begun!",0,0x00FF00;
    monster "quiz_02",46,374,"Zombie",1015,5;
    disablenpc "Novice vs. Zombie";
    sleep 10000;
    monster "quiz_02",46,374,"Zombie",1015,10;
    sleep 10000;
    monster "quiz_02",46,374,"Zombie",1015,20;
    sleep 10000;
    monster "quiz_02",46,374,"Zombie",1015,30;
    sleep 10000;
    monster "quiz_02",46,374,"Ghoul",1036,10;
    initnpctimer;
    end;
    OnTimer5000:
    if ( getmapusers("quiz_02") == 0 )
    {
    killmonsterall "quiz_02";
    announce "'Zombie Vs. Novice' has ended, no one survived!",0;
    disablenpc "Prize";
    stopnpctimer;
    end;
    }
    else if ( getmapusers("quiz_02") > 1 )
    {
    mapannounce "quiz_02",getmapusers("quiz_02") +" survivors are still on the map.",0,0x00FF00;;
    initnpctimer;
    end;
    }
    if ( getmapusers("quiz_02") == 1 ) {
    killmonsterall "quiz_02";
    mapannounce "quiz_02","You've won! Please approach to the Prize Giver to get your award.",0;
    enablenpc "Prize";
    stopnpctimer;
    end;
    }
    initnpctimer;
    end;
    OnPCDieEvent:
    getmapxy .@mapnvz$,.@xnvz,.@ynvz,0;
    if ( .@mapnvz$ == "quiz_02") {
    sleep2 1;
    warp "prontera",156,223;
    atcommand "@alive "+ strcharinfo(0);
    dispbottom "You were beaten by a Zombie.";
    }
    sleep2 1000;
    end;
    }
    quiz_02,46,374,3 script Prize 72,{
    if (sex == 1) {
    announce "Wow! " + strcharinfo (0) + " has won! He survived versus the Zombies.",0;
    }
    else {
    announce "Wow! " + strcharinfo (0) + " has won! She survived versus the Zombies.",0;
    };
    getitem 675,1;
    warp "prontera",156,223;
    sleep2 250;
    disablenpc "Prize";
    end;
    }
    prontera,150,150,5 script Novice vs. Zombie 1015,{
    if ( Weight > 0 ){
    mes "You must clear all your items in your Equipment Field and Inventory before joining this event.";
    close;
    }
    if (BaseLevel > 1) goto NO;
    if (class == 0) goto event;
    if (class > 0) goto NO;
    event:
    mes "[^0000FFZombie Vs. Novice^000000]";
    mes "You wish to get on the Zombie Vs. Novice arena?";
    next;
    switch(select("Yes","No")) {
    case 1:
    sc_end SC_ALL;
    //sc_start SC_DECREASEAGI,300000,10;
    percentheal 100,100;
    warp "quiz_02",46,374;
    end;
    break;
    case 2:
    mes "[^0000FFZombie Vs. Novice^000000]";
    mes "Okay, talk to me when you've changed your mind.";
    close;
    break;
    NO:
    mes "[^0000FFZombie Vs. Novice^000000]";
    mes "You don't meet the requirements. Only Level 1 Novice can join.";
    close;
    }
    OnInit:
    disablenpc "Novice vs. Zombie";
    disablenpc "Prize";
    end;
    }
    quiz_02 mapflag nowarp
    quiz_02 mapflag nowarpto
    quiz_02 mapflag noteleport
    quiz_02 mapflag nosave
    quiz_02 mapflag nomemo
    quiz_02 mapflag nobranch
    quiz_02 mapflag noloot
    quiz_02 mapflag noskill
    quiz_02 mapflag nightenabled
    quiz_02 mapflag nodrop
    quiz_02 mapflag noexp
    quiz_02 mapflag pvp off
    //quiz_01 mapflag pvp_noparty
    //quiz_01 mapflag pvp_noguild
    quiz_01 mapflag nocommand 80
    

  4. See the core below!

    
    Core was generated by `./map-server_sql'.
    Program terminated with signal 11, Segmentation fault.
    #0  0x0814e446 in guild_checkskill (g=0x0, id=10006) at guild.c:91
    91              return g->skill[idx].lv;
    (gdb) bt full
    #0  0x0814e446 in guild_checkskill (g=0x0, id=10006) at guild.c:91
           idx = 6
    #1  0x081598db in unit_walktoxy_timer (tid=775, tick=1727573445, id=2000126, 
       data=189) at unit.c:186
           g = 0x0
           skill = <value optimized out>
           strvit = <value optimized out>
           agidex = <value optimized out>
           i = <value optimized out>
           x = <value optimized out>
           y = <value optimized out>
           dx = 1
           dy = <value optimized out>
           bl = 0xc8f9bb0
           sd = 0xc8f9bb0
           md = 0x0
           ud = 0xc8f9bc8
    #2  0x08168cd9 in do_timer (tick=1727573469) at timer.c:371
           tid = 775
           diff = -24
           __FUNCTION__ = "do_timer"
    #3  0x0816612e in main (argc=1, argv=0xbf8d94b4) at core.c:291
           next = <value optimized out>
    (gdb) 

×
×
  • Create New...