Well it will take me a few days to duplicate the problem. I will have to wipe a computer and load it, I do not want to mess with the live server. The new EqEmu needs Debian 5, mine is running Debian 4.
I can tell you this that I do remember. It happened while in an instance. I sent my pet to attack, the pet got really far down and I have no idea what the bots were healing at the time. I had to bail from the instance because fear of dying.... I zoned back into Fay and the bots were out of mana, they were healing the enchanter pet that was at 100%. I have no problem getting you particulars especially if you can work on it. I really want my server on newer Debian but i need the emulator at 100 percent before I can do that. Give me a few days, maybe this weekend and I will start a VM with it or something. |
The healing bug was definitely happening in Rev1052. I've not tried it with the most recent Rev's yet, because I've just returned from vacation...
|
Well maybe I can help you out and let you know how it goes. So far so good, Debian 5 loaded....compiling is going okay. Just running all of these patches....I never seem to get it right.
|
Okay I am back to the pointer error.
[Debug] Member of group 1001 named 'Provocating' had an out of date pointer!! [Debug] Member of group 1001 named 'Wundred' had an out of date pointer!! I went back through my notes and I have no idea how I solved it last time. This is what is working and what is not. WORKING Bots have inventory. All bots converted over from old system. Bots are now zoning. NOT WORKING Bots do not follow after zoning, noticed an out of date pointer error during zone. Cannot create any new bots, always says the name is in use. Patches I recently went back through to make sure they are there. 1022_botadventuring.sql 1027_botactives.sql 1030_botzoningsupport.sql 1036_botbuffs.sql 1038_botpetstatepersists.sql 1040_DeprecatedBotRaidsSystems.sql 1077_botgroups.sql still not following |
Also I wanted to add I am using r1086 of the source.
I just compiled and added my -DBOTS and bots.o to the makefile / makefile.common and recompiled, all went well but still the bots are not following, cannot create new bots and the out of date pointer error. |
Well I thought I had it fixed, false call.....still broken.
|
The issue with getting the 'Bot name is already in use' message may be a case sensitivity thing on Linux.
The query that is being used to check if the name is available is: Code:
SELECT COUNT(id) FROM vwbotcharactermobs WHERE name LIKE '%s' Code:
CREATE VIEW `vwBotCharacterMobs` AS ... Code:
SELECT COUNT(id) FROM vwBotCharacterMobs WHERE name LIKE '%s' |
Thank god that part is over. You are a master at your craft.
Anyone have an idea on the bot following thing ? I can call it a day and maybe even be able to squeeze in play time tonight if I can get this fixed. |
Derision is correct. I just tried that query under the same version of MySQL but with one running on a windows server and the other on a linux server and to my surprise, the query works fine for MySQL running on Windows, but fails on MySQL running on linux. Looks like I get to look at all the queries now to make sure the case sensitivity matches to the actual SQL create statements.
|
Yeah it fixed my problem too.
Any idea on the bots following thing ? |
Quote:
Sounds like you've got all the necessary sql patches in, but you're bots aren't cooperating properly. Here are a couple of things that I had to do to get mine working: .add -DBOTS to BOTH the world/makefile AND the zone/makefile .add bots.o to zone/makefile.common .remove the "-g" and "-O" flags from BOTH the world/makefile and the zone/makefile hope this helps |
I checked all the other bot queries and this one case appears to be the only query that needs to be changed to be case sensitive to its database object. I'll commit this fix later when I am ready to commit some other code I am working on now.
|
World makefile section
Code:
DFLAGS=-DDEBUG=5 -DBOTS -DEQDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -DIRC -Di386 -DAPP_OPCODE_SIZE=2 Code:
DFLAGS=-DEQDEBUG=5 -DBOTS -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386 Code:
../common/guild_base.o bot.o \^M .remove the "-g" and "-O" flags from BOTH the world/makefile and the zone/makefile I had never done that before, but I tried it and it did not make any difference. The bots still hang around the entrance of the zone like a bunch of State workers. |
ok... hmmm... a lot has changed in the sources since this thread was originally posted...
Let me see if I have everything straight... DOES WORK: -Rev1052 Windows Binaries W/ NEW database -Rev1086 Linux SVN compile W/ NEW database DOES NOT WORK: -Rev1052 Windows Binaries W/ OLD database that's been patched -Rev 1086 Linux SVN compile W/ OLD database that's been patched Is this correct? |
That was too long ago for me to remember. I am pretty confident though this is a database problem. The binaries seem to not matter on this issue.
What are you patched up to, what revision ? |
All times are GMT -4. The time now is 05:30 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.