Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

Problem with install new pet system


JezMan

Question

I did everything the right way, but I got this wrong

 

https://pasteboard.co/JoTKJ35.png

 

 


compile main.cpp
linking ../game_r40267_32....
OBJDIR/questlua.o: In function `quest::CQuestManager::InitializeLua()':
/usr/src/Server/game/src/questlua.cpp:478: undefined reference to `quest::RegisterNewPetFunctionTable()'
Makefile:124: recipe for target '../game_r40267_32' failed
gmake: *** [../game_r40267_32] Error 1
 

Edited by JezMan (see edit history)
Link to post

12 answers to this question

Recommended Posts

  • 0

thank's solved ❤️

But now I am facing another problem

In building client

 

https://pasteboard.co/JoWKvW9.png

 

Error    6    error LNK1120: 5 unresolved externals    E:\MT2\clientsource\binary\Metin2Distribute.exe    UserInterface
Error    1    error LNK2001: unresolved external symbol "public: __thiscall CPythonSkillPet::CPythonSkillPet(void)" ([email protected]@[email protected])    E:\MT2\clientsource\vs_files\UserInterface\PythonApplication.obj    UserInterface
Error    5    error LNK2001: unresolved external symbol "void __cdecl initskillpet(void)" ([email protected]@YAXXZ)    E:\MT2\clientsource\vs_files\UserInterface\UserInterface.obj    UserInterface
 

Link to post
  • 0

solved ❤️
Thank you very much

 

And the system worked
But I have a problem when I turn on the stamp
Its level is 3
When I turn off and on again, his level will be 5
And so on

Link to post
  • 0

he cant read pet-exp table

    std::string temp_exp_line;
	std::ifstream exppet_table_open("/usr/home/game/share/exppettable.txt");
	/*if (!exp_table_open.is_open())
	return 0;*/

	int exppet_table_counter = 0;
	int tmppet_exp = 0;
	while (!exppet_table_open.eof())
	{
		exppet_table_open >> temp_exp_line;
		str_to_number(exppet_table_common[exppet_table_counter], temp_exp_line.c_str());
		if (exppet_table_common[exppet_table_counter] < 2147483647) {
			sys_log(0, "Livelli Pet caricati da exppettable.txt: %d !", exppet_table_common[exppet_table_counter]);
			exppet_table_counter++;
		}
		else {
			fprintf(stderr, "[main] Impossibile caricare la tabella exp valore non valido\n");
			break;
		}
	}

 

Edited by V0lvox (see edit history)
Link to post
Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.