Mini Inny spawn
This is my first attempt at perl let alone a quest but I worked out the bugs, I believe this is the way the spawn should work. Please let me know if there was a better way and/or if I made any mistakes.
This is the apprentice code. Code:
# nadox Code:
# nadox |
This is very nice, have you tested it yet?
|
Yeah might have been why it took me a week to get it running, I like to know that every part is working the way I expect. That and it took a bit to verify how the different parts of the spawn worked. But I do have it running on my server so far every thing I could think of works.
There are two parts I couldn't verify one ceremony end part, I don't know if there's a time out on live or not, I just put that in there so that it would end if you didn't kill all four apprentice before they repop and so others couldn't walk into a partal quest. The other is if Inny despawns. |
what is the "$grums == 2" stuff about? I dont see any way for that variable to be set...
|
Quote:
Code:
if (($random_result<=5) && ($razo==2)){ and $razo should go to three untill he dies; Code:
sub EVENT_DEATH{ And it IS my mistake, as I see where i did this many times ( I was copy-pasting to hurry and didn't make the changes). I have to go back and fix them all EDIT: I fixed all the PL's for Nadox and posted - remember one thing though, you should have a system for checking and or reseting the globals, in case you reboot your server and the some of these mobs are still up. If you haven't read this yet, here's what I do; http://blackwater/~angelox/#link2 |
Oops I didn't catch that, but to tell the truth I just made sure that it was there since it was in all the other Nadox .PL files.
Nice catch. I'll remember to look closer at all the code next time. :D |
All times are GMT -4. The time now is 11:19 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.