EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Creating a Buff Bot (https://www.eqemulator.org/forums/showthread.php?t=40898)

ionhsmith 09-22-2016 07:21 PM

Yea I'm not sure why either... I get the whisper and the buffs and price are pink in color, but when I reply back nothing happens... when I click on buffs or price nothing happens... yours works just fine but cant get the other two to work

Willy Willers 09-25-2016 07:54 AM

@DanCanDo I've got my NPC and the .pl file with the script you provided but when I hail her I get nothing back, what kind of things can I troubleshoot to get it to work?

DanCanDo 09-25-2016 08:03 AM

Quote:

Originally Posted by Willy Willers (Post 251357)
@DanCanDo I've got my NPC and the .pl file with the script you provided but when I hail her I get nothing back, what kind of things can I troubleshoot to get it to work?

One silly mistake I made long ago, when naming the NPC script, I hadn't noticed
just once little character was wrong. The name of the script.pl has to match
the name of the NPC EXACTLY, character for character. So if you named your
npc John_Doe then the script has to be named John_Doe.pl
If it's #John_Doe , again script has to be named #John_Doe.pl
It also has to go in the appropriate zone quest folder (there is one for every zone.
And as a reminder, if server is running, and your logged in with GM toon,
type #reloadquest

Willy Willers 09-25-2016 08:45 AM

ok, but if the npc is named "John Doe" it still gets an underscore in the file correct? "John_Doe" ?

DanCanDo 09-25-2016 08:52 AM

Quote:

Originally Posted by Willy Willers (Post 251360)
ok, but if the npc is named "John Doe" it still gets an underscore in the file correct? "John_Doe" ?

The script goes by the designated FIRST name of the NPC
Look at the first name of the npc in your database. Whatever characters is
used in that first name. That's how the script gets named

Willy Willers 09-25-2016 09:10 AM

ZOMG it worked! I've finally added something custom to my server! Thanks Dan!

Warkral 10-04-2016 08:36 PM

DanCanDo and Uleat has been freeking AWSOME in helping those of us who have ZERO code skills but 100% motivation. Thanks guys!

Maze_EQ 10-05-2016 03:35 PM

Much better practice to use NPCID instead of name.

As you can have multiple NPCs with the same name but use different scripts.

atrayas 10-05-2016 04:37 PM

Quote:

Originally Posted by Maze_EQ (Post 251560)
Much better practice to use NPCID instead of name.

As you can have multiple NPCs with the same name but use different scripts.

Agreed :D :D :D


All times are GMT -4. The time now is 12:02 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.