lightning_'s Recent Forum Activity

  • Thank you. I will definitely try and write to you. All I will do is stop the loop after checking the password

  • How can I break the cycle? and why does he fail, if his name is on the list, he must find it. and for some reason it finds and everything works well when there are less than 3 registered users

  • Friends. I have an extended chat on Photon. You can say almost like a social network.

    I made a registration room. After registration, the player can enter the "Login to your account" room. There he enters his data.

    He enters a username and password. And after clicking "Login to your account" these two values ​​​​are sent to the server for verification, that is, the username and password are separated by the "_" character

    When the server receives the code, it checks if this username exists. If not, it sends the text "Username not found". And if found, it looks at the password of this username.

    I did this using a "For" loop.

    But the thing is that if there are more than 2 or 3 registered users.

    Then I can’t log into my account. Sometimes I can and sometimes I can’t.

    I enter my data and the server says that the user is not in the list of registered users, although he is. I can’t understand the reason for 2 days, help someone who can. I’ll throw off the project itself if necessary.

    Here's what it looks like

  • You do not have permission to view this post

  • It is necessary for me that I could send through raise event all lines from plug-in list to other player through photon.

    If I send it via json, will its name be changed, that is, the name of the list plugin that will receive this data. Is it possible to do this via json?

    Tagged:

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Is it possible to somehow test it in a PC so as not to mess with exporting and transfer games to android

  • Friends, for testing and in order to learn how to insert ads into my game, I created the most simple test project.

    Quickly added 2 buttons.

    Clicking the first one will show a banner.

    Pressing the second will show an interstitial ad.

    I threw the Admob plugin (by the way, I also did everything with the ultimate ads plugin).

    I put there İd of special test ads taken from Google ads. I turned on the test mode in the plugin settings.

    screenshot imgur.com/4IEltf1.

    Then I made events at the start of the room ads are loaded and when clicked they will be shown

    screenshot imgur.com/8ssF9I1.

    Here is my whole scene

    screenshot imgur.com/516AWUG

    But the ad is not shown at all. I waited for 5-10 minutes. I did the same with the UltimateAds plugin

    Maybe I'm doing something wrong somewhere?

    capx project itself can be downloaded here

    drive.google.com/file/d/1frIWxgwQY2v0ASJ4j_PRB3wt9vuVXVy5/view

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Look into replace() function.

    Something like:

    InputText1 set text ->

    replace(InputText1.text,"_","")

    Thank you very much. You helped me a lot

  • If the input using keyboard you can use to limit (allow-dissalow) character key codes

    A key codes reference: cambiaresearch.com/articles/15/javascript-char-codes-key-codes

    Following crossword example prohibits numeric input: construct.net/out

    I already know this. But how to understand that the player clicked on "_" if he focused in the textbox and writes text there. I tried it. To fix the keystroke, you need not enter text anywhere. will be

  • I need that the player could not enter the character "_". What if there is at least one character "_" in the text, then it was either not written or the input field became empty. I watched "regex match" but did not understand

lightning_'s avatar

lightning_

Member since 19 Apr, 2021

None one is following lightning_ yet!

Trophy Case

  • 4-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies