Jump to content

-TÜRK-

Inactive Member
  • Posts

    85
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by -TÜRK-

  1. Also, do u have solutions for this warnings:

     

    protocol.h: In function 'const char* encode_2bytes(sh_int)':
    protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      *((sh_int *) a) = ind;
                    ^
     
    config.cpp:493:22: warning: NULL used in arithmetic [-Wpointer-arith]
        if (NULL != line[0])
                          ^
     
    In file included from item_manager_read_tables.cpp:19:0:
    item_manager.h:268:70: warning: 'pkGroup' may be used uninitialized in this function [-Wmaybe-uninitialized]
       m_vec_items.push_back(SDropItemGroupInfo(dwItemVnum, dwPct, iCount));
                                                                          ^

     

  2. 	if (m_pkMobData->m_mobSkillInfo[idx].vecSplashAttack.empty())
    	{
    		sys_err("No skill hit data for mob %s index %d", GetName(), idx);
    		return false;
    	}

    "vecSplashAttack" this problem is about skill_proto.

     

    Check this entries in your skill_proto:

     

    256 CRUSH300

    257 SPLASH525

    258 CRUSH450

    259 SPLASH300

    260 CRUSHSPLASH600

    261 SPLASHPOISON375

    262 SPLASHSLOW300

     

    Also check your mob skill_vnumX in mob_proto.

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