Giter Club home page Giter Club logo

Comments (37)

celguar avatar celguar commented on August 15, 2024

Yes we all have very big interest. This looks very good!

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

Yes we all have very big interest. This looks very good!

I've added the initial version of my .csv file along with install instructions to the top post! I assume that's the best way to share it but if not then please let me know if there is a better way.
The new lines start at id 7500+ so you should be able to just import it into the existing table.

Also please consider my requests if possible, having the bots be able to yell and mention each other in their messages would take this thing to the next level. It's getting pretty hard to come up with text that isn't directed at anyone specific, even with the help of AI.

Either way, I want to add more text in the future but will probably only update once I manage to add another significant amount. I hope the current version will provide enough entertainment for a while haha.

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

say_type 0 - say, 1 - yell

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

thanks for the upload!

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

say_type 0 - say, 1 - yell

It doesn't seem to work for me unless I'm just doing it wrong. Does it need a specific topic to work? I think I tried with both suggest_something and suggest_faction but the bots just type the messages in general chat.

I just reuploaded the .csv, I missed one line of text that started with "Is". If bots type something like "Is there a Blacksmithing trainer in %zone?" in Guild chat or any chat that the bots can reply to, it will crash the server. I found out the hard way and thought I fixed all such lines but apparently missed one, sorry about that. It's the line "Is there a Blacksmithing trainer in %zone?" which I now changed to "Guys is there a Blacksmithing trainer in %zone?"

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

suggest smth are only used in chat channels, you can't yell in chat channels

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

btw why you use .csv. Workbench can't export as .sql?

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

interesting thanks. Can you upload a crashlog after such text?

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

well suggest_X is also used in guild chat, but still never in say or yell or reply

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

well suggest_X is also used in guild chat, but still never in say or yell or reply

The problem is that I don't know what to put in the "name" field, I tried "suggest_faction" and "suggest_something", and it makes sense that those are used for chat channels, but leaving the "name" field blank or changing it to "yell" also doesn't seem to do anything. Well anyway, not a huge issue, I just thought it'd be fun if the bots could yell out some stuff once in a while but it's not necessary at all.

About the .csv file, I was told that that was the best way to share this kind of text haha. I have now uploaded a .sql file instead.

Here's a crash log when a sentence that begins with "is" is typed in guild chat:
f8cb0ba1_mangosd.exe_[18-1_21-7-8].txt

I think it's because the bots want to reply with "yeah i know [something] is a [something]", but it goes wrong for some reason. Unless my game is completely broken, you should be able to reproduce the crash by typing something like "is anyone there" in a guild chat with bots a few times until they try to reply.

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

Like I said yell is set in say_type
name is bot text name that is used in code. If you see bot saying "LEEEROOOY JENKINGS" when lot of mobs attack, and you want to add more options for that, you add text with same name as that text's name in table, iirc it's "aoe"

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

if you look at original texts you should see pretty clearlY that suggest faction means ....suggest faction, so %s is replaced by random faction name. suggest instance is for instance, suggest trade is for trade. all these are only used for guild and channels. Other "names" are used in other cases, e.g. "reply" are used to reply to chat messages in channels or in say/yell. But replies I think are hardcoded to be the same type, so if you yell bots around reply with yell too. But other stuff like aoe, taunt, loot etc can be set to say or yell using say_type

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

I should have probably worded my request a bit better. I wanted to occasionally make bots yell specific lines by setting say_type to 1 for text under "suggest_something" and "suggest_faction", and basically have them ignore the chat channel it's supposed to be typed in and yell it anyway.

I wanted for example to add a line that goes "Hey what's up everyone" and put it under "suggest_something", then copy-paste that line with say_type 1 so that bots would sometimes type "Hey what's up everyone" in general/guild chat, but also sometimes yell it. The frequency of yell messages should be low, which is why "suggest_something" and "suggest_faction" would be great because the bots would have a large pool of other messages to choose from.

It would add a bit to the feeling that there are other players on the server if you could sometimes see random funny or amusing red messages come through while questing or grinding in my opinion, but If I'm asking for something ridiculous then just ignore me haha it's not a problem at all!

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

suggest faction abd suggest something are not used in say or yell , only chat channels and guild

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

if you want them to say those things somewhere else, you can try use custom::say strategy. Check custom strategy table. You would need to use some trigger to make them say it, e.g. random or seldom. And set say_type 0 or 1 to make it say or yell. and then add new lines for that strategy to that table with phrases you want. e.g. seldom>say::suggest_something!99

Tho I'm checking code right now, and I think say type is broken. Will need to fix it, is probably not used now and they will just say it.

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

but yeah I can try change suggest smth code to use say/yell instead of a channel sometimes too...

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

btw your archive is broken

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

To explain it a bit better, I only worked with what was already available, and most of the text I added is in "suggest_faction" and "suggest_something". With my .sql, those two topics each have around 2000 new lines of text added to them, so you will constantly see new messages posted by bots in general chat and guild chat as well. I wanted to keep guild chat clean and wholesome, so things like "you guys are all noobs!" are in "suggest_faction" only, while more normal text is in "suggest_something".

My other request for bot names is also similar, like how bots say "Hey (botname) do you want to join my group?" in chat when two of them are near each other. I would love the ability to use a command for (botname) in "suggest_faction" and "suggest_something" as well so that I could make them "talk" to each other in general and guild chat.

