864 Commits

Author SHA1 Message Date
Akkadius
53b9f8d0fd base_packet.cpp & .h header cleanup 2014-12-15 19:30:18 -06:00
Trevius
200027bf89 (RoF+) Implemented the 6th Augment Slot for Items.
Player Corpses now saved attuned settings for Items.
Renamed IsInstNoDrop() and SetInstNoDrop() to IsAttuned() and SetAttuned() respectively.
2014-12-15 17:55:23 -06:00
Michael Cook (mackal)
62181ff08c Add Random::Shuffle
This is just a wrapper to std::shuffle since it requires a random
engine and ours lives in a class

Must pass random access iterators (array, vector, deque, etc)

ex:

std::vector<int> v;
/* init ... */
random.Shuffle(v.begin(), v.end());
2014-12-15 02:53:58 -05:00
Michael Cook (mackal)
026d5e71fa Adjust common/random.h based on N3551 2014-12-14 19:38:23 -05:00
Trevius
9056008342 (RoF+) Implemented Armor Ornamentation using Hero's Forge Armor Models. To use, create an ornamentation augment and set the herosforgemodel field in the items table.
(RoF+) Added command #heromodel (#hm for short) - Usage: #heromodel [hero forge model] [ [slot] ] (example: #heromodel 63)
2014-12-13 13:53:55 -06:00
Michael Cook (mackal)
d9a1bcb3fd Clean up SoF+ swarm pet F8 hack 2014-12-10 02:15:15 -05:00
Michael Cook (mackal)
820f99067d Make use of the targetable_with_hotkey flag for SoF+ 2014-12-10 01:19:44 -05:00
Michael Cook (mackal)
2d1999c961 Update version too 2014-12-10 00:59:54 -05:00
Michael Cook (mackal)
4c9befee22 Some clean ups due thanks to clang's warnings 2014-12-09 23:41:19 -05:00
Trevius
37951d09c7 (RoF+) Implemented Hero's Forge Armor Models for Items. To use, set herosforgemodel field in the item table to a model number such as 63 (for example). 2014-12-09 21:18:56 -06:00
Michael Cook (mackal)
7e7ec8e3d2 Be more explicit about what we are checking
(This removes a crap ton of clang warnings)
2014-12-08 20:58:49 -05:00
KayenEQ
70f570dbd9 Implemented support for allowing most focus effects to now be usable
by NPCs (ie Heal/Damage focus, cast time, spell range ect) from
both spell buffs and items.
Rule for enabling spell focus is TRUE by default
Rule for enabling item focus is FALSE by default.

Consilidated a number of redundant client / mob functions
to use the same pathway for calculating effect values.
2014-12-08 01:22:01 -05:00
Akkadius
afd3b9acdc Header and code cleanup of debug.cpp 2014-12-07 03:02:57 -06:00
Michael Cook (mackal)
3e73df2c72 Clean up common/misc_functions.h 2014-12-06 21:56:14 -05:00
Trevius
5713dc2de1 Guild Names now display properly in RoF2. 2014-12-06 18:18:49 -06:00
Trevius
206bbe9e62 Merge branch 'master' of https://github.com/EQEmu/Server 2014-12-06 14:39:32 -06:00
Trevius
97a34b5793 The RoF2 client is now enabled by default. It is almost caught up to RoF Client compatibility. 2014-12-06 14:38:34 -06:00
Michael Cook (mackal)
51b997aa27 Implement OP_ClearAA and OP_ClearLeadershipAbilities for SoF+
This is nice since #resetaa will no longer require a kick
2014-12-05 22:29:41 -05:00
Uleat
60563aead6 Added MapKrono entry to RoF2::InventoryMaps enumeration 2014-12-05 19:33:25 -05:00
Trevius
f1260a598d Merge branch 'master' of https://github.com/EQEmu/Server 2014-12-04 23:07:23 -06:00
Trevius
36c945a77c Updated a large number of RoF2 opcodes. 2014-12-04 23:06:43 -06:00
Michael Cook (mackal)
0a8f3554e9 Merge branch 'master' into random 2014-12-04 13:07:32 -05:00
Trevius
af42af7869 Initial addition of the RoF2 client from May 10th 2013 (currently available on Steam as the F2P client).
RoF2 is disabled by default, but you can enable by editing /common/patches/patches.cpp (see comments)
2014-12-04 02:13:01 -06:00
Michael Cook (mackal)
dc0eb0f6b5 Merge branch 'master' into random
Conflicts:
	zone/command.cpp
	zone/merc.cpp
2014-12-02 14:05:55 -05:00
Trevius
24ea7a0d45 Mercenaries now spawn as the same Gender and Size of the Merchant they are purchased from.
Mercenaries now spawn with randomized facial features when purchased.
Setting a lastname for NPCs will now override any hard coded lastname (such as GM Trainers).
2014-12-01 19:54:01 -06:00
Michael Cook (mackal)
6f867ebca3 Add license info 2014-12-01 19:50:05 -05:00
Michael Cook (mackal)
395be050a3 Switch random function to std::mt19937
Added class EQEmu::Random
Functions:
EQEmu::Random::Int(int low, int high)
EQEmu::Random::Real(double low, double high)
EQEmu::Random::Roll(int required)
EQEmu::Random::Roll(double required)
EQEmu::Random::Reseed()

For zone, you will access the random object through the zone object
ex.
	zone->random.Int(0, 100);

Int returns a random int between low and high
Real returns a random double between low and high
Roll(int) returns true if Int(0, 99) < required is true
Roll(double) returns true if Real(0.0, 1.0) <= required is true
2014-12-01 18:13:12 -05:00
Michael Cook (mackal)
a59cdc2c89 Merge pull request #304 from KayenEQ/Development
Implemented archery projectiles to do damage on impact.
2014-12-01 16:30:26 -05:00
Akkadius
c0b546921e Merge pull request #297 from addtheice/warning_suppress
Warning suppress
2014-11-30 15:54:23 -06:00
KayenEQ
e8ae28b439 Merge git://github.com/EQEmu/Server into Development 2014-11-29 20:56:13 -05:00
akkadius
5d5c3fbfd1 database.h forward declaration
database.cpp #include house-keeping
2014-11-29 04:30:03 -06:00
KayenEQ
ca3b5a3221 Merge git://github.com/EQEmu/Server into Development
Conflicts:
	changelog.txt
2014-11-29 03:22:11 -05:00
Trevius
84fa042c75 Fixed a zone crash related to numhits for spells.
Fixed a query related to group leaders logging in.
Fixed a world crash related to attempting to join an adventure with Mercenaries.
2014-11-28 20:23:42 -06:00
Michael Cook (mackal)
b7c19e4034 Fix model_name in RoF Arrow_Struct 2014-11-28 02:19:45 -05:00
KayenEQ
94a0cb3522 Merge git://github.com/EQEmu/Server into Development 2014-11-28 01:07:55 -05:00
akkadius
baa7a1feb9 Disabling file check for db_updater.pl temporarily to force update the update script for users. Will leave it this way for a few weeks and the nre-enable it because the latest one supports automatic update checking 2014-11-27 23:24:32 -06:00
KayenEQ
191aa575f8 Projectiles (ie Arrows) fired from an archery attacks will do damage upon
actually hitting the target, instead of instantly when fired. Consistent
with live.

Optional SQL added to disable this.

Throwing will be implemented in a future update.
2014-11-27 22:12:13 -05:00
Akkadius
f0881d4aa9 Self patching db_update script for when new versions come out 2014-11-27 00:03:49 -06:00
Uleat
cfa05587fc Added versioning for required ornament inventory sql 2014-11-26 21:05:43 -05:00
Michael Cook (mackal)
32a034bd58 Flipped logic wrong :P 2014-11-26 19:12:04 -05:00
Michael Cook (mackal)
2814130aad Fix for compilers w/o C++11 uniform initialization 2014-11-26 19:04:20 -05:00
Michael Cook (mackal)
c5c778f575 Minor bug fixes 2014-11-26 18:29:07 -05:00
Natedog2012
daec5bde66 Item Transformation now works! 2014-11-26 17:23:04 -05:00
Akkadius
5c5cde7fe5 Database::GetGroupLeaderForLogin fix 2014-11-26 00:31:50 -06:00
Trevius
bee04c1b53 Merge branch 'master' of https://github.com/EQEmu/Server 2014-11-24 02:36:13 -06:00
Trevius
2fbe6b304c Added Rule NPC:EnableMeritBasedFaction (disabled by default) - Allows faction gain to work similar to experience. 2014-11-24 02:32:33 -06:00
Akkadius
02e82f1cfc Fix for bot build 2014-11-24 02:06:51 -06:00
Akkadius
50a69a8e20 Finish of automatic corpse convert routine 2014-11-24 01:53:21 -06:00
Akkadius
a5207b58e1 Added namespace Convert:: to contain all of the player profile and corpse related structs so that when any of the structs change else where in the code, it does not break the conversion scripts. These are self contained structs just for the conversion scripts. 2014-11-24 01:12:12 -06:00
Akkadius
3c2b8d13b9 Restructure and refactoring of database convert/upgrade check routine, breaking out to individual functions 2014-11-23 23:46:06 -06:00