Jump to content
×
×
  • Create New...
  • 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 comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

3 answers to this question

Recommended Posts

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
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 36

      Destroy Item System

    2. 1

      Brillances

    3. 0

      Fusion.org is Looking for Staff Members

    4. 1

      Brillances

    5. 3

      ELONIA2 | PVM-MEDIUM | 11 LANGUAGES | INTERNATIONAL | A NEW STORY

    6. 4

      Spider Queen not spawining in spider dungeon v1

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.