Ga_Chittolina
-
Posts
20 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Ga_Chittolina
-
-
find the npc inside this folder npc
then you will found the coordinate.
Thanks guys, using github to find the strings helped a lot.
-
I'm unable to find a lot of the original NPCs, and I need to remove them. Mrs Smile was easy to find, but I can't find other NPCs, ie. Ash Vacuum Warper and Rune Salesman. Where can I find these?
-
I'm unable to find a lot of the original NPCs, and I need to remove them. Mrs Smile was easy to find, but I can't find other NPCs, ie. Ash Vacuum Warper and Rune Salesman.
-
Fixed it, was missing an underscore.
-
I can see my custom items, drop them, read their description, but when i equip them, I can't do alt+q because it crashes the client. I also can't see the equiped item. Except one item does fully work: a custom deviling hat. I'm using version 20100730.
-
Por acaso você mudou o nome dos NPCs? O erro que deu aí é porque ele está tentando esconder um NPC chamado "Reward Giver", que é responsável por entregar as recompensas do evento.
-
- script logout_check -1,{ OnPCLogoutEvent: set .map$, mapname; if( !compare( strcharinfo(3), .map$ ) ) end; // Poring Race map name set prace_winner$,""; set prace_playing,0; }
Try this, put it at the end of the script.Nope, stills the same :/
@edit: Fixed, just needed the "end;" on the end of that code
-
OnPCLogout: set .map$, mapname; // Poring Race map Here getmapxy(@map$, @xb, @yb, 0 ); if (@map$ != .map$) end; set prace_winner$,""; set prace_playing,0;
Try this.
I tried putting it after "OnInit", is that right? If so, it didn't work :/
-
In this script, if a player bets on a poring and disconnect before the end of the race, his bet stays forever there, and he can't bet again or talk to the NPC (even if his poring wins a race, he doesn't receive the prize, he just can't bet anymore).
Here's the script:
//===== eAthena Script =============================================== //= Poring Race System //===== By: ========================================================= //= Zell_ff8 //= -Made for Daegaladh, www.Sha-Ro.com Admin //= -and RUNE, http://ro-enhanced.net //= //= xianz //= -Added more features to it. //= Some Rights Reserved //= http://creativecommons.org/licenses/by-nc-sa/2.5/ar/ //= //= Neko //= Rescripted some things. //= Killed the Evils goto's ò_ó //= Did the facking tabs, code was all screwed up, now is more readable //===== Current Version: ============================================== //= 1.00 //===== Compatible With: ============================================= //= eAthena SVN 9991+ //===== Description: ================================================= //= Poring Race //===== Additional Comments: ========================================= //= Tested, eA SVN Stable r10128 working 100% //= Need a lot of clean up... but, WORKS!! WTH xD //= 1.00 //= Kinda Cleaned up //= Fixed some exploits and bugs. //= Still need to be Converted the array to store the players ID's Maybe //= I will do it later. //================================================================== p_track01 mapflag nobranch p_track01 mapflag noicewall p_track01 mapflag nomemo p_track01 mapflag noreturn p_track01 mapflag noteleport p_track01 mapflag nowarpto p_track01 mapflag nowarp p_track01 mapflag pvp off p_track01 mapflag nosave - script PraceAnnouncer -1,{ OnClock0300: OnClock0700: OnClock1100: OnClock1500: OnClock1900: OnClock2300: set $accessPrace, 1; announce "A Corrida dos Porings foi aberta!",0,0xFFAB54; end; OnPraceEnd: set $accessPrace, 0; announce "A Corrida dos Porings acabou!",0,0xFFAB54; end; } prontera,133,201,5 script Poring Race 882,{ mes "^483D8B[Recepcionista]^000000"; mes "Bem-vindo à ^0000FFCorrida Poring^000000^000000!"; if(!$accessPrace) { mes "Me desculpe, ainda não está no horário da ^0000FFCorrida Poring"; mes "Volte mais tarde!"; } else if($accessPrace == 2) { mes "Me desculpe, mas a ^0000FFCorrida Poring^000000 já começou!"; mes "Volte mais tarde!"; } mes "Em que posso ajudar?"; next; switch( select((getgmlevel()>=99?($accessPrace?"^0000FF- Desligar a Corrida.^000000":"^0000FF- Ligar a Corrida.^000000"):""), ($accessPrace==1?"^0000FF- Entrar na Corrida.^000000":""), "- Informações.", "^FF0000- Saír.^000000") ) { case 1: mes "^483D8B[Staff da Corrida Poring]^000000"; if($accessPrace) mes "Deseja ligar a ^0000FFCorrida Poring^000000?"; else mes "Deseja desligar a ^0000FFCorrida Poring^000000?"; next; if( select("- Sim!", "- Não.") == 1) { if(!$accessPrace) set $accessPrace, 1; else set $accessPrace, 0; } close; break; case 2: if($accessPrace != 1) { mes "^483D8B[Staff Corrida Poring]^000000"; mes "Me desculpe, mas a arena não está aberta."; mes "Volte mais tarde!"; close; } else { mes "^483D8B[Staff Corrida Poring]^000000"; mes "Realmente deseja participar da Corrida Poring?"; next; if( select("- Sim.", "- Não.") == 1 ) { mes "^483D8B[Staff Corrida Poring]^000000"; mes "Tudo Bem, vou te mandar para lá!"; close2; warp "p_track01",52,41; end; } } break; case 3: mes "^483D8B[Staff Corrida Poring]^000000"; mes "Nesse evento você aposta em uma corrida de porings. Você pode escolher entre: Poring, Angeling, Drops, Marin, Poring Noel e Poporing!"; mes "A aposta custa 3500 zenys, e se você acertar, você ganha 15 tickets, que podem ser trocados por premios!"; next; mes "A corrida ocorre a cada 4 horas, nos seguintes horários:"; mes " "; mes "^0000FF03:00H^000000 - ^0000FF15:00H^000000"; mes "^0000FF07:00H^000000 - ^0000FF19:00H^000000"; mes "^0000FF11:00H^000000 - ^0000FF23:00H^000000"; close; case 4: mes "^483D8B[Staff Corrida Poring]^000000"; mes "Muito bem, volte quando desejar participar da ^0000FFCorrida Poring^000000!"; close; break; default: mes "^483D8B[Staff Corrida Poring]^000000"; mes "Muito bem, volte quando desejar participar da ^0000FFCorrida Poring^000000!"; break; } } p_track01,78,42,0 warp p_track002 1,3,prontera,142,170 //NPC Checker - script Checker#prace0 -1,{ end; OnChequeo: for(set .@tmp1,0;.@tmp1<(getarraysize($prace_bidders));set .@tmp1,.@tmp1+1) { if(attachrid($prace_bidders[.@tmp1])) { if( prace_playing != 1) end; dispbottom "O vencedor é "+$prace_winner$+" e você apostou em "+prace_winner$+"."; if( prace_winner$ == $prace_winner$ && prace_winner$ != "") { dispbottom "Você acertou!"; mapannounce "p_track01","Parabéns! "+strcharinfo(0)+" venceu!",1,0xFFAB54; getitem 7180, 15; emotion 21, 1; } else dispbottom "Você errou."; emotion 28,1; set prace_winner$,""; set prace_playing,0; } //else { announce .@tmp1+" || "+$prace_bidders[.@tmp1],bc_all; } //debug } for( set .@tmp1,0; .@tmp1 < (getarraysize( $prace_bidders )); set .@tmp1,.@tmp1 + 1 ) { set $prace_bidders[.@tmp1],0; } } //NPC Principal 765 p_track01,58,41,3 script Bidder#prace0 877,{ set .@prace_zeny,3500; //PREÇO if($prace_random < 1) callsub OnInit; if( prace_playing == 1) { mes "[Bidder]"; mes "Você escolheu ^00bb00"+prace_winner$+"^000000"; close; } getmapxy(.@mapname$,.@x1,.@y,1,"Poring#prace1"); getmapxy(.@mapname$,.@x2,.@y,1,"Angeling#prace2"); getmapxy(.@mapname$,.@x3,.@y,1,"Drops#prace3"); getmapxy(.@mapname$,.@x4,.@y,1,"Marin#prace4"); getmapxy(.@mapname$,.@x5,.@y,1,"Santa Poring#prace5"); getmapxy(.@mapname$,.@x6,.@y,1,"Poporing#prace6"); if (.@x1 != 58 || .@x2 != 58 || .@x3 != 58 || .@x4 != 58 || .@x5 != 58 || .@x6 != 58) { mes "[Bidder]"; mes "Há uma corrida acontecendo..."; close; } mes "[Bidder]"; mes "Escolha o poring que deseja apostar:"; mes "Irá custar "+.@prace_zeny+" Zeny."; next; switch( select("Poring","Angeling","Drops","Marin","Santa Poring","Poporing","Nenhum.") ) { case 1: set .@thining$,"Poring"; break; case 2: set .@thining$,"Angeling"; break; case 3: set .@thining$,"Drops"; break; case 4: set .@thining$,"Marin"; break; case 5: set .@thining$,"Santa Poring"; break; case 6: set .@thining$,"Poporing"; break; case 7: mes "[Bidder]"; mes "Goodbye."; close; } getmapxy(.@mapname$,.@x1,.@y,1,"Poring#prace1"); getmapxy(.@mapname$,.@x2,.@y,1,"Angeling#prace2"); getmapxy(.@mapname$,.@x3,.@y,1,"Drops#prace3"); getmapxy(.@mapname$,.@x4,.@y,1,"Marin#prace4"); getmapxy(.@mapname$,.@x5,.@y,1,"Santa Poring#prace5"); getmapxy(.@mapname$,.@x6,.@y,1,"Poporing#prace6"); if (.@x1 != 58 || .@x2 != 58 || .@x3 != 58 || .@x4 != 58 || .@x5 != 58 || .@x6 != 58) { mes "[Bidder]"; mes "..."; mes "..."; mes "Cheater!!~~"; close; } if( Zeny < .@prace_zeny) { set prace_winner$,""; mes "[Bidder]"; mes "Você não tem Zeny suficiente."; close; } set Zeny,Zeny - .@prace_zeny; set prace_winner$,.@thining$; set $prace_bets,$prace_bets+1; set $prace_bidders[$prace_bets],getcharid(3); set prace_playing,1; mes "[Bidder]"; mes "Eu tenho "+$prace_bets+" apostas."; setnpctimer 60000; startnpctimer; npctalk "Recebi a aposta de "+strcharinfo(0)+" !"; close; Start1: setnpctimer 0; startnpctimer; end; StartRace: donpcevent "Drops#prace3::OnRace"; donpcevent "Poring#prace1::OnRace"; donpcevent "Poporing#prace6::OnRace"; donpcevent "Angeling#prace2::OnRace"; donpcevent "Santa Poring#prace5::OnRace"; donpcevent "Marin#prace4::OnRace"; end; OnStopRace: donpcevent "Poring#prace1::OnStop"; donpcevent "Angeling#prace2::OnStop"; donpcevent "Drops#prace3::OnStop"; donpcevent "Marin#prace4::OnStop"; donpcevent "Santa Poring#prace5::OnStop"; donpcevent "Poporing#prace6::OnStop"; if($prace_winner$!="") callsub WinRace; end; ReturnRace: donpcevent "Poring#prace1::OnReturn"; donpcevent "Angeling#prace2::OnReturn"; donpcevent "Drops#prace3::OnReturn"; donpcevent "Marin#prace4::OnReturn"; donpcevent "Santa Poring#prace5::OnReturn"; donpcevent "Poporing#prace6::OnReturn"; end; WinRace: mapannounce "p_track01","O vencedor é "+$prace_winner$,1,0xFFAB54; donpcevent "Checker#prace0::OnChequeo"; sleep2 10000; mapwarp "p_track01","prontera",142,170; set $accessPrace, 0; setnpctimer 30000; startnpctimer; donpcevent "PraceAnnouncer::OnPraceEnd"; end; OnInit: set $prace_random,70; set $prace_random2,600; set $prace_winner$,""; set $prace_bets,0; set $prace_bidders,0; end; OnTimer500: mapannounce "p_track01","Porings, em suas marcas...",1,0xFFAB54; end; OnTimer3000: mapannounce "p_track01","...3...",1,0xFFAB54; end; OnTimer4000: mapannounce "p_track01","...2...",1,0xFFAB54; end; OnTimer5000: mapannounce "p_track01","...1...",1,0xFFAB54; callsub StartRace; end; OnTimer6000: stopnpctimer; mapannounce "p_track01","Valendo!!11!",1,0xFFAB54; end; OnTimer35000: set $prace_winner$,""; set $prace_bets,0; stopnpctimer; callsub ReturnRace; end; OnTimer90000: npctalk "Eu tenho "+$prace_bets+" apostas. Alguém mais?"; end; OnTimer110000: npctalk "A corrida irá iniciar em breve. Última chance."; end; OnTimer120000: goto Start1; end; } //----------------------------------- // Racer NPC's //----------------------------------- p_track01,58,38,2 script Poring#prace1 1002,{ end; OnRace: initnpctimer; startnpctimer; end; OnStop: stopnpctimer; end; OnReturn: npcwalkto 58,38; end; OnTimer1100: getmapxy(.@mapname$,.@x,.@y,1,"Poring#prace1"); if(rand(100) < $prace_random) npcwalkto .@x-1,.@y; setnpctimer rand($prace_random2); startnpctimer; if ((.@x-1) == 29) { set $prace_winner$,"Poring"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; } end; } p_track01,58,36,2 script Angeling#prace2 1096,{ end; OnRace: initnpctimer; startnpctimer; end; OnStop: stopnpctimer; end; OnReturn: npcwalkto 58,36; end; OnTimer1100: getmapxy(.@mapname$,.@x,.@y,1,"Angeling#prace2"); if(rand(100) < $prace_random) npcwalkto .@x-1,.@y; setnpctimer rand($prace_random2);startnpctimer; if ((.@x-1) == 29) { set $prace_winner$,"Angeling"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; } end; } p_track01,58,34,2 script Drops#prace3 1113,{ end; OnRace: initnpctimer; startnpctimer; end; OnStop: stopnpctimer; end; OnReturn: npcwalkto 58,34; end; OnTimer1100: getmapxy(.@mapname$,.@x,.@y,1,"Drops#prace3"); if(rand(100) < $prace_random) npcwalkto .@x-1,.@y; setnpctimer rand($prace_random2);startnpctimer; if ((.@x-1) == 29) { set $prace_winner$,"Drops"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; } end; } p_track01,58,32,2 script Marin#prace4 1242,{ end; OnRace: initnpctimer; startnpctimer; end; OnStop: stopnpctimer; end; OnReturn: npcwalkto 58,32; end; OnTimer1100: getmapxy(.@mapname$,.@x,.@y,1,"Marin#prace4"); if(rand(100) < $prace_random) npcwalkto .@x-1,.@y; setnpctimer rand($prace_random2);startnpctimer; if ((.@x-1) == 29) { set $prace_winner$,"Marin"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; } end; } p_track01,58,30,2 script Santa Poring#prace5 1062,{ end; OnRace: initnpctimer; startnpctimer; end; OnStop: stopnpctimer; end; OnReturn: npcwalkto 58,30; end; OnTimer1100: getmapxy( .@mapname$,.@x,.@y,1,"Santa Poring#prace5"); if(rand(100) < $prace_random) npcwalkto .@x-1,.@y; setnpctimer rand($prace_random2);startnpctimer; if ((.@x-1) == 29) { set $prace_winner$,"Santa Poring"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; } end; } p_track01,58,28,2 script Poporing#prace6 1031,{ end; OnRace: initnpctimer; startnpctimer; end; OnStop: stopnpctimer; end; OnReturn: npcwalkto 58,28; end; OnTimer1100: getmapxy(.@mapname$,.@x,.@y,1,"Poporing#prace6"); if(rand(100) < $prace_random) npcwalkto .@x-1,.@y; setnpctimer rand($prace_random2);startnpctimer; if ((.@x-1) == 29) { set $prace_winner$,"Poporing"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; } end; }
-
Got it to work.
-
I'm trying to use SB's Devil Square, but there's a bug that whenever a player dies, it ends the event, instead of just teleporting that one player out of the map. As I got no replies to my post regarding that issue, does anyone have a good Devil Square script?
-
My Devil Square script ends whenever a player dies, instead of just teleporting that one player out of the arena.
This is the script:
// .----------------------------------------------------------.
// . SoulBlaker Scripts Apresenta: .
// . ___________________ .
// . / _____/\______ \ .
// . \_____ \ | | _/ .
// . / \ | | \ .
// . /_______ / |______ / .
// . \/ \/ .
// . [ Cronus Advanced Scripts ] .
// . v1.1 .
// .----------------------------------------------------------.
// ; http://forum.cronus-emulator.com/user/20800-soulblaker ;
// .----------------------------------------------------------.
// . Script: .
// . Devil Square .
// .----------------------------------------------------------.
// . Por: SoulBlaker Compátivel: Cronus versão: 2.0 .
// .----------------------------------------------------------.
// . Descrição: .
// . Evento Devil Square. .
// .----------------------------------------------------------.
// . Changelog da Versão: .
// . * 2.0 [soulBlaker] .
// . - Iniciado a DevilSquare 2.0. .
// . * 2.0b [soulBlaker] .
// . - Correções no for responsável por invocar monstros. .
// *----------------------------------------------------------*
- script Devil Square#ds_01::DevilSquareEvent -1,{
OnInit:
// Qual nível de Base para Entrar na Devil Square
//
// Deixe 0 para desabilitar esta opção.
set $@ds_baselevel, 99;
// Qual o custo de Zeny para entrar na Devil Square?
//
// Deixe '0' para desabilitar esta opção ou ponha a
// quantidade de Zeny a ser conbrado.
set $@ds_zenycost, 0;
// Configurações das Recompensas.
// Os itens são entregue aos jogadores que quebrarem
// o Arca do Tesouro ao terminar o combate contra os
// monstros. Logo abaixo, terá uma série de informações
// e configurações, para você configurar da melhor
// maneira que achar para o seu servidor.
// Configurações de EXP por Recompensa.
//
// Quanto de Experiência de Base o Jogador vai ganhar
// ao matar uma Arca do Tesouro?
//
// Deixe '0' para desabilitar esta opção ou ponha a
// quantidade de exp a ser ganha.
set $@ds_baseexp, 0;
// Quanto de Experiência de Classe o jogador vai ganhar
// ao matar uma Arca do Tesouro?
//
// Deixe '0' para desabilitar esta opção.
set $@ds_jobexp, 0;
// Configurações dos Itens.
//
// Os itens são configurados em váriaveis do tipo 'Array'.
// Você deve determinar a chave do array e o id do item no valor.
//
// Exemplo:
// * set $@ds_itemid[],
// - set $@ds_itemid[0], 501;
//
// A chave de ser adicionado entre 0~127, no total de 128 itens.
// Sempre comece com o índice 0 na chave.
//
// Exemplo:
// set $@ds_itemid[0], 501; // Poção_Vermelha
// set $@ds_itemid[1], 502; // Poção_Laranja
//
// Se você for um usuário avançado, pode adicionar vários valores
// em um settarray.
//
// Exemplo:
// * setarray $@ds_itemid[0], , , ;
// - setarray $@ds_itemid[0], 501, 502, 503; // 0 = 501, 1 = 502, 2 = 503
//
// Para desabilitar esta opção, habilite a linha abaixo e em seguida desabilite
// a linha que está sendo configurado o array!
// deletearray $@ds_itemid[0], getarraysize($@ds_itemid);
setarray $@ds_itemid[0], 501, 0;
// De acordo com a configuração dos ids de itens, ponha a quantidade
// do item a ser ganho de acordo com a chave do item.
//
// Exempo:
// set $@ds_itemid[0], 501;
// set $@ds_itemqt[0], 10;
//
// A recompensada será '10'x'501'.
setarray $@ds_itemqt[0], 10, 0;
// Configurações de Jogadores.
//
// Qual o mínimo de jogadores para começar o evento DevilSquare?
// ATENÇÃO: Nunca ponhe '0' na configuração abaixo.
set $@ds_min_player, 1;
// Qual o máximo de jogadores que podem entrar no evento DevilSquare?
// Ponha '0' para desabilitar esta função.
set $@ds_max_player, 30;
// Configurações dos Monstros.
//
// Em Array defina , , ;
//
// : Id do monstro assassino, ponha '0' para desabilitar o monstro assassino.
// : Quantidade do monstro assassino.
// : Em qual horda ele será chamado.
//
// Para desabilitar, ponha '//' na frente da linha abaixo.
setarray $@ds_mobassassin[0], 0, 1785, 1, 5;
// Deseja bloquear o uso de Habilidades ao gerar a Arca do Tesouro?
// Ponha '0' para desabilitar esta opção.
set $@ds_noskilltreasure, 1;
// Quantos Rodadas de horda de monstros irá conter no evento?
// ATENÇÃO: Nunca remova esta opção, irá causar falhas no evento.
set $@ds_horde, 6;
// De acordo com a quantidade de horda, em 'Array' defina o gênero da horda.
//
// 0: Horda Comum.
// 1: Horda Mini-Boss.
// 2: Horda MvP.
//
// Exemplo:
// setarray $@ds_hogen[0], 0, 0, 0, 1, 2, 0;
setarray $@ds_hogen[0], 0, 0, 0, 1, 1, 2;
// Os monstros são configurados em váriaveis do tipo 'Array'.
// Você deve determinar a chave do array e o id do monstro no valor.
//
// Exemplo:
// * set $@ds_mobid[],
// - set $@ds_mobid[0], 1189;
//
// A chave de ser adicionado entre 0~127, no total de 128 monstros.
// Sempre comece com o índice 0 na chave.
//
// Exemplo:
// set $@ds_mobid[0], 1189; // Orc Herói
// set $@ds_mobid[1], 1019; // Esqueleto Arqueiro
//
// Se você for um usuário avançado, pode adicionar vários valores
// em um settarray.
//
// Exemplo:
// * setarray $@ds_mobid[0], , , ;
// - setarray $@ds_mobid[0], 1189, 1019, 1149; // 0 = 1189, 1 = 1019, 2 = 1149
//
// ATENÇÃO: Nunca remova esta opção, irá causar falhas no evento.
setarray $@ds_mobid[0],
1189, 1016, 1149, 1028, 1192, 1164, // Round 1
1253, 1191, 1193, 1257, 1192, // Round 2
1206, 1208, 1131, 1109, 1132, 1839, 1519, 1867, // Round 3
1507, 1449, 1268, 1456, 1388, 1702, 1295, 1701, 1636, // Round 4
1701, 1702, 1681, 1518, 1310, 1640, 1889, 1637, 1289, 1147, // Round 5
1492, 1038, 1373; // Round 6
// De acordo com a configuração dos ids de monstros, ponha a quantidade
// de monstros a serem invocados de acordo com a chave do monstro.
//
// Exempo:
// set $@ds_mobid[0], 1189;
// set $@ds_mobqt[0], 10;
//
// Serão invocados 10 monstros do id 1189.
setarray $@ds_mobqt[0],
15, 15, 15, 10, 10, 10, // Round 1
15, 15, 10, 10, 10, // Round 2
15, 15, 15, 10, 1, 1, 1, 1, // Round 3
6, 6, 5, 4, 3, 3, 3, 3, 2, // Round 4
2, 2, 2, 2, 2, 1, 1, 1, 1, 1, // Round 5
5, 3, 2; // Round 6
// De acordo com a configuração dos ids de monstros, ponha a orda
// em que eles serão invocados de acordo com a chave do monstro.
//
// Exempo:
// set $@ds_mobid[0], 1189;
// set $@ds_mobho[0], 1;
//
// O monstro do id 1189 será invocado na horda 1.
setarray $@ds_mobho[0],
1, 1, 1, 1, 1, 1, // Round 1
2, 2, 2, 2, 2, // Round 2
3, 3, 3, 3, 3, 3, 3, 3, // Round 3
4, 4, 4, 4, 4, 4, 4, 4, 4, // Round 4
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, // Round 5
6, 6, 6; // Round 6
// As Arcas são configurados em váriaveis do tipo 'Array'.
// Você deve determinar a chave do array e o id do monstro arca no valor.
//
// Exemplo:
// * set $@ds_treasureid[],
// - set $@ds_treasureid[0], 1324;
//
// A chave de ser adicionado entre 0~127, no total de 128 monstros arca.
// Sempre comece com o índice 0 na chave.
//
// Exemplo:
// set $@ds_treasureid[0], 1189; // Orc Herói
// set $@ds_treasureid[1], 1019; // Esqueleto Arqueiro
//
// Se você for um usuário avançado, pode adicionar vários valores
// em um settarray.
//
// Exemplo:
// * setarray $@ds_treasureid[0], , , ;
// - setarray $@ds_treasureid[0], 1328, 1332, 1336; // 0 = 1328, 1 = 1332, 2 = 1336
//
// ATENÇÃO: Nunca remova esta opção, irá causar falhas no evento.
setarray $@ds_treasureid[0], 1324, 1328, 1332, 1336, 1340, 1344, 1348, 1352, 1356, 1360;
// De acordo com a configuração dos ids de monstros arca, ponha a quantidade
// de monstros arca a serem invocados de acordo com a chave do monstro "arca".
//
// Exempo:
// set $@ds_treasureid[0], 1328;
// set $@ds_treasureqt[0], 10;
//
// Serão invocados 10 monstros "arca" do id 1328.
setarray $@ds_treasureqt[0], 1, 1, 1, 1, 1, 1, 1, 1, 1, 1;
end;
// O Evento irá começar neste esquema de hora:
//
// 09:00 - 11:00 - 13:00 - 15:00
// 17:00 - 19:00 - 21:00 - 23:00
//
OnMinute00:
if( !$@ds_flag && (gettime(3) == 01 || gettime(3) == 11 || gettime(3) == 11 || gettime(3) == 13 || gettime(3) == 15 || gettime(3) == 20) )
donpcevent "DevilSquareEvent::OnStart";
end;
OnStart:
if( !$@ds_flag )
{
// Iniciando Variáveis nescessária.
set $@ds_clock, 4;
set $@ds_flag, 1;
// Matando monstros que se encontra no mapa.
killmonsterall "ordeal_1-1";
// Adicionando mapflags.
setmapflag "ordeal_1-1", mf_nomemo;
setmapflag "ordeal_1-1", mf_noteleport;
setmapflag "ordeal_1-1", mf_nowarp;
setmapflag "ordeal_1-1", mf_nowarpto;
setmapflag "ordeal_1-1", mf_nomemo;
setmapflag "ordeal_1-1", mf_nomobloot;
setmapflag "ordeal_1-1", mf_nomvploot;
// Habilitando chat no npc.
donpcevent "DevilSquareWarp::OnStartArena";
// Iniciando contagem de tempo do npc.
initnpctimer;
announce "[Devil Square]: O Portal está aberto e será fechado em 5 minutos, corram para a arena!",bc_all,"0x00FF00";
}
end;
OnTimer60000:
if(!$@ds_clock)
{
// Inicia o Evento
if( getmapusers("ordeal_1-1") )
{
set $@ds_round, 1;
set $@ds_flag, 2;
announce "[Devil Square]: O Portal está fechado, aqueles que não tiveram oportunidade podem tentar na próxima vez!",bc_all,"0x00FF00";
donpcevent "DevilSquareEvent::OnStartArena";
}
else {
announce "[Devil Square]: A Devil Square foi cancelada por não haver jogadores na arena!",bc_all,"0x00FF00";
donpcevent "DevilSquareWarp::OnEnd";
}
delwaitingroom "DevilSquareWarp";
stopnpctimer;
}
else {
announce "[Devil Square]: O Portal está aberto e será fechado em " + $@ds_clock + " minutos, corram para a arena!",bc_all,"0x00FF00";
//setnpctimer 0;
stopnpctimer;
initnpctimer;
set $@ds_clock, $@ds_clock - 1;
}
end;
OnStartArena:
if( $@ds_flag == 2 && $@ds_round <= $@ds_horde )
{
// Invocando Monstros
for( set .@i, 0; .@i < getarraysize($@ds_mobid); set .@i, .@i + 1 )
{
if( $@ds_mobid[.@i] && $@ds_mobqt[.@i] && $@ds_mobho[.@i] == $@ds_round && (getmonsterinfo($@ds_mobid[.@i], 0)?1:0) )
monster "ordeal_1-1", 0, 0, "[Devil Square] "+getmonsterinfo($@ds_mobid[.@i], 0), $@ds_mobid[.@i], $@ds_mobqt[.@i],"DevilSquareEvent::OnMobDead";
}
// Monstro Assassino
if( $@ds_mobassassin[0] && $@ds_mobassassin[1] && $@ds_mobassassin[2] == $@ds_round && (getmonsterinfo($@ds_mobassassin[0], 0)?1:0) )
monster "ordeal_1-1", 0, 0, "[Devil Square] Assassino", $@ds_mobassassin[0], $@ds_mobassassin[1],"DevilSquareEvent::OnAssassinDead";
if( $@ds_hogen[($@ds_round-1)] == 1 )
mapannounce "ordeal_1-1", "[Devil Square]: Começou a " + $@ds_round + "ª Square e os Mini-Boss atacam!", bc_all, "0x00FF00";
else if( $@ds_hogen[($@ds_round-1)] == 2 )
mapannounce "ordeal_1-1", "[Devil Square]: Começou a " + $@ds_round + "ª Square e os Mvp's atacam!", bc_all, "0x00FF00";
else
mapannounce "ordeal_1-1", "[Devil Square]: Começou a " + $@ds_round + "ª Square!", bc_all, "0x00FF00";
set $@ds_round, $@ds_round + 1;
}
else if( $@ds_flag == 2 )
{
// Checando a possibilidade de usar Habilidades nas arca.
if( $@ds_noskilltreasure )
setmapflag "ordeal_1-1", mf_noskill;
// Invocando as Arca Monstro.
for( set .@i, 0; .@i < getarraysize($@ds_treasureid); set .@i, .@i + 1 )
{
if( $@ds_treasureid[.@i] && $@ds_treasureid[.@i] && (getmonsterinfo($@ds_treasureid[.@i], 0)?1:0) )
monster "ordeal_1-1", 0, 0, "[Devil Square] Arca do Tesouro", $@ds_treasureid[.@i], $@ds_treasureqt[.@i],"DevilSquareEvent::OnTreasureDead";
}
mapannounce "ordeal_1-1", "[Devil Square]: Parabéns guerreiros, vocês derrotaram todos ataques dos monstros. Agora começa a Caça ao Tesouro.", bc_all, "0x00FF00";
}
end;
OnMobDead:
if( mobcount("ordeal_1-1", "all") > 0 && $@ds_round < $@ds_horde )
mapannounce "ordeal_1-1", "[Devil Square]: Faltam " + mobcount("ordeal_1-1", "all") + " monstros para a " + $@ds_round + "ª Square.",bc_all,"0x00FF00";
else if( mobcount("ordeal_1-1", "all") > 0 )
mapannounce "ordeal_1-1", "[Devil Square]: Faltam " + mobcount("ordeal_1-1", "all") + " monstros para eliminar a Devil Square.",bc_all,"0x00FF00";
else
donpcevent "DevilSquareEvent::OnStartArena";
end;
OnAssassinDead:
mapannounce "ordeal_1-1", "[Devil Square]: O Jogador [ " + strcharinfo(0) + " ] matou o Monstro Assassino.", bc_all, "0x00FF00";
donpcevent "DevilSquareEvent::OnMobDead";
end;
OnTreasureDead:
mapannounce "ordeal_1-1", "[Devil Square]: O Jogador [ " + strcharinfo(0) + " ] abriu uma das Arcas do Tesouro.", bc_all, "0x00FF00";
while(1)
{
set .@rand_1, rand(0, 2);
if( .@rand_1 == 0 && $@ds_baseexp )
{
set BaseExp, BaseExp + $@ds_baseexp;
break;
}
else if( .@rand_1 == 1 && $@ds_jobexp )
{
set JobExp, JobExp + 1;
break;
}
else if( .@rand_1 == 2 && getarraysize($@ds_itemid) )
{
set .@rand, rand(0, (getarraysize($@ds_itemid)-1));
getitem $@ds_itemid[.@rand], $@ds_itemqt[.@];
break;
}
else if( !getarraysize($@ds_itemid) && !$@ds_baseexp && !$@ds_jobexp )
break;
}
if( !mobcount("ordeal_1-1", "all") )
{
announce "[Devil Square]: Parabéns a todos guerreiros que venceram a lutaram contra os Monstros na Devil Square.", bc_all, "0x00FF00";
donpcevent "DevilSquareWarp::OnEndArena";
}
end;
}
- script Devil Square#ds_02::DevilSquarePlayer -1,{
OnPlayerCheck:
OnPCLogoutEvent:
OnPCDieEvent:
getmapxy(.@map$, .@x, .@y, 0);
if( $@ds_flag == 2 && .@map$ == "ordeal_1-1" )
initnpctimer;
end;
OnTimer6000:
announce "[Devil Square]: Todos falharam na Devil Square, os Monstros sairam vitoriosos na " + ($@ds_round-1) + "ª Square.",bc_all,"0x00FF00";
donpcevent "DevilSquareWarp::OnEndArena";
stopnpctimer;
end;
}
prontera,149,189,5 script Devil Square#ds_03::DevilSquareWarp 733,{
set .@adm_lvl, 99;
mes "^483D8B[Recepcionista]^000000";
mes "Bem-vindo ao ^0000FFDevil Square^000000!";
mes "^FF0000Se você falhar você morre!^000000";
if( !$@ds_flag )
{
mes "Me desculpe, ainda não está no horário da ^0000FFDevil Square^000000.";
mes "Volte mais tarde!";
}
else if( $@ds_flag == 2 )
{
mes "Me desculpe, mas a ^0000FFDevil Square^000000 já começou!";
mes "Volte mais tarde!";
}
mes "Em que posso ajudar?";
next;
switch( select((getgmlevel()>=.@adm_lvl?($@ds_flag?"^0000FF- Desligar a Devil Square.^000000":"^0000FF- Ligar a Devil Square.^000000"):""), ($@ds_flag==1?"^0000FF- Entrar na Devil Square.^000000":""), "- Informações.", "^FF0000- Sair.^000000") )
{
case 1:
mes "^483D8B[Recepcionista]^000000";
if( $@ds_flag )
mes "Deseja desligar a ^0000FFDevil Square^000000?";
else
mes "Deseja ligar a ^0000FFDevil Square^000000?";
next;
if( select("- Sim", "- Não.") == 1 )
{
if( !$@ds_flag )
donpcevent "DevilSquareEvent::OnStart";
else
donpcevent "DevilSquareWarp::OnEnd";
}
break;
case 2:
if( $@ds_flag != 1 )
{
mes "^483D8B[Recepcionista]^000000";
mes "Me desculpe, mas a arena não está aberta.";
mes "Volte mais tarde!";
close;
}
else if( $@ds_baselevel && BaseLevel < $@ds_baselevel )
{
mes "^483D8B[Recepcionista]^000000";
mes "Para entrar na ^0000FFDevil Square^000000, você deve ter o ^0000FFNível de Base^000000 ^FF0000" + $@ds_baselevel + "^000000 ou superior.";
close;
}
else if( $@ds_zenycost && Zeny < $@ds_zenycost )
{
mes "^483D8B[Recepcionista]^000000";
mes "Para entrar na ^0000FFDevil Square^000000, você precisa ter ^FF0000" + $@ds_zenycost + "^000000 Zenys.";
close;
}
else if( $@ds_max_player && getmapusers("ordeal_1-1") >= $@ds_max_player )
{
mes "^483D8B[Recepcionista]^000000";
mes "O limite de jogadores na ^0000FFDevil Square^000000 foi atingido, você não pode entrar na arena.";
close;
}
else {
mes "^483D8B[Recepcionista]^000000";
mes "Realmente deseja entrar na arena?";
next;
if( select("- Sim.", "- Não.") == 1 )
{
mes "^483D8B[Recepcionista]^000000";
mes "Tudo bem, vou te mandar para lá!";
close2;
if( $@ds_zenycost ) set Zeny, Zeny - $@ds_zenycost;
warp "ordeal_1-1", 0, 0;
end;
}
}
break;
case 3:
mes "^483D8B[Recepcionista]^000000";
mes "A ^0000FFDevil Square^000000 é uma arena que seguirá de ^FF0000" + $@ds_horde + "^000000 ^0000FFrounds^000000 em que são invocadas hordas de monstros para os jogadores exterminar.";
if( $@ds_baselevel )
mes "Para entrar na ^0000FFDevil Square^000000, você deve ter o ^0000FFNível de Base^000000 ^FF0000" + $@ds_baselevel + "^000000 ou superior.";
else
mes "Qualquer ^0000FFNível de Base^000000 é aceito na ^0000FFDevil Square^000000.";
if( $@ds_zenycost )
mes "Na entrada ^0000FFDevil Square^000000, será cobrado ^FF0000" + $@ds_zenycost + "^000000 Zenys.";
else
mes "Não há custo para entrar na ^0000FFDevil Square^000000.";
if( $@ds_maxplayer )
mes "Há um limite de ^FF0000" + $@ds_maxplayer + "^000000 jogadores na ^0000FFDevil Square^000000.";
else
mes "Não há limite de jogadores dentro da ^0000FFDevil Square^000000.";
mes "Sua ^0000FFmissão^000000 é sobreviver todos os ^0000FFrounds^000000.";
mes "Quando os ^0000FFrounds^000000 terminarem, aparece-rão ^0000FFArcas do Tesouro^000000, nas quais você pode ganhar:";
if( getarraysize($@ds_itemid) )
mes "^FF0000- Itens.^000000";
if( $@ds_baseexp )
mes "^FF0000- Experiência de Base.^000000";
if( $@ds_jobexp )
mes "^FF0000- Experiência de Classe.^000000";
mes " ";
mes "Preste muita atenção quando essas Arcas forem invocadas!";
next;
mes "^483D8B[Recepcionista]^000000";
mes "A arena é aberta nos seguintes horários:";
mes " ";
mes "^0000FF09:00H^000000 - ^0000FF17:00H^000000";
mes "^0000FF11:00H^000000 - ^0000FF19:00H^000000";
mes "^0000FF13:00H^000000 - ^0000FF21:00H^000000";
mes "^0000FF15:00H^000000 - ^0000FF23:00H^000000";
close;
case 4:
break;
}
mes "^483D8B[Recepcionista]^000000";
mes "Muito bem, volte quando desejar entrar na ^0000FFArena Devil Square^000000!";
close;
OnStartArena:
waitingroom "Aberta a Devil Square", 0;
end;
OnEnd:
// Segurança
delwaitingroom;
stopnpctimer "DevilSquareEvent";
announce "[Devil Square]: A Devil Square foi cancelada!", bc_all, "0x00FF00";
donpcevent "DevilSquareWarp::OnEndArena";
end;
OnEndArena:
killmonsterall "ordeal_1-1";
// Removendo MapFlags
removemapflag "ordeal_1-1", mf_nomemo;
removemapflag "ordeal_1-1", mf_noteleport;
removemapflag "ordeal_1-1", mf_nowarp;
removemapflag "ordeal_1-1", mf_nowarpto;
removemapflag "ordeal_1-1", mf_nomemo;
removemapflag "ordeal_1-1", mf_nomobloot;
removemapflag "ordeal_1-1", mf_nomvploot;
removemapflag "ordeal_1-1", mf_noskill;
set $@ds_flag, 0;
initnpctimer;
end;
OnTimer6000:
mapwarp "ordeal_1-1", "prontera", 154, 175;
stopnpctimer;
end;
}
ordeal_1-1,246,245,5 script Devil Square#ds_04 733,{
mes "^483D8B[Recepcionista da Saída]^000000";
mes "Deseja retornar a Prontera?";
next;
if( Select ("Sim.","Não.") == 1) {
mes "^483D8B[Recepcionista da Saída]^000000";
mes "Muito bem, boa viajem!";
close2;
if( $@ds_flag == 2 ) donpcevent "DevilSquarePlayer::OnPlayerCheck";
warp "prontera", 154, 175;
end;
}
mes "^483D8B[Recepcionista da Saída]^000000";
mes "Você deve sair logo... ou pode ter grandes problemas...";
close;
OnInit:
waitingroom "Devil Square Saída",0;
end;
}Oh, and I also get this error on my log:
[Error]: buildin_getmonsterinfo: Wrong Monster ID: 0
[Debug]: Source (NPC): Devil Square#ds_01 (invisible/not on a map)
[Error]: buildin_getmonsterinfo: Wrong Monster ID: 0
[Debug]: Source (NPC): Devil Square#ds_01 (invisible/not on a map)
[Error]: buildin_getmonsterinfo: Wrong Monster ID: 0
[Debug]: Source (NPC): Devil Square#ds_01 (invisible/not on a map)
[Error]: buildin_getmonsterinfo: Wrong Monster ID: 0
[Debug]: Source (NPC): Devil Square#ds_01 (invisible/not on a map)
[Error]: buildin_getmonsterinfo: Wrong Monster ID: 0
[Debug]: Source (NPC): Devil Square#ds_01 (invisible/not on a map)
[Error]: buildin_getmonsterinfo: Wrong Monster ID: 0
[Debug]: Source (NPC): Devil Square#ds_01 (invisible/not on a map) -
Same goes to mine.
For more details, you have to generate your COREDUMP, to identify which error cause that crashed.
As for me, I found my solution, I'm not sure either we are facing the same issue.
I realize that my server crashed because of MOB SKILLS.
My scenario is, "Everytime you hit some certain Mob, they will cast their skills, then, it crashed."
Then it is definitely from Mob Skill errors.
You have to determine which skill cause crashed.
Might as well, you can try to remove all MOB SKILLS in db/pre-re/mob_skill_db.txt.
To ensure is it really that crashed come from Mob Skills.
How do I generate my COREDUMP ?
Upload your src/map/battle.c
i want to check something.
Had to upload it in another website, as I'm not allowed to upload c files here: http://filebin.ca/2gsyt4zcXNB4/battle.c
@Edit Found out that I had to disable renewal at src/config/renewal.h, so It's working now, but I've got some error reports about mobs and items:
[Error]: npc_parse_mob: Unknown mob ID 2198 (file 'npc/monstros/cavernas/iz_dun.txt', line '101').
[Error]: npc_parse_mob: Unknown mob ID 2201 (file 'npc/monstros/cavernas/iz_dun.txt', line '102').
[Error]: npc_parse_mob: Unknown mob ID 2203 (file 'npc/monstros/cavernas/iz_dun.txt', line '103').
[Error]: npc_parse_mob: Unknown mob ID 2204 (file 'npc/monstros/cavernas/iz_dun.txt', line '104').
[Error]: npc_parse_mob: Unknown mob ID 2202 (file 'npc/monstros/cavernas/iz_dun.txt', line '105').
[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2139').
[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2800').
[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2801').
[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2802').
[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2803').
[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2804').
[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2805').
[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2806').
[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2807').
[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2808').
-
My server is crashing constantly. It looks like it happens when anyone receives a debuff (a player receiving Hallucination, for example), and then is damaged, but I can't tell if that's the actual reason.
I'm using pre-renewal, packetver 20100730.
GDB output:[spoiler=GDB Debug:]Program received signal SIGSEGV, Segmentation fault.
0x0816dde1 in battle_calc_damage (src=0xaa76f9ac, bl=0xcde1968, d=0xbffff434,
damage=1, skill_num=0, skill_lv=0) at battle.c:573
573 if(sce->val2)//Checagem de Mvps[sicks]
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6.i686 keyutils-libs-1.4-5.el6.i686 krb5-libs-1.10.3-33.el6.i686 libcom_err-1.41.12-21.el6.i686 libselinux-2.0.94-5.8.el6.i686 mysql-libs-5.1.73-3.el6_5.i686 nss-softokn-freebl-3.14.3-18.el6_6.i686 openssl-1.0.1e-30.el6_6.4.i686 pcre-7.8-6.el6.i686 zlib-1.2.3-29.el6.i686
[Error]: Server received crash signal! Attempting to save all online characters!
[info]: Saved char 150002 - Gabriel: status.
(gdb) continue
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x0816dde1 in battle_calc_damage (src=0xaa76f9ac, bl=0xcde1968, d=0xbffff434,
damage=1, skill_num=0, skill_lv=0) at battle.c:573
573 if(sce->val2)//Checagem de Mvps[sicks] -
Make sure your mmo.h is set with the correct packet PACKETVER ( eg: 20120410) and re-compile your server again.
Had forgotten to re-compile the server, thanks, it's working now... But my server is crashing constantly. It looks like it happens when anyone receives a debuff (a player receiving Hallucination, for example), but I can't tell if that's the actual reason. I'm using pre-renewal, packetver 20100730.
[spoiler=GDB Output:]Program received signal SIGSEGV, Segmentation fault.
0x0816dde1 in battle_calc_damage (src=0xaa76f9ac, bl=0xcde1968, d=0xbffff434,
damage=1, skill_num=0, skill_lv=0) at battle.c:573
573 if(sce->val2)//Checagem de Mvps[sicks]
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6.i686 keyutils-libs-1.4-5.el6.i686 krb5-libs-1.10.3-33.el6.i686 libcom_err-1.41.12-21.el6.i686 libselinux-2.0.94-5.8.el6.i686 mysql-libs-5.1.73-3.el6_5.i686 nss-softokn-freebl-3.14.3-18.el6_6.i686 openssl-1.0.1e-30.el6_6.4.i686 pcre-7.8-6.el6.i686 zlib-1.2.3-29.el6.i686
[Error]: Server received crash signal! Attempting to save all online characters!
[info]: Saved char 150002 - Gabriel: status.
(gdb) continue
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x0816dde1 in battle_calc_damage (src=0xaa76f9ac, bl=0xcde1968, d=0xbffff434,
damage=1, skill_num=0, skill_lv=0) at battle.c:573
573 if(sce->val2)//Checagem de Mvps[sicks]
-
Just created my server, and I can't see any "creature" other than me! I can see my own character, skills, etc, but can't see others! Can't even see what other people say. Teleports are also not shown. I've tried hexing a new client, but it didn't fix it. Help, please!
PS: Just realised I posted this on the wrong section, can someone move it for me, please?
-
Use `cd rAthena` or `cd ~/rAthena` instead. The guide is outdated.
Is there an updated guide?
Oh, and I'm getting this now:
[rathenaTeste@ragnarok rAthena]$ ./configure
checking for gcc... gccchecking whether the C compiler works... noconfigure: error: in `/home/rathenaTeste/rAthena':configure: error: C compiler cannot create executablesSee `config.log' for more details[spoiler=config.log]This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = ragnarok
uname -m = i686
uname -r = 2.6.32-042stab113.11
uname -s = Linux
uname -v = #1 SMP Fri Dec 18 17:32:04 MSK 2015
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /home/rathenaTeste/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2229: checking for gcc
configure:2245: found /usr/local/bin/gcc
configure:2256: result: gcc
configure:2485: checking for C compiler version
configure:2494: gcc --version >&5
gcc (GCC) 6.1.0
Copyright © 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2505: $? = 0
configure:2494: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-linux-gnu/6.1.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc_6_1_0_release/configure
Thread model: posix
gcc version 6.1.0 (GCC)
configure:2505: $? = 0
configure:2494: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2505: $? = 1
configure:2494: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:2505: $? = 1
configure:2525: checking whether the C compiler works
configure:2547: gcc conftest.c >&5
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
configure:2551: $? = 1
configure:2589: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2594: error: in `/home/rathenaTeste/rAthena':
configure:2596: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
CC='gcc'
CFLAGS=''
CFLAGS_AR=''
CPP=''
CPPFLAGS=''
DEFS=''
DLLEXT=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
HAVE_MYSQL=''
HAVE_PCRE=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MYSQL_CFLAGS=''
MYSQL_CONFIG_HOME=''
MYSQL_LIBS=''
MYSQL_VERSION=''
OBJEXT=''
OCHR=''
OLOG=''
OMAP=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PCRE_CFLAGS=''
PCRE_LIBS=''
PCRE_VERSION=''
SET_MAKE=''
SHELL='/bin/sh'
SOFLAGS=''
WITH_PLUGINS=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 77
-
I'm getting error on "cd trunk", did you have any troubles with it? Didn't get any error message while following earlier instructions, but this directory seems to have never been created...
-
Was following the CentOS guide, but when I get to the Compiling Source Code part (https://rathena.org/wiki/Installation_(CentOS)#Compile_Source_Code), the "cd trunk" command returns the following error:
[root@ragnarok sql-files]# cd trunk
-bash: cd: trunk: No such file or directoryThat is, "trunk" directory doesn't exists there. Did I do something wrong, or should I've created "trunk" directory myself?
P.S.: I tried it twice, and got stuck on this error both times. Am I missing some instruction?
Episode 5.1 - Einbroch
in Client Requests
Posted
Can someone send me a hexed for 5.1 - Einbroch episode? Or help me finding one? Have tried some 2006 hexeds I found, but none of them worked.