Jump to content

Upgraded Reference (TMP4 Base) By Ulthar


Ulthar

Recommended Posts

Hello! I try to download the src but I get this error 😞 Could you help me? I enter the game and it cuts me right away.
Src error:
compile MarkManager.cpp
In file included from In file included from MarkImage.cpp:1:
In file included from MarkConvert.cpp:1:
BattleArena.cpp:1:
./stdafx.h:27:10: fatal error: 'tr1/unordered_map' file not found
#include <tr1/unordered_map>
         ^~~~~~~~~~~~~~~~~~~
./stdafx.h:27:10: fatal error: 'tr1/unordered_map' file not found
#include <tr1/unordered_map>
         ^~~~~~~~~~~~~~~~~~~
./stdafx.h:27:10: fatal error: 'tr1/unordered_map' file not found
#include <tr1/unordered_map>
         ^~~~~~~~~~~~~~~~~~~
In file included from MarkManager.cpp:1:
./stdafx.h:27:10: fatal error: 'tr1/unordered_map' file not found
#include <tr1/unordered_map>

         ^~~~~~~~~~~~~~~~~~~

In the meantime, he solved the problem he wrote.@davecosmo

 

Client error:

0327 21:25:14730 :: Unknown packet header: 171, last: 126 4

Nem tudok Angolul de fordítóval hátha 🙂

Szia! Próbálom le forgatni az src-t de ezt a hibát kapom 😞 Tudnál segíteni? A játékba belépek és egyből ki vág.
Src hiba: 

Client hiba:

Edited by Warizald
Link to comment
Share on other sites

  • Premium
31 minutes ago, Warizald said:

Hello! I try to download the src but I get this error 😞 Could you help me? I enter the game and it cuts me right away.
Src error:
compile MarkManager.cpp
In file included from In file included from MarkImage.cpp:1:
In file included from MarkConvert.cpp:1:
BattleArena.cpp:1:
./stdafx.h:27:10: fatal error: 'tr1/unordered_map' file not found
#include <tr1/unordered_map>
         ^~~~~~~~~~~~~~~~~~~
./stdafx.h:27:10: fatal error: 'tr1/unordered_map' file not found
#include <tr1/unordered_map>
         ^~~~~~~~~~~~~~~~~~~
./stdafx.h:27:10: fatal error: 'tr1/unordered_map' file not found
#include <tr1/unordered_map>
         ^~~~~~~~~~~~~~~~~~~
In file included from MarkManager.cpp:1:
./stdafx.h:27:10: fatal error: 'tr1/unordered_map' file not found
#include <tr1/unordered_map>

         ^~~~~~~~~~~~~~~~~~~

In the meantime, he solved the problem he wrote.@davecosmo

 

Client error:

0327 21:25:14730 :: Unknown packet header: 171, last: 126 4

Nem tudok Angolul de fordítóval hátha 🙂

Szia! Próbálom le forgatni az src-t de ezt a hibát kapom 😞 Tudnál segíteni? A játékba belépek és egyből ki vág.
Src hiba: 

Client hiba:

//search:
 

#ifdef __GNUC__
#include <float.h>
#include <tr1/unordered_map>
#include <tr1/unordered_set>
#define TR1_NS std::tr1
#else
#include <boost/unordered_map.hpp>
#include <boost/unordered_set.hpp>
#define TR1_NS boost
#define isdigit iswdigit
#define isspace iswspace
#endif

//change:
 

#ifdef __GNUC__
#include <float.h>
#include <unordered_map>
#include <unordered_set>
#define TR1_NS std::tr1
#else
#include <unordered_map>
#include <unordered_set>
#define TR1_NS std
#define isdigit iswdigit
#define isspace iswspace
#endif

Compile game-db, and compile client source too.

  • Love 1

Ulthar

Link to comment
Share on other sites

  • Active Member

A quick fix on the target.vid quest function:

in game/target.cpp

search:

#if defined(BL_PRIVATESHOP_SEARCH_SYSTEM)
		case TARGET_TYPE_VID_SHOP_SEARCH:
