Submission: #bot list
This is a change that I have committed on my end and I thought I would share it.
It uses the existing client UI interface to send the bot list to the client via Popup. It helps lower the business of the chat window. It also rectifies filtering logic (i.e. #bot list 1) for classes. bot.cpp Code:
2009-08-10 20:32:18.694884800 -0500 |
Yeah go ahead and post it when your done and I'll take a look. I was planning on doing something different than what you have here, but its going to be a while before I have the time to get to it as i consider it a lower priority task. So until I do get around to my idea, I'd be happy to implement your idea as its still better than what we have now.
|
My apologies, I looked this code over closer and i realized it uses the same idea I had, except I planned to make the "bot version of the character inventory button" so the screen would include items, hitpoints, mana, bot level, bot name, class, etc. You should run with your idea and when your done post it to me and I'll look it over to integrate it into the bot code. good luck!
|
Thanks for the consideration, WildcardX.
The bot code has come a long way since you've started transforming it. I know that there is alot of work left to be done, and I don't mind chipping in what I can. I will be the first with a "dude, this bot code is broken!" but I'm also in Visual Studio looking through it. I wish I understood the code on a broader scope but I am reading through it on a regular basis and getting to know it. |
|
Interesting. I've never messed with bots before but I read on the EQLive forums that NPCs only have one bracer, earring, and ring slot. Apparently we're doing better in that area than them :)
|
i still think Sony stole their mercs from our bots. I believe we had bots before they had mercs.
|
r920 seems to have removed the need for a popup for inventory purposes. Great job on that.
I still feel that a popup for the bot list is cleaner, though. You may have another idea for this, I know. |
i think both have their purposes.. Again, for your popup window I am thinking something more along the lines of all the info you get as a character by pressing your "I" key, but for bots.
|
I am still working with the inventory popup and I can display the stats just fine. The problem I am having is prettying it up, because it seems the popup window does accept most html tags but does not display them properly (i.e. tables). The html support is pretty rudimentary, so I am going to be limited as to just how good it can look.
I will post a diff later this evening. |
Just do the best you can.
|
Here is my work so far:
New bot command "stats" is implemented. You get a popup with all of your bot's vitals. Includes revised "inventory list" as well as revised "list". So now we would have bot inspection for inventory purposes, a listing via popup for slot reference, a stat listing. The only problem you might have with the diff is that I pulled out all of the chat messages being sent to the client for inventory lists. This kinda kills the item links as they do not work with the popups (yet? dunno if it is even possible. Bogus data is being sent to highlight the item in the popup). Plus, yea, the popups are kinda no-frills. Anyway, here it is: Code:
@@ -8479,7 +8479,7 @@ |
All times are GMT -4. The time now is 09:11 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.