Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #008672

  • 0 - None Assigned

  • Fixed

Issue Confirmations

  • Yes (6)No (0)
Photo

map server error?

Posted by N e s s on 11 May 2015 - 11:11 AM

Spoiler
im using latest rev and compiled using vs12

here is the error:

This happens because skill->get_sp() and skill->get_range() are being called with a skill_lv of 0. Up until now, we weren't checking for this kind of errors (so the error message wasn't displayed), but now we are.

If you have custom code in skill.c, you should review that, otherwise we'll need to figure out what skill is causing this.

The issue is currently harmless, but it's something that should be fixed.

i dont have custom code sir Haru im using a clean herc in latest rev :)

changed status to: Confirmed

here is fix. Not sure what it cant happend from other places, but atleast initial issues fixed

https://github.com/H...rcules/pull/513

still got the same errors even tho i update my hercules git.

I made some follow-up patches with other related issues I found. Most cases should now be fixed, hopefully. If there's any more, please let us know.

changed status to: Fixed

[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------

@Kyeme, Windows 7 Ult, 64bit

[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: --- failed assertion --------------------------------------------
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------

Does it still happen after those 3 fixes?

Got this also after I update to latest rev. (Using Ubuntu 14.4)

Posted Image

Got this also after I update to latest rev. (Using Ubuntu 14.4)

Posted Image

As haru said, provide us the way to reproduce, so we can do a fix

For:
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------

i used Cross impact, rolling cutter, sonic blow,
skill with castnodex ?

For:
[Error]: d:\program files (x86)\hercules\src\map\skill.c:179: 'skill_lv > 0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------

i used Cross impact, rolling cutter, sonic blow,
skill with castnodex ?


Same as mine, Sonic blow.

I add a new skill, and got this error also.

still getting this error on the latest revision...
i got this when i created a "Guild" and click on "Guild Skill"..
and i didn't add any source modifications..

--- failed assertion -------
..\src\map\skill.c:156: 'skill_lv > 0' in function 'unknown'
--- end failed assertion --------

--- failed assertion -------
..\src\map\skill.c:153: 'skill_lv > 0' in function 'unknown'
--- end failed assertion --------

Edited by Zratinel, 22 May 2015 - 06:03 AM.


changed status to: Confirmed

changed status to: Fixed

Fixed @ dbaff8bdff2552c94d83e71249ae9e2117f62a72
:meow: