Jump to content

Recommended Posts

  • Former Staff

I'm working on 40k client and i use txt protos in server

 

i tried to dump the txts my dump_proto.exe

 

after adding item proto to pack i got this error

0112 17:23:07421 :: CPythonItem::LoadItemTable: invalid item_proto[locale/de/item_proto] STRIDE[152] != sizeof(SItemTable)
0112 17:23:07422 :: LoadLocaleData - LoadItemProto(locale/de/item_proto) Error
0112 17:23:16024 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0112 17:24:29928 :: Traceback (most recent call last):

0112 17:24:29928 ::   File "networkModule.py", line 239, in SetGamePhase

0112 17:24:29929 ::   File "game.py", line 100, in __init__

0112 17:24:29929 ::   File "interfaceModule.py", line 296, in MakeInterface

0112 17:24:29943 ::   File "interfaceModule.py", line 130, in __MakeTaskBar

0112 17:24:29944 ::   File "uiTaskBar.py", line 563, in LoadWindow

0112 17:24:29944 ::   File "uiTaskBar.py", line 771, in RefreshQuickSlot

0112 17:24:29945 :: RuntimeError
0112 17:24:29945 :: :
0112 17:24:29945 :: skill.GetSkillType - Failed to find skill by 77
0112 17:24:29945 ::

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Former Staff

I've edited something to let the game open cus it's stops on the loading screen

i changed this

	if (!rkItemMgr.LoadItemTable(szItemProto))
	{
		TraceError("LoadLocaleData - LoadItemProto(%s) Error", szItemProto);
		return false;
	}

to this to know how this problem affect on the client

	if (!rkItemMgr.LoadItemTable(szItemProto))
	{
		TraceError("LoadLocaleData - LoadItemProto(%s) Error", szItemProto);
	//	return false;
	}

he client works but i can't see any item name or state

 

.....

the problem lead me to this

        if (dwStride != sizeof(CItemData::TItemTable))
        {
            TraceError("CPythonItem::LoadItemTable: invalid item_proto[%s] STRIDE[%d] != sizeof(SItemTable)",
                c_szFileName, dwStride, sizeof(CItemData::TItemTable));
            return false;
        }

i think the new item proto it not compatible with the client proto reader

Link to comment
Share on other sites

  • Former Staff

changed this

        if (dwStride != sizeof(CItemData::TItemTable))
        {
            TraceError("CPythonItem::LoadItemTable: invalid item_proto[%s] STRIDE[%d] != sizeof(SItemTable)",
                c_szFileName, dwStride, sizeof(CItemData::TItemTable));
            return false;
        }

to this to know the "sizeof(CItemData::TItemTable)"

		if (dwStride != sizeof(CItemData::TItemTable))
		{
			TraceError("CPythonItem::LoadItemTable: invalid item_proto[%s] STRIDE[%d] != sizeof(SItemTable) [%d]",
				c_szFileName, dwStride, sizeof(CItemData::TItemTable));
			return false;
		}

and now the error is like this

0112 19:49:04360 :: CPythonItem::LoadItemTable: invalid item_proto[locale/de/item_proto] STRIDE[152] != sizeof(SItemTable) [208]
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 1

      [C++] PROTECTION DMG HACK

    2. 1

      Where can i found the armors

    3. 1

      Where can i found the armors

    4. 0
    5. 0

      [Advice]Clever way to add just specific bonuse range from item_attr_rare?

    6. 28

      Experimental Renderer

    7. 80

      Ship Defense (Hydra Dungeon)

    8. 0

      Metin2Hyperion PvM 120 easy

    9. 29

      Shiva.international | Finest Oldschool | Official Start 16.09.2022

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