A Timely Visit (mobs <17203666> and <17203667> not found)

Post Reply
The_Kuti
Posts: 28
Joined: Sat Oct 06, 2012 6:19 am

A Timely Visit (mobs <17203666> and <17203667> not found)

Post by The_Kuti » Sat Jan 19, 2013 9:06 am

Hello there!

I've started to script some quests and pick my choice on A Timely Visit. Everything went fine (thanks to bluekirby0's guide on wiki) and i reached the point where i need to spawn the mobs: Giollimette B Feroun and Skeleton Esquire. After i trigger the ??? to spawn them in game i get these errors in game server log: "spawnmob <17203666> not found". So i asked bluekirby0 whats the meaning of this, and said i needed to edit mob_spawnpoints.sql and mob_groups.sql. Did as he said (edited pos_x/y/z, zoneid, spawntype, minlevel, maxlevel) but im still getting the same error. Please help me im clueless. :?:

PrBlahBlahtson
Developer
Posts: 539
Joined: Sun Jul 22, 2012 12:17 am

Re: A Timely Visit (mobs <17203666> and <17203667> not found

Post by PrBlahBlahtson » Sat Jan 19, 2013 3:50 pm

We chatted a bit on IRC, but I'll post the solution here so other people can learn from it as well. :)

The mobs are at pos 0,0,0. Mobs with 0 for any of the three coordinates just won't spawn, or be found. So the first thing you need to do is move them to the ???'s position, or near it. If you have to use a zero value, just cheat with 0.001 or something. It works. That's all stored in mob_spawn_points.

If you do only that though, Giollimitte B Feroun will be standing around, looking for a fight. In mob_spawn_points, you can see his group is 5756. In mob_groups, 5756 is set to spawn_type 0, which is pretty much just a normal mob. Worse, his respawn time is 0, so he'll repop instantly on death. If you set him to spawn type 128 (force pops), then everything should be alright.

Or at least, this was working:
function onTrigger(player,npc)
SpawnMob(17203666,300):updateEnmity(player);
SpawnMob(17203667,300):updateEnmity(player);
end;

Obviously you'll want to check that the clock is >= 1800 or <= 0600, quest status, etc. But that'll fix your spawning problem :)

The_Kuti
Posts: 28
Joined: Sat Oct 06, 2012 6:19 am

Re: A Timely Visit (Completed!)

Post by The_Kuti » Sun Jan 20, 2013 5:28 am

Thanks to Bluekirby0 and PrBlahBlahtson i've finally finished this quest. Tested and could complete in success. Only one thing is missing for sure: Giollemitte B Feroun wont use Invincible and MAYBE i left out some events (not main events just reminder or something) that needs confirmation. Hope i can see it on DS Test Server soon! ^^
Attachments
dspt.zip
(2.68 MiB) Downloaded 293 times

bluekirby0
Developer
Posts: 707
Joined: Sun Jul 22, 2012 12:11 am

Re: A Timely Visit (mobs <17203666> and <17203667> not found

Post by bluekirby0 » Sun Jan 20, 2013 8:46 am

You can get an example of using Invincible from Genbu's script if you would like to get that working as well.

The_Kuti
Posts: 28
Joined: Sat Oct 06, 2012 6:19 am

Re: A Timely Visit (Completed!)

Post by The_Kuti » Sun Jan 20, 2013 11:44 am

Once i've got more info how to add it i'll try it. At the moment i cant get it to work. Added a record in mob_skills.sql same as Genbu's Two_Hour changed family_id and now Game-Server log says: no Two_Hour.lua in scripts/globals/mobskills/. I'm getting confused. :?: :?: :?: :?:

The_Kuti
Posts: 28
Joined: Sat Oct 06, 2012 6:19 am

Re: A Timely Visit (Completed!)

Post by The_Kuti » Mon Jan 21, 2013 4:55 am

The_Kuti wrote:Once i've got more info how to add it i'll try it. At the moment i cant get it to work. Added a record in mob_skills.sql same as Genbu's Two_Hour changed family_id and now Game-Server log says: no Two_Hour.lua in scripts/globals/mobskills/. I'm getting confused. :?: :?: :?: :?:
Or can someone add that skill to him?

Post Reply