Forums » Android

Android Touch Controls

May 13, 2023 XylophoniX link
I am looking for best practices, plugin help, etc.

I would like to request access to all the documentation I need to develop plugins with python e.g; python*.py
May 13, 2023 XylophoniX link
Vo lua documentation:

vo-wiki.com/racecar2
May 13, 2023 flying squirrle link
Vendetta online has a few people who make plugins, and ITO has a channel specificly for this in our server with most of the people who code in it. I dont do it much myself so thats about all i can say
May 15, 2023 XylophoniX link
Astro file manager did not give me access to the app folder.

X-plore from the playstore worked, samsung galaxy a03s android 13.

You may have to unlock the bootloader, and root your device.
May 15, 2023 Luxen link
There is a known issue with Android 13 - Google is implementing more and more restrictive access to the files kept in /data/android, and the latest version has locked the previous exploit we knew for android 11 and 12. X-plore finding a new workaround is neat, but I doubt google is going to let it remain in future updates unless they reverse their (stupid) course.

If rooting is necessary to access these files, then it absolutely cannot be recommended going forward.
May 16, 2023 XylophoniX link
Chainfire script:

/alias chainfire "Weapon1; wait 0.04 next1"
/alias next1 "Weapon2; wait 0.04 next2"
/alias next2 "Weapon3; wait 0.04 next3"
/alias next3 "Weapon4; wait 0.04 chainfire"

Un-Foxtrot yourself...
May 25, 2023 draugath link
Plugins are written using Lua. Other languages are not an option within the game environment.
May 27, 2023 XylophoniX link
"Other languages are not an option within the game environment."

I can compile python as lua...

In other news:
Because DroidButtoms is object based, I have to modify everything to add the third command to field creation...

This is going to take a while, and I think I would rather write an app or plugin that lets me bind my volume buttons to commands.
May 27, 2023 XylophoniX link
I would complain about how touchscreen use is intentionally limited, but you people are evil. Jesus is coming, and this game will have even less value at that point. Declair yourself safe from Jesus return! I want to get this overwith...
May 27, 2023 draugath link
If, for some reason, you need to actually use the 3rd parameter for `gkinterface.CreateTouchRegion()`, it would be far simpler to just add a textbox for the option, rather than trying to write something convoluted to work around it.

If you're referring to something else, I'm not sure what it is.
May 27, 2023 XylophoniX link
Leave me alone. You are making assumptions with every post, and I want nothing to do with slander. I am simply documenting my project publically. I'm sorry you think adding functionality to DB is convoluted.
May 27, 2023 draugath link
I haven't made any assumptions thus far.

XylophoniX said:
I have to modify everything to add the third command to field creation...

This is going to take a while, and I think I would rather write an app or plugin that lets me bind my volume buttons to commands.


If that's not convoluted, then I don't know what is.

I'm not against adding reasonable and practical features to DroidButtons.
May 27, 2023 XylophoniX link
This is why every person in the game is on my ignore list. Keep your curses to yourself. You will follow your god into eternity. I hope you believe in love.
May 27, 2023 XylophoniX link
Convoluted means extremely complex and difficult... there are 3 files, and the code is simple, debugging will take a while because I am not the author... it might be convoluted to you, but you assume it is for me, and also assume I will make a work around, or make an unreasonable change to db... My personal files are mine. It has nothing to do with you until I give you my files... not only are you making assumptions, but you are being dishonest. May you be intimately acquainted with the god of slander, draugath. May you suffer your own curses.
May 27, 2023 XylophoniX link
Not only am I not recommending that you root your phone, but I'm not rooting my phone. Do you have a problem with honesty, Lux?

I have a problem with the lack of honesty I am finding with both the devs and players. I want you to know what happens when you die, and how you need to love the truth before you can no longer change what is in your heart. You people are sick, and you are punishing the innocent either willingly or ignorantly. Your heart will lead you to the same eternal suffering you are bringing into the world.

If you scam someone, you have made the world a place where people get ripped-off. So, too, you will get eternally ripped-off.

If you don't ask questions you have made the world a place where people make assumptions. Because you turned your back on the truth, the truth will turn his back on you. Jesus is the truth. There is no sincerity without being true. There is no love without sincerity. God is love, and we are almost out of time to love the truth.
May 27, 2023 XylophoniX link
"If, for some reason..."

You should have asked for the reason.

Let me answer the question you refused to ask. It is not my responsibility to ask questions for you. You need to love the truth to have the motivation to ask.

I have two thumbs to use my touch-screen with. To fight effectively I need to be able to strafe, turn, and shoot. Without the third command, or a physical switch bound to shoot, I can't perform one of the three actions I need to. Autofire has a delay, and doesn't work in pvp...

I have already warned new players that VO mobile is a scam because of this intentional limitation in both droidbuttons, and default touch controls, and the crystal system. I can see two solutions, and I came here to leave a note for myself. In usual fashion, I face nothing but slander, in response...

Your gods are false, and are about to be destroyed. I'm just trying to entertain myself while I wait for your inevitable destruction.

Please... believe in your hearts that you are safe from your eternal demise. I have a feeling that is all we are waiting for.
May 27, 2023 draugath link
Thanks to our little repartee, it got me curious about whether the 3rd parameter of `gkinterface.CreateTouchRegion()` can actually be used to execute arbitrary commands.

Firstly, if you weren't already aware, I don't play on mobile. So, even though I did write DroidButtons, I don't know all of the ways people use it or what they may find lacking.

Thus far the only official use for it has been to cause the current view to spring back to center, when removing a touch from a look region while in a turret. This was accomplished with a command that can't be created by plugins or aliases (+LookPress).

Because of this behavior, I never performed exhaustive testing on how it actually works, and I was operating under the assumption that it only executed a command on release.

Here's what I can tell you based on recent testing. It appears that any command associated with the 3rd parameter is executed at the beginning of the touch, not at the release. Personally I question the usefulness of this, but I typically try to not question why people build their configurations the way they do.

The entire reason I created DroidButtons in the first place is to give people options. This is merely an option that I missed, and that nobody ever brought up as a suggestion.

Amusingly enough, I actually partly implemented support for setting a command to the 3rd parameter. If someone where to edit the system notes file and add `command3=\"mycommand\" ` to an appropriate place, it should work (in fact that's what I did during testing).

Now, as I suggested above, it would be rather simple to add a textbox to allow editing this parameter

I don't mind adding this, despite my own doubts about its usefulness.

Lastly, being wrong or mistaken about something is not inherently bad or deserving of the aspersions you feel so righteous in casting.

Also...
slander
noun
1
    : the utterance of false charges or misrepresentations which defame and damage another's reputation
2
    : a false and defamatory oral statement about a person
May 30, 2023 draugath link
I added support for a touch command on field regions through the 3rd parameter of `gkinterface.CreateTouchRegion()`.

I don't care if you want to make modifications to DroidButtons, but if you see a deficiency in the plugin that would benefit other people, please let me know rather than denigrating my hard work.

If it's a reasonable and practical request, I'm more than happy to work towards implementing it for everyone.