Cumbe

Membro
  • Total de itens

    139
  • Registro em

  • Última visita

Reputação

2 Iniciante

2 Seguidores

Sobre Cumbe

  • Data de Nascimento 04-01-1988
  1. Dif?cil de imaginar o valor da mensalidade do shild ou a continuidade do servi?o voltado para o Ragnarok depois que voc? conseguir fechar um contrato com a Riot Games
  2. ERRO

    na verdade a descri??o fica a mesma... pelo oque eu lembrava o peso n?o era fixo na data, bastava editar na itemdb..
  3. ERRO

    Ol? algu?m ja teve um erro ao qual voc? vai na item_db remove o peso do item depois vai no game dar reloaditemdb mais o peso n?o sai.. tentei remover peso de varias stuffs mais n?o o peso fica o original...
  4. ERRO

    Bem quando a pessoa reloga o item visual para de funcionar, dai a pessoa tem que equipar e desequipar o visual para que ele funcione novamente, gostaria muito de arrumar isso.
  5. ERRO

    Deu certo. eu n?o imaginaria que um erro desse tipo j? poderia j? ter acontecido, no mais muito obrigado
  6. ERRO

    Eu tenho um evento desguise, problema ? que quando eu clico nele n?o acontece nada e no console aparece o seguinte erro [Error]: Loading NPC file: npc/strikero/eventos/Disguise.txt script error on npc/strikero/eventos/Disguise.txt line 55 parse_line: expect command, missing function name or calling undeclared func tion 50 : iYes: 51 : if ([email protected]) 52 : {set [email protected],0; set [email protected],0; 53 : setnpctimer 0; stopnpctimer; 54 : announce "O Evento Disguise foi finalizado por um membro da Equipe.",bc _map | bc_blue; * 55 : 'd'eletepset 1; 56 : setnpcdisplay "Evento Disguise",795; 57 : close;} 58 : set [email protected],1; set [email protected],1; setnpctimer 0; initnpctimer; 59 : set [email protected],[email protected]+1; 60 : announce "O evento Disguise come?ar? em 3 minutos.",bc_all | bc_blue; prontera,107,61,6 script Evento Disguise 795,{ //--- Basic Script Configuration Options ---// set [email protected]$,"[^0000FFEvento Disguise^000000]"; //<- NPC Name. set [email protected],60; //<- GM Level needed to be considered a GM. //--- The Script ---// if (getgmlevel()>[email protected]){goto GM_Player;} if ([email protected]){end;} mes [email protected]$; mes "Bem-vindo, como posso ser ?til?"; menu "Informa??es",iInfo,"Nada, eu s? estava de passagem.",iNothing; iInfo: next; mes [email protected]$; mes "Este evento ? realmente muito simples"; mes "No in?cio do acontecimento, vou me disfar?ar"; mes "em um monstro de forma aleat?ria. Voc?, ent?o, s? tem que gritar o nome daquele monstro em voz alta"; next; mes "Se voc? obt?-lo correto, voc? recebe um pr?mio. Se n?o, ent?o continue tentando."; mes "Isso ? tudo que h? para saber sobre este evento."; close; iNothing: close; GM_Player: mes [email protected]$; mes "Please select an Option to modify."; menu "Turn ON/OFF Event",iEvent,"Event Settings",iSettings; iEvent: next; mes [email protected]$; if ([email protected]){mes "The Event is currently: [^0000FFON^000000]"; mes "Would you like to turn it OFF?";} if ([email protected]){mes "The Event is currently: [^FF0000OFF^000000]"; mes "Would you like to turn it ON?";} menu "Yes",iYes,"No",iNothing; iYes: if ([email protected]) {set [email protected],0; set [email protected],0; setnpctimer 0; stopnpctimer; announce "O Evento Disguise foi finalizado por um membro da Equipe.",bc_map | bc_blue; deletepset 1; setnpcdisplay "Evento Disguise",795; close;} set [email protected],1; set [email protected],1; setnpctimer 0; initnpctimer; set [email protected],[email protected]+1; announce "O evento Disguise come?ar? em 3 minutos.",bc_all | bc_blue; announce "O evento est? sendo realizado na Sala de Eventos.",bc_all | bc_blue; close; iSettings: next; mes [email protected]$; mes "Please select a setting to modify."; menu "Monster Display",iMonster,"Number of Rounds",iRounds,"Prize Settings",iPrize; iMonster: callfunc "Monster_Display"; iRounds: callfunc "Rounds"; iPrize: callfunc "Prize"; OnInit: set .EventON,0; set .Wait,0; set .Winner,0; set .ResetCounter,0; set .Rounds,10; set .Prize,20016; set .PrizeAmt,1; set .Rule,1; setarray .MVP[0],1038,1039,1046,1059,1086,1087,1112,1115,1147,1150,1157,1159,1190,1251,1252,1272,1312,1373, 1389,1399,1418,1492,1502,1511,1583,1623,1630,1646,1647,1648,1649,1650,1651,1658,1685,1688, 1708,1719,1734,1751,1768,1779,1785,1802,1832,1871,1874,1885,1917,1980,2022,2068,2087,2131, 2156,2165; set .BlackList$, "1003,1006,1017,1021,1022,1027,1043,1075,1136,1137,1168," + "1171,1172,1173,1181,1187,1210,1217,1218,1222,1223,1224,1225,1226,1227,1228," + "1233,1284,1407,1411,1414,1495,1501,1900,1996,2000,2001,2002,2003,2004," + "2005,2006,2007,2011,2012,2025,2028,2029,2030,2031,2032,2033,2034,2035," + "2036,2037,2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2048,2049," + "2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063," + "2064,2065,2066,2067,2075,2076,2077,2078,2079,2080,2081,2083,2084,2085," + "2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099," + "2100,2101,2012,2103,2104,2105,2106,2107,2108,2109,2110,2111,2112,2113," + "2114,2115,2116,2117,2118,2119,2120,2121,2123,2124,2125,1496,"; end; OnClock0020: OnClock0120: OnClock0220: OnClock0320: OnClock0420: OnClock0520: OnClock0620: OnClock0720: OnClock0820: OnClock0920: OnClock1020: OnClock1120: OnClock1220: OnClock1320: OnClock1420: OnClock1520: OnClock1620: OnClock1720: OnClock1820: OnClock1920: OnClock2020: OnClock2120: OnClock2220: OnClock2320: set .ResetCounter,.ResetCounter+1; set .EventON,1; set .Timer,1; set .Wait,1; announce "O evento Disguise come?ar? em 3 minutos.",bc_all | bc_blue; announce "O evento est? sendo realizado no mapa de eventos..",bc_all | bc_blue; setnpctimer 0; initnpctimer; end; OnTimer10000: if (.Timer || .Change) end; set .Wait,0; goto iDisguise; end; OnTimer30000: if (.Timer) end; set .Change,0; setnpcdisplay "Evento Disguise",795; npctalk "Voc? demorou muito para adivinhar o que eu era. Por favor, aguarde 10 segundos, enquanto eu vou me disfar?ar novamente."; specialeffect 725; set $MonsterName$,""; deletepset 1; stopnpctimer; setnpctimer 0; initnpctimer; end; OnTimer60000: if (.Timer!=1) end; announce "O evento Disguise come?ar? em 2 minutos.",bc_all | bc_blue; announce "O evento est? sendo realizado no mapa de eventos..",bc_all | bc_blue; end; OnTimer120000: if (.Timer!=1) end; announce "O evento Disguise come?ar? um minuto.",bc_all | bc_blue; announce "O evento est? sendo realizado no mapa de eventos..",bc_all | bc_blue; end; OnTimer180000: if (.Timer!=1) end; announce "O evento Disguise come?ou!",bc_all | bc_blue; announce "O evento est? sendo realizado no mapa de eventos..",bc_all | bc_blue; set .Timer,0; stopnpctimer; setnpctimer 0; initnpctimer; iDisguise: if (.Rule==1) { set .Winner,0; set .Monster,1000+rand(1,995); if (compare(","+.BlackList$+"," , ","+.Monster+",")) goto iDisguise; if (.Monster==.LastMonster) goto iDisguise; set .LastMonster,.Monster; set $MonsterName$,getmonsterinfo(.Monster,0); } if (.Rule==2) { set .Winner,0; set .Monster,rand(49); set $MonsterName$,getmonsterinfo(.MVP[.Monster],0); } deletepset 1; defpattern 1,"([^:]+):.\\s*"+$MonsterName$+".*", "iCorrect"; activatepset 1; if (.Rule==1) setnpcdisplay "Evento Disguise",.Monster; if (.Rule==2) setnpcdisplay "Evento Disguise",.MVP[.Monster]; set .Change,1; setnpctimer 0; end; iCorrect: if (.Winner) { dispbottom "Algu?m j? ganhou esta rodada."; end; } set .Winner,1; set .RoundCount,.RoundCount+1; deletepset 1; activatepset 1; getitem .Prize,.PrizeAmt; announce strcharinfo(0)+" est? correto! Eu estava disfar?ado como: "+$MonsterName$+"",bc_map | bc_blue; if (.RoundCount>=.Rounds) { setnpcdisplay "Evento Disguise",795; set .RoundCount,0; set .Change,0; set .EventON,0; setnpctimer 0; stopnpctimer; npctalk "Obrigado a todos por jogar. Essa foi a ?ltima rodada do Evento Disguise. Venha jogar novamente mais tarde."; end; } setnpcdisplay "Evento Disguise",795; set .Change,0; setnpctimer 0; end; }
  7. Irei testar... teria como colocar para quando um gm entrasse na sala n?o anunciasse?
  8. Eu uso o PvP do Mooka eu queria que quando algupem entrasse na arena fosse mandando um global em go 0 dizendo que o jogador tal entrou na arena... eu tentei mais n?o achei onde colocar o codigo. //|==================================================================================| //| ___ ___ ___ ___ ___ | //| /\ \ /\ \ /\ \ /| | /\ \ | //| |::\ \ /::\ \ /::\ \ |:| | /::\ \ | //| |:|:\ \ /:/\:\ \ /:/\:\ \ |:| | /:/\:\ \ | //| __|:|\:\ \ /:/ \:\ \ /:/ \:\ \ __|:| | /:/ /::\ \ | //| /::::|_\:\__\ /:/__/ \:\__\ /:/__/ \:\__\ /\ |:|__|____ /:/_/:/\:\__\ | //| \:\--\ \/__/ \:\ \ /:/ / \:\ \ /:/ / \:\/:::::/__/ \:\/:/ \/__/ | //| \:\ \ \:\ /:/ / \:\ /:/ / \::/__/ \::/__/ | //| \:\ \ \:\/:/ / \:\/:/ / \:\ \ \:\ \ | //| \:\__\ \::/ / \::/ / \:\__\ \:\__\ | //| \/__/ \/__/ \/__/ \/__/ \/__/ | //| ================================================================================ | //| Script Desenvolvido Por Mooka | eAthena | Por Favor, N?o Retire Os Cr?ditos. | //| ================================================================================ | //| Observa??o! O MapFlag Est? No Final Do Script ! | //| ================================================================================ | //|[v1.3.0]: Nova Fun??o de M?ltiplas linguagens. (Mooka) | //| ------ | //| v1.2.9 : Nova Tabela! (PM_Lang) (Mooka) | //| v1.2.8 : Altera??o na fun??o !exit. (Mooka) | //| v1.2.7 : Adicionado bal?o de Chat no npc. (Mooka) | //| v1.2.6 : Nova op??o! Ganhando experi?ncia no PvP! (Mooka) | //| v1.2.5 : Adicionado !map#list. (Mooka) | //| v1.2.4 : Mapflags s?o definidos automaticamente. (Mooka) | //| v1.2.3 : Novo campo na tabela 'pvpm_map'. (noguild) (Mooka) | //| v1.2.2 : Altera??o na fun??o "Changeleader". (Mooka) | //| v1.2.1 : Implementada op??o para WoE. (Contagem de pontos na WoE) (Mooka) | //| v1.2.0 : Novo comando remoto. (!map) (Mooka) | //| ------ | //| v1.1.9 : Comandos !pvp\!gvg\!baby mergidos no novo comando !warp. (Mooka) | //| v1.1.8 : Reformulado Sistema das Arenas. (Mooka) | //| v1.1.7 : Nova tabela no PvP Master. (pvpm_map) (Mooka) | //| v1.1.6 : Ranking n?o mostra mais valores com 0. (Mooka) | //| v1.1.5 : Novos comandos remotos. (!ban;!truncate) (Mooka) | //| v1.1.4 : Adicionado op??o de Ranking Ratio aos Menus e CMD Remotos. (Mooka) | //| v1.1.3 : Otimizado IF's dos comandos remotos. (Mooka) | //| v1.1.2 : Desenvolvida nova op??o de Ranking. (Ratio) (Mooka) | //| v1.1.1 : Altera??o na tabela pvpm_data. (Adicionado campo 'ratio') (Mooka) | //| v1.1.0 : Novo comando remoto. (!help) (Mooka) | //| ------ | //| v1.0.9 : Adicionado duplica??es do npc em todas as cidades. (Mooka) | //| v1.0.8 : Adicionada op??o para retirar buffs. (Mooka) | //| v1.0.7 : Corre??o na fun??o Ranking2. (Mooka) | //| v1.0.6 : Corre??o no comando !exit. (Mooka) | //| v1.0.5 : Corre??o no bug de enviar o som "end" causando erro. (Mooka) | //| v1.0.4 : Implementado Sons do Unreal Tournament. (Mooka) | //| v1.0.3 : Adicionado novo tipo de contagem de Pontos com Announce. (Mooka) | //| v1.0.2 : Adicionada op??o para servidores PK. (Mooka) | //| v1.0.1 : Adicionado PvP Baby. (Mooka) | //| v1.0.0 : Desenvolvida Vers?o. (Mooka) | //| ================================================================================ | //| Table update (v1.3.0+): | //| DROP TABLE IF EXISTS `pvpm_lang`; | //| CREATE TABLE `pvpm_lang` ( | //| `id` int(11) unsigned NOT NULL default '0', | //| `lang` int(11) unsigned NOT NULL default '0', | //| `str` varchar(255) NOT NULL default '', | //| KEY `id` (`id`) | //| ) TYPE=MyISAM; | //| -------------------------------------------------------------------------------- | //| Table update (v1.2.3+): | //| alter table pvpm_map add noguild int(11) not null default '0'; | //| update pvpm_map set noguild=1 where map='guild_vs1'; | //| -------------------------------------------------------------------------------- | //| Table update (v1.1.7+): | //| DROP TABLE IF EXISTS `pvpm_map`; | //| CREATE TABLE `pvpm_map` ( | //| `id` int(11) unsigned NOT NULL default '0', | //| `map` varchar(255) NOT NULL default 'NULL', | //| `type` int(11) unsigned NOT NULL default '0', | //| KEY `id` (`id`) | //| ) TYPE=MyISAM; | //| insert into pvpm_map (id,map,type) values (0,'guild_vs3',0); | //| insert into pvpm_map (id,map,type) values (1,'pvp_n_1-5',0); | //| insert into pvpm_map (id,map,type) values (2,'guild_vs1',2); | //| insert into pvpm_map (id,map,type) values (3,'prt_are01',2); | //| insert into pvpm_map (id,map,type) values (4,'guild_vs2',1); | //| -------------------------------------------------------------------------------- | //| Table update (v1.1.1+): | //| alter table pvpm_data add ratio int(11) not null default '0' after dies | //| -------------------------------------------------------------------------------- | //| Table update (v1.0.0+): | //| DROP TABLE IF EXISTS `pvpm_data`; | //| CREATE TABLE `pvpm_data` ( | //| `id` int(11) unsigned NOT NULL default '0', | //| `name` varchar(255) NOT NULL default '', | //| `kills` int(11) unsigned NOT NULL default '0', | //| `dies` int(11) unsigned NOT NULL default '0', | //| `leader` int(11) unsigned NOT NULL default '0', | //| `annc` int(11) unsigned NOT NULL default '0', | //| `ban` int(11) unsigned NOT NULL default '0', | //| `type` int(11) unsigned NOT NULL default '0', | //| KEY `id` (`id`), | //| KEY `kills` (`kills`), | //| KEY `dies` (`dies`) | //| ) TYPE=MyISAM; | //| | //| ================================================================================ | - script init_PM -1,{ // | //| | //| -------------------------------------------------------------------------------- | //| |!Aviso importante sobre as configura??es! | | //| |O Sistema de Arena ter? problemas caso passe de 10 mapas na lista. | | //| |? poss?vel alterar este limite editando o script, caso queira fale comigo. | | //| -------------------------------------------------------------------------------- | //| | OnInit: // | //| Configura??es: | //| | //|=> Nome do npc na janela. | set [email protected]_name$,"[ ^FF0000 Arena ^000000 ]"; // | //| | //|=> Deseja usar o Ranking Ratio como principal? [ 1 = Sim ] | //|---> Nota: Ranking Ratio: Pontua??o = Kills - Mortes | set [email protected],1; // | //| | //|=> At? onde o Ranking ir? mostrar. [ M?ximo 127 ] | set [email protected],25; // | //| | //|=> Modo PK. Est? configurado para alterar automaticamente, mude se necess?rio. | set [email protected]_Mode,getbattleflag("pk_mode"); // | //| | //|=> Deseja que ao player entrar no pvp perca os buff? [ 1 = Sim] | set [email protected],0; // | //| | //|=> Quando o player matar o outro, deve ganhar experi?ncia? | //|---> Nota 1: Servidores de rates alta, configure o "quest_exp_rate". (exp.conf) | //|---> Nota 2: [email protected]: Quantidade de EXP perdida ao morrer. ( 0 = Desativado ) | //|---> Nota 3: Configura??o do comando: | //|--> 0 : Desativado. | //|--> 1 : Ativado usando f?rmula de EXP. ([email protected]*KilledLVL/KillerLVL) | //|--> 2 : Ativado, o player sempre ir? ganhar a quantia definida no [email protected] | set [email protected],1; // | set [email protected],115; // 0,1% no level 50. | set [email protected],0; // | //| | //|=> Deseja ativar a contagem de pontos nos mapas da WoE? | //|---> Nota 1: N?o s?o enviandos sons/broadcast nos mapas da WoE. | //|---> Nota 2: Op??es de contagem. | //|--> 0: Desativado. | //|--> 1: Ativar contagem somente do PvP. | //|--> 2: Ativar contagem somente do GvG. | //|--> 3: Ativar ambos. | set [email protected],3; // | //| | //|=> Configura??o do Som e Announce! | //|---> Nota 1: Os sons devem ser colocados na pasta data/wav em formato .wav | //|---> Nota 2: Se desativar o som do UT, desativar? o broadcast dele tamb?m.(2) | //|--> 0 : Desativar Todas Op??es. | //|--> 1 : Ativar somente broadcast Global. | //|--> 2 : Ativar somente sons/broadcast do Unreal Tournament. | //|--> 3 : Ativar Ambos. | set [email protected],3; // | //| | //|=> Lista com o nomes dos Sons Unreal Tournament. | //|---> Nota 1: [email protected]$[Pontos em que ir? tocar o som(Max. 127)],"Nome do Som"; | //|---> Nota 2: A partir do ultimo, ser? somado 10 e repetir? o som, o set | //|---> com "end" indica que o ultimo som ser? repetido dali em diante. | //|---> Nota 3: O nome do arquivo ? o mesmo que ser? exibido no announce. | set [email protected]$[1],"First Blood"; // | set [email protected]$[2],"Double Kill"; // | set [email protected]$[3],"Triple Kill"; // | set [email protected]$[5],"Mega Kill"; // | set [email protected]$[10],"Ultra Kill"; // | set [email protected]$[15],"Killing Spree"; // | set [email protected]$[20],"Ownage"; // | set [email protected]$[25],"Holy Shit"; // | set [email protected]$[30],"God Like"; // | set [email protected]$[35],"Dominating"; // | set [email protected]$[40],"Unstoppable"; // | set [email protected]$[50],"Monster Kill"; // | set [email protected]$[51],"end"; // | //|==================================================================================| query_sql("select name from pvpm_data where leader=1 and type=0 limit 1",[email protected]_Lider$); query_sql("select name from pvpm_data where leader=1 and type=2 limit 1",[email protected]_Lider$); query_sql("select lang from pvpm_lang where lang=0 and lang=1",[email protected]); if([email protected] && [email protected][1]) { debugmes "[PvP Master Ultimate] NO DEFAULT LANGUAGE(LANG0)! LANG1 WAS SET AS DEFAULT!"; query_sql("update pvpm_lang set lang=lang-1"); } query_sql("select count(lang) from pvpm_lang where id=0",[email protected]); if([email protected]) debugmes "[PvP Master Ultimate] NO LANGUAGE DATA!"; for(set [email protected],0;[email protected]<[email protected];set [email protected],[email protected]+1) { deletearray [email protected]$,82; query_sql("select str from pvpm_lang where lang="[email protected],[email protected]$); for(set [email protected],0;[email protected]<82;set [email protected],[email protected]+1) setd "[email protected]_Lang"[email protected]+"$["[email protected]+"]",[email protected]$[[email protected]]; } OnReloadListMap: deletearray [email protected],10; deletearray [email protected]$,10; deletearray [email protected],10; deletearray [email protected]$,10; query_sql("select * from pvpm_map order by id asc limit 10",[email protected],[email protected]$,[email protected],[email protected]); setarray [email protected]$[0],"^CD5C5C<PvP - FREE>","^FF4500<PvP Baby>","^8B5742<GvG>","^0047AB<PvP - PRO>","^0047AB<GvG - Ygg>"; for(set [email protected],0;[email protected]<=(getarraysize([email protected]$)-1);set [email protected],[email protected]+1) { set [email protected]$[[email protected]],"^000000- Arena "+([email protected]+1)+" "[email protected]$[[email protected][[email protected]]]; if([email protected][[email protected]]==3) set [email protected][[email protected]],0; else if([email protected][[email protected]]==4) set [email protected][[email protected]],2; setmapflag [email protected]$[[email protected]],mf_noreturn; setmapflag [email protected]$[[email protected]],mf_nosave; setmapflag [email protected]$[[email protected]],mf_noteleport; setmapflag [email protected]$[[email protected]],mf_nowarpto; setmapflag [email protected]$[[email protected]],mf_nowarp; setmapflag [email protected]$[[email protected]],mf_nomemo; setmapflag [email protected]$[[email protected]],mf_nopenalty; setmapflag [email protected]$[[email protected]],mf_nobranch; if([email protected][[email protected]] && [email protected][[email protected]]) setmapflag [email protected]$[[email protected]],mf_pvp; else if([email protected][[email protected]]) setmapflag [email protected]$[[email protected]],mf_pvp_noguild; if([email protected][[email protected]]==2) setmapflag [email protected]$[[email protected]],mf_gvg; } } - script PM_source -1,{ while(1) { mes [email protected]_name$; mes callfunc("getMesPM",1); mes callfunc("getMesPM",2); mes callfunc("getMesPM",3); mes "^008B8B< PvP "+callfunc("getMesPM",4)+" - ^FFA500"[email protected]_Lider$+"^008B8B >"; mes "^008B8B< GvG "+callfunc("getMesPM",4)+" - ^FFA500"[email protected]_Lider$+"^008B8B >"; switch(select("^FFA500- "+callfunc("getMesPM",5)+"^000000:- Ranking:- "+callfunc("getMesPM",6)+":- "+callfunc("getMesPM",7)+":- "+callfunc("getMesPM",79))) { case 1: for(set @i,0;@i<=(getarraysize([email protected])-1);set @i,@i+1) set @m$[@i]," ^0000FF["+getmapusers([email protected]$[@i])+"]"; switch(getarraysize([email protected])) { case 1: callfunc("pvpm_func","Warp",1,select([email protected]$[0][email protected]$[0])); case 2: callfunc("pvpm_func","Warp",1,select([email protected]$[0][email protected]$[0],[email protected]$[1][email protected]$[1])); case 3: callfunc("pvpm_func","Warp",1,select([email protected]$[0][email protected]$[0],[email protected]$[1][email protected]$[1],[email protected]$[2][email protected]$[2])); case 4: callfunc("pvpm_func","Warp",1,select([email protected]$[0][email protected]$[0],[email protected]$[1][email protected]$[1],[email protected]$[2][email protected]$[2],[email protected]$[3][email protected]$[3])); case 5: callfunc("pvpm_func","Warp",1,select([email protected]$[0][email protected]$[0],[email protected]$[1][email protected]$[1],[email protected]$[2][email protected]$[2],[email protected]$[3][email protected]$[3],[email protected]$[4][email protected]$[4])); case 6: callfunc("pvpm_func","Warp",1,select([email protected]$[0][email protected]$[0],[email protected]$[1][email protected]$[1],[email protected]$[2][email protected]$[2],[email protected]$[3][email protected]$[3],[email protected]$[4][email protected]$[4],[email protected]$[5][email protected]$[5])); case 7: callfunc("pvpm_func","Warp",1,select([email protected]$[0][email protected]$[0],[email protected]$[1][email protected]$[1],[email protected]$[2][email protected]$[2],[email protected]$[3][email protected]$[3],[email protected]$[4][email protected]$[4],[email protected]$[5][email protected]$[5],[email protected]$[6][email protected]$[6])); case 8: callfunc("pvpm_func","Warp",1,select([email protected]$[0][email protected]$[0],[email protected]$[1][email protected]$[1],[email protected]$[2][email protected]$[2],[email protected]$[3][email protected]$[3],[email protected]$[4][email protected]$[4],[email protected]$[5][email protected]$[5],[email protected]$[6][email protected]$[6],[email protected]$[7][email protected]$[7])); case 9: callfunc("pvpm_func","Warp",1,select([email protected]$[0][email protected]$[0],[email protected]$[1][email protected]$[1],[email protected]$[2][email protected]$[2],[email protected]$[3][email protected]$[3],[email protected]$[4][email protected]$[4],[email protected]$[5][email protected]$[5],[email protected]$[6][email protected]$[6],[email protected]$[7][email protected]$[7],[email protected]$[8][email protected]$[8])); case 10: callfunc("pvpm_func","Warp",1,select([email protected]$[0][email protected]$[0],[email protected]$[1][email protected]$[1],[email protected]$[2][email protected]$[2],[email protected]$[3][email protected]$[3],[email protected]$[4][email protected]$[4],[email protected]$[5][email protected]$[5],[email protected]$[6][email protected]$[6],[email protected]$[7][email protected]$[7],[email protected]$[8][email protected]$[8],[email protected]$[9][email protected]$[9])); } mes "** ERROR ** CHECK THE pm_map TABLE"; close; case 2: switch(select("- PvP:- PvP "+callfunc("getMesPM",8)+":- PvP (Ratio):- GvG:- GvG "+callfunc("getMesPM",8)+":- GvG (Ratio):- "+callfunc("getMesPM",9))) { case 1: callfunc "pvpm_func","Ranking1","kills",0,"PvP"; next; continue; case 2: callfunc "pvpm_func","Ranking1","dies",0,"PvP (Mortes)"; next; continue; case 3: callfunc "pvpm_func","Ranking1","ratio",0,"PvP (Ratio)"; next; continue; case 4: callfunc "pvpm_func","Ranking1","kills",2,"GvG"; next; continue; case 5: callfunc "pvpm_func","Ranking1","dies",2,"GvG (Mortes)"; next; continue; case 6: callfunc "pvpm_func","Ranking1","ratio",2,"GvG (Ratio)"; next; continue; case 7: switch(select("- "+callfunc("getMesPM",9)+" PvP:- "+callfunc("getMesPM",9)+" PvP "+callfunc("getMesPM",8)+":- "+callfunc("getMesPM",9)+" PvP (Ratio):- "+callfunc("getMesPM",9)+" GvG:- "+callfunc("getMesPM",9)+" GvG "+callfunc("getMesPM",8)+":- "+callfunc("getMesPM",9)+" GvG (Ratio)")) { case 1: callfunc "pvpm_func","Ranking2","kills",0; next; continue; case 2: callfunc "pvpm_func","Ranking2","dies",0; next; continue; case 3: callfunc "pvpm_func","Ranking2","ratio",0; next; continue; case 4: callfunc "pvpm_func","Ranking2","kills",2; next; continue; case 5: callfunc "pvpm_func","Ranking2","dies",2; next; continue; case 6: callfunc "pvpm_func","Ranking2","ratio",2; next; continue; } } case 3: next; mes [email protected]_name$; mes callfunc("getMesPM",10); mes callfunc("getMesPM",11); mes callfunc("getMesPM",12); next; continue; case 4: close; case 5: next; mes [email protected]_name$; mes callfunc("getMesPM",80); query_sql("select str from pvpm_lang where id=0",@lang$); for(set @a,0;@a<getarraysize(@lang$);set @a,@a+1) mes @a+" = "[email protected]$[@a]; input @inp; if(@inp < 0 || @inp > (getarraysize(@lang$)-1)) { mes callfunc("getMesPM",81); next; continue; } set PM_Lang,@inp; next; continue; } } OnInit: waitingroom "",0; OnTimer5000: setarray [email protected]$,"[PvP] Arena","PvP "[email protected]_Lang0$[4]+" ["[email protected]_Lider$+"]","GvG "[email protected]_Lang0$[4]+" ["[email protected]_Lider$+"]"; delwaitingroom; waitingroom [email protected]$[rand(0,2)],0; initnpctimer; } - script cmd -1,{ OnWhisperGlobal: if(compare(@whispervar0$,"!warp")) { set @ArenaID,@whispervar1$; if([email protected]) { dispbottom callfunc("getMesPM",13); end; } callfunc("pvpm_func","Warp",0,@ArenaID); } if(compare(@whispervar0$,"!ranking")) { if(compare(@whispervar0$,"2")) { if(compare(@whispervar1$,"pvp")) { if(compare(@whispervar2$,"ratio")) { callfunc "pvpm_func","Ranking2","ratio",0,"Ratio"; end; } if(!compare(@whispervar2$,"die")) callfunc "pvpm_func","Ranking2","kills",0; else callfunc "pvpm_func","Ranking2","dies",0; end; } if(compare(@whispervar1$,"gvg")) { if(compare(@whispervar2$,"ratio")) { callfunc "pvpm_func","Ranking2","ratio",2,"Ratio"; end; } if(!compare(@whispervar2$,"die")) callfunc "pvpm_func","Ranking2","kills",2; else callfunc "pvpm_func","Ranking2","dies",2; end; } } if(compare(@whispervar1$,"pvp")) { if(compare(@whispervar2$,"ratio")) { callfunc "pvpm_func","Ranking1","ratio",0,"Ratio"; end; } if(!compare(@whispervar2$,"die")) callfunc "pvpm_func","Ranking1","kills",0,"PvP"; else callfunc "pvpm_func","Ranking1","dies",0,"PvP ( Mortes )"; end; } if(compare(@whispervar1$,"gvg")) { if(compare(@whispervar2$,"ratio")) { callfunc "pvpm_func","Ranking1","ratio",2,"Ratio"; end; } if(!compare(@whispervar2$,"die")) callfunc "pvpm_func","Ranking1","kills",2,"GvG"; else callfunc "pvpm_func","Ranking1","dies",2,"GvG"; end; } } if ( compare(@whispervar0$,"!exit") ) { getmapxy(@map$,@x,@y,0); for(set @i,0;@i!=getarraysize([email protected]$);set @i,@i+1) { if (@map$ != [email protected]$[@i]) continue; dispbottom callfunc("getMesPM",14); sleep2 5000; warp getsavepoint(0),getsavepoint(1),getsavepoint(2); end; } dispbottom callfunc("getMesPM",15); end; } if (compare(@whispervar0$,"lider")) { if(compare(@whispervar0$,"pvp")) dispbottom "PvP "+callfunc("getMesPM",4)+": "[email protected]_Lider$; else dispbottom "GvG "+callfunc("getMesPM",4)+": "[email protected]_Lider$; end; } if(compare(@whispervar0$,"!truncate") && getgmlevel()>=70) { if(compare(@whispervar1$,"pvp")) { query_sql("delete from pvpm_data where type=0"); dispbottom callfunc("getMesPM",16); end; } if(compare(@whispervar1$,"gvg")) { query_sql("delete from pvpm_data where type=2"); dispbottom callfunc("getMesPM",16); end; } dispbottom callfunc("getMesPM",17); } if (compare(@whispervar0$,"!ban")) { if(@whispervar1$=="") { dispbottom callfunc("getMesPM",18); end; } if(@whispervar2$=="") { dispbottom callfunc("getMesPM",19); end; } if(@whispervar3$=="") { dispbottom callfunc("getMesPM",20); end; } if(@whispervar2$=="showtime") { query_sql("select ban from pvpm_data where name='"[email protected]$+"' limit 1",@showtime); dispbottom callfunc("getMesPM",21)+" ["[email protected]$+"] ["[email protected]+" "+callfunc("getMesPM",27)+"]"; end; } if(@whispervar2$=="unban") { query_sql("update pvpm_data set ban=0 where name='"[email protected]$+"' limit 1"); dispbottom callfunc("getMesPM",22)[email protected]$; message @whispervar1$,callfunc("getMesPM",23); end; } set @time,@whispervar2$; if(@time==0 && @whispervar2$!="unban" || @time==0 && @whispervar2$!="showtime") { dispbottom callfunc("getMesPM",24); end; } set @id,0; query_sql("select id from pvpm_data where name='"[email protected]$+"' and type="[email protected]$,@id); if([email protected] && @whispervar3$=="0" || [email protected] && @whispervar3$=="2") { dispbottom callfunc("getMesPM",25); end; } set @bantime,0; if(compare(@whispervar2$,"-")) query_sql("update pvpm_data set ban=ban"[email protected]+" where id="[email protected]+" limit 1"); else query_sql("update pvpm_data set ban=ban+"[email protected]+" where id="[email protected]+" limit 1"); query_sql("select ban from pvpm_data where id="[email protected]+" limit 1",@bantime); dispbottom callfunc("getMesPM",26)+" ("[email protected]+" "+callfunc("getMesPM",27)+")"; message @whispervar1$,callfunc("getMesPM",28)+" "[email protected]+" "+callfunc("getMesPM",27)+"."; warpchar "prontera",150,150,getcharid(0,@whispervar1$); end; } if (compare(@whispervar0$,"!map") && getgmlevel()>=70) { if (compare(@whispervar1$,"add")) { if(getarraysize([email protected])>=10) { dispbottom callfunc("getMesPM",29); dispbottom callfunc("getMesPM",30); end; } set @type,@whispervar3$; if([email protected] && @whispervar3$==""||@type>2) { dispbottom callfunc("getMesPM",31); dispbottom callfunc("getMesPM",32); dispbottom callfunc("getMesPM",33); end; } set @mapcheck$,""; query_sql("select map from pvpm_map where map='"[email protected]$+"' limit 1",@mapcheck$); if(@mapcheck$!="") { dispbottom callfunc("getMesPM",34); end; } query_sql("insert into `pvpm_map` (id,map,type) values ("+(getarraysize([email protected])-1)+",'"[email protected]$+"',"[email protected]+")"); dispbottom callfunc("getMesPM",35)+" ("[email protected]$+")"; doevent "init_PM::OnReloadListMap"; } if (compare(@whispervar1$,"del")) { if(getarraysize([email protected])<=1) { dispbottom callfunc("getMesPM",36); end; } query_sql("select map from pvpm_map where map='"[email protected]$+"'",@mapcheck$); if(@mapcheck$=="") { dispbottom callfunc("getMesPM",37); end; } query_sql("delete from pvpm_map where map='"[email protected]$+"'"); dispbottom callfunc("getMesPM",38)+" ("[email protected]$+")"; doevent "init_PM::OnReloadListMap"; } if (compare(@whispervar1$,"list")) { for(set @i,0;@i<=(getarraysize([email protected])-1);set @i,@i+1) dispbottom "["+(@i+1)+"] "[email protected]$[@i]; end; } end; } if (compare(@whispervar0$,"!help")) { if(compare(@whispervar1$,"!warp")) { dispbottom callfunc("getMesPM",39); dispbottom callfunc("getMesPM",40); dispbottom "- !warp#1;!warp#2;...!warp#5 .."; dispbottom callfunc("getMesPM",41); end; } if(compare(@whispervar1$,"!ranking")) { dispbottom callfunc("getMesPM",39); dispbottom callfunc("getMesPM",42); dispbottom "- !ranking#pvp;!ranking#pvp#die;!ranking#gvg;!ranking#gvg#die;!ranking#ratio"; dispbottom "- !ranking2#pvp;!ranking2#pvp#die;!ranking2#gvg;!ranking2#gvg#die;!ranking2#ratio; (Mostra somente sua posi??o)"; dispbottom callfunc("getMesPM",43);; end; } if(compare(@whispervar1$,"!pvplider") || compare(@whispervar1$,"!gvglider")) { dispbottom callfunc("getMesPM",39); dispbottom callfunc("getMesPM",44);; end; } if(compare(@whispervar1$,"!exit")) { dispbottom callfunc("getMesPM",39); dispbottom callfunc("getMesPM",45); end; } if(compare(@whispervar1$,"!ban") && getgmlevel()>=70) { dispbottom callfunc("getMesPM",39); dispbottom callfunc("getMesPM",46); dispbottom callfunc("getMesPM",47); dispbottom callfunc("getMesPM",48); dispbottom callfunc("getMesPM",49); dispbottom callfunc("getMesPM",50); end; } if(compare(@whispervar1$,"!map") && getgmlevel()>=70) { dispbottom callfunc("getMesPM",39); dispbottom callfunc("getMesPM",51); dispbottom callfunc("getMesPM",52); dispbottom "- Type: 0 = Arena PvP; 1 = Arena PvP Baby; 2 Arena GvG;"; dispbottom callfunc("getMesPM",53); end; } if(compare(@whispervar1$,"!truncate") && getgmlevel()>=70) { dispbottom callfunc("getMesPM",39); dispbottom callfunc("getMesPM",54); dispbottom callfunc("getMesPM",55); dispbottom callfunc("getMesPM",56); end; } dispbottom callfunc("getMesPM",57); end; } dispbottom callfunc("getMesPM",58); dispbottom callfunc("getMesPM",59); dispbottom callfunc("getMesPM",60); dispbottom callfunc("getMesPM",61); dispbottom callfunc("getMesPM",62); dispbottom callfunc("getMesPM",63); dispbottom callfunc("getMesPM",64); dispbottom callfunc("getMesPM",65); if(getgmlevel()>=70) { dispbottom callfunc("getMesPM",66); dispbottom callfunc("getMesPM",67); dispbottom callfunc("getMesPM",68); dispbottom callfunc("getMesPM",69); } } - script event#pvpm -1,{ OnInit: OnTimer60000: query_sql("update pvpm_data set ban=ban-1 where ban>0"); initnpctimer; end; OnPCKillEvent: callfunc("pvpm_func","PCKillEvent"); OnPCDieEvent: callfunc("pvpm_func","PCDieEvent"); OnPCLoadMapEvent: callfunc("pvpm_func","PCLoadEvent"); } function script pvpm_func { if (getarg(0) == "Ranking1") { deletearray @name$[0],getarraysize(@name$); deletearray @points[0],getarraysize(@points); query_sql "select name,"+getarg(1)+" from pvpm_data where type="+getarg(2)+" and "+getarg(1)+"!=0 order by "+getarg(1)+" desc limit 125",@name$,@points; dispbottom "======= Ranking - "+getarg(3)+" ======="; for(set @i,0;@i != [email protected];set @i,@i+1) { if(@name$[@i]=="") return; dispbottom (@i+1)+"? | "[email protected]$[@i]+" | "[email protected][@i]; } return; } if (getarg(0) == "Ranking2") { deletearray @name$[0],getarraysize(@name$); deletearray @points[0],getarraysize(@points); query_sql "select id,"+getarg(1)+" from pvpm_data where type="+getarg(2)+" order by "+getarg(1)+" desc limit 125",@id,@points; for(set @i,0;@i <= 125;set @i,@i+1) { if (@id[@i] == getcharid(getarg(2))) { dispbottom "- "+strcharinfo(getarg(2))+" | "+(@i+1)+"? | "[email protected][@i]; return; } } dispbottom callfunc("getMesPM",70); return; } if(getarg(0)=="Warp") { if(getarg(1)) { if([email protected][(getarg(2)-1)]==2 && !getcharid(2)) { mes [email protected]_name$; mes callfunc("getMesPM",71); close; } if([email protected][(getarg(2)-1)]==1 && Upper!=2) { mes [email protected]_name$; mes callfunc("getMesPM",72); close; } if([email protected]==0||[email protected]==1) callfunc("pvpm_func","ban",0,1); else callfunc("pvpm_func","ban",2,1); } else { getmapxy(@map$,@x,@y,0); if([email protected]$[(getarg(2)-1)][email protected]$) { dispbottom "<!!!> "+callfunc("getMesPM",73); end; } if([email protected][(getarg(2)-1)]==2) { dispbottom "<!!!> "+callfunc("getMesPM",71); end; } if([email protected][(getarg(2)-1)]==1 && Upper!=2) { dispbottom "<!!!> "+callfunc("getMesPM",72); end; } if([email protected]==0||[email protected]==1) callfunc("pvpm_func","ban",0); else callfunc("pvpm_func","ban",2); } set @MapIDx,(getarg(2)-1); if([email protected]) sc_end -1; warp [email protected]$[(getarg(2)-1)],0,0; end; } if (getarg(0) == "ban") { set @bantime,0; query_sql("select ban from pvpm_data where id="+getcharid(getarg(1))+" limit 1",@bantime); if([email protected]) return; if(!getarg(2,0)) { dispbottom "<!!!> "+callfunc("getMesPM",74)+" "[email protected]+" "+callfunc("getMesPM",27)+"!"; end; } else { mes "^FF7F50<!!!> ^FFA500"+callfunc("getMesPM",74)+" ^FF7F50"[email protected]+"^FFA500 "+callfunc("getMesPM",27)+"!"; close; } } if (getarg(0) == "Up") { if([email protected]) callfunc("pvpm_func","getexp"); set @name$,""; set @points,0; query_sql("select name,"+getarg(1)+" from pvpm_data where id="+getcharid(getarg(2))+" and type="+getarg(2)+" limit 1",@name$,@points); if (@name$=="") { query_sql("INSERT INTO pvpm_data (id,"+getarg(1)+",name,annc,type) values ("+getcharid(getarg(2))+",1,'"+strcharinfo(getarg(2))+"',"+getarg(3)+","+getarg(2)+")"); dispbottom "Score: 1"; end; } query_sql("update pvpm_data set "+getarg(1)+"="+getarg(1)+"+1 where id="+getcharid(getarg(2))); set @points,@points+1; if([email protected]) { set @kills,0; set @dies,0; query_sql("select kills,dies from pvpm_data where id="+getcharid(getarg(2))+" and type="+getarg(2)+" limit 1",@kills,@dies); query_sql("update pvpm_data set ratio="+(@[email protected])+" where id="+getcharid(getarg(2))+" and type="+getarg(2)+" limit 1"); set @points,@[email protected]; return; } return; } if (getarg(0) == "ChangeLeader") { set @L_name$,""; set @L_points,0; if([email protected]) query_sql("select name,kills from pvpm_data where leader=1 and type="+getarg(1)+" limit 1",@L_name$,@L_points); else query_sql("select name,ratio from pvpm_data where leader=1 and type="+getarg(1)+" limit 1",@L_name$,@L_points); if (@points > @L_points && @L_name$ != strcharinfo(getarg(1))) { query_sql("update pvpm_data set leader=0 where type="+getarg(1)); query_sql("update pvpm_data set leader=1 where id="+getcharid(getarg(1))+" and type="+getarg(1)); mapannounce @map$,strcharinfo(getarg(1))+" | "+callfunc("getMesPM",75)+" !",bc_map,0xFF7F50; set [email protected]_Lider$,""; set [email protected]_Lider$,""; query_sql("select name from pvpm_data where leader=1 and type=0 limit 1",[email protected]_Lider$); query_sql("select name from pvpm_data where leader=1 and type=2 limit 1",[email protected]_Lider$); } return; } if (getarg(0) == "Annc") { set @points,0; set @annc,0; query_sql "select kills,annc from pvpm_data where id="+getcharid(getarg(1))+" and type="+getarg(1),@points,@annc; if([email protected]) query_sql "update pvpm_data set annc=annc+"+getarg(2)+" where id="+getcharid(getarg(1))+" and type="+getarg(1); if (@points >= @annc) { Announce strcharinfo(getarg(1))+" | "[email protected]+" "+callfunc("getMesPM",76)+"! ["+getarg(3)+"]",bc_all,0xFF7F50; query_sql "update pvpm_data set annc=annc+"+getarg(2)+" where id="+getcharid(getarg(1))+" and type="+getarg(1); if([email protected]==1||[email protected]==3) soundeffectall "Monster Kill.wav",0; } if([email protected]||[email protected]==1) return; if(getarg(3)=="PvP") { if(@noMoreSounds&&@[email protected]) { mapannounce @map$,strcharinfo(0)+" | "[email protected]$[@noMoreSounds]+"! [ "[email protected]+" "+callfunc("getMesPM",76)+" ]",bc_map,0xFF7F50; soundeffectall [email protected]$[@noMoreSounds]+".wav",0,@map$; set @withoutDyingAnnc,@withoutDyingAnnc+5; return; } if([email protected]$[@withoutDying]=="end") { set @withoutDyingAnnc,@withoutDyingAnnc+5; set @noMoreSounds,@withoutDying-1; } if([email protected]$[@withoutDying]!=""&&[email protected]) { mapannounce @map$,strcharinfo(0)+" | "[email protected]$[@withoutDying]+" ! [ "[email protected]+" "+callfunc("getMesPM",76)+" ]",bc_map,0xFF7F50; soundeffectall [email protected]$[@withoutDying]+".wav",0,@map$; } } return; } if(getarg(0) == "PCKillEvent") { if( @last_killed$ == rid2name( killedrid ) ) end; set @last_killed$, rid2name( killedrid ); set @Live,1; if(@RightWoEMap) { if([email protected]==1 || [email protected]==3) callfunc "pvpm_func","Up","kills",0,100; dispbottom "Player Score: "[email protected]; if([email protected]==2 || [email protected]==3) callfunc "pvpm_func","Up","kills",2,1000; dispbottom "Guild Score: "[email protected]; end; } getmapxy(@map$,@x,@y,0); if(@[email protected]$[@MapIDx] && [email protected][@MapIDx]>=0 && [email protected][@MapIDx]<=1 || [email protected]_Mode) { set @withoutDying,@withoutDying+1; callfunc("pvpm_func","Up","kills",0,100); dispbottom "Player Score: "[email protected]; callfunc("pvpm_func","ChangeLeader",0); callfunc("pvpm_func","Annc",0,100,"PvP"); } if(@[email protected]$[@MapIDx] && [email protected][@MapIDx]==2 && getcharid(2) || [email protected]_Mode && getcharid(2)) { callfunc("pvpm_func","Up","kills",2,1000); dispbottom "Guild Score: "[email protected]; callfunc("pvpm_func","ChangeLeader",2); callfunc("pvpm_func","Annc",2,1000,"GvG"); } end; } if(getarg(0) == "PCDieEvent") { if( @last_killer$ == rid2name( killerrid ) ) end; set @last_killer$, rid2name( killerrid ); set @Live,0; if(@RightWoEMap) { if([email protected]==1 || [email protected]==3) { callfunc "pvpm_func","Up","dies",0,100; if([email protected]) dispbottom "Player Score: "[email protected]; } if([email protected]==2 || [email protected]==3) { callfunc "pvpm_func","Up","dies",2,1000; if([email protected]) dispbottom "Guild Score: "[email protected]; } } set @withoutDying,0; set @noMoreSounds,0; set @withoutDyingAnnc,0; set @MapIDx,0; set @RightWoEMap,0; getmapxy(@map$,@x,@y,0); if(@[email protected]$[@MapIDx] && [email protected][@MapIDx]>=0 && [email protected][@MapIDx]<=1 || [email protected]_Mode) { callfunc "pvpm_func","Up","dies",0,100; if([email protected]) dispbottom "Player Score: "[email protected]; } if(@[email protected]$[@MapIDx] && [email protected][@MapIDx]==2 && getcharid(2) || [email protected]_Mode && getcharid(2)) { callfunc "pvpm_func","Up","dies",2,1000; if([email protected]) dispbottom "Guild Score: "[email protected]; } end; } if(getarg(0) == "PCLoadEvent") { getmapxy(@map$,@x,@y,0); if(getcastlename(@map$)=="") { set @RightWoEMap,0; end; } if(agitcheck() || agitcheck2()) set @RightWoEMap,1; end; } if(getarg(0) == "getexp") { if(@Live) { attachrid(killedrid); set [email protected],BaseLevel; attachrid(killerrid); if([email protected]==1) set @EXP,(([email protected]*[email protected])/BaseLevel); else set @EXP,[email protected]; getexp @EXP,@EXP; dispbottom callfunc("getMesPM",77)+" "[email protected]+" EXP."; } else { if(BaseExp) set BaseExp,[email protected]; if(JobExp) set JobExp,[email protected]; dispbottom callfunc("getMesPM",78)+" "[email protected]+" EXP.";; } return; } } function script getMesPM { return getd("[email protected]_Lang"+PM_Lang+"$["+getarg(0)+"]"); } //================== DUPLICATE ===================== sec_in01,90,176,4 duplicate(PM_source) [PvP] Arena#3 899 alberta,26,240,4 duplicate(PM_source) [PvP] Arena#4 899 izlude,122,119,4 duplicate(PM_source) [PvP] Arena#5 899 aldebaran,147,119,4 duplicate(PM_source) [PvP] Arena#6 899 xmas,145,136,4 duplicate(PM_source) [PvP] Arena#7 899 comodo,184,158,4 duplicate(PM_source) [PvP] Arena#8 899 gonryun,161,126,4 duplicate(PM_source) [PvP] Arena#9 899 louyang,226,106,4 duplicate(PM_source) [PvP] Arena#10 899 ayothaya,155,121,4 duplicate(PM_source) [PvP] Arena#11 899 hugel,87,164,4 duplicate(PM_source) [PvP] Arena#12 899 moscovia,209,190,5 duplicate(PM_source) [PvP] Arena#13 899 //================== WOE ===================== //Necess?rio para ativar o sistema de contagem dos pontos na woe. //caso queira desativar algum mapa, retire-o daqui. aldeg_cas01 mapflag loadevent aldeg_cas02 mapflag loadevent aldeg_cas03 mapflag loadevent aldeg_cas04 mapflag loadevent gefg_cas01 mapflag loadevent gefg_cas02 mapflag loadevent gefg_cas03 mapflag loadevent gefg_cas04 mapflag loadevent gefg_cas05 mapflag loadevent payg_cas01 mapflag loadevent payg_cas02 mapflag loadevent payg_cas03 mapflag loadevent payg_cas04 mapflag loadevent payg_cas05 mapflag loadevent prtg_cas01 mapflag loadevent prtg_cas02 mapflag loadevent prtg_cas03 mapflag loadevent prtg_cas04 mapflag loadevent prtg_cas05 mapflag loadevent schg_cas01 mapflag loadevent schg_cas02 mapflag loadevent schg_cas03 mapflag loadevent schg_cas04 mapflag loadevent schg_cas05 mapflag loadevent arug_cas01 mapflag loadevent arug_cas02 mapflag loadevent arug_cas03 mapflag loadevent arug_cas04 mapflag loadevent arug_cas05 mapflag loadevent //N?O APAGUE DAQUI PARA BAIXO! pay_gld mapflag loadevent prt_gld mapflag loadevent sch_gld mapflag loadevent aru_gld mapflag loadevent gef_fild13 mapflag loadevent alde_gld mapflag loadevent n_castle mapflag loadevent }
  9. Eu j? tinha pensando nisso a um tempo atras, eu cheguei ate mesmo contrar o servidor de um criador de mapas no rathena para fazer uma replica do mapa padr?o do lol. eu e um amigo fizemos um script que cada lado tem um imp e apenas aprediz lv 1 podia entrar e upava l?.. os minios eram porings e os super minios marins.... quando matava os minios ganhava zeny e depois podia comprar os itens na loja que ficava na base... espada armaduras etc... esses arquivos ficaram no pc da casa de minha m?e.. quando eu for l? eu mostro a voc?s
  10. NPC E MACROS

    Ol? eu tenho esse npc do death note ao qual a pessoa clica no livro coloca o nome da pessoa e ela morre, queria que apenas desse para usar o livro e a pessoa estivesse equipado com os olhos de shinigame que tem o id de 5678, e queria saber se existe alguma forma do livro n?o ficar sumindo quando se clica nele.... function script DN_FUN { if (agitcheck() || agitcheck2()) goto WoE; if(dn_used>gettimetick(2) || dn_in>gettimetick(2)-1) goto Ausd; // == Aditional sets ================= set @kt,40; // Kill Timer [In seconds] set @dt,300; // Delay between each Death Note [In seconds] // =================================== input @player$; getitem 18617,1; set @var1,getcharid(0,@player$); set @var2,getcharid(3,@player$); Count: dispbottom "Em "[email protected]+" segundos , "[email protected]$+" vai morrer"; if(!dn_in) { set dn_in,gettimetick(2)[email protected]; } sleep2 10000; set @kt,@kt-10; if(@kt>0) goto Count; set dn_in,0; if(checkVending(@player$)) goto Vend; if(!isloggedin(@var2,@var1)) goto NoLog; if (agitcheck() || agitcheck2()) goto WoE; atcommand "@kill "[email protected]$; announce @player$+" Foi morto pelo Death Note",bc_all,"0xFF0000"; set dn_used,gettimetick(2)[email protected]; end; Vend: dispbottom @player$+" est? no autotrader, ent?o voc? n?o pode usar o Death Note"; getitem 18617,1; end; NoLog: dispbottom @player$+" n?o est? logado, para que voc? n?o pode usar o Death Note"; getitem 18617,1; end; WoE: dispbottom "War of Emperium est? em andamento, voc? n?o pode usar o Death Note"; getitem 18617,1; end; Ausd: set @tem1,dn_in-gettimetick(2); set @tem2,dn_used-gettimetick(2); if(dn_in) { dispbottom "Em "[email protected]+" Segundos, "[email protected]$+" vai morrer"; } else { dispbottom "Voc? ser? capaz de usar o Death Note em "[email protected]+" segundos"; } getitem 18617,1; end; }
  11. ERRO

    Ol? bem um ou 2 jogadores est?o com um problema que ao clicar no hexed n?o acontece nada, ele n?o abrir e nem dar erro, simplesmente mostra que vai carregar mais n?o abri. isso ocorre com apenas 2 jogares pois aqui em casa e nos outros estar normal.. eles clicam no setup.exe selecionam o tamanho da tela dar ok mais mesmo assim n?o adianta, gostaria de saber se algu?m j? passou por esse problema e se tem solu??o.
  12. ERRO

    Acho que esse npc j? estar antigo e tem que reformular os codigos de acesso ao banco de dados dele, o problema que n?o sou muito bom em script
  13. ERRO

    Na verdade n?o sei, acredito que n?o, porque o erro fica aparecendo toda hora no console...
  14. ERRO

    Eu estou com o seguinte erro no console gostaria muito de arruma. [SQL]: DB error - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1') ON DUPLICATE KEY UPDATE mvpkills = mvpkills + '1'' at line 1 [Debug]: at script.c:14636 - INSERT INTO mvprank (id, name, mvpkills) values('150880','ParanoiD'','1') ON DUPLICATE KEY UPDATE mvpkills = mvpkills + '1' [Debug]: Source (NPC): Rank MvP#1 (invisible/not on a map) [Error]: buildin_rid2name: invalid RID [SQL]: DB error - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1') ON DUPLICATE KEY UPDATE mvpkills = mvpkills + '1'' at line 1 [Debug]: at script.c:14636 - INSERT INTO mvprank (id, name, mvpkills) values('150880','ParanoiD'','1') ON DUPLICATE KEY UPDATE mvpkills = mvpkills + '1' [Debug]: Source (NPC): Rank MvP#1 (invisible/not on a map) npc - script Rank MvP#1 -1,{ OnInit: query_sql "CREATE TABLE IF NOT EXISTS `mvprank` (`id` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0',`name` VARCHAR( 23 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL ,`mvpkills` BIGINT UNSIGNED NOT NULL ,UNIQUE (`id`)) ENGINE = MYISAM"; set $a, 1; set $topmvp, 5; setarray $mvpid[0],1511,1251,1734,1647,1651,1785,1873,1388,1630,1399,1039,1874,2068,1272,1719,1046,1389,1885,1876,1112,1115,1957,1418,1871,1252,1768,1086,1688,1646,1373,1147,1492,1059,1150,1956,2022,1087,1190,1038,1157,1159,1502,1623,1650,1583,1779,1708,1312,1751,1685,1648,1649,1917,1658,1832,1916,2000,2001,2002,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2021,2024,2025,2026,2027,2028,2032; end; OnNPCKillEvent: for (set [email protected], 0; [email protected] < getarraysize($mvpid); set [email protected], [email protected] + 1) { if (killedrid == $mvpid[[email protected]]) set [email protected],1; } if ([email protected]) end; if ($a) announce "",bc_blue|bc_all; query_sql "INSERT INTO mvprank (id, name, mvpkills) values('"+getcharid(0)+"','"+strcharinfo(0)+"','1') ON DUPLICATE KEY UPDATE mvpkills = mvpkills + '1'"; end; }