You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been attempting to use the new 500 series handlers without luck. My main issue comes from the lack of usable comments or documentation regarding these new handlers. 500 calls for a SUPERKEY but with no reference to what this needs to be its unusable. Knowing SQL lead me to believe it needed to be the column containing the unique identifier among all of the columns but nothing logical works. I have used the field marked primary key in the database for character_data in these forms:
CharacterID
'CharacterID'
"CharacterID"
""CharacterID""
and I have tried to pass an array with PlayerUID & IsAlive with no luck. Handler 302 says that it returns SUPERKEY as first _result but that number seems to change every time I restart my server. Searching for _initkey, (which the first param is compared to), gives only its declaration as a string and the comparison itself. Any chance of at least getting better examples of how to implement these so we can start migrating from unofficial workarounds to what you intend on us actually using for custom SQL calls?
The text was updated successfully, but these errors were encountered:
I have figured out the superkey problem, (documentation update would still be great for anyone new checking it out), but noticed that these 500 handlers only seem to pull information from the database. Are there no 500 handlers for writing to the db? I have seen a couple code snippets people have on the epoch forums that seem to use a 506 handler with the call serverhivewrite but I can't seem to find that mentioned in any of the hiveextapp.cpp code.
I have been attempting to use the new 500 series handlers without luck. My main issue comes from the lack of usable comments or documentation regarding these new handlers. 500 calls for a SUPERKEY but with no reference to what this needs to be its unusable. Knowing SQL lead me to believe it needed to be the column containing the unique identifier among all of the columns but nothing logical works. I have used the field marked primary key in the database for character_data in these forms:
CharacterID
'CharacterID'
"CharacterID"
""CharacterID""
and I have tried to pass an array with PlayerUID & IsAlive with no luck. Handler 302 says that it returns SUPERKEY as first _result but that number seems to change every time I restart my server. Searching for _initkey, (which the first param is compared to), gives only its declaration as a string and the comparison itself. Any chance of at least getting better examples of how to implement these so we can start migrating from unofficial workarounds to what you intend on us actually using for custom SQL calls?
The text was updated successfully, but these errors were encountered: