Jump to content

Recommended Posts

  • Bot
Core was generated by `game'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  CHARACTER::GetMobDamageMax (this=this@entry=0x2f275000) at char.cpp:2392
2392            return m_pkMobData->m_table.dwDamageRange[1];
[Current thread is 1 (LWP 100785)]
(gdb) bt full
#0  CHARACTER::GetMobDamageMax (this=this@entry=0x2f275000) at char.cpp:2392
No locals.
#1  0x080f98a8 in SetPolyVarForAttack (ch=ch@entry=0x2f275000, pkSk=pkSk@entry=0x2cca1700, pkWeapon=pkWeapon@entry=0x0) at char_skill.cpp:1385
        iWep = <optimized out>
#2  0x08101883 in CHARACTER::ComputeSkillAtPosition (this=this@entry=0x2f275000, dwVnum=256, posTarget=..., bSkillLevel=40 '(') at char_skill.cpp:2214
        k = <optimized out>
        iAmount = <optimized out>
        iAmount3 = <optimized out>
        pkSk = <optimized out>
        pkWeapon = 0x0
        iAmount2 = <optimized out>
#3  0x08104be6 in mob_skill_hit_event (event=..., processing_time=28) at char_skill.cpp:3398
        info = 0x35abe0b0
        ch = 0x2f275000
#4  0x0818255d in event_process (pulse=pulse@entry=1305592) at event.cpp:140
        pElem = 0x2dad53e0
        the_event = {px = 0x43bc02c0}
        processing_time = 28
        new_time = <optimized out>
        num_events = 2
#5  0x0826f009 in heartbeat (ht=0x29025390, pulse=pulse@entry=1305592) at main.cpp:264
        t = 52162933
#6  0x082700aa in idle () at main.cpp:942
        pta = {tv_sec = 1539306948, tv_usec = 13524}
        passed_pulses = 0
        process_time_count = 22
        now = {tv_sec = 1539306948, tv_usec = 892885}
        t = <optimized out>
#7  0x0805b6b5 in main (argc=1, argv=0xffffde64) at main.cpp:597

Any help please?

english_banner.gif

Link to comment
Share on other sites

  • 3 years later...
On 16.10.2018 at 22:07, WeedHex said:

Çözüm, bu forumdaki en iyi geliştiriciler için de zor.

 

Bir çözüm bulmak için çok zaman harcadım. sana tamamen vermek istemiyorum 

ama size sorunun c++'dan değil, BAD LUA USING'den kaynaklandığını söyleyebilirim.

It has been 3 years since the issue. i am having this problem. I think that's enough time for you to tell the solution.

Link to comment
Share on other sites

7 hours ago, blacklistt said:

It has been 3 years since the issue. i am having this problem. I think that's enough time for you to tell the solution.

check your mob_proto.txt, you have empty damage value

 

for temporarily fix, change your function;

 

CHARACTER::GetMobDamageMax()
{
	if (m_pkMobData->m_table.dwDamageRange[1] == 0)
	{
		return 1;
	}
	else
	{
		return m_pkMobData->m_table.dwDamageRange[1];
	}
}

 

Link to comment
Share on other sites

3 hours ago, Denizeri24 said:

check your mob_proto.txt, you have empty damage value

 

for temporarily fix, change your function;

 

CHARACTER::GetMobDamageMax()
{
	if (m_pkMobData->m_table.dwDamageRange[1] == 0)
	{
		return 1;
	}
	else
	{
		return m_pkMobData->m_table.dwDamageRange[1];
	}
}

 

 

I had this problem in azrael today. I checked the MIN DAMAGE and MAX DAMAGE values from mob_proto, they are not empty.

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



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