Kinglykrab
19ae461e36
Add message(color, message) and whisper(message) to Perl/Lua.
...
- Add quest::message(color, message) to Perl.
- Add eq.message(color, message) to Lua.
- Add quest::whisper(message) to Perl.
- Add eq.whisper(message) to Lua.
These methods allow you to use implied client references. The whisper method also converts a widely used plugin in Perl to a Perl and Lua method that works on both Clients and NPCs.
2021-01-23 10:47:44 -05:00
Alex
bebf95cfe3
Merge pull request #1170 from splose/ww
...
Add #wwcast command.
2021-01-03 19:19:56 -05:00
Evan Alexander King
c58ba2e6a5
Add GetTargetRingX(), GetTargetRingY(), and GetTargetRingZ() to Lua.
2021-01-03 03:21:54 -05:00
Evan Alexander King
3fa236c2bb
Add client->Fling() to Perl/Lua.
...
- $client->Fling(value, target_x, target_y, target_z, ignore_los, clipping) in Perl.
- client:Fling(value, target_x, target_y, target_z, ignore_los, clipping) in Lua.
2021-01-03 03:12:01 -05:00
Alex
51a74c23ef
quest::getspellname() and quest::getclassname() fixes/additions. ( #1158 )
...
- Update GetSpellName() to uint16.
- Add more classes to GetClassIDName().
2020-12-30 14:47:27 -06:00
Alex and Chris Miles
c593ed6a05
Add SetRadiantCrystals() and SetEbonCrystals() to Perl/Lua. ( #1159 )
...
- Add $client->SetRadiantCrystals(value) to Perl.
- Add $client->SetEbonCrystals(value) to Perl.
- Add client:SetRadiantCrystals(value) to Lua.
- Add client:SetEbonCrystals(value) to Lua.
Co-authored-by: Chris Miles <akkadius1@gmail.com >
2020-12-30 14:46:09 -06:00
Alex
a920d449ff
Add removeitem(item_id, quantity) to Perl/Lua. ( #1156 )
...
- Perl: quest::removeitem(item_id, quantity);
- Lua: eq.remove_item(item_id, quantity);
2020-12-29 18:21:47 -06:00
Alex
43108acae1
Merge pull request #1101 from KinglyKrab/custom
...
Custom changes.
2020-08-03 23:17:37 -04:00
Alex
ff7c3aff92
Custom changes.
2020-08-03 23:14:39 -04:00
Alex
63ad92090a
Add Lua eq.update_zone_header export to lua_general.cpp.
2020-07-19 18:01:06 -04:00
Alex
e033d89a32
Add Lua overrides to worldwide methods to make additional parameters optional.
2020-07-08 18:16:20 -04:00
Alex
c8389bc674
Completely overhaul cross zone and world wide methods in quest API.
2020-07-07 08:02:56 -04:00
Alex
f1929c4f45
Add hot reload saylinks as well as a rule to determine if you bypass the saylinks.
2020-07-07 07:20:08 -04:00
Alex
eed1fd8a43
Add DyeArmorBySlot(slot, red, green, blue, use_tint) to Perl/Lua.
2020-06-29 20:55:30 -04:00
Alex
1b2c2a1dd0
Add MoveZoneInstance methods to Perl/Lua.
2020-06-29 19:49:37 -04:00
Alex
f514dd5b55
Optimize cross-zone utilities and add cross-zone player move utilities to Perl/Lua.
2020-06-29 17:54:30 -04:00
Alex
eb039d176c
Add GetDisplayAC() to Perl/Lua.
2020-06-29 15:49:24 -04:00
Alex
1292e1c9c0
Fix $npc->RecalculateSkills() in Perl.
2020-06-28 10:08:21 -04:00
Alex
9a2294774e
Add client-based MoveZone methods.
2020-06-27 21:35:52 -04:00
Alex
2c7d227f4a
Merge pull request #1 from EQEmu/master
...
Update.
2020-06-27 20:41:58 -04:00
Alex
25c3d3803f
Add cross-zone task assign methods to Perl/Lua.
2020-06-27 20:03:06 -04:00
Alex
736c345a45
Add GetDisciplineTimer() and ResetDisciplineTimer() to Perl/Lua.
2020-06-27 16:37:24 -04:00
Alex
0daadde415
Add #findrace command.
2020-06-21 16:10:55 -04:00
Alex
1ae077ea8f
Add new zone methods to Perl/Lua.
2020-06-21 01:15:29 -04:00
Alex
0d28f0c083
Add zone ID to #findzone
2020-06-21 00:26:13 -04:00
Alex
d7c5a45cc2
Merge pull request #1064 from EQEmu/getskill
...
Remove duplicate GetSkill() definition.
2020-05-19 19:35:08 -04:00
Alex
5964bcc3c4
Merge branch 'master' into getskill
2020-05-19 18:50:32 -04:00
Alex
5bdc9c6c60
Remove duplicate SignalClient() definition.
2020-05-16 14:42:38 -04:00
Alex
ceff8b8674
Remove duplicate GetSkill() definition.
2020-05-16 14:40:36 -04:00
Alex
968efe8831
Remove duplicate MakeTempPet definition.
2020-05-16 14:30:35 -04:00
Alex
ee55755c85
Add IsTaunting() to Perl/Lua.
2020-05-14 23:55:55 -04:00
Alex
5f0d3e9026
Add several cross zone methods to Perl/Lua.
2020-05-11 20:10:52 -04:00
Alex
dc9bd031ff
Merge branch 'master' into crosszonesignalplayerbygroupid
2020-05-10 21:00:43 -04:00
Alex
857b24727c
Add CrossZoneMessagePlayerByGuildID() to Perl/Lua.
2020-05-10 16:52:33 -04:00
Alex
4d93406176
Fix typo in crosszonesignalclientbyname Perl_croak.
2020-05-10 09:16:58 -04:00
Alex
12c4b20169
Add CrossZoneSignalPlayerByGroupID() to Perl/Lua.
2020-05-09 21:15:34 -04:00
Alex
518bcb58d3
Fix #findzone to allow you to search using part of a zone's short name.
2020-05-09 18:14:22 -04:00
Alex
0b03f27660
Add GetNPCBySpawnID() to Perl/Lua.
2020-05-07 23:11:36 -04:00
Alex
cbd1f42a08
Merge conflict fixes...
2020-04-06 18:57:13 -04:00
Alex
f8735cf9ba
Update lua_general.cpp
2020-04-06 18:06:18 -04:00
Alex
54b33f959e
Merge pull request #1026 from KinglyKrab/getclassname
...
Add getclassname(class_id, level) to Perl/Lua.
2020-04-06 16:25:39 -04:00
Alex
c6e4b5647f
Merge branch 'master' into getclassname
2020-04-06 16:25:29 -04:00
Alex
928070e994
Merge pull request #1023 from KinglyKrab/getcurrencyitemid
...
Add getcurrencyitemid(currency_id) to Perl/Lua.
2020-04-06 16:22:50 -04:00
Alex
40ef4c799b
Update embparser_api.cpp
2020-04-06 16:22:08 -04:00
Alex
8ba7ddd054
Merge branch 'master' into getcurrencyitemid
2020-04-06 16:21:29 -04:00
Alex
c2c6282cc7
Add getclassname(class_id, level) to Perl/Lua.
2020-04-06 02:26:58 -04:00
Alex
fab071d9da
Add getracename(race_id) to Perl/Lua.
2020-04-06 02:02:20 -04:00
Alex
358bd60716
Add getskillname(skill_id) to Perl/Lua.
2020-04-06 01:36:46 -04:00
Alex
03ca345b37
Add getcurrencyitemid(currency_id) to Perl/Lua.
2020-04-06 01:07:59 -04:00
Alex
6ddcc2bb8a
Add getcurrencyid(item_id) to Perl/Lua.
2020-04-06 00:49:57 -04:00
Alex
02cac686b6
Add getnpcnamebyid(npc_id) to Perl/Lua.
2020-04-06 00:10:58 -04:00
Alex
4c348baabd
Merge pull request #1020 from KinglyKrab/getcharnamebyid
...
Added getcharnamebyid(char_id) to Perl/Lua.
2020-04-05 21:26:31 -04:00
Alex
035bac1044
Update embparser_api.cpp
2020-04-05 21:22:23 -04:00
Alex
5a8d467d25
Merge branch 'master' into getcharnamebyid
2020-04-05 21:21:15 -04:00
Alex
ae959be5ac
Added getcharnamebyid(char_id) to Perl/Lua.
2020-04-05 21:18:05 -04:00
Alex
41d0b1a947
Add getcharidbyname(name) to Perl/Lua.
2020-04-05 20:41:49 -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