Go Back   EQEmulator Home > EQEmulator Forums > Search Forums

Showing results 1 to 25 of 25
Search took 0.00 seconds.
Search: Posts Made By: Almusious
Forum: Quests::Q&A 07-06-2019, 10:30 PM
Replies: 3
Views: 5,191
Posted By Almusious
$npc->CastSpell (xxxx, $npc->GetID());

$npc->CastSpell (xxxx, $npc->GetID());
Forum: Quests::Q&A 07-06-2019, 06:21 PM
Replies: 3
Views: 5,191
Posted By Almusious
## Zone: PoKnowledge ## Clerical Buffs sub...

## Zone: PoKnowledge
## Clerical Buffs

sub EVENT_SPAWN
{
quest::set_proximity($x - 800, $x + 800, $y - 800, $y + 800);
quest::settimer("fiveminutes", 300);
quest::settimer("thirtyminutes",...
Forum: Quests::Q&A 06-17-2019, 12:28 PM
Replies: 10
Views: 6,476
Posted By Almusious
And will there be multiple/different methods of...

And will there be multiple/different methods of obtaining the same reward item? What I mean is for example:

1111 x 1,
2222 x 1,
3333 x 1,
4444 x 1,
2pp,0gp,0sp,0cp
Results in: 9999

But...
Forum: Quests::Q&A 06-17-2019, 12:06 PM
Replies: 10
Views: 6,476
Posted By Almusious
Fair enough. How many items (total) do you...

Fair enough. How many items (total) do you suspect will be in the hash?

With the example I posted using your existing hash, so long as you utilize conditionals, it will "pull" the types...
Forum: Quests::Q&A 06-17-2019, 11:32 AM
Replies: 10
Views: 6,476
Posted By Almusious
Devoid of feedback on what I posted using your...

Devoid of feedback on what I posted using your own hash, I'm afraid I cannot be of much more assistance.

I'm simply not clear on the "if this then do that" function you're looking for.

That...
Forum: Quests::Q&A 06-16-2019, 04:39 PM
Replies: 10
Views: 6,476
Posted By Almusious
I -believe- this is what you're looking for (i.e....

I -believe- this is what you're looking for (i.e. how to access/use a key in a hash of a hash):


%combine_1 = (
1 => { "item1" => 1234, "item2" => 1111, "type" => 1, "reward" => 11111 }, #...
Forum: Quests::Q&A 03-19-2019, 02:40 PM
Replies: 4
Views: 5,623
Posted By Almusious
/quests/ssratemple/#cursed_controller.pl my...

/quests/ssratemple/#cursed_controller.pl

my $check;

sub EVENT_SPAWN
{
quest::settimer("cursed",60);
}

sub EVENT_TIMER
Forum: Quests::Q&A 01-16-2019, 10:19 PM
Replies: 1
Views: 2,475
Posted By Almusious
I cannot assist with LUA, sorry. However, for...

I cannot assist with LUA, sorry. However, for those that may be curious to the Perl equivalent.


sub EVENT_SPAWN
{
@name_list = ("Guard Williams", "Guard Malone", "Guard Baxter"); ## can add...
Forum: Quests::Q&A 01-15-2019, 02:54 PM
Replies: 31
Views: 16,344
Posted By Almusious
https://github.com/EQEmu/Server/blob/0ad43977bf94e...

https://github.com/EQEmu/Server/blob/0ad43977bf94e3a2ca83966f7fc9ba5592bb2a54/zone/npc.cpp#L2307



quest::modifynpcstat("hp_regen",xxx);


or
Forum: Quests::Custom 12-06-2018, 06:37 PM
Replies: 7
Views: 6,841
Posted By Almusious
May as well kill the randomizing sub, some...

May as well kill the randomizing sub, some unneeded variable declarations and also utilize ones that are already passed in the parser (rather than pulling again):


sub EVENT_ENTERZONE {
...
Forum: Quests::Custom 11-27-2018, 03:22 PM
Replies: 7
Views: 6,841
Posted By Almusious
Not sure if you could use this and I haven't...

Not sure if you could use this and I haven't tested it beyond compiling:


sub EVENT_KILLED_MERIT
{
%tierhash =
(
72 => [
{
npcminlevel => 70,
Forum: Quests::Plugins & Mods 11-27-2018, 02:03 PM
Replies: 2
Views: 23,372
Posted By Almusious
check_hasitem.pl

A recent post by Uleat (today) reminded me, that those already rolling with an EQEmu setup may not have updated their check_hasitem.pl much less know it should be. This is for those of whom the...
Forum: Quests::Q&A 10-03-2018, 08:35 PM
Replies: 5
Views: 3,574
Posted By Almusious
I wrote this late at night, pretty sure it will...

I wrote this late at night, pretty sure it will work out, though my comments -may- be off a little, maybe someone can correct me on any wrong points. We're all here to learn.


%HoH = (...
Forum: Quests::Q&A 10-02-2018, 02:12 AM
Replies: 5
Views: 3,574
Posted By Almusious
Indeed, "and" is instead a valid logical...

Indeed, "and" is instead a valid logical operator. You had me scratchin' my head trying to figure out what you meant, but I assume perl -c barfed on it because I placed the scalar values meant to be...
Forum: Quests::Q&A 10-01-2018, 12:07 AM
Replies: 5
Views: 3,574
Posted By Almusious
sub EVENT_SAY { if ($text=~/armorset/i) { ...

sub EVENT_SAY {
if ($text=~/armorset/i) {
# head armor ids 147587 = leather, 147580 = plate, 147573 = chain, 147566 = cloth
# chest armor ids 147588 = leather, 147581 = plate, 147574 =...
Forum: Quests::Q&A 09-09-2018, 03:47 PM
Replies: 31
Views: 16,344
Posted By Almusious
You could set a timer when you initiate the...

You could set a timer when you initiate the follow, then use an event timer like:


sub EVENT_TIMER
{
if...
Forum: Quests::Q&A 09-09-2018, 03:26 PM
Replies: 31
Views: 16,344
Posted By Almusious
I didn't immediately see a means to sever a...

I didn't immediately see a means to sever a follow. Is why either depop'ing it or maybe repopping with timer. Now without setting a "master" (owner), it could be a bit of an NPC hot potato type of...
Forum: Quests::Q&A 09-09-2018, 03:24 PM
Replies: 31
Views: 16,344
Posted By Almusious
The code is all fubared, wasn't paying much...

The code is all fubared, wasn't paying much attention, for that I'm sorry. $entity should be just that, so $npc or $client, I would probably put the entity variable on the $npc, since it's getting...
Forum: Quests::Q&A 09-07-2018, 11:14 AM
Replies: 31
Views: 16,344
Posted By Almusious
sub EVENT_SAY { if ($text=~/hail/i and...

sub EVENT_SAY {
if ($text=~/hail/i and !$entity->GetEntityVariable("master"))
{
$entity->SetEntityVariable("master", $charid);
quest::say("I'm with you $name and following.");...
Forum: Quests::Q&A 09-07-2018, 10:25 AM
Replies: 31
Views: 16,344
Posted By Almusious
Before the recent work on the eqemu wiki I would...

Before the recent work on the eqemu wiki I would often turn to the source (embparser.cpp, etc.) to see what what expects as data but keep this in your arsenal, it will likely be your go to:
...
Forum: Quests::Q&A 09-07-2018, 08:41 AM
Replies: 31
Views: 16,344
Posted By Almusious
In your quest::follow is where you try $name he...

In your quest::follow is where you try $name he means

You shouldn't have to get the client object, as it is the initiator of EVENT_SAY, so just $client would suffice

Ive always used an ID of a...
Forum: Quests::Q&A 08-17-2018, 01:18 AM
Replies: 3
Views: 3,720
Posted By Almusious
#Mob scaling use Scalar::Util...

#Mob scaling
use Scalar::Util qw(looks_like_number);
sub EVENT_SAY {
if (!defined(plugin::REV($client, "operationmode")) || plugin::REV($client, "operationmode") eq '') {
if ($text =~/Hail/i)...
Forum: General::Server Discussion 03-19-2015, 01:24 PM
Replies: 24
Views: 8,237
Posted By Almusious
Interesting server. Mage started with no...

Interesting server. Mage started with no weapon/gear and no spells. If you see my Mage on the path in Crescent still fighting the rabbit, I started 4 minutes ago (our regens seem to allow us to...
Forum: Support::Windows Servers 11-11-2012, 12:01 PM
Replies: 3
Views: 2,574
Posted By Almusious
OP Code Error?

[08.06. - 17:47:34] Unable to convert EQ opcode 0x46d3 to an Application opcode.
[08.06. - 17:47:34] [WORLD__CLIENT_ERR] ith: Received unknown EQApplicationPacket
[08.06. - 17:47:34]...
Forum: Misc::Screenshots 09-14-2012, 09:44 PM
Replies: 0
Views: 8,388
Posted By Almusious
Older Live EQ Screenshots

Browsing through, seems there aren't that many. Too bad all of my phase 3 and most of the better ones were lost in a hard drive that had heads that decided they weren't close enough to the platter....
Showing results 1 to 25 of 25

 
Forum Jump
   

All times are GMT -4. The time now is 03:41 PM.


 

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