-
Notifications
You must be signed in to change notification settings - Fork 405
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
Possible solution for server response #94
Comments
I don't quite get what you've said... I've edited your issue and formatted the code correctly but I still don't get it. |
Sorry, I just could access this variable desabititando the sandboxed, but gave some errors. And if you would like to add this code in the original design that I posted so we can spend some talkaction to the server and return it to what we want after that tag. Trying to explain a little better: |
Hi, Are you trying to introduce new feature? Do you need help with it? or do you want to add it to upstream? Iff you're trying to add it to upstream then no, this is single user needs not every user needs. |
There's extended opcode if you have access to server sources. It's implemented in lastest TFS trunk. |
+1 for the extended opcode solution, it's best for what he needs. The way he used sounds shitty. |
Only using talkactions, this way is the only solution i guess. |
yeah ;) |
What would be extended opcode? |
Apply this patch to your TFS source: https://github.com/edubart/otclient/blob/master/tools/tfs_extendedopcode.patch and then recompile, then modify to your needs. Don't ask me how to apply cause I don't know. |
If anyone knows how to deploy it in the source and use it, I am very grateful |
But I'm very sorry about it and lay still without intender practically nothing ... |
I missed a feature that returns me up something from the server, an example is given to get the position of a player anywhere on the server.
The solution I found was to add
onTalk function in the file console.lua, so that everything that was spoken by the player started tagged would be stored in a variable that was seen for all modules, ie a variable public.
But I could only access this variable changing sandboxed: true to false ..
Sera whose include that in the original source?
The text was updated successfully, but these errors were encountered: