Opinions on my new project
Hello everyone
So last night I was tinkering with an idea Ive had for several days. Basically I run one character and wanted to mess with JC. So the idea came to look into having my chanter bot be able to enchant my silver. The idea was to hold a single bar of silver on my cursor and type #bot enchant silver. After I had that working add the other chants. Here is the code and it works as it is supposed to (sort of) Code:
//Enchant Metals Used Nulls editor and it really didn't do anything different except number it at 30k and allow for easy changing of the spells_us.txt So my question: Would you: 1) Simply create a merchant that sold enchanted metals (this is my least preferable idea) 2) Create a spell (which isn't as portable to people who can't work in the DB or spells file) 3) Write code where a player can hand the silver bar to the bot and it casts the spell and hands it back (more like live I guess anyway) Criimson |
Spell IDs are restricted by the clients, so a titanium client can only access spells with ID under 10000, SoF is like 20K, SoD is around 24k, Underfoot is 28k and HoT is 32k. This is a client side limitation so there is nothing you can do server side to fix that(also you need to change the targettype to change a spells target requirements, just changing the range doesnt make a self only spell, single target).
The thing is though, you dont need the bot to cast a spell at all. You just need the bot to allow you to cast it, ie do all your enchanter bot checks but instead of having the bot cast the enchant metal spell, have it like: Code:
client->CastSpell(args); |
Quote:
But I like your last suggestion. I will look into doing it that way. Thank you for the info Criimson |
One of my updates awhile ago broke the target drop down in Nulls as I added labels to the target types in the spdat.h file. If you wish to have it functional, remove all the /* 01 xxx */ from infront of each row of the targettypes listed, or bug Null to update it.
|
on my server i have customized some enchanter guildmasters .pl to handle this sort of thing for the bots. they usually require you to supply the ingredients plus some plat.
|
Quote:
Thank you Criimson |
Perl scripting for the emu is probly easier than c++ to figure out. Here's the general idea for the pok enchanter guildmaster
Code:
sub EVENT_SAY { |
Quote:
|
i did a check of the entire quest directory and i think i only found maybe 2 or 3 files that check class in relation to the epic quest. not a huge problem to fix.
|
If they weren't so time consuming for what you get, I'd love to do them for my bots.. But, since I only #bot giveitem loot I have actually looted or quested, that would take a whole lot of time.. lol
I have a 32 page word document with raid targets, their loot, what I actually loot on raids and all of my bots with their equipment. Epic quests could easily double that, if not more.. |
Yea Im a massochist when it comes to this kind of stuff. Maybe Im nestolgic from when Kunark was released and the awesomeness of the items/quests. Being on a raid in PoFear and praying a Spirit of Shissar would drop the right item for my chanter epic (and later being like wtf..shissar are harpies in PoF and snakemen in SSra) or hanging out in Oasis for the spoon of that SandGiant that used to scare the crap out of me when sitting on the docks.
|
All times are GMT -4. The time now is 11:12 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.