-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add new TableFile "pets.txt" #3336
base: master
Are you sure you want to change the base?
Conversation
this file contains the names of the monsters that the pets look like this file can be obtained from "data\luafiles514\lua\datainfo\petinfo.lua"
I have an idea for a better one: |
need to check the code, but monster.txt uses the name given from server, sometimes some monsters has different names (event/quest) also take a look at: Lines 2320 to 2323 in 29fe641
|
current logic: If I write I believe we should use the current logic (my second option) instead of adding a new file. |
will this function be safe? what about assassin test? in this test a lot of same monster have different names to me the file is better, just like the ragexe |
Now the ml command reads the original names of the monsters without overwriting the monsters.txt file. After the thief quest, most likely monsters.txt will contain incorrect monster names, but this will be corrected when the bot meets a real monster. Or we can add a dirty hack for this location |
If attack logic use name given from server to me is ok update monsters.txt |
long long time ago, me :
|
do not merge this request yet |
If a bot meets a pet "Alice", but before that time it has never seen this monster, then the pet type will always be "Unknown".
This patch fixes this problem.
Before: