Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-15-2012, 10:48 PM
Trackye
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default Slowing question.

Where in the DB does it contain the information about whether a creature is immune to slow or not?

I looked through the NPCtypes table and did not see a column for it.

The reason i ask this is because i noticed in the bot coding there are checks for disease resist and such on a slow. Would it not be possible to input a check there for if the target is unslowable?

That would of course depend on the previous questions answer lol

If so and a check was added it would be possible to have slowers check to see if they CAN slow the mob and if not they would not cast slow.

( Ive come up on the issue of a shaman repeatedly attempting to slow a target for the entire fight. )
Reply With Quote
  #2  
Old 11-15-2012, 10:51 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

http://www.eqemulator.net/wiki/wikka...SpecialAttacks
Reply With Quote
  #3  
Old 11-15-2012, 11:34 PM
Trackye
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

Thank you.
Reply With Quote
  #4  
Old 11-17-2012, 01:16 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

Within AICastSpell is the following:

Code:
if(!(!tar->IsImmuneToSpell(botSpell.SpellId, this) && tar->CanBuffStack(botSpell.SpellId, botLevel, true) >= 0))
break;
This should prevent that from happening. What mob was it? We'd have to look at exactly what they're immune to, and why that line isn't working correctly, if it isn't.

Maybe the mob was just highly resistant. There is nothing in there to have them not try to slow if they keep getting resisted.
Reply With Quote
  #5  
Old 11-18-2012, 02:48 AM
Trackye
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

Hmm yeah i saw that line a little further down after looking into it.

I can say that Derekor the Vindicator(Sp) was just a mess with shaman Chain slowing him.

Maybe at some point a command could be used and have casting slow or not be a toggle somehow? like a stance or something perhaps. If their stance is balanced2 or something they heal and dot but not slow...
Reply With Quote
  #6  
Old 11-18-2012, 02:52 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by lerxst2112 View Post
that list is well outdated actually. its missing:

p Immune to Pacify
j leash to agro range
J leash to agro range + Full heal/mem wipe


and god knows what else was implemented in the last year....
Reply With Quote
  #7  
Old 11-18-2012, 05:13 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Quote:
Originally Posted by ChaosSlayerZ View Post
that list is well outdated actually. its missing:

p Immune to Pacify
j leash to agro range
J leash to agro range + Full heal/mem wipe


and god knows what else was implemented in the last year....
Yes, but he asked about unslowable, and it is on there.

It is a wiki, so you can add the new ones if you like.
Reply With Quote
  #8  
Old 11-18-2012, 02:39 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by lerxst2112 View Post
Yes, but he asked about unslowable, and it is on there.

It is a wiki, so you can add the new ones if you like.
I will.

Don't take this as a rant, but I am kind of upset that people who code in those features don't do that on the fly as they code them in.

Our coders are AMAZING (and I say that straight up and from the heart), but whatever new feature they code in, they slowly get buried in the change log file after few months/years. And then no one remembers anymore what was added or what purpose it had. Yes, its still in the change log but its hardly in any organize fashion or easy to be found.
And when new people come in to the project who don't read the code or the .h files - they go to the wiki - and good chunk of the features available is not even mentioned anywhere.

Once again I apologize if this comes of as a baseless rant, as I am wholeheartedly thankful to our coders who keep this project going all these years, but if you put in your code work but references to it cannot be found in any organized manner (like a Wiki), then no one can benefit from it, specially the new comers, or people who were away for a while, when these new feature were added in.

Perhaps I am out of line here, ranting on coders who already contribute ton of time and work to the project, but it just seems illogical to me, that a person who puts this gigantic effort to create something for the project, would not spend 2 extra minutes to leave a reference to his work it in a wiki so the rest of the community is aware of the coder's contribution and how to put it to use.

Once again I apologize for this out of place and out of thread rant...
Reply With Quote
  #9  
Old 11-18-2012, 05:31 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

Get used to it. Apparently it is a genetic trait of coders to despise documentation, at least the creating thereof. As writing software is 50% of my day job I have determined this to be a fact outside of just here
Reply With Quote
  #10  
Old 11-18-2012, 08:39 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Well, I didn't know that page was there until I specifically searched for it. The wiki is not a particularly well organized place, so I wouldn't know how to navigate to that page if I hadn't already found it with Google.

That said, all the information is available in the code itself. It really isn't that hard to open up Visual Studio and search.

Here's the table from the code:
Code:
	SPECATK_SUMMON,				// S
	SPECATK_ENRAGE,				// E
	SPECATK_RAMPAGE,			// R
	SPECATK_AREA_RAMPAGE,		// r
	SPECATK_FLURRY,				// F
	SPECATK_TRIPLE,				// T
	SPECATK_QUAD,				// Q
	SPECATK_INNATE_DW,			// L
	SPECATK_BANE,				// b
	SPECATK_MAGICAL,			// m
	SPECATK_RANGED_ATK,			// Y
	UNSLOWABLE,					// U
	UNMEZABLE,					// M
	UNCHARMABLE,				// C
	UNSTUNABLE,					// N
	UNSNAREABLE,				// I
	UNFEARABLE,					// D
	UNDISPELLABLE,				// K
	IMMUNE_MELEE,				// A
	IMMUNE_MAGIC,				// B
	IMMUNE_FLEEING,				// f
	IMMUNE_MELEE_EXCEPT_BANE,	// O
	IMMUNE_MELEE_NONMAGICAL,	// W
	IMMUNE_AGGRO,				// H - Won't aggro, ever.
	IMMUNE_AGGRO_ON,			// G - Immune to being aggroed
	IMMUNE_CASTING_FROM_RANGE,	// g
	IMMUNE_FEIGN_DEATH,			// d
	IMMUNE_TAUNT,				// i
	NPC_TUNNELVISION,			// t
	NPC_NO_BUFFHEAL_FRIENDS,	// n
	IMMUNE_PACIFY,				// p
	LEASH,						// J - Dispell, wipe agro && return to spawn
	TETHER,						// j - Return to spawn
	DESTRUCTIBLE_OBJECT,		// o - This is only for destructible objects
	NO_HARM_FROM_CLIENT,			// Z - This is to prevent attacking NPC's period for clients
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:37 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3