Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-08-2013, 09:51 AM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default Global class Item Adjustments?

I dont know if this is even possible, but I want to reduce the delay of knight ONLY useable weapons and berserker knight only useable weapons.

I know its rather limiting and possibly not even doable, but I dont want to reduce the delay of weapons that any other class can use...

For instance, I dont want a 1hs's delay reduced that a warrior and pally can both use, or a 2 hs that a zerker pally sk and war can use... Is this possible?

Code:
UPDATE items SET delay = delay * .5 WHERE class = paladin and class = shadowknight
Im pretty sure that would do exactly what I dont want to happen... Is there a way to do what im asking without having to change them one by one?
Reply With Quote
  #2  
Old 04-08-2013, 11:54 AM
Maze_EQ
Demi-God
 
Join Date: Mar 2012
Posts: 1,103
Default

pretty sure you'd break something.

http://www.eqemulator.net/wiki/wikka...akka=ClassList

Classes are not calculated by names, but by numeric values. Read the link and fix your query to what you need.

Hint: Paladin + SK = 22....


but this is a task, because you're going to have to isolate all other classes.
__________________
"No, thanks, man. I don't want you fucking up my life, too."

Skype:
Comerian1
Reply With Quote
  #3  
Old 04-08-2013, 01:48 PM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default

lol yea youre probably right... ill just do them 1 by 1 everytime I add something. Thanks Maze
Reply With Quote
  #4  
Old 04-08-2013, 07:38 PM
Maze_EQ
Demi-God
 
Join Date: Mar 2012
Posts: 1,103
Default

actually sk+pal=20.


try and do a select * from items where classes = 22


if you want zerker/pal/shd i guess use 32788
__________________
"No, thanks, man. I don't want you fucking up my life, too."

Skype:
Comerian1
Reply With Quote
  #5  
Old 04-09-2013, 12:10 AM
Klor_Warbringer
Fire Beetle
 
Join Date: Apr 2013
Posts: 16
Default

Something like this?
Code:
UPDATE `items` SET `delay` = `delay` * .5 WHERE `classes` = 20;
Reply With Quote
  #6  
Old 04-09-2013, 12:20 AM
Mariomario
Hill Giant
 
Join Date: Jul 2004
Posts: 143
Default

Maze is correct. The 'classes' attribute uses numeric values, not names.

You can even go as far as limiting to item type in case you wanted to reduce 1H items less than say 2H.

http://www.eqemulator.net/wiki/wikka...temIDReference

Code:
UPDATE items SET delay = delay * .80 WHERE (classes = 4 || classes = 16 || classes = 20) AND (itemtype = 0 || itemtype = 2);
This would reduce the delay of both 1H Slash and 1H Blunt weapons that are only useable by only Paladins, only Shadowknights and both Paladins and Shadowknights. You can modify this using the numeric values from both the wiki page Maze linked and the itemtypes page found above.

I hope this is helpful and you achieve what you're looking for.
__________________
Wrath - Lead Admin and Owner of Enlightened Dark: Ascension

Enlightened Dark: Ascension
Reply With Quote
  #7  
Old 04-09-2013, 01:11 AM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default

Wow thanks Wrath thats awesome!
Reply With Quote
  #8  
Old 04-09-2013, 01:28 AM
Mariomario
Hill Giant
 
Join Date: Jul 2004
Posts: 143
Default

You're welcome. Remember while testing always use SELECT * FROM before using UPDATE to ensure you are targeting the accurate items, spells, npcs etc etc you actually want modified. Believe me when I say it saves from unneeded headaches.
__________________
Wrath - Lead Admin and Owner of Enlightened Dark: Ascension

Enlightened Dark: Ascension
Reply With Quote
  #9  
Old 04-09-2013, 08:10 AM
Maze_EQ
Demi-God
 
Join Date: Mar 2012
Posts: 1,103
Default

Look at that, I knew it was going to be able to be done, the only problem is, you have to figure out which combinations go where, some knight items also include warriors, zerkers, possibly even rangers. It's just a matter of figuring it out, but if you're doing custom work, where the items are just strictly knights, this would work perfectly
__________________
"No, thanks, man. I don't want you fucking up my life, too."

Skype:
Comerian1
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 10:23 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3