-
Posts
249 -
Joined
-
Last visited
-
Days Won
1
cumbe11 last won the day on July 18 2014
cumbe11 had the most liked content!
About cumbe11
- Birthday 01/04/1988
Profile Information
-
Gender
Male
-
Location
Aracati
-
Server
JLHOST
- Github: https://github.com/cumbe11
- Discord: [ADM] Mike#9244
-
Interests
conseguir conhecimento.
Contact Methods
- Website URL
Recent Profile Visitors
4,176 profile views
cumbe11's Achievements
-
for me to give this error would anyone know how to help me? Failed to parse LUA: Only supporting v5.0, sorry
-
hello, the following error is appearing on my linux console, I would like to know what it would be erro: [Debug]: log_picktype2char: Unknown pick type 256.
-
Hello, I was wondering how I can activate for skill storm gust have a chance to be reflected only the damage by the Maya card
-
Hello, I have this pvp sql ranking, the problem is that he is not registering the class, the kills and deaths part works well, just not computing the class. - script Rank2 -1,{ OnPCKillEvent: getmapxy @map$,@x,@y,0; if ( @map$ == "amatsu" ) goto Kill; end; Kill: if( @last_killed$ == rid2name( killedrid ) ) end; set @last_killed$, rid2name( killedrid ); Announce "The player [ " + strcharinfo(0)+" ] defeated the player [ " + rid2name(killedrid) + " ] and now it has " + @points + " wins!", bc_map, 0xFF7F50; set @CID,getcharid(0); set @pvp,0; set @name$,""; set @Job$,jobname(Class); query_sql "SELECT `kills` FROM `pvp` WHERE `char_id`="[email protected]+"",@pvp; query_sql "SELECT `name` FROM `pvp` WHERE `char_id`="[email protected]+"",@name$; query_sql "SELECT `classe` FROM `pvp` WHERE `char_id`="[email protected]+"",@Job$; if (@name$ == ""){ query_sql "INSERT INTO `pvp` (`char_id`,`name`,`kills`,`classe`) VALUES ("[email protected]+",'"+strcharinfo(0)+"',1,'"+jobname(Class)+"',1)",@esc$; set @points,@points+1; dispbottom " Your Score: "[email protected]; end; } query_sql "UPDATE `pvp` SET `kills` = `kills` +1 WHERE `char_id`="[email protected]+"",@esc$; set @points,@points+1; dispbottom " Your Score: "[email protected]; end; } - script Rank3 -1,{ OnPCDieEvent: getmapxy @map$,@x,@y,0; if ( @map$ == "amatsu" ) goto Deat; end; Deat: set @CID,getcharid(0); set @pvp,0; set @name$,""; set @Job$,jobname(Class); query_sql "SELECT `deaths` FROM `pvp` WHERE `char_id`="[email protected]+"",@pvp; query_sql "SELECT `name` FROM `pvp` WHERE `char_id`="[email protected]+"",@name$; query_sql "SELECT `classe` FROM `pvp` WHERE `char_id`="[email protected]+"",@Job$; if (@name$ == ""){ query_sql "INSERT INTO `pvp` (`char_id`,`name`,`deaths`,`classe`) VALUES ("[email protected]+",'"+strcharinfo(0)+"',1,'"+jobname(Class)+"',-1)",@esc$; set @points,@points+1; end; } query_sql "UPDATE `pvp` SET `deaths` = `deaths` +1 WHERE `char_id`="[email protected]+"",@esc$; set @points,@points+1; end; }
-
on my map-server this warning message ( WARING skill_unitgrouptickset_search: tickset is full ) is showing, would anyone know why? skill_unitgrouptickset_search: tickset is full
-
I would like to change the movement of the asura, I wanted him to jump instead of slide, example: the character disappeared and appeared behind the opponent as before. i have an old-time project and i use a version of eathena. I believe that the part corresponding to this is this src/map/skill.c case MO_EXTREMITYFIST: if( skillid == MO_EXTREMITYFIST ) { status_change_end(src,SC_EXPLOSIONSPIRITS,-1); status_change_end(src,SC_BLADESTOP,-1); } //Client expects you to move to target regardless of distance { struct unit_data *ud = unit_bl2ud(src); short dx,dy; int i,speed; i = skillid == MO_EXTREMITYFIST?1:2; //Move 2 cells for Issen, 1 for Asura dx = bl->x - src->x; dy = bl->y - src->y; if (dx < 0) dx-=i; else if (dx > 0) dx+=i; if (dy < 0) dy-=i; else if (dy > 0) dy+=i; if (!dx && !dy) dy++; if (map_getcell(src->m, src->x+dx, src->y+dy, CELL_CHKNOPASS)) { dx = bl->x; dy = bl->y; } else { dx = src->x + dx; dy = src->y + dy; } skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag); if(unit_walktoxy(src, dx, dy, 2) && ud) { //Increase can't walk delay to not alter your walk path ud->canmove_tick = tick; speed = status_get_speed(src); for (i = 0; i < ud->walkpath.path_len; i ++) { if(ud->walkpath.path[i]&1) ud->canmove_tick+=7*speed/5; else ud->canmove_tick+=speed; } } } break;
-
I tested it and the people who take the test and pass the npc question again I wish that people who were not bot the npc would not ask more until she relog
-
after the char is kicked will the npc work with it again?
-
i want to put this npc to activate on 3 maps instead of just 1, and even if the person reloged it would be checked again. - script bot2 -1,{ OnInit: OnPCLoadMapEvent: if( !Checking ) end; OnNPCKillEvent: if ( strcharinfo(3) == "bat_c01" ) { set Kill,Kill+1; if( Kill >= rand( 15,35 ) ){ set Checking,1; announce "RO Guard : Bot Check time! Thank you for your patience!",bc_yellow|bc_self; atcommand "@option 2"; mes "[^ff557fRO Guard^000000]"; mes "Please enter the ^FF0000RED COLOUR NUMBER^000000"; next; set [email protected],rand( 999999 ); mes "[^ff557fRO Guard^000000]"; mes "Number : "; mes rand( 999999 )+"^ff0000"[email protected]+"^000000"+rand( 999999 ); input @Number; if( @Number != [email protected] ){ mes "Sorry, WRONG."; atcommand "@kick "+strcharinfo(0); }else{ mes "Thank you. You now can move!."; dispbottom "100% of effectiveness."; announce "RO Guard : To rewared your kindness, please take a bonus of some Buffs.",bc_blue|bc_self; sc_start SC_INCREASEAGI,500000,10; sc_start SC_BLESSING,500000,10; percentheal 100,100; atcommand "@option 0 0 0"; if(@cart == 1) { setcart; set @cart,0; } if(@falcon == 1) { setfalcon; set @falcon,0; } if(@riding == 1) { setriding; set @riding,0; } set Checking,0; set Kill,0; } close; } } } bat_c01 mapflag loadevent
-
where would i put this condition in the script?
-
Pronto arrumei, bem eu andei mexendo e coloquei ele para iniciar 3 vezes por dia, queria saber como eu deixo apenas se a pessoa estiver em um grupo entrar no evento. tipo se ela não estiver em grupo o npc não recolhe o ticket e nem o ouro e mandar o jogar entrar em um grupo.. outra coisa o grupo usar o ticket e pagar os 500 ouros poderá voltar para o evento quando morrer até os 30 minutos de evento terminar... depois dos 30 minutos o grupo vai ter que pagar denovo
-
hello I wanted to npc just take players who were in a group, if he does not have a group npc did not complete the lock - script Sample -1,{ OnClock1900: OnClock2000: OnClock2100: for( set [email protected],0; [email protected] < 3; set [email protected],[email protected] + 1 ){ announce "O evento Cheffenia será aberto dentro de "+( 3 - [email protected] )+" Minutos.",0; sleep 60000; } enablenpc "Cheffenia::bsw"; announce "Evento Cheffenia Aberto.",0; sleep ( 30 * 60000 ); announce "Evento Cheffenia Fechado.",0; OnInit: disablenpc "Cheffenia::bsw"; end; } prontera,164,164,4 script Cheffenia::bsw 421,{ mes "[Riss]"; mes "Olá "+strcharinfo(0)+""; mes "Posso levar seu grupo a um lugar muito misterioso.. "; next; mes "[Riss]"; mes "Enquanto eu viajava por todo esse mundo eu descobrir esse lugar..."; next; mes "[Riss]"; mes "Eu sou um aventureiro..."; mes "Haha~"; next; mes "[Riss]"; mes "Deseja se aventurar na Cheffênia?"; next; menu "É claro!",sim, "Talvez uma outra hora..",nao, "Oque é preciso para ir?",item; sim: if(countitem(7227) < 1) || (countitem(969) < 500){ mes "[Riss]"; mes "Você não tem os itens necessários para embarcar nessa aventura.."; mes "Requerimento:"; mes "1x "+getitemname(7227); mes "500x "+getitemname(969); close; } next; mes "[Riss]"; mes "Você vai enfrentar este desafio ?"; mes "Certo. Em seguida, escolha seu destino ."; next; set [email protected], select("Primeiro","Segundo","Terceiro","Quarto"); mes "[Riss]"; mes "Ser cuidadoso, jovem rapaz."; mes "Não fique com raiva de mim."; delitem 7227,1; delitem 969,500; set [email protected]_id, getcharid(1); close2; warpparty "bossnia_0"[email protected],rand(202,204),rand(202,204),[email protected]_id; end; nao: mes "[Riss]"; mes "Sempre estarei aqui..."; close; item: mes "[Riss]"; mes "Só é necessário que você me traga esses itens:"; next; mes "x500 Ouro e 1 Passe para Cheffênia"; mes "Ao trabalho.."; close; } // Warp Portals //============================================================ bossnia_01,207,207,0 warp bossnia01 1,1,prontera,155,180 bossnia_02,207,207,0 warp bossnia02 1,1,prontera,155,180 bossnia_03,207,207,0 warp bossnia03 1,1,prontera,155,180 bossnia_04,207,207,0 warp bossnia04 1,1,prontera,155,180 // monster Spawns //============================================================ //---------------------------------------------------------------------------- // bossnia_01 - Bossnia //---------------------------------------------------------------------------- bossnia_01,0,0,0,0 monster Garm 1252,1,7200000,0,1 bossnia_01,0,0,0,0 monster Gloom Under Night 1768,1,7200000,0,1 bossnia_01,0,0,0,0 monster Dark Lord 1272,1,7200000,0,1 bossnia_01,0,0,0,0 monster Doppelganger 1046,1,7200000,0,1 bossnia_01,0,0,0,0 monster Dracula 1389,1,1800000,0,1 bossnia_01,0,0,0,0 monster Drake 1112,1,1800000,0,1 bossnia_01,0,0,0,0 monster Detale 1719,1,7200000,0,1 bossnia_01,0,0,0,0 monster Maya 1147,1,1800000,0,1 bossnia_01,0,0,0,0 monster Mistress 1059,1,1800000,0,1 bossnia_01,0,0,0,0 monster Baphomet 1039,1,1800000,0,1 bossnia_01,0,0,0,0 monster Egnigem Cenia 1658,1,1800000,0,1 bossnia_01,0,0,0,0 monster Amon Ra 1511,1,1800000,0,1 bossnia_01,0,0,0,0 monster Atroce 1785,1,1800000,0,1 bossnia_01,0,0,0,0 monster Vesper 1685,1,7200000,0,1 bossnia_01,0,0,0,0 monster Eddga 1115,1,1800000,0,1 bossnia_01,0,0,0,0 monster Osiris 1038,1,7200000,0,1 bossnia_01,0,0,0,0 monster Orc Lord 1190,1,7200000,0,1 bossnia_01,0,0,0,0 monster Orc Hero 1087,1,1800000,0,1 bossnia_01,0,0,0,0 monster Samurai Specter 1492,1,3600000,0,1 bossnia_01,0,0,0,0 monster Moonlight Flower 1150,1,3600000,0,1 bossnia_01,0,0,0,0 monster Lord of the Dead 1373,1,3600000,0,1 bossnia_01,0,0,0,0 monster Ktullanux 1779,1,7200000,0,1 bossnia_01,0,0,0,0 monster Kiel D-01 1734,1,7200000,0,1 bossnia_01,0,0,0,0 monster Thanatos Phantom 1708,1,7200000,0,1 bossnia_01,0,0,0,0 monster Lady Tanee 1688,1,3600000,0,1 bossnia_01,0,0,0,0 monster Tao Gunka 1583,1,3600000,0,1 bossnia_01,0,0,0,0 monster Turtle General 1312,1,7200000,0,1 bossnia_01,0,0,0,0 monster Pharaoh 1157,1,3600000,0,1 bossnia_01,0,0,0,0 monster Stormy Knight 1251,1,3600000,0,1 bossnia_01,0,0,0,0 monster Falling Bishop 1871,1,7200000,0,1 bossnia_01,0,0,0,0 monster Phreeoni 1159,1,7200000,0,1 bossnia_01,0,0,0,0 monster Golden Thief Bug 1086,1,3600000,0,1 bossnia_01,0,0,0,0 monster Evil Snake Lord 1418,1,7200000,0,1 bossnia_01,0,0,0,0 monster RSX-0806 1623,1,7200000,0,1 bossnia_01,0,0,0,0 monster Assassin Cross Eremes 1647,1,0,0,1 bossnia_01,137,118,1,1 monster Whitesmith Howard 1648,1,0,0,1 bossnia_01,122,195,1,1 monster Beelzebub 1873,1,0,0,1 bossnia_01,45,118,1,1 monster Beelzebub 1873,1,0,0,1 bossnia_01,196,122,1,1 monster Valkyrie Randgris 1751,1,0,0,1 bossnia_01,142,61,1,1 monster Ifrit 1832,1,0,0,1 //---------------------------------------------------------------------------- // bossnia_02 - Bossnia //---------------------------------------------------------------------------- bossnia_02,0,0,0,0 monster Garm 1252,2,7200000,0,1 bossnia_02,0,0,0,0 monster Gloom Under Night 1768,2,7200000,0,1 bossnia_02,0,0,0,0 monster Dark Lord 1272,2,7200000,0,1 bossnia_02,0,0,0,0 monster Doppelganger 1046,2,7200000,0,1 bossnia_02,0,0,0,0 monster Dracula 1389,2,1800000,0,1 bossnia_02,0,0,0,0 monster Drake 1112,2,1800000,0,1 bossnia_02,0,0,0,0 monster Detale 1719,2,7200000,0,1 bossnia_02,0,0,0,0 monster Maya 1147,2,1800000,0,1 bossnia_02,0,0,0,0 monster Mistress 1059,2,1800000,0,1 bossnia_02,0,0,0,0 monster Baphomet 1039,2,1800000,0,1 bossnia_02,0,0,0,0 monster Egnigem Cenia 1658,2,1800000,0,1 bossnia_02,0,0,0,0 monster Amon Ra 1511,2,1800000,0,1 bossnia_02,0,0,0,0 monster Atroce 1785,2,1800000,0,1 bossnia_02,0,0,0,0 monster Vesper 1685,2,7200000,0,1 bossnia_02,0,0,0,0 monster Eddga 1115,2,1800000,0,1 bossnia_02,0,0,0,0 monster Osiris 1038,2,7200000,0,1 bossnia_02,0,0,0,0 monster Orc Lord 1190,2,7200000,0,1 bossnia_02,0,0,0,0 monster Orc Hero 1087,2,1800000,0,1 bossnia_02,0,0,0,0 monster Samurai Specter 1492,2,3600000,0,1 bossnia_02,0,0,0,0 monster Moonlight Flower 1150,2,3600000,0,1 bossnia_02,0,0,0,0 monster Lord of the Dead 1373,2,3600000,0,1 bossnia_02,0,0,0,0 monster Ktullanux 1779,2,7200000,0,1 bossnia_02,0,0,0,0 monster Kiel D-01 1734,2,7200000,0,1 bossnia_02,0,0,0,0 monster Thanatos Phantom 1708,2,7200000,0,1 bossnia_02,0,0,0,0 monster Lady Tanee 1688,2,3600000,0,1 bossnia_02,0,0,0,0 monster Tao Gunka 1583,2,3600000,0,1 bossnia_02,0,0,0,0 monster Turtle General 1312,2,7200000,0,1 bossnia_02,0,0,0,0 monster Pharaoh 1157,2,3600000,0,1 bossnia_02,0,0,0,0 monster Stormy Knight 1251,2,3600000,0,1 bossnia_02,0,0,0,0 monster Falling Bishop 1871,2,7200000,0,1 bossnia_02,0,0,0,0 monster Phreeoni 1159,2,7200000,0,1 bossnia_02,0,0,0,0 monster Golden Thief Bug 1086,2,3600000,0,1 bossnia_02,0,0,0,0 monster Evil Snake Lord 1418,2,7200000,0,1 bossnia_02,0,0,0,0 monster RSX-0806 1623,2,7200000,0,1 bossnia_02,0,0,0,0 monster Assassin Cross Eremes 1647,2,0,0,1 bossnia_02,137,118,1,1 monster Whitesmith Howard 1648,2,0,0,1 bossnia_02,122,195,1,1 monster Beelzebub 1873,2,0,0,1 bossnia_02,45,118,1,1 monster Beelzebub 1873,2,0,0,1 bossnia_02,196,122,1,1 monster Valkyrie Randgris 1751,2,0,0,1 bossnia_02,142,61,1,1 monster Ifrit 1832,2,0,0,1 //---------------------------------------------------------------------------- // bossnia_03 - Bossnia //---------------------------------------------------------------------------- bossnia_03,0,0,0,0 monster Garm 1252,3,7200000,0,1 bossnia_03,0,0,0,0 monster Gloom Under Night 1768,3,7200000,0,1 bossnia_03,0,0,0,0 monster Dark Lord 1272,3,7200000,0,1 bossnia_03,0,0,0,0 monster Doppelganger 1046,3,7200000,0,1 bossnia_03,0,0,0,0 monster Dracula 1389,3,1800000,0,1 bossnia_03,0,0,0,0 monster Drake 1112,3,1800000,0,1 bossnia_03,0,0,0,0 monster Detale 1719,3,7200000,0,1 bossnia_03,0,0,0,0 monster Maya 1147,3,1800000,0,1 bossnia_03,0,0,0,0 monster Mistress 1059,3,1800000,0,1 bossnia_03,0,0,0,0 monster Baphomet 1039,3,1800000,0,1 bossnia_03,0,0,0,0 monster Egnigem Cenia 1658,3,1800000,0,1 bossnia_03,0,0,0,0 monster Amon Ra 1511,3,1800000,0,1 bossnia_03,0,0,0,0 monster Atroce 1785,3,1800000,0,1 bossnia_03,0,0,0,0 monster Vesper 1685,3,7200000,0,1 bossnia_03,0,0,0,0 monster Eddga 1115,3,1800000,0,1 bossnia_03,0,0,0,0 monster Osiris 1038,3,7200000,0,1 bossnia_03,0,0,0,0 monster Orc Lord 1190,3,7200000,0,1 bossnia_03,0,0,0,0 monster Orc Hero 1087,3,1800000,0,1 bossnia_03,0,0,0,0 monster Samurai Specter 1492,3,3600000,0,1 bossnia_03,0,0,0,0 monster Moonlight Flower 1150,3,3600000,0,1 bossnia_03,0,0,0,0 monster Lord of the Dead 1373,3,3600000,0,1 bossnia_03,0,0,0,0 monster Ktullanux 1779,3,7200000,0,1 bossnia_03,0,0,0,0 monster Kiel D-01 1734,3,7200000,0,1 bossnia_03,0,0,0,0 monster Thanatos Phantom 1708,3,7200000,0,1 bossnia_03,0,0,0,0 monster Lady Tanee 1688,3,3600000,0,1 bossnia_03,0,0,0,0 monster Tao Gunka 1583,3,3600000,0,1 bossnia_03,0,0,0,0 monster Turtle General 1312,3,7200000,0,1 bossnia_03,0,0,0,0 monster Pharaoh 1157,3,3600000,0,1 bossnia_03,0,0,0,0 monster Stormy Knight 1251,3,3600000,0,1 bossnia_03,0,0,0,0 monster Falling Bishop 1871,3,7200000,0,1 bossnia_03,0,0,0,0 monster Phreeoni 1159,3,7200000,0,1 bossnia_03,0,0,0,0 monster Golden Thief Bug 1086,3,3600000,0,1 bossnia_03,0,0,0,0 monster Evil Snake Lord 1418,3,7200000,0,1 bossnia_03,0,0,0,0 monster RSX-0806 1623,3,7200000,0,1 bossnia_03,0,0,0,0 monster Assassin Cross Eremes 1647,3,0,0,1 bossnia_03,137,118,1,1 monster Whitesmith Howard 1648,3,0,0,1 bossnia_03,122,195,1,1 monster Beelzebub 1873,3,0,0,1 bossnia_03,45,118,1,1 monster Beelzebub 1873,3,0,0,1 bossnia_03,196,122,1,1 monster Valkyrie Randgris 1751,3,0,0,1 bossnia_03,142,61,1,1 monster Ifrit 1832,3,0,0,1 //---------------------------------------------------------------------------- // bossnia_04 - Bossnia //---------------------------------------------------------------------------- bossnia_04,0,0,0,0 monster Garm 1252,4,7200000,0,1 bossnia_04,0,0,0,0 monster Gloom Under Night 1768,4,7200000,0,1 bossnia_04,0,0,0,0 monster Dark Lord 1272,4,7200000,0,1 bossnia_04,0,0,0,0 monster Doppelganger 1046,4,7200000,0,1 bossnia_04,0,0,0,0 monster Dracula 1389,4,1800000,0,1 bossnia_04,0,0,0,0 monster Drake 1112,4,1800000,0,1 bossnia_04,0,0,0,0 monster Detale 1719,4,7200000,0,1 bossnia_04,0,0,0,0 monster Maya 1147,4,1800000,0,1 bossnia_04,0,0,0,0 monster Mistress 1059,4,1800000,0,1 bossnia_04,0,0,0,0 monster Baphomet 1039,4,1800000,0,1 bossnia_04,0,0,0,0 monster Egnigem Cenia 1658,4,1800000,0,1 bossnia_04,0,0,0,0 monster Amon Ra 1511,4,1800000,0,1 bossnia_04,0,0,0,0 monster Atroce 1785,4,1800000,0,1 bossnia_04,0,0,0,0 monster Vesper 1685,4,7200000,0,1 bossnia_04,0,0,0,0 monster Eddga 1115,4,1800000,0,1 bossnia_04,0,0,0,0 monster Osiris 1038,4,7200000,0,1 bossnia_04,0,0,0,0 monster Orc Lord 1190,4,7200000,0,1 bossnia_04,0,0,0,0 monster Orc Hero 1087,4,1800000,0,1 bossnia_04,0,0,0,0 monster Samurai Specter 1492,4,3600000,0,1 bossnia_04,0,0,0,0 monster Moonlight Flower 1150,4,3600000,0,1 bossnia_04,0,0,0,0 monster Lord of the Dead 1373,4,3600000,0,1 bossnia_04,0,0,0,0 monster Ktullanux 1779,4,7200000,0,1 bossnia_04,0,0,0,0 monster Kiel D-01 1734,4,7200000,0,1 bossnia_04,0,0,0,0 monster Thanatos Phantom 1708,4,7200000,0,1 bossnia_04,0,0,0,0 monster Lady Tanee 1688,4,3600000,0,1 bossnia_04,0,0,0,0 monster Tao Gunka 1583,4,3600000,0,1 bossnia_04,0,0,0,0 monster Turtle General 1312,4,7200000,0,1 bossnia_04,0,0,0,0 monster Pharaoh 1157,4,3600000,0,1 bossnia_04,0,0,0,0 monster Stormy Knight 1251,4,3600000,0,1 bossnia_04,0,0,0,0 monster Falling Bishop 1871,4,7200000,0,1 bossnia_04,0,0,0,0 monster Phreeoni 1159,4,7200000,0,1 bossnia_04,0,0,0,0 monster Golden Thief Bug 1086,4,3600000,0,1 bossnia_04,0,0,0,0 monster Evil Snake Lord 1418,4,7200000,0,1 bossnia_04,0,0,0,0 monster RSX-0806 1623,4,7200000,0,1 bossnia_04,0,0,0,0 monster Assassin Cross Eremes 1647,4,0,0,1 bossnia_04,137,118,1,1 monster Whitesmith Howard 1648,4,0,0,1 bossnia_04,122,195,1,1 monster Beelzebub 1873,4,0,0,1 bossnia_04,45,118,1,1 monster Beelzebub 1873,4,0,0,1 bossnia_04,196,122,1,1 monster Valkyrie Randgris 1751,4,0,0,1 bossnia_04,142,61,1,1 monster Ifrit 1832,4,0,0,1 bossnia_01 mapflag nowarpto bossnia_02 mapflag nowarpto bossnia_03 mapflag nowarpto bossnia_04 mapflag nowarpto bossnia_01 mapflag nowarp bossnia_02 mapflag nowarp bossnia_03 mapflag nowarp bossnia_04 mapflag nowarp bossnia_01 mapflag nomemo bossnia_02 mapflag nomemo bossnia_03 mapflag nomemo bossnia_04 mapflag nomemo bossnia_01 mapflag nobranch bossnia_02 mapflag nobranch bossnia_03 mapflag nobranch bossnia_04 mapflag nobranch bossnia_01 mapflag noreturn bossnia_02 mapflag noreturn bossnia_03 mapflag noreturn bossnia_04 mapflag noreturn bossnia_01 mapflag nosave SavePoint bossnia_02 mapflag nosave SavePoint bossnia_03 mapflag nosave SavePoint bossnia_04 mapflag nosave SavePoint
-
Olá eu tenho esse npc do evento cheffenia, eu queria que ele abrisse apenas em um certo horario, no caso apenas aos sábados das 20 as 21. - script Sample -1,{ OnClock1900: OnClock2000: OnClock2100: for( set [email protected],0; [email protected] < 3; set [email protected],[email protected] + 1 ){ announce "O evento Cheffenia será aberto dentro de "+( 3 - [email protected] )+" Minutos.",0; sleep 60000; } enablenpc "Cheffenia"; announce "Evento Cheffenia Aberto.",0; sleep ( 30 * 60000 ); announce "Evento Cheffenia Fechado.",0; OnInit: disablenpc "Cheffenia"; end; } prontera,164,164,4 script Cheffenia 421,{ mes "[Riss]"; mes "Olá "+strcharinfo(0)+""; mes "Posso levar seu grupo a um lugar muito misterioso.. "; next; mes "[Riss]"; mes "Enquanto eu viajava por todo esse mundo eu descobrir esse lugar..."; next; mes "[Riss]"; mes "Eu sou um aventureiro..."; mes "Haha~"; next; mes "[Riss]"; mes "Deseja se aventurar na Cheffênia?"; next; menu "É claro!",sim, "Talvez uma outra hora..",nao, "Oque é preciso para ir?",item; sim: if(countitem(7227) < 1) || (countitem(969) < 500){ mes "[Riss]"; mes "Você não tem os itens necessários para embarcar nessa aventura.."; mes "Requerimento:"; mes "1x "+getitemname(7227); mes "500x "+getitemname(969); close; } next; mes "[Riss]"; mes "Você vai enfrentar este desafio ?"; mes "Certo. Em seguida, escolha seu destino ."; next; set [email protected], select("Primeiro","Segundo","Terceiro","Quarto"); mes "[Riss]"; mes "Ser cuidadoso, jovem rapaz."; mes "Não fique com raiva de mim."; delitem 7227,1; delitem 969,500; set [email protected]_id, getcharid(1); close2; warpparty "bossnia_0"[email protected],rand(202,204),rand(202,204),[email protected]_id; warp "bossnia_0"[email protected],rand(202,204),rand(202,204); end; nao: mes "[Riss]"; mes "Sempre estarei aqui..."; close; item: mes "[Riss]"; mes "Só é necessário que você me traga esses itens:"; next; mes "x500 Ouro e 1 Passe para Cheffênia"; mes "Ao trabalho.."; close; } // Warp Portals //============================================================ bossnia_01,207,207,0 warp bossnia01 1,1,prontera,155,180 bossnia_02,207,207,0 warp bossnia02 1,1,prontera,155,180 bossnia_03,207,207,0 warp bossnia03 1,1,prontera,155,180 bossnia_04,207,207,0 warp bossnia04 1,1,prontera,155,180 // monster Spawns //============================================================ //---------------------------------------------------------------------------- // bossnia_01 - Bossnia //---------------------------------------------------------------------------- bossnia_01,0,0,0,0 monster Garm 1252,1,7200000,0,1 bossnia_01,0,0,0,0 monster Gloom Under Night 1768,1,7200000,0,1 bossnia_01,0,0,0,0 monster Dark Lord 1272,1,7200000,0,1 bossnia_01,0,0,0,0 monster Doppelganger 1046,1,7200000,0,1 bossnia_01,0,0,0,0 monster Dracula 1389,1,1800000,0,1 bossnia_01,0,0,0,0 monster Drake 1112,1,1800000,0,1 bossnia_01,0,0,0,0 monster Detale 1719,1,7200000,0,1 bossnia_01,0,0,0,0 monster Maya 1147,1,1800000,0,1 bossnia_01,0,0,0,0 monster Mistress 1059,1,1800000,0,1 bossnia_01,0,0,0,0 monster Baphomet 1039,1,1800000,0,1 bossnia_01,0,0,0,0 monster Egnigem Cenia 1658,1,1800000,0,1 bossnia_01,0,0,0,0 monster Amon Ra 1511,1,1800000,0,1 bossnia_01,0,0,0,0 monster Atroce 1785,1,1800000,0,1 bossnia_01,0,0,0,0 monster Vesper 1685,1,7200000,0,1 bossnia_01,0,0,0,0 monster Eddga 1115,1,1800000,0,1 bossnia_01,0,0,0,0 monster Osiris 1038,1,7200000,0,1 bossnia_01,0,0,0,0 monster Orc Lord 1190,1,7200000,0,1 bossnia_01,0,0,0,0 monster Orc Hero 1087,1,1800000,0,1 bossnia_01,0,0,0,0 monster Samurai Specter 1492,1,3600000,0,1 bossnia_01,0,0,0,0 monster Moonlight Flower 1150,1,3600000,0,1 bossnia_01,0,0,0,0 monster Lord of the Dead 1373,1,3600000,0,1 bossnia_01,0,0,0,0 monster Ktullanux 1779,1,7200000,0,1 bossnia_01,0,0,0,0 monster Kiel D-01 1734,1,7200000,0,1 bossnia_01,0,0,0,0 monster Thanatos Phantom 1708,1,7200000,0,1 bossnia_01,0,0,0,0 monster Lady Tanee 1688,1,3600000,0,1 bossnia_01,0,0,0,0 monster Tao Gunka 1583,1,3600000,0,1 bossnia_01,0,0,0,0 monster Turtle General 1312,1,7200000,0,1 bossnia_01,0,0,0,0 monster Pharaoh 1157,1,3600000,0,1 bossnia_01,0,0,0,0 monster Stormy Knight 1251,1,3600000,0,1 bossnia_01,0,0,0,0 monster Falling Bishop 1871,1,7200000,0,1 bossnia_01,0,0,0,0 monster Phreeoni 1159,1,7200000,0,1 bossnia_01,0,0,0,0 monster Golden Thief Bug 1086,1,3600000,0,1 bossnia_01,0,0,0,0 monster Evil Snake Lord 1418,1,7200000,0,1 bossnia_01,0,0,0,0 monster RSX-0806 1623,1,7200000,0,1 bossnia_01,0,0,0,0 monster Assassin Cross Eremes 1647,1,0,0,1 bossnia_01,137,118,1,1 monster Whitesmith Howard 1648,1,0,0,1 bossnia_01,122,195,1,1 monster Beelzebub 1873,1,0,0,1 bossnia_01,45,118,1,1 monster Beelzebub 1873,1,0,0,1 bossnia_01,196,122,1,1 monster Valkyrie Randgris 1751,1,0,0,1 bossnia_01,142,61,1,1 monster Ifrit 1832,1,0,0,1 //---------------------------------------------------------------------------- // bossnia_02 - Bossnia //---------------------------------------------------------------------------- bossnia_02,0,0,0,0 monster Garm 1252,2,7200000,0,1 bossnia_02,0,0,0,0 monster Gloom Under Night 1768,2,7200000,0,1 bossnia_02,0,0,0,0 monster Dark Lord 1272,2,7200000,0,1 bossnia_02,0,0,0,0 monster Doppelganger 1046,2,7200000,0,1 bossnia_02,0,0,0,0 monster Dracula 1389,2,1800000,0,1 bossnia_02,0,0,0,0 monster Drake 1112,2,1800000,0,1 bossnia_02,0,0,0,0 monster Detale 1719,2,7200000,0,1 bossnia_02,0,0,0,0 monster Maya 1147,2,1800000,0,1 bossnia_02,0,0,0,0 monster Mistress 1059,2,1800000,0,1 bossnia_02,0,0,0,0 monster Baphomet 1039,2,1800000,0,1 bossnia_02,0,0,0,0 monster Egnigem Cenia 1658,2,1800000,0,1 bossnia_02,0,0,0,0 monster Amon Ra 1511,2,1800000,0,1 bossnia_02,0,0,0,0 monster Atroce 1785,2,1800000,0,1 bossnia_02,0,0,0,0 monster Vesper 1685,2,7200000,0,1 bossnia_02,0,0,0,0 monster Eddga 1115,2,1800000,0,1 bossnia_02,0,0,0,0 monster Osiris 1038,2,7200000,0,1 bossnia_02,0,0,0,0 monster Orc Lord 1190,2,7200000,0,1 bossnia_02,0,0,0,0 monster Orc Hero 1087,2,1800000,0,1 bossnia_02,0,0,0,0 monster Samurai Specter 1492,2,3600000,0,1 bossnia_02,0,0,0,0 monster Moonlight Flower 1150,2,3600000,0,1 bossnia_02,0,0,0,0 monster Lord of the Dead 1373,2,3600000,0,1 bossnia_02,0,0,0,0 monster Ktullanux 1779,2,7200000,0,1 bossnia_02,0,0,0,0 monster Kiel D-01 1734,2,7200000,0,1 bossnia_02,0,0,0,0 monster Thanatos Phantom 1708,2,7200000,0,1 bossnia_02,0,0,0,0 monster Lady Tanee 1688,2,3600000,0,1 bossnia_02,0,0,0,0 monster Tao Gunka 1583,2,3600000,0,1 bossnia_02,0,0,0,0 monster Turtle General 1312,2,7200000,0,1 bossnia_02,0,0,0,0 monster Pharaoh 1157,2,3600000,0,1 bossnia_02,0,0,0,0 monster Stormy Knight 1251,2,3600000,0,1 bossnia_02,0,0,0,0 monster Falling Bishop 1871,2,7200000,0,1 bossnia_02,0,0,0,0 monster Phreeoni 1159,2,7200000,0,1 bossnia_02,0,0,0,0 monster Golden Thief Bug 1086,2,3600000,0,1 bossnia_02,0,0,0,0 monster Evil Snake Lord 1418,2,7200000,0,1 bossnia_02,0,0,0,0 monster RSX-0806 1623,2,7200000,0,1 bossnia_02,0,0,0,0 monster Assassin Cross Eremes 1647,2,0,0,1 bossnia_02,137,118,1,1 monster Whitesmith Howard 1648,2,0,0,1 bossnia_02,122,195,1,1 monster Beelzebub 1873,2,0,0,1 bossnia_02,45,118,1,1 monster Beelzebub 1873,2,0,0,1 bossnia_02,196,122,1,1 monster Valkyrie Randgris 1751,2,0,0,1 bossnia_02,142,61,1,1 monster Ifrit 1832,2,0,0,1 //---------------------------------------------------------------------------- // bossnia_03 - Bossnia //---------------------------------------------------------------------------- bossnia_03,0,0,0,0 monster Garm 1252,3,7200000,0,1 bossnia_03,0,0,0,0 monster Gloom Under Night 1768,3,7200000,0,1 bossnia_03,0,0,0,0 monster Dark Lord 1272,3,7200000,0,1 bossnia_03,0,0,0,0 monster Doppelganger 1046,3,7200000,0,1 bossnia_03,0,0,0,0 monster Dracula 1389,3,1800000,0,1 bossnia_03,0,0,0,0 monster Drake 1112,3,1800000,0,1 bossnia_03,0,0,0,0 monster Detale 1719,3,7200000,0,1 bossnia_03,0,0,0,0 monster Maya 1147,3,1800000,0,1 bossnia_03,0,0,0,0 monster Mistress 1059,3,1800000,0,1 bossnia_03,0,0,0,0 monster Baphomet 1039,3,1800000,0,1 bossnia_03,0,0,0,0 monster Egnigem Cenia 1658,3,1800000,0,1 bossnia_03,0,0,0,0 monster Amon Ra 1511,3,1800000,0,1 bossnia_03,0,0,0,0 monster Atroce 1785,3,1800000,0,1 bossnia_03,0,0,0,0 monster Vesper 1685,3,7200000,0,1 bossnia_03,0,0,0,0 monster Eddga 1115,3,1800000,0,1 bossnia_03,0,0,0,0 monster Osiris 1038,3,7200000,0,1 bossnia_03,0,0,0,0 monster Orc Lord 1190,3,7200000,0,1 bossnia_03,0,0,0,0 monster Orc Hero 1087,3,1800000,0,1 bossnia_03,0,0,0,0 monster Samurai Specter 1492,3,3600000,0,1 bossnia_03,0,0,0,0 monster Moonlight Flower 1150,3,3600000,0,1 bossnia_03,0,0,0,0 monster Lord of the Dead 1373,3,3600000,0,1 bossnia_03,0,0,0,0 monster Ktullanux 1779,3,7200000,0,1 bossnia_03,0,0,0,0 monster Kiel D-01 1734,3,7200000,0,1 bossnia_03,0,0,0,0 monster Thanatos Phantom 1708,3,7200000,0,1 bossnia_03,0,0,0,0 monster Lady Tanee 1688,3,3600000,0,1 bossnia_03,0,0,0,0 monster Tao Gunka 1583,3,3600000,0,1 bossnia_03,0,0,0,0 monster Turtle General 1312,3,7200000,0,1 bossnia_03,0,0,0,0 monster Pharaoh 1157,3,3600000,0,1 bossnia_03,0,0,0,0 monster Stormy Knight 1251,3,3600000,0,1 bossnia_03,0,0,0,0 monster Falling Bishop 1871,3,7200000,0,1 bossnia_03,0,0,0,0 monster Phreeoni 1159,3,7200000,0,1 bossnia_03,0,0,0,0 monster Golden Thief Bug 1086,3,3600000,0,1 bossnia_03,0,0,0,0 monster Evil Snake Lord 1418,3,7200000,0,1 bossnia_03,0,0,0,0 monster RSX-0806 1623,3,7200000,0,1 bossnia_03,0,0,0,0 monster Assassin Cross Eremes 1647,3,0,0,1 bossnia_03,137,118,1,1 monster Whitesmith Howard 1648,3,0,0,1 bossnia_03,122,195,1,1 monster Beelzebub 1873,3,0,0,1 bossnia_03,45,118,1,1 monster Beelzebub 1873,3,0,0,1 bossnia_03,196,122,1,1 monster Valkyrie Randgris 1751,3,0,0,1 bossnia_03,142,61,1,1 monster Ifrit 1832,3,0,0,1 //---------------------------------------------------------------------------- // bossnia_04 - Bossnia //---------------------------------------------------------------------------- bossnia_04,0,0,0,0 monster Garm 1252,4,7200000,0,1 bossnia_04,0,0,0,0 monster Gloom Under Night 1768,4,7200000,0,1 bossnia_04,0,0,0,0 monster Dark Lord 1272,4,7200000,0,1 bossnia_04,0,0,0,0 monster Doppelganger 1046,4,7200000,0,1 bossnia_04,0,0,0,0 monster Dracula 1389,4,1800000,0,1 bossnia_04,0,0,0,0 monster Drake 1112,4,1800000,0,1 bossnia_04,0,0,0,0 monster Detale 1719,4,7200000,0,1 bossnia_04,0,0,0,0 monster Maya 1147,4,1800000,0,1 bossnia_04,0,0,0,0 monster Mistress 1059,4,1800000,0,1 bossnia_04,0,0,0,0 monster Baphomet 1039,4,1800000,0,1 bossnia_04,0,0,0,0 monster Egnigem Cenia 1658,4,1800000,0,1 bossnia_04,0,0,0,0 monster Amon Ra 1511,4,1800000,0,1 bossnia_04,0,0,0,0 monster Atroce 1785,4,1800000,0,1 bossnia_04,0,0,0,0 monster Vesper 1685,4,7200000,0,1 bossnia_04,0,0,0,0 monster Eddga 1115,4,1800000,0,1 bossnia_04,0,0,0,0 monster Osiris 1038,4,7200000,0,1 bossnia_04,0,0,0,0 monster Orc Lord 1190,4,7200000,0,1 bossnia_04,0,0,0,0 monster Orc Hero 1087,4,1800000,0,1 bossnia_04,0,0,0,0 monster Samurai Specter 1492,4,3600000,0,1 bossnia_04,0,0,0,0 monster Moonlight Flower 1150,4,3600000,0,1 bossnia_04,0,0,0,0 monster Lord of the Dead 1373,4,3600000,0,1 bossnia_04,0,0,0,0 monster Ktullanux 1779,4,7200000,0,1 bossnia_04,0,0,0,0 monster Kiel D-01 1734,4,7200000,0,1 bossnia_04,0,0,0,0 monster Thanatos Phantom 1708,4,7200000,0,1 bossnia_04,0,0,0,0 monster Lady Tanee 1688,4,3600000,0,1 bossnia_04,0,0,0,0 monster Tao Gunka 1583,4,3600000,0,1 bossnia_04,0,0,0,0 monster Turtle General 1312,4,7200000,0,1 bossnia_04,0,0,0,0 monster Pharaoh 1157,4,3600000,0,1 bossnia_04,0,0,0,0 monster Stormy Knight 1251,4,3600000,0,1 bossnia_04,0,0,0,0 monster Falling Bishop 1871,4,7200000,0,1 bossnia_04,0,0,0,0 monster Phreeoni 1159,4,7200000,0,1 bossnia_04,0,0,0,0 monster Golden Thief Bug 1086,4,3600000,0,1 bossnia_04,0,0,0,0 monster Evil Snake Lord 1418,4,7200000,0,1 bossnia_04,0,0,0,0 monster RSX-0806 1623,4,7200000,0,1 bossnia_04,0,0,0,0 monster Assassin Cross Eremes 1647,4,0,0,1 bossnia_04,137,118,1,1 monster Whitesmith Howard 1648,4,0,0,1 bossnia_04,122,195,1,1 monster Beelzebub 1873,4,0,0,1 bossnia_04,45,118,1,1 monster Beelzebub 1873,4,0,0,1 bossnia_04,196,122,1,1 monster Valkyrie Randgris 1751,4,0,0,1 bossnia_04,142,61,1,1 monster Ifrit 1832,4,0,0,1 bossnia_01 mapflag nowarpto bossnia_02 mapflag nowarpto bossnia_03 mapflag nowarpto bossnia_04 mapflag nowarpto bossnia_01 mapflag nowarp bossnia_02 mapflag nowarp bossnia_03 mapflag nowarp bossnia_04 mapflag nowarp bossnia_01 mapflag nomemo bossnia_02 mapflag nomemo bossnia_03 mapflag nomemo bossnia_04 mapflag nomemo bossnia_01 mapflag nobranch bossnia_02 mapflag nobranch bossnia_03 mapflag nobranch bossnia_04 mapflag nobranch bossnia_01 mapflag noreturn bossnia_02 mapflag noreturn bossnia_03 mapflag noreturn bossnia_04 mapflag noreturn bossnia_01 mapflag nosave SavePoint bossnia_02 mapflag nosave SavePoint bossnia_03 mapflag nosave SavePoint bossnia_04 mapflag nosave SavePoint
-
O problema é que as pessoas estão usando o ticket estão ganhando outro, eles deveriam ganhar outro apenas se eles não estivesse equipado o item.
-
Muito obrigado.. como ficaria para outras partes? tipo essa é para arma, eu tenho ticket para 20022,Ticket_Refine_Cabeça,Ticket Refine Cabeça,2,1,,10,,,,,0xFFFFFFFF,7,2,,,,,,{if(getequipisequiped(1)){successrefitem 1; dispbottom "[Refine] Equipamento refinado.";}else getitem 20022,1; },{},{} 20023,Ticket_Refine_Armadura,Ticket Refine Armadura,2,1,,10,,,,,0xFFFFFFFF,7,2,,,,,,{if(getequipisequiped(2)){successrefitem 2; dispbottom "[Refine] Equipamento refinado.";}else getitem 20023,1; },{},{} 20024,Ticket_Refine_Arma,Ticket Refine Arma,2,1,,10,,,,,0xFFFFFFFF,7,2,,,,,,{if(getequipisequiped(4)){successrefitem 4; dispbottom "[Refine] Equipamento refinado.";}else getitem 20024,1; },{},{} 20025,Ticket_Refine_Escudo,Ticket Refine Escudo,2,1,,10,,,,,0xFFFFFFFF,7,2,,,,,,{if(getequipisequiped(3)){successrefitem 3; dispbottom "[Refine] Equipamento refinado.";}else getitem 20025,1; },{},{} 20026,Ticket_Refine_Manto,Ticket Refine Manto,2,1,,10,,,,,0xFFFFFFFF,7,2,,,,,,{if(getequipisequiped(5)){successrefitem 5; dispbottom "[Refine] Equipamento refinado.";}else getitem 20026,1; },{},{} 20027,Ticket_Refine_Sapatos,Ticket Refine Sapatos,2,1,,10,,,,,0xFFFFFFFF,7,2,,,,,,{if(getequipisequiped(6)){successrefitem 6; dispbottom "[Refine] Equipamento refinado.";}else getitem 20027,1; },{},{} Lembrando que se o jogador não estiver equipado com o item na hora do refino ele ganhara outro ticket