#endif
			{
				tch = CHARACTER_MANAGER::instance().Find(info->iArg1);

add the missing "case TARGET_TYPE_VID :"

#if defined(BL_PRIVATESHOP_SEARCH_SYSTEM)
		case TARGET_TYPE_VID_SHOP_SEARCH:
#endif
		case TARGET_TYPE_VID:
			{
				tch = CHARACTER_MANAGER::instance().Find(info->iArg1);

spacer.png

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

  • Premium
4 hours ago, ATAG said:

A quick fix on the target.vid quest function:

in game/target.cpp

search:

#if defined(BL_PRIVATESHOP_SEARCH_SYSTEM)
		case TARGET_TYPE_VID_SHOP_SEARCH:
#endif
			{
				tch = CHARACTER_MANAGER::instance().Find(info->iArg1);

add the missing "case TARGET_TYPE_VID :"

#if defined(BL_PRIVATESHOP_SEARCH_SYSTEM)
		case TARGET_TYPE_VID_SHOP_SEARCH:
#endif
		case TARGET_TYPE_VID:
			{
				tch = CHARACTER_MANAGER::instance().Find(info->iArg1);

spacer.png

Thank you!
I checked the files and the tutorial, i made a mistake. I over wrote the line instead of adding it under. xD

Ulthar

Link to comment
Share on other sites

  • Active Member
On 3/17/2023 at 5:05 PM, gergogonczi said:

Nice work!
 

Does anyone have a solution for this? 

1. Quest scrolls disappear when changing characters.
2. Server compile (llvm-devel) it runs into an error.

Sorry for the english!

Thank you in advance for your help!

After hours of searching for what was causing the first (quest scroll) problem, I couldn't figure it out, but I found a dirty workaround. Use it at your own risk 🙂

In root/interfacemodule.py search:

	def __del__(self):
		systemSetting.DestroyInterfaceHandler()
		event.SetInterfaceWindow(None)

 

And change it to:

	def __del__(self):
		systemSetting.DestroyInterfaceHandler()
		#event.SetInterfaceWindow(None)

It doesn't solve the problem, just bypasses it!

Edited by ATAG
  • Love 1
Link to comment
Share on other sites

On 3/29/2023 at 8:41 AM, Ulthar said:

Thank you!
I checked the files and the tutorial, i made a mistake. I over wrote the line instead of adding it under. xD

game.py(line:226) Open
game.py(line:646) StartGame
game.py(line:799) RefreshCharacter
interfaceModule.py(line:653) RefreshCharacter
uiCharacter.py(line:1121) RefreshCharacter
uiCharacter.py(line:1183) __SelectSkillGroup
uiCharacter.py(line:1169) __SetSkillSlotData
uiCharacter.py(line:862) RefreshSkill
uiCharacter.py(line:837) __RefreshSkillPage

GameWindow.Open - <type 'exceptions.RuntimeError'>:skill.GetSkillType - Failed to find skill by 6

 

 

evry time i make a new character only sura character works 

Link to comment
Share on other sites

22 hours ago, ATAG said:

After hours of searching for what was causing the first (quest scroll) problem, I couldn't figure it out, but I found a dirty workaround. Use it at your own risk 🙂

In root/interfacemodule.py search:

	def __del__(self):
		systemSetting.DestroyInterfaceHandler()
		event.SetInterfaceWindow(None)

 

And change it to:

	def __del__(self):
		systemSetting.DestroyInterfaceHandler()
		#event.SetInterfaceWindow(None)

It doesn't solve the problem, just bypasses it!

 

Thank you @ATAG!

Link to comment
Share on other sites

On 3/31/2023 at 9:52 AM, Ulthar said:

Go to locale/hu and open skilldesc.txt.
Scroll down and take the last 4 lines and paste it to you language file's skilldesc.txt.

hi , i have a problem when i add the switchboot in binary 

 

i know you say the sistem is sell in dis moment but in romania is posted for free

when i want to compile si get dis erorr 

uG7NGLJ.png

 

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

  • Premium
3 hours ago, Metin2GH said:

hi , i have a problem when i add the switchboot in binary 

 

i know you say the sistem is sell in dis moment but in romania is posted for free

when i want to compile si get dis erorr 

I cant help in this here.

Ulthar

Link to comment
Share on other sites

hi... when i add somthing to item_proto allways i get dis error  but i never add soamnthing whit MATERIAL_LEATHER

 

SYSERR: Apr  1 00:26:09 :: Set_Proto_Item_Table: ItemProto Reading Failed : Invalid value. (index: 2, col: 2, value: MATERIAL_LEATHER)
SYSERR: Apr  1 00:26:09 :: Set_Proto_Item_Table:     0 ~ 2 Values: 85000,0,
 

Link to comment
Share on other sites

  • Active Member
10 hours ago, Metin2GH said:

hi... when i add somthing to item_proto allways i get dis error  but i never add soamnthing whit MATERIAL_LEATHER

 

SYSERR: Apr  1 00:26:09 :: Set_Proto_Item_Table: ItemProto Reading Failed : Invalid value. (index: 2, col: 2, value: MATERIAL_LEATHER)
SYSERR: Apr  1 00:26:09 :: Set_Proto_Item_Table:     0 ~ 2 Values: 85000,0,
 

The data you try to add is wrong, maybe you should post it here 🙂

Link to comment
Share on other sites

5 hours ago, Neoxx said:

hi when i try  to change server language  i follow tmp4 video when i went to dit root/.cshrc the folder is empty

Follow locale directory.. Im not 100% sure but I think this sf is located to /usr/metin2/xxxx there you swap/rename locale_string, etc files(...

For serverside, you need change:

locale_string.txt
quest/locale.lua

You can see some flags like locale_string_xx.txt. locale_xx.lua etc.. Use logic and its pretty easy..

Edited by Pseudabo
Link to comment
Share on other sites

On 3/27/2023 at 10:17 PM, Ulthar said:

//search:
 

#ifdef __GNUC__
#include <float.h>
#include <tr1/unordered_map>
#include <tr1/unordered_set>
#define TR1_NS std::tr1
#else
#include <boost/unordered_map.hpp>
#include <boost/unordered_set.hpp>
#define TR1_NS boost
#define isdigit iswdigit
#define isspace iswspace
#endif

//change:
 

#ifdef __GNUC__
#include <float.h>
#include <unordered_map>
#include <unordered_set>
#define TR1_NS std::tr1
#else
#include <unordered_map>
#include <unordered_set>
#define TR1_NS std
#define isdigit iswdigit
#define isspace iswspace
#endif

Compile game-db, and compile client source too.

 

Change only in the game, why compile the bin client?

 

Link to comment
Share on other sites

  • Active Member
On 3/29/2023 at 2:48 AM, ATAG said:

A quick fix on the target.vid quest function:

in game/target.cpp

search:

#if defined(BL_PRIVATESHOP_SEARCH_SYSTEM)
		case TARGET_TYPE_VID_SHOP_SEARCH:
#endif
			{
				tch = CHARACTER_MANAGER::instance().Find(info->iArg1);

add the missing "case TARGET_TYPE_VID :"

#if defined(BL_PRIVATESHOP_SEARCH_SYSTEM)
		case TARGET_TYPE_VID_SHOP_SEARCH:
#endif
		case TARGET_TYPE_VID:
			{
				tch = CHARACTER_MANAGER::instance().Find(info->iArg1);

spacer.png

Another fix, to make the target.pos working again:

game/target.cpp

search for

pck.lID = iID;
pck.lX = x;
#if defined(BL_PRIVATESHOP_SEARCH_SYSTEM)
pck.bIsShopSearch = bIsShopSearch;
#endif

And add the missing (deleted) y coord

pck.lID = iID;
pck.lX = x;
pck.lY = y;
#if defined(BL_PRIVATESHOP_SEARCH_SYSTEM)
pck.bIsShopSearch = bIsShopSearch;
#endif

 

Edited by ATAG
  • Love 1
Link to comment
Share on other sites

11 hours ago, Ulthar said:

Only the 71124 working, nothing else. I just prepared only the white tiger.

hi how to solve ietm_proto.txt

 

any modification in item_proto.txt i get error mor exactly dis error

 

SYSERR: Apr 15 06:06:53 :: Set_Proto_Item_Table: ItemProto Reading Failed : Invalid value. (index: 2, col: 2, value: MATERIAL_LEATHER)
SYSERR: Apr 15 06:06:53 :: Set_Proto_Item_Table:     0 ~ 2 Values: 85000,0,

 

 

i put in protoreader.cpp material_lether but dis flas is already here

 

 

Link to comment
Share on other sites

  • Active Member
4 hours ago, Metin2GH said:

hi how to solve ietm_proto.txt

 

any modification in item_proto.txt i get error mor exactly dis error

 

SYSERR: Apr 15 06:06:53 :: Set_Proto_Item_Table: ItemProto Reading Failed : Invalid value. (index: 2, col: 2, value: MATERIAL_LEATHER)
SYSERR: Apr 15 06:06:53 :: Set_Proto_Item_Table:     0 ~ 2 Values: 85000,0,

 

 

i put in protoreader.cpp material_lether but dis flas is already here

 

 

Did you look at that line in item_proto?

85000	?????ITEM_MATERIAL	MATERIAL_LEATHER	1	ANTI_DROP | ANTI_SELL | ANTI_PKDROP | ANTI_MYSHOP | ANTI_GIVE | ANTI_SAFEBOX	ITEM_STACKABLE	NONE	NONE	0	0	0	0	0	LIMIT_NONE	0	LIMIT_NONE	0	APPLY_NONE	0	APPLY_NONE	0	APPLY_NONE	0	0	0	0	0	0	0	0	0	0

There's a missing tab between the name and the type, should be: ??????    ITEM_MATERIAL

 

...just guessing 🙂

Link to comment
Share on other sites

Announcements



  • Similar Content

  • Activity

    1. 0

      Quest 6/7 Problem

    2. 5

      Effect weapons

    3. 3

      Crystal Metinstone

    4. 3

      Feeding game source to LLM

    5. 113

      Ulthar SF V2 (TMP4 Base)

    6. 3

      Feeding game source to LLM

    7. 0

      Target Information System

    8. 3

      Feeding game source to LLM

  • 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.