NeverMindz Posted April 30, 2018 at 03:10 PM Share Posted April 30, 2018 at 03:10 PM Boas. Eu tentei compilar a source do servidor e dá-me este erro. Alguém me consegue ajudar nesse sentido? http://prntscr.com/jbznpb Obrigado Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted April 30, 2018 at 08:59 PM Share Posted April 30, 2018 at 08:59 PM Que comando estás a usar para compilar e que source é? Link to comment Share on other sites More sharing options...
NeverMindz Posted April 30, 2018 at 10:35 PM Author Share Posted April 30, 2018 at 10:35 PM O comando é gmake -j2 A source não sei qual é.. Link to comment Share on other sites More sharing options...
NeverMindz Posted May 1, 2018 at 02:03 AM Author Share Posted May 1, 2018 at 02:03 AM Como vejo qual a source? Link to comment Share on other sites More sharing options...
NeverMindz Posted May 1, 2018 at 02:39 PM Author Share Posted May 1, 2018 at 02:39 PM bump Link to comment Share on other sites More sharing options...
Otresher Posted May 1, 2018 at 05:47 PM Share Posted May 1, 2018 at 05:47 PM (edited) gmake -j20 por gentileza, poderia postar a linha 133 da makefile? Edited May 1, 2018 at 05:48 PM by Otresher Link to comment Share on other sites More sharing options...
NeverMindz Posted May 1, 2018 at 07:34 PM Author Share Posted May 1, 2018 at 07:34 PM (edited) 1 hora atrás, Otresher disse: gmake -j20 por gentileza, poderia postar a linha 133 da makefile? Deixo aqui o print das linhas do makefile http://prntscr.com/jchfqj Dá-me este erro ao compilar. http://prntscr.com/jchgnv Deixo aqui o meu item.cpp para me ajudarem a ver onde está o problema. Obrigado. item.cpp Edited May 1, 2018 at 07:38 PM by NeverMindz Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted May 1, 2018 at 08:26 PM Share Posted May 1, 2018 at 08:26 PM Está a dizer que não fechaste a função. Tens de a fechar, diz la as linhas Link to comment Share on other sites More sharing options...
NeverMindz Posted May 1, 2018 at 08:30 PM Author Share Posted May 1, 2018 at 08:30 PM Mas isso é nas linhas 1010 e 2465, mas na 876 não sei o que está mal, fiz como estava escrito para adicionar o sistema de transformação. Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted May 1, 2018 at 08:44 PM Share Posted May 1, 2018 at 08:44 PM Print da linha a mostrar as anteriores e as seguintes Link to comment Share on other sites More sharing options...
NeverMindz Posted May 1, 2018 at 08:48 PM Author Share Posted May 1, 2018 at 08:48 PM As outras linhas estão resolvidas, falta a 876... Está aqui o print das linhas.. http://prntscr.com/jcie68 Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted May 1, 2018 at 09:05 PM Share Posted May 1, 2018 at 09:05 PM Dwres existe no item.h? Link to comment Share on other sites More sharing options...
NeverMindz Posted May 1, 2018 at 09:15 PM Author Share Posted May 1, 2018 at 09:15 PM 10 minutos atrás, Tierri Lopes disse: Dwres existe no item.h? Não me aparece nada Link to comment Share on other sites More sharing options...
WLN Posted May 1, 2018 at 09:28 PM Share Posted May 1, 2018 at 09:28 PM omg já tinha adicionado o sistema do lennt e agora tenta adicionar outro, sempre com problemas, pegue os arquivos editados e compara com os backups, veja onde falta um } ou , aprendam a quebrar a cabeça com coisas simples, isto não devia nem estár em tópico, e o sistema de transmutação do lennt funciona perfeitamente, não entendo por que adicionar outro. Link to comment Share on other sites More sharing options...
NeverMindz Posted May 1, 2018 at 09:58 PM Author Share Posted May 1, 2018 at 09:58 PM 27 minutos atrás, wery disse: omg já tinha adicionado o sistema do lennt e agora tenta adicionar outro, sempre com problemas, pegue os arquivos editados e compara com os backups, veja onde falta um } ou , aprendam a quebrar a cabeça com coisas simples, isto não devia nem estár em tópico, e o sistema de transmutação do lennt funciona perfeitamente, não entendo por que adicionar outro. Eu estou a adicionar o sistema do lennt, e peço desculpa se não sou um pro no que toca a sources, começei a tratar de sources há razoalvelmente pouco tempo. Se custa assim tanto ajudar quem precisa mesmo em coisas que parecem simples, basta não ajudar e não criticar... Obrigado. Link to comment Share on other sites More sharing options...
WLN Posted May 1, 2018 at 10:03 PM Share Posted May 1, 2018 at 10:03 PM como ja disse, compare com o backup, use o beyond compare, veja onde foi adicionado, veja onde falta algum }, não pergunte tudo, tente por si mesmo, não estou criticando, estou dando o conselho de não depender do forum para resolver um } fora do lugar Link to comment Share on other sites More sharing options...
NeverMindz Posted May 1, 2018 at 10:09 PM Author Share Posted May 1, 2018 at 10:09 PM 1 minuto atrás, wery disse: como ja disse, compare com o backup, use o beyond compare, veja onde foi adicionado, veja onde falta algum }, não pergunte tudo, tente por si mesmo, não estou criticando, estou dando o conselho de não depender do forum para resolver um } fora do lugar A parte dos } já foi resolvido.. se estivesses atento ao que foi tratado aqui saberias que não é isso que falta resolver... O que falta resolver não fui o único a ter problemas com isto. Isto é server side source, e ao adicionar como dizia no tutorial há umas linhas que não são compativeis, e modifiquei conforme eu achava que seria. e está a dar erro. Mas não sei resolver, daí pedir ajuda. Peço desculpa se incomodo a comunidade com isto. Link to comment Share on other sites More sharing options...
WLN Posted May 1, 2018 at 10:20 PM Share Posted May 1, 2018 at 10:20 PM use o beyond compare e resolva seu problema item.cpp Link to comment Share on other sites More sharing options...
NeverMindz Posted May 1, 2018 at 10:48 PM Author Share Posted May 1, 2018 at 10:48 PM Meti exactamente igual como o teu, mas dá-me os tais erros de virgulas. Já tentei adicionar "{}" mesmo assim não funcionou. Consegues ver onde errei? http://prntscr.com/jcjpk2 Print do erro: http://prntscr.com/jcjq5f Obrigado Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted May 2, 2018 at 12:16 AM Share Posted May 2, 2018 at 12:16 AM Coloca a mostrar os numeros de linhas sff Link to comment Share on other sites More sharing options...
NeverMindz Posted May 2, 2018 at 12:18 AM Author Share Posted May 2, 2018 at 12:18 AM Ah ok. Vou meter: http://prntscr.com/jckhxq Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted May 2, 2018 at 12:20 AM Share Posted May 2, 2018 at 12:20 AM Muda: if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON) Para: if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON) { No else abres com {, mas depois fechas duas vezes. Para if de apenas uma linha não é preciso abrir e fechar {}, no entanto como estás a fechar duas vezes, ou abres no if a { , ou eliminas uma antes do break. Link to comment Share on other sites More sharing options...
NeverMindz Posted May 2, 2018 at 12:38 AM Author Share Posted May 2, 2018 at 12:38 AM Deu-me estes agora http://prntscr.com/jcklx6 Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted May 2, 2018 at 12:42 AM Share Posted May 2, 2018 at 12:42 AM Na 888, falta um } antes do else Link to comment Share on other sites More sharing options...
WLN Posted May 2, 2018 at 12:42 AM Share Posted May 2, 2018 at 12:42 AM me manda teu item.cpp antes de adicionar o sistema e depois de adicionado para finalizarmos esse tópico logo Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now