[C++] Bob the Battle Bot (Not your average Bot) menu

Shout-Out

User Tag List

Page 1 of 3 123 LastLast
Results 1 to 15 of 42
  1. #1
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C++] Bob the Battle Bot (Not your average Bot)

    Bob The Battle Bot

    What does he do?

    Bob is an all-purpose, all-in-one vendor/mall bot, intended for Funservers.

    He sells all normally obtainable items, organized in convenient lists, and also has a search function for any item that might not be in the lists.

    He has two forms:
    -A stationary form (This is gotten using .npc spawn) which anyone can talk to.
    -A Pet Form (Obtained by using the "Battle Bot" item that is supplied with the script), which will follow its owner around, and which can only be talked to by the bot's owner.

    The Basic function of the bot (present in both forms):

    When talked to, Bob presents a list of types of items:


    Note: In this picture, the bot's has been enabled to fight and is on the blue team.

    Just for an example, here's the menu that pops up if you click "Armor":

    Note: For the armor menus, the bot is programmed so that only armor usable by your class appears. Thus, a priest will not see any plate armor.

    Each of these can be clicked to present a list of all items normally available to the player using the vendor (if an item is unobtainable in-game, i.e. GM items, it will not appear).

    The search function (which can be disabled) allows a player to search for their item by name, and shows a list of all items matching that name.

    A screenshot of the search function:

    Note: This is the stationary, non-pet version of the bot. These were the results shown when "Claymore" is entered.


    Battle Bot Mode:
    The Pet (portable) version of the mall bot can be seen by using the "Mall Vendor" item supplied with the SQL (Item ID 99499).

    The Portable bot:
    -Is a portable mall
    -Follows his owner around
    -Can fight other portable bots


    To put the portable bot into fighting mode, all the owner must do is talk to the bot and click "LET ME FIGHT!"


    The bot will then randomly be assigned a team, Red or Blue (themed fire and ice), and will attack any bots it sees who are of opposite color.

    A screenshot of what happens when combat is enabled:

    This is what happens when you click "Let Me Fight!". This bot has been assigned to the red team. If you look in the 1st screenshot, up at the top, you can see that once your bot has been assigned a team, you can change it's team by talking to it again and clicking "Switch Fuels!"

    About Bot Combat:
    -Once combat has been enabled, the bot will have the same functionality as before, however if he comes within 20 yards of a bot of the opposite color as him, he will immediately attack that bot.
    -The bots yell random phrases when aggroed, so you should know when your bot has found an opponent.
    -A bot cannot attack another bot that is already in combat.
    -A bot cannot be spoken to if it is in combat.

    Blue bots cast frost shock and have mage's ice armor.
    Red bots cast flame shock and have mage's molten armor.

    Once one bot dies, the losing bot disappears and the winner is restored to full health (and he shoots out fireworks).

    The bot summoning item has a 1 minute cooldown that starts once your bot is defeated in battle, to prevent abuse (spam in malls).


    The inter-bot fighting has been tested extensively on Aspire and is nearly perfectly balanced 50-50 between red and blue.

    Download:
    The Script
    The SQL

    A note about configuration:
    BEFORE YOU COMPILE YOUR SCRIPT, read and configure it!

    There is a brief configuration section at the head of the script which allows you to set several settings, including whether you want it to work for Arcemu or Aspire (if you set it for the wrong one, the script will not work).



    This script is tested and working on the latest ArcEmu servers.
    Last edited by Jotox; 12-02-2009 at 04:53 PM.

    [C++] Bob the Battle Bot (Not your average Bot)
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    This is very good, Extreamly good! I love the whole concept of it and especially the part that allows you to fight other bots. +6 Rep well earned.
    The only thing you could do, is add some screenshots.

  3. #3
    mag1212's Avatar Active Member
    Reputation
    55
    Join Date
    Aug 2009
    Posts
    352
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow this is great +Rep

  4. #4
    Ezio's Avatar Active Member
    Reputation
    58
    Join Date
    Nov 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    GOOD! +rep

    Web Designer Professional.

  5. #5
    MEC's Avatar Banned
    Reputation
    5
    Join Date
    Sep 2007
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    looks very cool. do you think you'd be able to take the playerbot from mangos and port that to arcemu?

  6. #6
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ty for the positive feedback everyone I put a lot of hard work into this script.

    For those who are running medium to large traffic servers, note that many hours have been spent optimizing this script to the fullest, and that it should not add much load to your server.

    There are also many nuances to the script that one may find (try leaving the computer for a few minutes with your bot out )
    Last edited by Jotox; 11-17-2009 at 10:06 PM.

  7. #7
    MEC's Avatar Banned
    Reputation
    5
    Join Date
    Sep 2007
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do you save it as a patch file or cpp file?

  8. #8
    MEC's Avatar Banned
    Reputation
    5
    Join Date
    Sep 2007
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is the only errors i got when i tryed to compile this for a 3.2.2 rev:3021 arcemu.

    Code:
    
    1>..\src\ExtraScripts\bot.cpp(461) : warning C4305: 'initializing' : truncation from 'double' to 'float'
    1>..\src\ExtraScripts\bot.cpp(500) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
    1>..\src\ExtraScripts\bot.cpp(500) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
    1>..\src\ExtraScripts\bot.cpp(502) : error C2039: 'm_SummonSlots' : is not a member of 'Player'
    1> c:\users\mec\desktop\arcemu\src\arcemu-world\Player.h(911) : see declaration of 'Player'
    1>..\src\ExtraScripts\bot.cpp(952) : error C2065: 'SpellPool' : undeclared identifier
    1>..\src\ExtraScripts\bot.cpp(952) : error C2228: left of '.PooledNew' must have class/struct/union
    1> type is ''unknown-type''
    1>..\src\ExtraScripts\bot.cpp(953) : error C2039: 'Init' : is not a member of 'Spell'
    1> c:\users\mec\desktop\arcemu\src\arcemu-world\Spell.h(1586) : see declaration of 'Spell' 


  9. #9
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesomme! xD
    +Rep x2 for the great script
    It's been a while

  10. #10
    Harisukusan's Avatar Banned
    Reputation
    20
    Join Date
    Jan 2008
    Posts
    189
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bitchin!!! +2 repz!

  11. #11
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MEC View Post
    this is the only errors i got when i tryed to compile this for a 3.2.2 rev:3021 arcemu.

    Code:
    
    1>..\src\ExtraScripts\bot.cpp(461) : warning C4305: 'initializing' : truncation from 'double' to 'float'
    1>..\src\ExtraScripts\bot.cpp(500) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
    1>..\src\ExtraScripts\bot.cpp(500) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
    1>..\src\ExtraScripts\bot.cpp(502) : error C2039: 'm_SummonSlots' : is not a member of 'Player'
    1> c:\users\mec\desktop\arcemu\src\arcemu-world\Player.h(911) : see declaration of 'Player'
    1>..\src\ExtraScripts\bot.cpp(952) : error C2065: 'SpellPool' : undeclared identifier
    1>..\src\ExtraScripts\bot.cpp(952) : error C2228: left of '.PooledNew' must have class/struct/union
    1> type is ''unknown-type''
    1>..\src\ExtraScripts\bot.cpp(953) : error C2039: 'Init' : is not a member of 'Spell'
    1> c:\users\mec\desktop\arcemu\src\arcemu-world\Spell.h(1586) : see declaration of 'Spell' 


    Thank you for the report.

    I fixed the compile errors for 3.2.X on ArcEmu.

    Re-download the script from my original post to get the updated version.

  12. #12
    Hellgawd's Avatar Member
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,480
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very well done, all in all an excellent script. I looked through it, interesting ideas there. +8

  13. #13
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My test server's been taken down -- anybody with a server want to help me get some screenies or a video?

  14. #14
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm thinking of adding some stuff onto this...

    Any feedback? Anybody tested?

  15. #15
    Lilltimmy's Avatar Member
    Reputation
    20
    Join Date
    Jun 2007
    Posts
    275
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Screenshot or it didn't happen. :P

Page 1 of 3 123 LastLast

Similar Threads

  1. More HP for your battle bot.
    By Blizzhaxer in forum World of Warcraft Exploits
    Replies: 10
    Last Post: 06-30-2009, 11:36 AM
  2. Not your average WSG exploit
    By enablereldiablo in forum World of Warcraft Exploits
    Replies: 27
    Last Post: 06-01-2007, 10:10 AM
All times are GMT -5. The time now is 04:42 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search