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

Gui Controls doesn't work #1

Closed
T3rg0s opened this issue May 1, 2017 · 14 comments
Closed

Gui Controls doesn't work #1

T3rg0s opened this issue May 1, 2017 · 14 comments

Comments

@T3rg0s
Copy link

T3rg0s commented May 1, 2017

Hello, thank's a lot for your amazing work !
I try to learn from your API, but I have a problem for using GUI menu, controls set doesn't work for atm or markets (up/down and left/right are ok, but select not work).

Do you have any idea about this issue?

Thank's a lot.

@ImagicTheCat
Copy link
Member

Hi,

thank you for your feedback, I haven't really released vRP yet so I didn't documented it, but the controls are based on the cellphone bindings (LEFT,UP,RIGHT,DOWN,CANCEL,SELECT). For me cancel is "return", and select is "enter".

@T3rg0s
Copy link
Author

T3rg0s commented May 1, 2017

Thanks for your answer,
I think I found the problem, binding are correct on my side now, but the vRP.prompt not showing when I try to deposit/withdraw.

@ImagicTheCat
Copy link
Member

There is a minor issue where you need to press enter twice after pressing tab for a second withdraw, but if it doesn't appear in the first try, there is an error somewhere. Do you have other resources using mysql loaded ?

@T3rg0s
Copy link
Author

T3rg0s commented May 1, 2017

Nope, I don't have any other resources using mysql

@T3rg0s
Copy link
Author

T3rg0s commented May 1, 2017

I tried to reuse it from scratch, and it doesn't work.

@ImagicTheCat
Copy link
Member

I will do some testing on different servers today to reproduce the issue.

@T3rg0s
Copy link
Author

T3rg0s commented May 1, 2017

Okay, I have same problem in alll menus (market, atm, new gunshop :)).

@T3rg0s
Copy link
Author

T3rg0s commented May 1, 2017

Wich cfx server do you have ? The latest (30.04.17) release?

@ImagicTheCat
Copy link
Member

ImagicTheCat commented May 1, 2017

Same version, under windows. I will try under linux if there is a difference, meanwhile try to add a prints before line 8 (to know if the choice is triggered).

@T3rg0s
Copy link
Author

T3rg0s commented May 1, 2017

I tried to add print debug into atm_choice_withdraw() and atm_choice_deposit(), no results when I try to select choice ingame...

@ImagicTheCat
Copy link
Member

Try the last update and tell me if the problem still exists, no needs to update the cfg dir.

@T3rg0s
Copy link
Author

T3rg0s commented May 1, 2017

I Tried with the last update, but now i don't have any menus/progressbar shown.

@T3rg0s
Copy link
Author

T3rg0s commented May 1, 2017

Okay I found the problem, was related with git cloning ! I downloaded and updated manually, now its work perfectly !
Thank's a lot, now I will try to commit you a few improvments :)

@ImagicTheCat
Copy link
Member

Nice !

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

2 participants