Quote:
|
Quote:
Create a list of item id's you DON'T want bots to have. That way you don't need to add any more code, you just need to add the item id to the list. Check against that list when trading with the bot, and either poof the item or hand it back to the character. I haven't looked at what events are available for bots, but at trading time would probably be the best, or you could do at bot despawn if that event is available. The 2nd method wouldn't prevent some form of abuse while the bot is alive though. You could expand it further by setting a qglobal on the character that if they do it once, they get the item back and a warning. if they do it again the item poofs. do it a third time they get sent to the POJ trials alone or some interesting place. I haven't touched quests in a long time so i'm not sure what events are available for bots. |
That's actually a really good idea. Just need to find a way to remove items with a script from bots in general. Do you have any ideas on that, Nosfentora? Aside from hacking...
|
Off the top of my head not really. You could run an sql query something like
Code:
DELETE FROM botinventory WHERE ItemID IN (itemid1,itemid2,itemid3) you could get real complicated and have a scheduled task run on the os every X hours and run that script, or run it by hand whenever you want. as far as a perl script, you could do something like this pseudo code suggests Code:
var banned_item_id_list = {1000,10002,10003} |
I assume these class / sub-class charms are pretty powerful. So powerful in fact that a player would never want to get rid of it. So if the charm is used in the quest to upgrade it, I'm assuming that the quest is repeatable? If the quest is repeatable make it NOT repeatable and you've solved your problem. I know if > I < only had ONE badass charm, and couldn't get another, I damn sure wouldn't waste it on a bot.
|
Quote:
Drakiyth, if you're interested in finding out who is cheating (now that you've outlined that storing a charm on a bot is a no-no), you could use something like: Code:
SELECT * FROM account WHERE id=( |
All times are GMT -4. The time now is 07:23 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.