It'd be awesome if you could manage to get yell working for those two! I also re-uploaded the archive, GitHub won't let me put .sql or .rar files in my post so I had to use WinZip, I hope it works now.

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

By the way, looks like typing anything that begins with "are" in guild chat also eventually causes a crash when bots try to reply.

If that is truly the case and it's not just in my game, you might want to check line 156 in the playerbot texts table that says "Are there a good quests in %zone?" under "suggest_something".

Here's the crash log in case it might be helpful:
f8cb0ba1_mangosd.exe_[19-1_17-38-10].txt

I changed the lines that begin with "are" from my added text and re-uploaded the archive just now.

Edit: same thing with "am". I changed every line in "suggest_something" so that none of them start with "be", "is", "am", "were", "was", and "are," and re-uploaded the archive again.

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

I repeat suggest_faction is to suggest grind some rep faction and is only used in general or guild chat where nobody is near
suggest_instance is for suggest dungeon (aka LFG), suggest something is for stuff that doesn't fit. None of these are used in say or yell so no bot name is gonna be used there anyway

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

if you want them to say those things somewhere else, you can try use custom::say strategy. e.g seldom>say::suggest_something!99

As for names I can try add "nearest player name" I guess

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

if you want them to say those things somewhere else, you can try use custom::say strategy. e.g seldom>say::suggest_something!99

As for names I can try add "nearest player name" I guess

Ah okay thanks I'll try using custom::say then. Nearest player name would be awesome, but again, none of what I've requested is really important, it's just some fun things I could play around with to add some personality to the bots. If it's too much trouble then we can just forget about it, I'm sure you have more important things to work on.

My only real request is to have the crashes caused by linking verbs such as "is" and "am" fixed. Adding new sentences without those words is really hard!

from mangosbot-bots.

Quest79 avatar Quest79 commented on August 15, 2024

Is there a reason why your sql is dropping and remaking the entire table? Wouldn't adding to the existing table be better?

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

Is there a reason why your sql is dropping and remaking the entire table? Wouldn't adding to the existing table be better?

Yeah sorry, still getting the hang of MySQL and I just posted what Workbench exports by default. I've re-uploaded the archive again, it'll only insert the new lines of text into the existing table now.

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

gonna try add a hackfix for these words starting with is am etc

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

do you still have the OG texts with them

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

do you still have the OG texts with them

Yes, I tested some more and it looks like the line doesn't necessarily have to start with one of those words, simply having "is" in a sentence that bots can post in guild chat caused my game to crash a few times with the same crash log as the ones I posted here.

Here are the original lines under "suggest_something" that have those words in them:

Line 136: "Anyone is looking for %role?
Line 137: "%role is looking for quild."
Line 147: "%zone: is anybody here?"
Line 148: "%zone: where is everyone?"
Line 152: "%zone is the best place to be!"
Line 156: "Are there a good quests in %zone?"
Line 158: "Who is in %zone?"
Line 160: "%zone is the worst place to be."

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

I've seen them many times in game and dont remember any crash , are you sure these are thet cause the crash?

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

It's related to some combination of those words for sure, I can guarantee a crash by spamming "is anyone there" in guild chat a few times, and the crash log looks the same as when the game otherwise randomly crashes.

This line is always in the crash log: "ai::ChatReplyAction::ChatReplyDo+1BF4 D:\a\mangosbot-bots\mangosbot-bots\src\modules\Bots\playerbot\strategy\actions\SayAction.cpp line 561"

I looked up that line and it says "msg = "yeah i know " + word[verb_pos - 1] + " is a " + word[verb_pos + 1];"

So I can only assume that it has to do with bots trying to reply to something but causing a crash instead.

I tested changing all "suggest_something" lines to "suggest_faction" instead, and the game did not randomly crash anymore during a 3 hour test.

Here is a crash log from yesterday after a random crash:
f8cb0ba1_mangosd.exe_[22-1_2-44-38].txt

And here is one from just now when I crashed the server by typing "is anyone there" in guild chat 4 times:
f8cb0ba1_mangosd.exe_[22-1_16-25-15].txt

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

Hm I'm asking is there and it works for me without crash..wierd
Image

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

Nevermind I spammed in /1 and it crashed

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

Nevermind I spammed in /1 and it crashed

The newest beta fixed the issue I think, no more crashes when typing something with "is" or when bots send similar messages in guild chat. Looks like bots no longer send any messages in trade chat though, not sure if that was intended.

I'll continue adding more text, thank you for the fix!

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

They only send suggest_trade in trade chat I think.

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

Nope, they don't send anything in /2 anymore unfortunately, not even the original suggest_sell or suggest_trade lines.

Wow 2024-02-07 01-27-09

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

@BloodRunsCold Hey! Your downloaded archive on first post is only 400kb and has only one text

from mangosbot-bots.

BloodRunsCold avatar BloodRunsCold commented on August 15, 2024

@BloodRunsCold Hey! Your downloaded archive on first post is only 400kb and has only one text

Weird! I just re-uploaded it with an updated .sql file. Also, here's a link to the raw text from a Gist I just created, I think you can copy-paste that and execute it in a query:

https://gist.githubusercontent.com/BloodRunsCold/9793982c26ba2e64b1c6f18300b310f7/raw/042d2eb40e7cb38bf4af565ba8414d31fdf2fdbe/gistfile1.txt

from mangosbot-bots.

celguar avatar celguar commented on August 15, 2024

I'm sorry you probably made it one line and I thought it's one text 😁

from mangosbot-bots.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.