skuray

Members
  • Content Count

    16
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

0 Neutral

About skuray

  • Rank
    Poring

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. skuray

    error vendingHelp

    I can not use sales through npc, but around of the npc i can. my script prontera,156,116,4 script Vending Helper 4_F_JPN2,{ mes "["+ strnpcinfo(0) +"]"; if ( !getskilllv( 41 ) ) { mes "You dont have ^0055FFVending Skill^000000."; close; } mes "Select a slot and start vending."; while ( true ) { [email protected]$ = [email protected] ? "Previous Page:" : ":"; [email protected] = [email protected] * .slotperpage; for ( [email protected] = 0; [email protected] < .slotperpage && [email protected] + [email protected] < .count; [email protected] ) { if ( !getmapxy( [email protected]$, [email protected], [email protected], UNITTYPE_NPC, "#vend_slot"+( [email protected] + [email protected] ) ) && getareausers( .map$, [email protected], [email protected], [email protected], [email protected] ) ) [email protected]$ += "Slot No."+( [email protected] + [email protected] +1 )+" - ^FF0000[Unavailable]^000000:"; else [email protected]$ += "Slot No."+( [email protected] + [email protected] +1 )+" - ^00CC00[Available]^000000:"; } if ( [email protected] != .maxpage ) [email protected]$ = [email protected]$ + "Next Page"; [email protected] = select( [email protected]$ ) -1; if ( [email protected] ) { [email protected]; } else if ( [email protected] == .slotperpage +1 ) { [email protected]; } else break; } [email protected] = [email protected] * .slotperpage + [email protected] -1 ; if ( !getmapxy( [email protected]$, [email protected], [email protected], UNITTYPE_NPC, "#vend_slot"+ [email protected] ) && getareausers( .map$, [email protected], [email protected], [email protected], [email protected] ) ) { mes " "; mes "This slot is ^FF0000[UnAvailable]^000000."; close; } warp [email protected]$, [email protected], [email protected]; hideonnpc "#vend_slot"+ [email protected]; donpcevent "#vend_slot"+ [email protected] +"::OnCheckAvailable"; end; OnInit: setbattleflag "min_npc_vendchat_distance", 0; // ======================= Configuration HERE ============================= .map$ = "prontera"; // map setarray [email protected], 150,153,156,159,162; // x coordinates setarray [email protected], 108,105,102,99,96,93,90,87,84,81,78,75,72,69,66; // y coordinates .slotperpage = 20; // display how many slots per page (prevent making the menu too long) freeloop true; setcell .map$, 0,0, 500,500, cell_novending, false; [email protected]_size = getarraysize( [email protected] ); [email protected]_size = getarraysize( [email protected] ); for ( [email protected] = 0; [email protected] < [email protected]_size; [email protected] ) { for ( [email protected] = 0; [email protected] < [email protected]_size; [email protected] ) { if ( checkcell( .map$, [email protected][[email protected]], [email protected][[email protected]], cell_chkpass ) ) { movenpc "#vend_slot"+ .count, [email protected][[email protected]], [email protected][[email protected]]; setcell .map$, [email protected][[email protected]], [email protected][[email protected]], [email protected][[email protected]], [email protected][[email protected]], cell_novending, true; if ( getareausers( .map$, [email protected][[email protected]], [email protected][[email protected]], [email protected][[email protected]], [email protected][[email protected]] ) ) { hideonnpc "#vend_slot"+ .count; donpcevent "#vend_slot"+ .count +"::OnCheckAvailable"; } ++.count; } } } .maxpage = .count / .slotperpage + ( .count % .slotperpage > 0 ) -1; // debugmes "Vendor NPC needed -> "+ .count; end; } - script vend_slot -1,{ mes "[Vending Slot]"; if ( !getskilllv( 41 ) ) { mes "You dont have ^0055FFVending Skill^000000."; close; } getmapxy [email protected]$, [email protected], [email protected], UNITTYPE_NPC; if ( getareausers( [email protected]$, [email protected], [email protected], [email protected], [email protected] ) ) { mes "Someone already using this slot"; close; } unitwalk getcharid(3), [email protected], [email protected]; mes "Spot : ^777777Available^000000"; mes "^0055FF[ Vending Area Rules ]^000000"; mes "^FF0000 ~ Use proper Shop Name.^000000"; mes "^777777Player who failed to follow these rules will be punished.^000000"; hideonnpc strnpcinfo(0); donpcevent strnpcinfo(0)+"::OnCheckAvailable"; close; OnCheckAvailable: sleep 10000; getmapxy [email protected]$, [email protected], [email protected], UNITTYPE_NPC; while ( getareausers( [email protected]$, [email protected], [email protected], [email protected], [email protected] ) ) sleep 10000; hideoffnpc strnpcinfo(0); end; } // Add more if needed. prontera,0,0,4 duplicate(vend_slot) #vend_slot0 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot1 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot2 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot3 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot4 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot5 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot6 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot7 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot8 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot9 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot10 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot11 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot12 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot13 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot14 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot15 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot16 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot17 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot18 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot19 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot20 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot21 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot22 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot23 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot24 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot25 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot26 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot27 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot28 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot29 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot30 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot31 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot32 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot33 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot34 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot35 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot36 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot37 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot38 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot39 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot40 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot41 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot42 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot43 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot44 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot45 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot46 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot47 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot48 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot49 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot50 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot51 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot52 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot53 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot54 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot55 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot56 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot57 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot58 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot59 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot60 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot61 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot62 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot63 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot64 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot65 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot66 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot67 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot68 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot69 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot70 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot71 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot72 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot73 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot74 4_BULLETIN_BOARD2 prontera,0,0,4 duplicate(vend_slot) #vend_slot75 4_BULLETIN_BOARD2 thank u
  2. nao desemvolveu mais? preciso de um dragão rs
  3. skuray

    script of market plates do not work

    OMG!!!!!! I love U!!!!!!!! Perfect!!!!!!
  4. skuray

    script of market plates do not work

    is not working
  5. skuray

    script of market plates do not work

    Hi n0tttt. can you help me to understand? how add //===== Hercules Plugin ==================================== //= Vendor Control //===== By: ================================================ //= Original by Emistry //= Rewrite by AnnieRuru //===== Current Version: =================================== //= 2.1a //===== Compatible With: =================================== //= Hercules 2018-06-02 //===== Description: ======================================= //= Vendors only vend on certain coordinate, looks tidy :P //===== Topic ============================================== //= http://herc.ws/board/topic/4509-vendor-control-rewrite/ //===== Additional Comments: =============================== //= maybe because of npc->isnear ... Emistry deleted his topic ? //========================================================== #include "common/hercules.h" #include "map/pc.h" #include "map/npc.h" #include "plugins/HPMHooking.h" #include "common/HPMDataCheck.h" // Note down the area where your players allow to vend // this is meant to bypass the 'min_npc_vendchat_distance' check char mapname[MAP_NAME_LENGTH] = "prontera"; int x1 = 150; // first element of setarray [email protected] int x2 = 162; // last element of setarray [email protected] int y1 = 133; // first element of setarray [email protected] int y2 = 175; // last element of setarray [email protected] HPExport struct hplugin_info pinfo = { "VendorControl", SERVER_TYPE_MAP, "2.1", HPM_VERSION, }; int stack_limit = 1; bool npc_isnear_pre( struct block_list **bl ) { struct map_session_data *sd = BL_CAST(BL_PC, *bl); if ( !strcmp( mapindex_id2name(sd->mapindex), mapname ) && sd->bl.x >= x1 && sd->bl.x <= x2 && sd->bl.y >= y1 && sd->bl.y <= y2 ) hookStop(); return false; } int unit_walktoxy_timer_pre( int *tid, int64 *tick, int *id, intptr_t *data ) { struct block_list *bl = map->id2bl(*id); struct map_session_data *sd = BL_CAST(BL_PC, bl); if ( !bl || !sd ) return 0; if ( !strcmp( mapindex_id2name(sd->mapindex), mapname ) && sd->bl.x >= x1 && sd->bl.x <= x2 && sd->bl.y >= y1 && sd->bl.y <= y2 ) battle->bc->official_cell_stack_limit = 0; return 0; } int unit_walktoxy_timer_post( int retVal, int tid, int64 tick, int id, intptr_t data ) { if ( battle->bc->official_cell_stack_limit == 0 ) battle->bc->official_cell_stack_limit = stack_limit; return 0; } HPExport void plugin_init (void) { stack_limit = battle->bc->official_cell_stack_limit; addHookPre( npc, isnear, npc_isnear_pre ); addHookPre( unit, walktoxy_timer, unit_walktoxy_timer_pre ); addHookPost( unit, walktoxy_timer, unit_walktoxy_timer_post ); }
  6. Hello rathena. This is a scrip of plates ( vending) someone help me find the script error, pls? this scrip was find in chronus emulator, if someone will have a scrip more modern, and will can disponibilze, i will be great. ( bad english) prontera,156,188,4 script Vending_Helper 757,{ for( set [email protected],1; [email protected] <= .count; set [email protected],[email protected] + 1 ){ getmapxy( [email protected]$,[email protected],[email protected],1,"#vend_slot"[email protected] ); if( !getareausers( .map$,[email protected],[email protected],[email protected],[email protected] ) && [email protected] > 1 && [email protected] > 1 ){ set [email protected],[email protected] + 1; set [email protected]$,[email protected]$ + "Slot - "[email protected]+":"; }else{ set [email protected]$,[email protected]$ + ":"; } } if( [email protected] ){ mes "Dont have any available slot."; }else if( !getskilllv("MC_VENDING") ){ mes "You dont have ^0055FFVending Skill^000000."; }else{ mes "Available Slot : "[email protected]; mes "Please select a slot to vending."; set [email protected],select( [email protected]$ ); getmapxy( [email protected]$,[email protected],[email protected],1,"#vend_slot"[email protected] ); if( [email protected] == 1 || [email protected] == 1 ){ mes "This NPC at invalid location..."; }else{ warp [email protected]$,[email protected],[email protected]; hideonnpc "#vend_slot"[email protected]; } } close; OnInit: sleep 1000; // Map for vending set .map$,"prontera"; setcell .map$,0,0,284,365,cell_novending,1; // x and y horizone .. setarray .x_line,149,154,159,163; setarray .y_line,173,169,165,161,157,153,149; set .x_line_size,getarraysize( .x_line ); set .y_line_size,getarraysize( .y_line ); set .count,1; for( set [email protected],0; [email protected] < .x_line_size; set [email protected],[email protected] + 1 ) for( set [email protected],0; [email protected] < .y_line_size; set [email protected],[email protected] + 1 ) if( checkcell( .map$,.x_line[[email protected]],.y_line[[email protected]],cell_chkpass ) ){ movenpc "#vend_slot"+.count,.x_line[[email protected]],.y_line[[email protected]]; setcell .map$,.x_line[[email protected]],.y_line[[email protected]],.x_lin[[email protected]],.y_line[[email protected]],cell_novending,0; set .count,.count + 1; } npctalk "Vending Spot : "+.count; donpcevent "::OnSetup"; end; } - script vend_slot -1,{ getmapxy( [email protected]$,[email protected],[email protected],1 ); if( !getskilllv("MC_VENDING") ){ mes "You dont have ^0055FFVending Skill^000000."; }else if( getareausers( [email protected]$,[email protected],[email protected],[email protected],[email protected] ) ){ mes "Someone already selected this spot."; }else{ mes "Spot : ^777777Available^000000"; mes "^0055FF[ Vending Area Rules ]^000000"; mes "^FF0000 ~ Use proper Shop Name.^000000"; mes "^FF0000 ~ Never sell Junk/Gifts.^000000"; mes " "; mes "^777777Player will failed to follow these will be punished.^000000"; if( select( "Select this Spot","Cancel" ) == 1 ){ warp [email protected]$,[email protected],[email protected]; hideonnpc strnpcinfo(0); } } close; OnSetup: getmapxy( [email protected]$,[email protected],[email protected],1 ); set [email protected]$,strnpcinfo(0); while( 1 ){ if( getareausers( [email protected]$,[email protected],[email protected],[email protected],[email protected] ) ){ hideonnpc [email protected]$; }else{ hideoffnpc [email protected]$; // specialeffect 313; } sleep 5000; } end; } // Add more if needed. prontera,1,1,4 duplicate(vend_slot) #vend_slot1 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot2 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot3 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot4 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot5 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot6 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot7 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot8 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot9 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot10 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot11 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot12 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot13 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot14 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot15 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot16 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot17 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot18 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot19 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot20 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot21 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot22 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot23 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot24 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot25 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot26 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot27 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot28 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot29 858 prontera,1,1,4 duplicate(vend_slot) #vend_slot30 858
  7. owww! thank u! Perfect!
  8. Hello, rathena community. I need of a help ( Bad english) Could someone help me find the error in this script? prontera,156,233,5 script Homem das Selvas#st 4_M_UMCHIEF,{ cutin "macaco",2; set @name$,"[^0065DF Homem das Selvas ^000000]"; //- Nome do NPC. set $premio,"20000000"; //- Quantiadde de Zenys dada aos vencedores padrão 20kk. specialeffect 417; mes @name$; mes "Proteja nosso planeta desses macacos!?"; next; switch(select("Sim:Não, obrigado")) { case 1: //- Checando se o Evento está Ligado. if($open == 0){ mes @name$; mes "Sinto muito, mas o evento está fechado no momento."; close; } //- Removedor de Buffs , Carrinhos , Falcões e Montarias. sc_end SC_ALL; setcart 0; setfalcon 0; setriding 0; //- Checagem e Remoção Temporária de Homunculus. if (checkhomcall() == 0) { atcommand "@useskill 244 1 "+strcharinfo(0); dispbottom "[ Homem das Selvas ] : Homunculus são proibidos neste local!"; dispbottom "[ Homem das Selvas ] : por isso usei o [ Vaporizar ] para você !"; next; } //- Chacagem de uso de Pets. if (getpetinfo(2) != "null") { mes @name$; mes "Por favor, remova o Pet para entrar no Evento."; close; } mes @name$; mes "Certo, irei te teleportar para lá. Boa Sorte!"; warp "quiz_01",335,340; announce "[ Homem das Selvas ] O Jogador "+strcharinfo(0)+" acaba de entrar no Território do Homem Macaco!!",bc_all; close; case 2: mes @name$; mes "Uma pena, o evento é bem legal!"; close; // OnInit: waitingroom "Evento Homem Macaco",0; // Balão Chat set $open,0; // Closed de Evento Não Mexer. cutin "", 255; end; } } quiz_01,237,269,0 script Macaco#evt -1,{ OnBoxBreak: set .monkeytrasurex1,rand(41,57); set .monkeytrasurex2,rand(41,57); set .monkeytrasurex3,rand(41,57); set .monkeytrasurex4,rand(41,57); set .monkeytrasurex5,rand(41,57); set .monkeytrasurex6,rand(41,57); set .monkeytrasurex7,rand(41,57); set .monkeytrasurex8,rand(41,57); set .monkeytrasurex9,rand(41,57); set .monkeytrasurex10,rand(41,57); set .monkeytrasurex11,rand(41,57); set .monkeytrasurex12,rand(41,57); set .monkeytrasurex13,rand(41,57); set .monkeytrasurex14,rand(41,57); set .monkeytrasurex15,rand(41,57); set .monkeytrasurey1,rand(40,55); set .monkeytrasurey2,rand(40,55); set .monkeytrasurey3,rand(40,55); set .monkeytrasurey4,rand(40,55); set .monkeytrasurey5,rand(40,55); set .monkeytrasurey6,rand(40,55); set .monkeytrasurey7,rand(40,55); set .monkeytrasurey8,rand(40,55); set .monkeytrasurey9,rand(40,55); set .monkeytrasurey10,rand(40,55); set .monkeytrasurey11,rand(40,55); set .monkeytrasurey12,rand(40,55); set .monkeytrasurey13,rand(40,55); set .monkeytrasurey14,rand(40,55); set .monkeytrasurey15,rand(40,55); end; //Horário de ínicio do evento 4:30 em 4:30 horas. OnClock0030: OnClock0430: OnClock0830: OnClock1230: OnClock1750: OnClock1710: initnpctimer; announce "[Homem das Selvas] O Evento Homem Macaco iniciará em 5 Minutos !",bc_all,0xADD8E6; set $open,1; end; OnTimer60000: announce "[Homem das Selvas] Em 4 minutos o Evento iniciará , apressem-se !",bc_all,0xADD8E6; end; OnTimer120000: announce "[Homem das Selvas] Em 3 minutos o Evento iniciará , apressem-se !",bc_all,0xADD8E6; end; OnTimer180000: announce "[Homem das Selvas] Em 2 minutos o Evento iniciará , apressem-se !",bc_all,0xADD8E6; end; OnTimer240000: announce "[Homem das Selvas] Em 1 minuto o Evento iniciará , apressem-se !",bc_all,0xADD8E6; end; OnTimer300000: set $open,0; announce "[Homem das Selvas] O 1º Round Começou !",bc_all,0xADD8E6; monster "quiz_01",230,267,"Mime Monkey",1585,1; end; OnTimer360000: mapannounce "quiz_01","[Homem das Selvas] 1 Baú de Tesouro foi derrubado pelo Homem Macaco !",bc_map,0xADD8E6; sleep 1000; monster "quiz_01",237,270,"Baú do Tesouro",1324,1,"Macaco#evt::OnBoxBreak"; sleep 1000; mapannounce "quiz_01","[Homem das Selvas] 2º Round Começou !",bc_map,0xADD8E6; monster "quiz_01",252,291,"Mime Monkey",1585,1; end; OnTimer420000: mapannounce "quiz_01","[Homem das Selvas] 1 Baú de Tesouro foi derrubado pelo Homem Macaco !",bc_map,0xADD8E6; sleep 1000; monster "quiz_01",233,292,"Baú do Tesouro",1324,1,"Macaco#evt::OnBoxBreak"; sleep 1000; mapannounce "quiz_01","[Homem das Selvas] 3º Round Começou !",bc_map,0xADD8E6; monster "quiz_01",252,261,"Mime Monkey",1585,1; end; OnTimer480000: mapannounce "quiz_01","[Homem das Selvas] 1 Baú de Tesouro foi derrubado pelo Homem Macaco !",bc_map,0xADD8E6; sleep 1000; monster "quiz_01",243,275,"Baú do Tesouro",1324,1,"Macaco#evt::OnBoxBreak"; sleep 1000; mapannounce "quiz_01","[Homem das Selvas] 4º Round Começou !",bc_map,0xADD8E6; monster "quiz_01",233,261,"Mime Monkey",1585,1; end; OnTimer540000: mapannounce "quiz_01","[Homem das Selvas] 1 Baú de Tesouro foi derrubado pelo Homem Macaco !",bc_map,0xADD8E6; sleep 1000; monster "quiz_01",237,283,"Baú do Tesouro",1324,1,"Macaco#evt::OnBoxBreak"; sleep 1000; mapannounce "quiz_01","[Homem das Selvas] O 5º e Último Round Começou !",bc_map,0xADD8E6; monster "quiz_01",224,284,"Mime Monkey",1585,1; end; OnTimer600000: announce "[Homem das Selvas] Vocês salvaram nosso planeta, Parabéns aos Vencedores !",bc_all,0xADD8E6; killmonsterall "quiz_01",0; sleep 100000; end; onTimer610000: announce "[Homem das Selvas] Voce sera teleportado para a cidade !",bc_all,0xADD8E6; warp "prontera",156,184; sleep 1000; set $open,0; //set Zeny, Zeny + $premio; stopnpctimer; end; } //Mapflags - Mime Monkey quiz_01 mapflag novending quiz_01 mapflag nochat quiz_01 mapflag noskill quiz_01 mapflag noteleport quiz_01 mapflag noicewall quiz_01 mapflag nobranch quiz_01 mapflag nomemo quiz_01 mapflag nopenalty quiz_01 mapflag nosave SavePoint
  9. skuray

    event

    I'm going to rephrase my text, forgive me. I need an event that stays on every day at 9 pm and on weekends every 12 hours. if the event is on the players teleport to the event map.
  10. skuray

    event

    I am sorry my english skills are bad I need an event npc that has (cutin) that open every 2 in 2 hours and teleport the players to the event map if the event is open.And that announces in the game the opening of the event. thank u
  11. Hi, could you give me some tips on how to install? Thank you
  12. Hello friends or. This is the bomb poring event. he announces the event, asks to give the command @je, but nothing happens ... the option to click on npc to participate also disappears when the ads start ... help me please // https://rathena.org/board/topic/107940-bomb-poring-script-need-help/ prontera,175,210,4 script Bomb Poring 1904,{ if ( ( [email protected] = getvariableofnpc( .aidtotal, "runordie" ) ) >= 100 ) { // 100 participant max mes "["+strnpcinfo(0)+"]"; mes "I'm sorry, the room is full"; close; } if(getvariableofnpc( .start, "runordie" ) != 1) { mes "["+strnpcinfo(0)+"]"; mes "EI! voce gostaria de se unir a mim?"; next; if(select("Participar do evento!:Sair do evento!") == 2) end; percentheal 100, 100; warp "quiz_02", 334,345; set getvariableofnpc( .aid[ [email protected] ], "runordie" ), getcharid(3); set getvariableofnpc( .aidtotal, "runordie" ), getvariableofnpc( .aidtotal, "runordie" ) +1; end; } else { mes "["+strnpcinfo(0)+"]"; mes "Desculpe o evento esta desativado no momento."; end; } } - script runordie -1,{ OnInit: //disablenpc "Bomb Poring"; //bindatcmd "runordie", strnpcinfo(0)+"::OnStart", 99,100; .onesec = 1000; // use for script debugging... set to 100 to make the announcement run faster end; OnStart: OnClock0010: OnClock0110: OnClock0210: OnClock0310: OnClock0356: OnClock0420: OnClock0610: OnClock0710: OnClock0810: OnClock0910: OnClock1010: OnClock1110: OnClock1210: OnClock1310: OnClock1410: OnClock1510: OnClock1610: OnClock1710: OnClock1810: OnClock1910: OnClock2010: OnClock2110: OnClock2210: OnClock2310: deletearray .aid; .aidtotal = 0; mapwarp "quiz_02", "prontera", 140,76; killmonsterall "quiz_02"; .start = 1; announce "Bomb Poring event is on!",bc_all,0xffccff; sleep 4 * .onesec; announce "To participate in this event please talk to me at upper part of prontera beside reset girl!",bc_all,0xffccff; sleep 6 * .onesec; announce "You only have 1 minute to register on this event!",bc_all,0xffccff; sleep 20 * .onesec; announce "30 seconds left before registration is closed!",bc_all,0xffccff; sleep 10 * .onesec; announce "To participate in this event (@je)!",bc_all,0xffccff; sleep 10 * .onesec; announce "Last 10 seconds for registrations!",bc_all,0xffccff; sleep 5 * .onesec; announce "Bomb Poring : 5",bc_all,0xffccff; sleep 1000; announce "Bomb Poring : 4",bc_all,0xffccff; sleep 1000; announce "Bomb Poring : 3",bc_all,0xffccff; sleep 1000; announce "Bomb Poring : 2",bc_all,0xffccff; sleep 1000; announce "Bomb Poring : 1",bc_all,0xffccff; sleep 1000; .start = 2; announce "Event is now closed.",bc_all,0xffccff; if ( .aidtotal < 2 ) { // cannot start event if nobody joins(0) or just having (1) player announce "Bomb Poring is canceled not enough players to continue!",bc_all,0xffccff; mapwarp "quiz_02", "prontera", 160,168; deletearray .aid; .aidtotal = 0; .start = 0; end; } mapannounce "quiz_02", "Welcome Bomb Poring!",bc_map,0xffccff; sleep 3 * .onesec; mapannounce "quiz_02", "To the players don't know this event, It its very simple!",bc_map,0xffccff; sleep 3 * .onesec; mapannounce "quiz_02", "You just need to stay AWAY from anything that you think its DANGEROUS!!",bc_map,0xffccff; sleep 3 * .onesec; mapannounce "quiz_02", "Stay alive no matter what!",bc_map,0xffccff; sleep 3 * .onesec; mapannounce "quiz_02", "The LAST SURVIVOR will be the WINNER",bc_map,0xffccff; sleep 3 * .onesec; mapannounce "quiz_02", "Event will start in 3....",bc_map,0xffccff; sleep 1 * .onesec; mapannounce "quiz_02", "2...",bc_map,0xffccff; sleep 1 * .onesec; mapannounce "quiz_02", "1..",bc_map,0xffccff; sleep 1 * .onesec; mapannounce "quiz_02", "Start Running Now!",bc_map,0xffccff; while ( .start ) { [email protected] += rand(1,2); monster "quiz_02", 0,0, "Come On Baby!!!", 1904, 2 + [email protected], "", 0; monster "quiz_02", 0,0, "Come On Baby!!!", 1904, 2 + [email protected], "", 1; monster "quiz_02", 0,0, "Come On Baby!!!", 1904, 2 + [email protected], "", 2; sleep 5000; } end; OnPCDieEvent: OnPCLogoutEvent: if ( strcharinfo(3) == "quiz_02" && .start ) { if ( .aidtotal > 1 ) { for ( [email protected] = .aidtotal - 1; [email protected] >= 0; [email protected] ) { if ( getcharid(3) == .aid[[email protected]] ) { deletearray .aid[[email protected]], 1; .aidtotal--; } } } if ( .aidtotal == 1 ) { .start = 0; killmonsterall "quiz_02"; announce "Congratulations ~ the winner is "+ rid2name(.aid),bc_all,0xffccff; sleep 5000; if ( isloggedin( .aid ) ) { attachrid .aid; getitem 20080,5; // winner prize warp "prontera", 160,168; } deletearray .aid; .aidtotal = 0; } } end; } quiz_02 mapflag nowarp quiz_02 mapflag noreturn quiz_02 mapflag nowarpto quiz_02 mapflag noteleport quiz_02 mapflag nosave SavePoint quiz_02 mapflag noskill quiz_02 mapflag nomemo quiz_02 mapflag nopenalty quiz_02 mapflag noicewall
  13. Ola, tambem não entendi aonde colocar dnum2itemresnametable.txt idnum2itemdisplaynametable.txt idnum2itemdesctable.txt