EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Adding Bots to installed Akkadius server (https://www.eqemulator.org/forums/showthread.php?t=40498)

askyn 03-25-2016 08:24 PM

Adding Bots to installed Akkadius server
 
Hi all /wave

I have a question relating to bots and Akkadius's server.

I have installed a severing using the process of his installer ( works great! LOVE IT ), my question is:

Is there a way to add bots into my existing server? or would it require a complete reinstall, adding in the bot code during the creation process?

I have very minimal experience with sql / compiling sources etc etc and its been over 20 years since I have done ANY coding etc

Any and all help would be gratefully welcomed.

Uleat 03-25-2016 09:16 PM

I think that I tried out a very early version of his installer..but, I can't remember what all was installed...


Essentially, you will need to:

- re-run cmake, delete the cache, (configure,) select the BOTS option, (configure again, then generate.)

- recompile all of your binaries (needed since the update script starts the world binary and checks for exit arguments) and copy the binaries over to your server folder.

- manually run eqemu_update.pl.
-- Run option 3 first to ensure that your standard database is up-to-date. (Process is 3 check for pending, 3 again to apply pending)
-- Run option 4 next to install/update the required BOTS db schema. (Same process except 4 and 4.)

That's pretty much it.


Don't run any of the update sql files unless specfically told to do so, or you have a 100% grasp on what you're doing.

The update manifests are version coordinated with the update script and will check for specific criteria before queuing (pending) required updates.


If you have already tried to manually apply any of the BOTS sql's, post back and I'll try to explain how to reverse those changes.

woody81 03-28-2016 04:40 AM

BOTS tables missing
 
Hi,

Im having trouble adding Bots to the DB.

I did recompile the binaries with the BOTS option. (2 days ago)

I did install EQemu with the new installer, on a fresh installed VM.
(replaced binaries with BOTS binaries)

I manually ran the eqemu_update.pl

When i try to create a bot (in the client), i get an error that the bot command cant find peq.bot_data. And yes i cant find it in the DB either.

running the eqemu_update.pl (option 3 and 4) doesnt do the trick.

http://i.imgur.com/ML0yxfH.jpg
http://i.imgur.com/82HSukr.jpg

Am i missing something?

Thanks for the install script, saves a huge amount of time compared to the manual install! :smile:

Uleat 03-28-2016 11:47 AM

Since this is a new database, try selecting option 19, then re-select option 4 and see what you get.

woody81 03-28-2016 11:56 AM

Doesnt work, have tried 2 times " 19 " and after that 3 times " 4 ".

thx for your help btw!

Uleat 03-28-2016 12:59 PM

I guess we're gonna have to go back and review the bot versioning process in the updater script..I keep getting reports back that the option is not working for
installing the database schema.

I should probably make a wiki page for manually resolving, as well.


Give me a little bit to mull this over and I'll see what I can do to help in the immediate.

woody81 03-28-2016 02:43 PM

That would be great, if i need to supply extra information, just ask.

Thanks again!

Take your time, im not in a hurry. :smile:

Uleat 03-28-2016 10:55 PM

You can try this and see what happens: http://wiki.eqemulator.org/p?Manual_...lation_of_Bots


I haven't tested it myself..but, I did write the new procedures and I followed down the script when writing the wiki page.


If you still have issues, let me know! :)

woody81 03-29-2016 02:23 PM

Its works!
 
The only step that didnt work was:

http://i.imgur.com/rjNr4Qf.jpg

http://i.imgur.com/Qm49wFE.jpg

That didnt matter, because the structure was already in place:

http://i.imgur.com/TfjNUdP.jpg

http://i.imgur.com/yPRQzWA.jpg

I did update bot version to 9000.

And the result:
http://i.imgur.com/2b64Fta.jpg

TYVM for your help!!!

(offtopic. My ^ key didnt work, even with the US international keyboard layout. I changed the language to US, that solved the problem.)

Uleat 03-29-2016 02:55 PM

If you're running your own server, you can change this: https://github.com/EQEmu/Server/blob...command.h#L530

Just select another character for the command operator and recompile your code.

Most, if not all, of the message references should be tied to that definition and will be reflected in-game.

woody81 03-29-2016 04:28 PM

Great! thx again!


All times are GMT -4. The time now is 11:16 AM.

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