lightning_'s Recent Forum Activity

  • Doesn't support that feature at the moment so you will need to do it yourself by looping through the existing List and removing all the duplicates.

    Here is one way of doing it:

    https://www.dropbox.com/s/ogpzayc4j0cdd75/Remove%20List%20Duplicates.c3p?dl=0

    Can I have the same example on Construct 2, I still can’t enter Construct 3

  • Read Ashley's thread. what he means to say is that you don't have to ask questions about productivity. You can answer them yourself based on your measurements. if a causes fps to drop more than b then use b is simple. but personally, I can say that the method with json in your case is a bad solution and it contains much more unnecessary and unnecessary information than the method where you write down what you need

  • нет.есть 2 плагина "лист": "кто написал" и "что написал".в них много имен а в другом много смс написанные этими пользователями.все данные в которых упоминается имя "ilya" ( то есть все смс которые написал ilyas и

    данные из "кто написал" и "что написал" идут в плагины

    "кто написал2" а смс в "что написал2"

    то есть из первой пары листов во вторую пишутся сообщения только одного определенного пользователя,все смс которые написал илья.

    а уже оттуда они переходят в текстбокс но переходят два раза почему то а мне нужно что бы 1 раз было

    On english

    no. there are 2 plug-ins "sheet": "who wrote" and "what wrote". they have a lot of names and in the other there are a lot of sms written by these users. all the data that mentions the name "ilya" (that is, all sms written by ilyas and data from "who wrote" and "what wrote" go to plugins "who wrote2" and sms in "what wrote" that is, from the first pair of sheets, messages of only one specific user are written to the second, all the SMS that Ilya wrote. and from there they go to the textbox but go twice for some reason, but I need it to be 1 time

  • friends imagine such a picture

    there are 2 list plugins on stage

    on the first name of the sender of the sms and on the second the text of the sms.

    When I press the button, the entire text of the SMS, along with the name of the sender, goes to the textbox, and there users can read their correspondence. this is how it should be

    a:hello

    b: hello who are you

    c: i am spider man

    d: an i very cool

    but I see this text that is repeated several times

    a:hello

    b: hello who are you

    c: i am spider man

    d: an i very coola: hello

    b: hello who are you

    c: i am spider man

    d: an i very cool

    If I stop the cycle, then nothing is written; if I stop after a couple of seconds, SMS is still duplicated

    or blank lines

  • There's a useful trick to the system find expression, where you do something like:

    System: find(text,"apple") ≠ -1

    Find returns the character index at which the first instance was found, but it returns -1 if nothing is found. So saying "if apple is not not found" is the same as "if apple is found". Then you do your action, like set text to "I love apples".

    Thanks you helped me a lot. Like +1

  • Friends, I need to learn how to set a condition like:

    If the textbox contains the word "apple"

    = Something will happen.and the text is something like this "Today I will buy apples and go home"

    I didn't like the expression "replace" for some reason it doesn't work in large texts

  • Not sure if I understood correctly but it looks like you want to encrypt the "a" and then decrypt back the "a"

    Maybe something like this?

    https://www.dropbox.com/s/xa9isi26qrs29z6/1-Encrypt.c3p?dl=0

    Yes, you understood correctly

  • Noticed another mistake in the "For X" loop - it should be from 0 to tokencount(..)-1

    Other than that I don't know what else can cause duplicate entries in the list. Add console logging to double check that Photon sends the correct data, and that this event only runs once.

    ок

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are no other places for sure. I already opened a new test project and there it was this part of my project, and there I also recorded several times

    You can try too

  • Friends, I need to see the player's ip address, how can I do this?

    I need this so that I can record his country and city in his own database of player information.

    I could not figure it out at all in the "Geolocation" plugin and it does not work when I make the condition that when the button is pressed, it will write the latitude and longitude of the player into the text.

  • Friends in my test project I wanted to try to encrypt text data using a "replace" statement.

    You write the text and press the "Submit" button.

    The text appears in the "text" plugin.

    Then when we click on the "Decrypt" button, the text from the text plugin goes to our other plugin "textbox" and it should decrypt the data from there.

    Now I'll tell you how I did it.

    You write let's say the letter "a" and it converts it to random characters and numbers. Here is an example of encryption.

    replace(Ciphertext.Text,"a","{${½g8w09eg64")

    And here is an example of decryption. It's just the reverse side of the encryption, I swapped the letter "a" and "{${½g8w09eg64"

    replace(Ciphertext.Text,"{${½g8w09eg64","a")

    Encryption works but decryption doesn't work.

    Here are the screenshots

  • Thanks to. I have been a member of this group for a long time. But why can’t you use a cycle in a cycle. As I understand it, the for cycle in a cycle where the cycle of the first action can already be completed and stop the "stop loop", then the second one will work without problems. problems arise, again based on my experience, as I understand it, if the first cycle does not end and the second one starts to work, then they intersect.

    And also I want to add that the photon did not send repeated data several times. I understood this by the fact that I output data from the variable into the text into which this data received from the photon "list of all people" was actually recorded

lightning_'s avatar

lightning_

Member since 19 Apr, 2021

None one is following lightning_ yet!

Trophy Case

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

Progress

6/44
How to earn trophies