Jump to content
  • Create New...
  • 0

Problem with install new pet system



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





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
Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

thank's solved ❤️

But now I am facing another problem

In building client




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 comment
Share on other sites

  • 0
  • Moon

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]);
		else {
			fprintf(stderr, "[main] Impossibile caricare la tabella exp valore non valido\n");


Edited by V0lvox
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Activity

    1. 0

      Looking for Someone to create the queries etc for armors and weapons

    2. 13

      Official Private Shop Search

    3. 944

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 79

      GUI Teleport System

    5. 0

      inventory slot marking system cant compile

    6. 8

      Inventory Bug

    7. 63

      Metin2 Dev - Changelogs

  • Recently Browsing

    • No registered users viewing this page.

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.