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 11-24-2020, 12:58 PM
Bytebait
Sarnak
 
Join Date: Oct 2014
Location: Colorado
Posts: 74
Default Random Stat on Item

Is there a way to add a random stats on an item on a corpse before it's looted? For example:

Player kills a "the ghoul lord" , and a Skull-shaped Barbute has random +10 to +100 Health instead of a flat Health +30.
Reply With Quote
  #2  
Old 11-25-2020, 06:13 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by Bytebait View Post
Is there a way to add a random stats on an item on a corpse before it's looted? For example:

Player kills a "the ghoul lord" , and a Skull-shaped Barbute has random +10 to +100 Health instead of a flat Health +30.
As far as I know - NO. This because unlike say EQ2, Diablo or WoW, item in EQ is "a projection" of a single base item, rather than individual item of its own. In other words it is always an exact copy of what is entered in DB and cannot have its own individual properties - like durability.

Your best bet is to go with pre-inserted augment that cannot be removed which will be selected by script from a list of available variations...
Reply With Quote
  #3  
Old 11-25-2020, 08:29 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

In earlier expansions, this might have been possible as each instance of an item had its own base data definition (this is how scaled items used to work on EQEmu.)

Newer clients, however, use a singular reference for any base item data and all instances point back to that reference.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #4  
Old 11-26-2020, 12:35 AM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

Theoretically you could hack up a system that could do this ... but you need to reserve a bunch of item IDs for it and shit. Stock EQEmu will never support it given how hacky it is.
Reply With Quote
  #5  
Old 11-26-2020, 03:23 AM
Bytebait
Sarnak
 
Join Date: Oct 2014
Location: Colorado
Posts: 74
Default

Quote:
Originally Posted by ChaosSlayerZ View Post
As far as I know - NO. This because unlike say EQ2, Diablo or WoW, item in EQ is "a projection" of a single base item, rather than individual item of its own. In other words it is always an exact copy of what is entered in DB and cannot have its own individual properties - like durability.

Your best bet is to go with pre-inserted augment that cannot be removed which will be selected by script from a list of available variations...
That's a clever idea!
Reply With Quote
  #6  
Old 11-26-2020, 03:29 AM
Bytebait
Sarnak
 
Join Date: Oct 2014
Location: Colorado
Posts: 74
Default

Quote:
Originally Posted by demonstar55 View Post
Theoretically you could hack up a system that could do this ... but you need to reserve a bunch of item IDs for it and shit. Stock EQEmu will never support it given how hacky it is.
Yeah. I wasn't sure if I could randomly create an item in the DB on the NPC's death with the ID of a certain range. then maybe once a night run an outside script that removes all items in that range that aren't equipped, banked, bagged from the database.
Reply With Quote
  #7  
Old 12-01-2020, 10:08 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

I'd go with the hidden augment approach. You can make the aug slot invisible, so to a user, it will appear like the item just has random stats added.
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:40 AM.


 

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