Jump to content
  • 0

Target Information System Error Source


skizzalb

Question

Hello guys, i have 2 erros when i m compiling source
after i tried installing Target Information System, i did everything like everyone
and i get these errors, i m tired of looking how to solve them but no fix..
The errors are the next i m going to show u:
use of undeclared identifier 'typeof'; did you mean 'typeid'?
use of undeclared identifier 'v'
The file that has the error is item manager.cpp

The line is 862

    // Drop Item Group

    {

        itertype(m_map_pkDropItemGroup) it;

        it = m_map_pkDropItemGroup.find(pkChr->GetRaceNum());

 

        if (it != m_map_pkDropItemGroup.end())

        {

            typeof(it->second->GetVector()) v = it->second->GetVector();

 

            for (DWORD i = 0; i < v.size(); ++i)

            {

                item = CreateItem(v[i].dwVnum, v[i].iCount, 0, true);

 

                if (item)

                {

                    if (item->GetType() == ITEM_POLYMORPH)

                    {

                        if (item->GetVnum() == pkChr->GetPolymorphItemVnum())

                        {

                            item->SetSocket(0, pkChr->GetRaceNum());

                        }

                    }

 

                    vec_item.push_back(item);

                }

            }

        }

    }

Link to post

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Activity

    1. 2

      [Servios] Source file has no content

    2. 0

      [S] Biolog Manager

    3. 2

      [Servios] Source file has no content

    4. 2

      [Servios] Source file has no content

    5. 4

      Grade status points bug

    6. 8

      Ancient2 - Oldschool server (international).

    7. 4

      Metin2 remade in unreal experiments

    8. 10

      Offline Shop - dynamic packet size

    9. 0

      MrKarpiuk Weapon set

  • Recently Browsing

    No registered users viewing this page.

Shoutbox

Shoutbox

Chatroom Rules

 

Join our Discord

A request for help = Shoutbox Ban

Be respectful & Respect the rules

 

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