Loot System Revamp Discussion

EQ2Emulator Development forum.

Moderator: Team Members

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Loot System Revamp Discussion

Post by Jabantiz » Sat Apr 19, 2014 3:14 pm

Ok, I went ahead and committed it.

EDIT: After reading that link completely, and not stopping at the problem, I might change the code to use insert vs copy if it is indeed faster, going to do some more research on it.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Loot System Revamp Discussion

Post by Jabantiz » Sat Apr 19, 2014 4:30 pm

After doing some more research I replaced the copy()'s with vec.insert()'s as it is suppose to be more efficient, also allows for the removal of the 2 includes needed in order to use copy(). Code is on dev svn.

Thanks for the link John.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Loot System Revamp Discussion

Post by Jabantiz » Fri Aug 30, 2019 10:56 pm

Changes have been made to racial and level global loot to take an optional level range now.

For racial if value2 = min level and value3 = max level, if both are set to 0 there is no level requirement.

For level value1 = min level and value2 = max level, can still set it to a single level by only setting value1 like before.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest