Alex
ae959be5ac
Added getcharnamebyid(char_id) to Perl/Lua.
2020-04-05 21:18:05 -04:00
Alex
a4bf484c74
Add CheckInstanceByCharID(instance_id, char_id) to Perl/Lua.
2020-03-31 23:19:32 -04:00
Alex
4712b56078
Add gettaskname(task_id) to Perl/Lua.
2020-03-31 23:17:25 -04:00
Alex
8974059577
Remove unused variables in resettaskactivity.
2020-03-31 20:01:47 -04:00
Alex
ceb8b31bc0
Add getspellname(spell_id) to Perl/Lua.
2020-03-31 19:48:44 -04:00
Alex
51b31b5e53
Add getitemname(item_id) to Perl/Lua.
2020-03-31 19:31:04 -04:00
Alex
0ab7291625
Add countitem(item_id) to Perl/Lua.
2020-03-19 22:33:07 -04:00
Alex
1577f2823b
Merge pull request #988 from KinglyKrab/master
...
Add GetRaidIDByCharID to Perl/Lua.
2020-03-08 22:42:17 -04:00
Alex
cede38f562
Add GetRaidIDByCharID to Perl/Lua.
2020-03-08 21:11:56 -04:00
Alex
201757567c
Merge pull request #987 from KinglyKrab/master
...
Add GetGroupIDByCharID and GetGuildIDByCharID to Perl/Lua.
2020-03-08 20:50:07 -04:00
Alex
2a9248697e
Add GetGroupIDByCharID and GetGuildIDByCharID to Perl/Lua.
2020-03-08 20:49:01 -04:00
Alex
581d5b1289
Deleted characters will no longer show in the guild window.
2020-03-07 18:58:12 -05:00
Alex
fb396e9f60
Merge pull request #983 from noudess/master
...
Update version for always_aggros_foes db change.
2020-03-05 13:06:10 -05:00
Alex
3f7ce5df72
Merge pull request #982 from noudess/master
...
Add flag which can enable a mob to always aggro a foe regardless of int or level
2020-03-05 12:31:59 -05:00
Alex
57e7b4a2b8
Merge pull request #981 from xackery/dev-container
...
Improved vscode devcontainer setup
2020-03-05 09:40:14 -05:00
Alex
952fd43301
Merge pull request #970 from xackery/master
...
Added EnableFoodRequirement Rule
2020-02-08 22:07:41 -05:00
Alex
46ff09f438
Merge pull request #962 from noudess/patch-8
...
Implement DefaultGuild Rule
2020-02-05 13:05:07 -05:00
Alex
1baeb01e65
Merge pull request #955 from KinglyKrab/master
...
New Corpse Methods.
2020-01-20 21:15:41 -05:00
Kinglykrab
8b37ef5e67
Formatting
2020-01-20 21:14:28 -05:00
Kinglykrab
caceae1028
Implement Corpse counting methods for global/zone-specific counting.
...
Global:
- Perl: quest::getplayercorpsecount(uint32 char_id);
- Lua: eq.get_player_corpse_count(uint32 char_id);
Zone-specific:
- Perl: quest::getplayercorpsecountbyzoneid(uint32 char_id, uint32 zone_id);
- Lua: eq.get_player_corpse_count_by_zone_id(uint32 char_id, uint32 zone_id);
2020-01-20 20:23:11 -05:00
Kinglykrab
8e6dd638ff
Implement SE_SummonCorpseZone (SPA 388).
...
- This SPA summons all of a targeted group or raid group member's corpses from anywhere in the world.
- Example Spell 16247 (Summon Remains)
2020-01-20 20:20:06 -05:00
Kinglykrab
8ad11d0f85
Fix #reloadworld message.
2020-01-03 22:31:13 -05:00
Kinglykrab
40c835c576
Merge branch 'master' of https://github.com/EQEmu/Server
2019-10-31 23:39:07 -04:00
Kinglykrab
15609ab1e8
Added optional 'ignore_mods' parameter to AddLevelBasedExp() in Perl and Lua.
2019-10-31 23:38:09 -04:00
Kinglykrab
0b3c489028
Exported MerchantCloseShop() and MerchantOpenShop() to Perl.
2019-09-25 20:07:32 -04:00
Kinglykrab
54053f7e24
Fix maximum status value.
...
- Maximum Status of 250 was causing status levels 251 to 254 to be excluded from the queue.
2019-09-19 22:04:54 -04:00
Alex
265458a6da
Merge pull request #901 from dencelle/patch-1
...
fix for telnet's lack of language skill
2019-09-13 20:58:31 -04:00
Kinglykrab
499c0fdca5
Fixes multi-link Perl croaks, allowing the quest API reader to function properly.
2019-09-10 21:48:15 -04:00
Kinglykrab
c2794b244d
Convert item bane damage to int32.
...
- int8 was not the proper type for this.
2019-08-20 20:52:47 -04:00
Kinglykrab
08d197fe15
Export Getter/Setter alternate currency methods to Perl and Lua.
...
- GetAlternateCurrencyValue(currency_id) - Returns the amount of the alternate currency you have.
- SetAlternateCurrencyValue(currency_id, amount) - Allows you to directly set the amount of an alternate currency.
2019-08-20 18:12:27 -04:00
Kinglykrab
51c51b0d72
Export Mob::GetItemStat(item_id, identifier) to Lua.
2019-06-16 19:56:07 -04:00
Kinglykrab
9356b5dc7f
New Perl/Lua buff functionality.
...
- Client::FindMemmedSpellBySlot(slot)
This allows you to find memmed spells by a specific slot.
Example: https://i.imgur.com/06OFT3c.png
Perl Example: https://pastebin.com/BCr6KqSS
- Client::MemmedCount()
This will find the number of memmed spells the client has.
Example: https://i.imgur.com/cY26DEl.png
Perl Example: https://pastebin.com/T3ahSUgi
2019-06-16 12:53:23 -04:00
Kinglykrab
7d1362732d
New Perl/Lua buff functionality.
...
- Mob::FindBuffBySlot(slot)
This allows you to find buffs by a specific slot.
Example: https://i.imgur.com/VG68cxs.png
Perl Example: https://pastebin.com/8HvMAC4h
- Mob::BuffCount()
This will find the active number of buffs an NPC/client has.
Example: https://i.imgur.com/jrLRBwV.png
Perl Example: https://pastebin.com/Wmg16wwp
2019-06-13 18:20:33 -04:00
Kinglykrab
32b161fd57
Adds dynamic rule capabilities to quests in LUA/Perl.
...
- quest::set_rule(string rule_name, string rule_value)
Example: quest::set_rule("Zone:UseZoneController", "false") - Sets the rule "Zone:UseZoneController" to "false" for the current zone.
- quest::get_rule(string rule_name)
Example: quest::get_rule("Zone:UseZoneController") - Returns true/false depending upon if it's enabled/disabled.
- Example NPC script here: https://pastebin.com/akKKN2NS
2019-01-21 19:10:48 -05:00
Kinglykrab
d8c88aac96
Added multi-version capabilities to NPCs.
...
Setting a spawn2 row's 'version' column to -1 will make that spawn appear in all versions of the zone.
This is similar to how doors/objects/groundspawns use version -1.
2019-01-10 19:55:59 -05:00
Kinglykrab
93acbf5241
Reimplemented pre-nerf Ranger stationary damage bonus.
...
This will allow Developers to disable/enable the stationary requirement.
2019-01-10 19:09:27 -05:00
Kinglykrab
3a757a7a85
Resolved a possible scaling issue with the way CharMaxLevel works with quest globals and data buckets.
2018-12-15 01:37:13 -05:00
Kinglykrab
838ab5b77e
Missed embparser_api.cpp and lua_general.cpp. Sorry.
2018-12-13 20:25:05 -05:00
Kinglykrab
8ae9c99f3d
Added new data bucket and quest functionality.
...
Added multiple new instance related quest functions.
1. quest::GetInstanceIDByCharID(const char *zone, int16 version, uint32 char_id)
- Allows you to pull the instance ID of a client by character ID.
2. quest::AssignToInstanceByCharID(uint16 instance_id, uint32 char_id)
- Allows you to assign an instance to a client by character ID.
3. quest::RemoveFromInstanceByCharID(uint16 instance_id, uint32 char_id)
- Allows you to remove a client from an instance by character ID.
Added spell buckets, similar to spell globals.
- Uses a new spell_buckets table and the Spells:EnableSpellBuckets rule.
Added max level by data bucket.
- Uses data bucket char_id-CharMaxLevel and Character:PerCharacterBucketMaxLevel rule.
2018-12-13 19:42:31 -05:00
Kinglykrab
5b5c3a08e6
Fix TryMoveAlong() in Perl.
...
- Didn't have 4th option accounted for (my bad).
2018-03-25 14:33:38 -04:00
Kinglykrab
a5a660b828
Fix quest::set_proximity().
2018-03-24 21:06:56 -04:00
Kinglykrab
d08b7dafa4
Export TryMoveAlong() to Perl.
2018-03-24 18:52:20 -04:00
Alex
6934552dd9
Merge pull request #713 from eqcodex/master
...
Added sanity check for #hotfix
2018-02-21 12:13:51 -05:00
Alex
de4782368d
Merge pull request #709 from noudess/master
...
Scaled AC and ATK if npc is scaling.
2018-02-12 19:34:30 -05:00
Kinglykrab
ceb2b287bb
Fixed merchantlist probability.
...
NPCs were setting a singular chance value and each item was checking based on this value, making the probability field not a random chance per item.
This removes the probability field from NPCs, SetMerchantProbability() and GetMerchantProbability() and makes the probability field truly random chance.
Special thanks to ChaosSlayerZ for noticing the issue here: http://www.eqemulator.org/forums/showthread.php?t=41731
2018-01-27 19:08:15 -05:00
Kinglykrab
8e9fa38197
Added #reloadmerchants for zone-based merchant refreshing.
2018-01-27 18:19:48 -05:00
Kinglykrab
d64f2e40c5
Implement EVENT_USE_SKILL in Perl/Lua.
...
- Exports skill_id and skill_level in Perl/Lua whenever a skill is used (bash, kick, taunt, etc.)
2017-06-10 22:20:45 -04:00
Kinglykrab
cb1d0a0bef
Fixed #npcspawn update.
2016-11-10 15:47:18 -05:00
Kinglykrab
6abed18eb9
Added augment support for NPC AddItem() and quest::addloot in Perl/Lua. This will allow you to add items to NPCs with scripts that already have augments in them.
2016-10-20 21:12:47 -04:00
Kinglykrab
8aa942cd27
Added quest global support for zone_controller.
2016-09-14 16:31:52 -04:00
Kinglykrab
f6d721dd72
#summon will now work when you are in an instance.
2016-09-11 19:25:41 -04:00
Kinglykrab
4816c1fc9a
Added support for server-wide marquee messages.
2016-09-09 23:59:23 -04:00
Kinglykrab
64998a398d
Added GetAAPercent() to Perl and Lua.
2016-09-08 21:59:15 -04:00
Kinglykrab
b7b233d46f
World:EnableIPExemptions should be false by default. (Woops.)
2016-08-27 21:44:04 -04:00
Kinglykrab
ed9b6db369
Added optional IP-based account exemptions.
2016-08-27 17:49:04 -04:00
Kinglykrab
28c5b32624
Modified quantity in Merchant_Sell_Struct to be uint32 in accordance with Merchant_Purchase_Struct. This will allow you to buy stacks of items beyond 255. (Tested with a stack of 1,000 Arrows.)
2016-08-26 18:46:22 -04:00
Kinglykrab
50de63117d
Added optional avoidance cap rules. Check changelog.txt.
2016-08-13 07:19:58 -04:00
Kinglykrab
f8ce556acb
Modified #flag functionality for target-based account status refresh.
2016-01-13 08:08:23 -05:00
Kinglykrab
34e1dc9829
Added UpdateZoneHeader(type, value) to Perl and Lua.
2015-12-29 02:28:31 -05:00
Kinglykrab
ff876bd558
Added GetInstanceTimerByID(instance_id) to Perl and Lua.
2015-12-29 00:56:32 -05:00
Kinglykrab
ce71b6d9f0
Added GetInstanceTimer() to Perl and Lua.
2015-12-28 22:13:54 -05:00
Kinglykrab
bda39c4f77
Revert accidental change to SetPseudoRoot in lua_mob.cpp.
2015-12-28 20:07:59 -05:00
Kinglykrab
9a1271805a
Added GetMeleeMitigation() to Perl and Lua for Mobs (Clients/NPCs).
2015-12-21 15:45:25 -05:00
Kinglykrab
0177c8d7d9
Exported several Mob-based methods to Perl and Lua.
2015-12-19 19:42:35 -05:00
Kinglykrab
6949f29295
Adds IsBlind() and IsFeared() functionality to Perl and Lua.
2015-12-14 15:01:58 -05:00
Kinglykrab
b868cbbcfe
Fixed #bot resist commands.
2015-08-31 14:41:58 -04:00
Kinglykrab
53292a99a2
Fixed #npcedit rangedtype.
2015-08-28 15:15:19 -04:00
Kinglykrab
ede969a614
Added GetAccountAge() functionality to Perl so people can grant veteran AAs based on account age.
2015-08-08 17:09:57 -04:00
Kinglykrab
892fb58b18
Added $client->GetMoney(type, subtype) to Perl/Lua.
...
Types:
- 0: Copper
- 1: Silver
- 2: Gold
- 3: Platinum
Sub Types (if applicable):
- 0: On Character
- 1: In Bank
- 2: On Cursor
- 3: Shared Bank (only applies to Type 3/Platinum)
2015-08-01 01:28:50 -04:00
Kinglykrab
918bdd73f4
Files changed: ruletypes.h, client.cpp
...
Files added: 2015_07_22_CommonTongue.sql
Adds new rules so you can change the start Common Tongue value for Iksars, Ogres, and Trolls.
2015-07-22 09:24:06 -04:00
Kinglykrab
eb5e0ee72c
New commands.
...
- #untraindisc [spellid] - Untrains specified discipline.
- #untraindiscs - Untrains all disciplines.
2015-07-16 21:25:24 -04:00
Kinglykrab
2ca5a4ade6
Bot command changes.
...
- #bot ai mez is now #bot mez
- #bot bindme is now #bot bind
- #bot runeme is now #bot rune
- #bot augmentitem now has an alias of #bot ai
- #bot giveitem now has an alias of #bot gi
- Removed unused #bot groupmessages
- Removed useless additional parameters (c->GetName()/sep->arg[2])
- Formatted loops and conditionals.
2015-07-06 16:28:17 -04:00
Kinglykrab
61c9a07596
Fixed guild windows on bot-enabled servers.
2015-07-06 14:05:09 -04:00
Kinglykrab
e2ac647e03
Bot saylinks and command aliases.
2015-07-05 23:30:38 -04:00
Kinglykrab
59e40b3fbe
Files changed: command.cpp, questmgr.cpp
...
- Added command aliases: #findzone -> #fz, #reloadquest -> #rq
- Added instance ID to $client->GoToSafeCoords() in quest::safemove();
2015-07-03 14:57:48 -04:00
Kinglykrab
6503e6371a
Added Combat:BackstabBonus rule.
...
- 0 = 0%, 5 = 5%, 50 = 50%, 200 = 200%
2015-06-19 19:55:10 -04:00
Kinglykrab
c5609db8d1
Preferential bot formatting changes.
2015-06-19 15:53:20 -04:00
Kinglykrab
6ffe7a9563
More bot changes.
...
- Added #bot showhelm [on|off]
- Allows you to disable your bot's helmet showing up
2015-06-19 05:25:48 -04:00
Kinglykrab
0dcf34d62b
Bot changes.
...
- Added support for Powersource.
- Changed all messages to group messages (Defaults to say if they are not in a group)
2015-06-19 04:46:29 -04:00
Kinglykrab
56e064751b
Fixed more possible nullptr related bot crashes.
2015-06-19 01:42:01 -04:00
Kinglykrab
de81850dd9
Fixed possible bot crashes due to nullptr conflict.
2015-06-18 23:42:59 -04:00
Kinglykrab
9a5ff58213
Added GetGlobal() support for all Mobs.
...
- Uses memory (no database hits)
- Allows entity-based quest global checks
2015-06-01 22:25:02 -04:00
Kinglykrab
180612bb21
Added new rule to make the UnmemSpellAll on death optional.
...
- New Rule: Character:UnmemSpellsOnDeath (default true)
2015-02-01 18:57:26 -05:00
Kinglykrab
72823182f6
Made fifth argument of UpdateTaskActivity truly optional.
2014-12-29 17:29:45 -05:00
Kinglykrab
13a3349614
Edited #npcedit to include more options and changed a few to be multiple arguments rather than separate commands.
...
- #npcedit wep1/#npcedit wep2 is now #npcedit weapon [primary] [secondary]
- #npcedit mindmg/#npcedit maxdmg is now #npcedit damage [minimum] [maximum]
- #npcedit meleetype [primary] [secondary]
- #npcedit rangedtype
- #npcedit ammoidfile
- #npcedit trackable
- #npcedit attackcount
- #npcedit avoidance
- #npcedit walkspeed
- #npcedit armtexture
- #npcedit bracertexture
- #npcedit handtexture
- #npcedit legtexture
- #npcedit feettexture
- #npcedit herosforgemodel
- #npcedit slow_mitigation
2014-12-24 04:49:54 -05:00
Kinglykrab
1329a2f9ba
Update npc_types table.
...
- d_meele_texture1 -> d_melee_texture1
- d_meele_texture2 -> d_melee_texture2
- Required SQL: 2014_12_24_npc_types_update.sql
2014-12-24 01:26:07 -05:00
Kinglykrab
c10bccebdb
Two bot crash fixes (#bot bardoutofcombat and #bot setinspectmessage).
2014-12-23 22:10:35 -05:00
Kinglykrab
a4febbb648
Modified #reloadworld. Example: #reloadworld 1 - repops globally and reloads quests globally. #reloadworld or #reloadworld 0 - reloads quests globally.
2014-12-22 04:47:51 -05:00
Kinglykrab
8b19c76e89
Adds new column to 'merchantlist' table.
...
Adds 'probability' after 'classes_required', valid values are 0 to 100.
2014-08-21 04:05:45 -04:00
Kinglykrab
f7781e6d1d
Renames spells_new fields.
...
field191 => viral_targets
field192 => viral_timer
2014-08-18 20:58:31 -04:00
Kinglykrab
0f5214f481
Fixed GetItemStat making all information it pulls default it uint32.
2014-08-16 01:35:50 -04:00
Kinglykrab
bce3b1b961
Edit some uint32 to int32: GetAugmentIDAt, GetItemIDAt, GetItemStat
2014-08-15 04:26:37 -04:00
Alex
f89357f3c8
WIS fix.
...
WIS was actually setting MR.
2014-05-11 13:27:33 -04:00
Alex
1f43e69b4c
Updated with fix.
2014-05-10 12:02:48 -04:00
KinglyKrab
e097722ec6
Update command.cpp
...
Removed an accidental repetition of atoi.
2014-05-08 13:42:21 -04:00
KinglyKrab
ffa8e5ff62
Update command.cpp
2014-05-05 15:58:36 -04:00
KinglyKrab
26255b79db
Added new abilites to #npcedit.
...
I added the ability to modify stats, version, maxlevel, PhR, no_target_hotkey, adventure_template_id, npc_spell_effects_id, trap_template, special_abilities, scalerate, healscale, spellscale, and color.
2014-05-04 10:30:52 -04:00