Jump to content

Recommended Posts

I am using pet system official and i have some errors.

here is my game.core

Spoiler


For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/srv1/share/bin/game...
[New LWP 100155]
[New LWP 100151]
[New LWP 100152]
[New LWP 100169]
Core was generated by `./srv1-ch1-core1'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  ITEM_MANAGER::GetTable (this=0xffbfb3ac, vnum=55400)
--Type <RET> for more, q to quit, c to continue without paging--bt full
    at item_manager.cpp:613
613     item_manager.cpp: No such file or directory.
[Current thread is 1 (LWP 100155)]
 

item_mananger.cpp(line 603-624)

Spoiler

TItemTable * ITEM_MANAGER::GetTable(DWORD vnum)
{
    int rnum = RealNumber(vnum);

    if (rnum < 0)
    {
        for (size_t i = 0; i < m_vec_item_vnum_range_info.size(); i++)
        {
            TItemTable* p = m_vec_item_vnum_range_info;
            if ((p->dwVnum < vnum) &&
                vnum < (p->dwVnum + p->dwVnumRange))
            {
                return p;
            }
        }

        return NULL;
    }

    return &m_vec_prototype[rnum];
}
 

 

Link to comment
Share on other sites

  • 2 weeks later...
  • Contributor

Use the gdb like Night said and we may help you. What you show us is not showing the error's origin, ITEM_MANAGER::GetTable only involved but not your problem, i'm sure.

 

so

gdb
set gnutarget i386-marcel-freebsd
file game
core game.core
bt
bt full

Show in a screenshot/copy here the output from bt and bt full too, sometimes bt is enough to solve the problem and it's shorter.

Edited by TMP4
  • Love 1
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. 3

      Crystal Metinstone

    2. 3

      Feeding game source to LLM

    3. 113

      Ulthar SF V2 (TMP4 Base)

    4. 3

      Feeding game source to LLM

    5. 0

      Target Information System

    6. 3

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

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