EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   few questions (https://www.eqemulator.org/forums/showthread.php?t=28739)

typenamehere 07-01-2009 03:00 PM

few questions
 
i was looking in the wiki and posts and didnt really see some of these posts covered, if they were im sorry. First i have a mob spawning adds, but if the group wipes on him the adds dont despawn, also I cannot get mobs to cast single target spells either, i tried the script from buffbots, quest::selfcast, but it was not working to make it cast determental spells. another thing im having trouble doing is getting custom spells to work, i can make them in a spell editor, then save them to a spell file, but when i put spell file into emu directory, i am unable to mem spells ingame.

Dibalamin 07-01-2009 03:17 PM

For depopping adds use this script on each of the mobs you want to depop:
Code:


sub EVENT_COMBAT  {
if ($combat_state == 0){
quest::depop();
}
}

For NPC's to cast spells, use $npc->CastSpell(SpellID,$client);

But, you have to use an event such as a timer or something to execute the casting.

Using the Ailah or whatever spell editor from the GeorgeS site would be your best bet. Keep in mind, you have to load your spells_us.txt into the Spells_new table in your DB if you are running the most current revision of the source. In general, you are best served to COPY a spell, then edit it to whatever you need it to be. Then load it into the spells new and then copy the file onto your server and give to the clients.

typenamehere 07-01-2009 03:27 PM

thank you very much! im jus havn a little dificulty loading it into that part of db, not sure exactly what to click to get it all to go in

Dibalamin 07-01-2009 06:31 PM

There are some walkthroughs on how to load the spells into Spells_new, just search the forums.


All times are GMT -4. The time now is 09:35 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.