r/SinglePlayerProject • • Sep 08 '26

Mobs double and triple spawning

I've recently installed SPP classics on two of my computers at home and am having an issue with mobs spawning 2 and three times as many as they are supposed to.

outside of the wendigo den in Kharanos there are almost 15 wendigos now, i can delete the mobs with the ingame GM command .npc del, which also deletes the table in Heidi SQL, but this issue is popping up all over the place and i cant seem to find any settings in the configuration file that would cause this.

Anyone have a similar issue or any suggestions?

3 Upvotes

10 comments sorted by

View all comments

2

u/Ashamed-Cat-1919 Sep 10 '26

Hello,

I am not sure how you mean, installed SPP classics on two of my computers. Are running two SPP servers on two hosts, or you are running one SPP server with two clients?

I started my pre-compiled SPP classic server and had GPT to scan it for Wendigo. The following will identify if there are duplicate Wendigo spawns within three yards around Kharanos.

Alternatively, you can run .npc info on the Wendigo and see if they have different spawn ID. Different ID's indicate that the game sees them as unique NPC. Same ID and the DB see's them as unique and a script is set wrong some where.

SELECT
    a.guid AS guid_1,
    b.guid AS guid_2,
    ROUND(a.position_x, 2) AS x,
    ROUND(a.position_y, 2) AS y,
    ROUND(
        SQRT(
            POW(a.position_x-b.position_x, 2) +
            POW(a.position_y-b.position_y, 2) +
            POW(a.position_z-b.position_z, 2)
        ), 2
    ) AS yards_apart
FROM creature a
JOIN creature b
  ON b.guid > a.guid
 AND b.id = a.id
 AND b.map = a.map
WHERE a.id = 1135
  AND a.map = 0
  AND a.position_x BETWEEN -5800 AND -5200
  AND a.position_y BETWEEN -600 AND 0
HAVING yards_apart <= 3
ORDER BY yards_apart;

The results from my SPP Classic server. If you see similar or no results, expand the distance to five. Otherwise, you have a script problem and not a database problem.

GUID 1GUID 2LocationDistance
32583577-5602.79, -276.331.71 yd
32593578-5580.62, -301.222.58 yd
32413243-5387.56, -261.732.71 yd
35663572-5539.30, -225.932.79 yd