DarkstarProject / darkstar

DEPRECATED - FFXI Server Emulator - See Project Topaz
https://github.com/project-topaz/topaz
GNU General Public License v3.0
455 stars 549 forks source link

CalculateStats Mob No MP #2572

Open armouredking opened 8 years ago

armouredking commented 8 years ago

This is from DSP server logs; I started the server last night at this point:

[Status] Memory manager initialised: log/DSP.leaks
[Info] DarkStar - Git Revision Hash: dd6c854c182a8bedfde88c96ec5f1d057897aae7.
[Status] do_init: begin server initialization...
[06/Jan] [20:17:23][Info] Console Silent Setting: 0           - [OK]
[06/Jan] [20:17:23][Status] do_init: map_config is reading        - [OK]
[06/Jan] [20:17:23][Status] luautils::init:lua initializing...        - [OK]
[06/Jan] [20:17:23][Status] do_init: sqlhandle is allocating          - [OK]
[06/Jan] [20:17:23][Status] do_init: zlib is reading              - [OK]
[06/Jan] [20:17:23][Status] do_init: loading items            - [OK]
[06/Jan] [20:17:24][Status] do_init: loading spells           - [OK]
[06/Jan] [20:17:25][Debug] UpdateGuildPointsPattern is finished. New pattern: 5
[06/Jan] [20:17:25][Status] do_init: loading zones            - [OK]
[06/Jan] [20:20:22][Status] do_init: server is binding with port 54230    - [OK]
[06/Jan] [20:20:24][Debug] InitializeWeather Finished
[06/Jan] [20:20:24][Status] The map-server is ready to work...
 =======================================================================
[06/Jan] [20:20:24][Debug] [Lua] Garbage Collected. Current State Top: 0

I played for a while, bla bla, I left the server running when I went to bed. I started getting these:

[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969333) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969334) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969335) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969340) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969341) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969344) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969345) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969362) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969363) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969490) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969491) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969494) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969500) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969501) has no mp for casting spells!
[06/Jan] [21:16:49][Error] mobutils::CalculateStats Mob (17969504) has no mp for casting spells!
[06/Jan] [21:16:50][Error] mobutils::CalculateStats Mob (17969507) has no mp for casting spells!
[06/Jan] [21:16:50][Error] mobutils::CalculateStats Mob (17969510) has no mp for casting spells!
[06/Jan] [21:16:51][Error] mobutils::CalculateStats Mob (17969333) has no mp for casting spells!
[06/Jan] [21:16:51][Error] mobutils::CalculateStats Mob (17969334) has no mp for casting spells!
[06/Jan] [21:16:51][Error] mobutils::CalculateStats Mob (17969335) has no mp for casting spells!
[06/Jan] [21:16:51][Error] mobutils::CalculateStats Mob (17969340) has no mp for casting spells!
[06/Jan] [21:16:51][Error] mobutils::CalculateStats Mob (17969341) has no mp for casting spells!
[06/Jan] [21:16:51][Error] mobutils::CalculateStats Mob (17969344) has no mp for casting spells!
[06/Jan] [21:16:51][Error] mobutils::CalculateStats Mob (17969345) has no mp for casting spells!
[06/Jan] [21:16:51][Error] mobutils::CalculateStats Mob (17969362) has no mp for casting spells!
[06/Jan] [21:16:51][Error] mobutils::CalculateStats Mob (17969363) has no mp for casting spells!
[06/Jan] [21:16:51][Error] mobutils::CalculateStats Mob (17969490) has no mp for casting spells!
[06/Jan] [21:16:51][Error] mobutils::CalculateStats Mob (17969491) has no mp for casting spells!
[06/Jan] [21:16:52][Error] mobutils::CalculateStats Mob (17969494) has no mp for casting spells!
[06/Jan] [21:16:52][Error] mobutils::CalculateStats Mob (17969500) has no mp for casting spells!
[06/Jan] [21:16:52][Error] mobutils::CalculateStats Mob (17969501) has no mp for casting spells!
[06/Jan] [21:16:52][Error] mobutils::CalculateStats Mob (17969504) has no mp for casting spells!
[06/Jan] [21:16:52][Error] mobutils::CalculateStats Mob (17969507) has no mp for casting spells!
[06/Jan] [21:16:52][Error] mobutils::CalculateStats Mob (17969510) has no mp for casting spells!

After this block of messages occurs, it would reoccur every hour-ish afterwards. The next sets are at 2214, 2312, 0009, 0107, 0204, 0302, 0400, 0457, 0555, 0652, 0750. I shut down the server when I woke up this morning to rebuild it to fix #2571 . What's curious to me is that, these errors are happening very regularly and always the same numbers / ids. Noone else is playing on the server.

bendangelo commented 8 years ago

Mobs cast spells as they roam around. It looks like they are not restoring mp like they should be.

teschnei commented 8 years ago

bunch of WAR/WAR mobs in reisenjima with spell lists, gonna leave this for gedads