Jump to content
  • 0

Problem with install new pet system


JezMan

Question

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

 

https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

 

 


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 Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
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

 

https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

 

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
 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 0
  • Bronze

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
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. 5
    2. 5

      Zodiac Roulette (Aeldra event concept)

    3. 0

      I am looking for a team for PVP Server!

    4. 0

      How about get quest flag from binary??

    5. 5

      Zodiac Roulette (Aeldra event concept)

    6. 5

      Zodiac Roulette (Aeldra event concept)

    7. 5

      Zodiac Roulette (Aeldra event concept)

    8. 12

      REAL_TIME_FIRST_USE items not being expired in the safe-box

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.