PDA

View Full Version : 2087_required_bots_hp_and_mana_and_spell_updates.s ql


provocating
12-14-2011, 11:37 PM
Bad_captain, the remarked sections for > 70, can you explain why they are remarked ? If our servers are allowing over level 70 do we need to go ahead and take the remarks out and run again ?

Also the immediate first thing I noticed after going from r2086 to r2091 is the Bots had 25 percent health during spawn and very low mana and had to build back up. Would this behavior be expected ?

provocating
12-15-2011, 12:11 AM
On my second question, I read the changes and what I experienced seems right in line with you posted in the source notes.

bad_captain
12-15-2011, 01:54 PM
To answer your second question first, yes this is expected. Basically, when I added the fields, I had them default to 0, which, when you spawn the bot for the first time, it assumes your bot died and gives them rez effects. This should only happen the first time. Hopefully, this way, you can't delete, create, and spawn new bots for buffs. It kind of builds in a delete/create timer, as it takes a little while for the bot to regain its mana.

For the first question, I commented this out because 1) the default maxlevel is still 65 or 70, and 2) there seems to be an issue with spells after level 70 where either spells are missing, or they aren't associated with a spell scroll or some other reason that causes the scripts I created to fail. Some rank II or III spells aren't there, but the bigger issue is that for many (or most) of the spells have issues with the second level after 70 or 80. It repeats the lower level spells instead of the higher level ones. It's kind of confusing, but maybe I can give an actual example tonight when I get home. Just double check that you actually have the spell and that the right version is linked to a scroll or look up the spell id and put that in instead. If you run the higher level spells just check for spell ids of 0 in the npc spell entries table if the script actually runs.

provocating
12-15-2011, 02:37 PM
I think I am keeping my server at max level 70 anyway.

bad_captain
12-15-2011, 03:18 PM
I actually have most spells through level 85 done, I just haven't had time to go through and figure out all of the missing spells or other issues.

I figure in the next couple months I will post them all. I wanted to wait for a big code update for spells, so I'll just wait and see. I'd rather not have to go back and make changes later if I could do it all at once.

provocating
12-15-2011, 10:40 PM
I am really enjoying the changes Bad_Captain. I did notice though that the res is definitely still broken.

bad_captain
12-16-2011, 10:21 AM
Yeah, not sure how that broke. I have a fix working on my test server but would prefer to figure out what happened to it. It's something about finding the client's corpse where it doesn't return one. I was busy with my trial account getting packet collects for mercs, but I should be able to get back to it now.

provocating
12-16-2011, 10:30 AM
MERCS > RES

Do the packet collects first :)

I am on vacation after Christmas, if it is not fixed by then I will look at it.

Can you send me a PM about the packet collects ? I wanted to ask you something about your process.