Working SQL Bot file
Anyone have a working SQL file for bots? I have tried like 6 different versions going back almost 2 years and everyone has had some form of issue. Either the "name already being used" or "No HP column" and most recently "melee bots stand there doing nothing".
Anyone who has a working source able to point to where they got it? Thanks. |
Going back 2 years is probably a bad thing...
Try using the sql files located in git repo here: https://github.com/EQEmu/Server/tree...s/sql/git/bots Post back if you have issues sourcing either those in (drop, then load.) |
That's the one I currently sourced in (I've come full circle). My current issue is that melee bots just stand there during a fight.
|
I tried to do this and i get an error ... Says FUNCTION peq.GetMobType does not exist ... i was trying to do this fix as well
|
Not sure on that particular function..was it deleted?
EDIT: It may be possible that your load_bots.sql didn't fully run. That function is created in that script. |
If you are using a recent build, bots are not working properly anyway. The HP problem and spellcasting issue makes them unpredictable. Until that is resolved, the casters do not work. Not sure about melee bots.
If your build is pre-December, then you should be ok. |
My issue is the opposite Werebat. Casters are working for me, but melee just stand there and do nothing. They srun to target, but don't attack. As I stated in my first post, I went back trying different source builds of load_bots going back almnost 2 years. I couldn't get any of them to work.
I am really perplexed. I had a server before and bots worked fine. Wish like hell I held onto that file now :( |
Quote:
I ran into this issue. What I did to fix it was to create a peqtest database instance and source the September 2014 data, then source in the bots, then source in the mercs. After all that, I copied the GetMobType function in the peqtest database and pasted it in the real database. Worked perfectly for me. |
Here is the issue. I fixed it in on my build.
In the load_bots.sql there are two lines that need to be corrected. 197 DELIMTER \\ 212 END \\ The problem is that you cannot use a backslash as a delimiter. Change the \\ to $$ and rerun it. You may need to run drop_bots first so you dont hit a bunch of duplicate errors. 197 DELIMTER $$ 212 END $$ |
Yousir, are correct!
http://dev.mysql.com/doc/refman/5.1/...-defining.html Not sure how that occurred..I rewrote those and not sure why I would have used 'backs' :/ (I know it was something that I did because all of the old delimiters are '$$') Forward slashes are fine too..but, I'll push that change to the repo and hopefully it will make it into the peq dump soon. Thanks for catching that! EDIT: EQEmu git repo have been updated..the 'old' script actually used '//'..so, not sure how I did that... |
Bah :P That didn't fix my issue with melee standing around watching the fight.
|
That is a code issue and not the sql. Recent changes affected the hp and STR values. My caster bots would fight until level 12 but now they just sit. They do cast but they wont melee.
|
getting the following errors in that updated bot sql file
ideas? mysql 5.0.11 Quote:
Quote:
|
sounds like your mysql needs to be upgraded to 5.1.
|
Ive got now:
Code:
mysql --version still get this: Code:
SQL query: |
All times are GMT -4. The time now is 10:20 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.