-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
It is not returning the guild id #498
Comments
Could you elaborate further on the problem? It is correct that the variables
They are returning the guild objects/metatables. This seems to be the intended behavior. The guild id's are passed through the function params and is called |
|
Replace: ZnoteAAC/Lua/TFS_10/revscriptsys/playerdeath.lua Lines 5 to 8 in 88a13e6
With: local guild = Guild(guildId)
local enemyGuild = Guild(enemyGuildId)
if not guild then
print("sendWarStatus: Error: Failed to load guild data from id: ".. guildId)
return
end
if not enemyGuild then
print("sendWarStatus: Error: Failed to load guild data from id: ".. enemyGuildId)
return
end
print("sendWarStatus: Loading guild data: OK") What messages do you get in console when reproducing this issue? |
|
That is very weird, do you have any data associated to guild id 2 in SQL? In the guilds table? If there is a bug with initializing a guild through its id, a workaround might be to send the player, and then use |
no
nekiro tfs 1.4 8.60 I think it's a bug in the distro then, because the variables with guild ids arrive correctly and when passing through Guild(x) it changes. |
It is not returning the guild id
ZnoteAAC/Lua/TFS_10/revscriptsys/playerdeath.lua
Line 6 in 88a13e6
The text was updated successfully, but these errors were encountered: