Skip to content
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

Looking for documentation on new features #9

Open
hogscraper opened this issue May 14, 2014 · 1 comment
Open

Looking for documentation on new features #9

hogscraper opened this issue May 14, 2014 · 1 comment

Comments

@hogscraper
Copy link

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?

@hogscraper
Copy link
Author

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.

@hogscraper hogscraper reopened this May 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant