DONIC Posted March 20, 2020 Share Posted March 20, 2020 Is it possible for the game guard to read a file for example 123456789 and cut a specific part for example 789? Could you write an example? Link to comment Share on other sites More sharing options...
Administrators Enyby Posted March 20, 2020 Administrators Share Posted March 20, 2020 Yes. Read about Lua functions io.* and string.*. Link to comment Share on other sites More sharing options...
DONIC Posted March 20, 2020 Author Share Posted March 20, 2020 17 minutes ago, Enyby said: Yes. Read about Lua functions io.* and string.*. I could write an example? Link to comment Share on other sites More sharing options...
DONIC Posted March 20, 2020 Author Share Posted March 20, 2020 I need to cut a part of a very specific file Remembering that this file changes example (A; F693B1D8; Var # F693B1D8; 1,0; Float) I need to ignore the 26 characters and get what follows next example (1.0; Float) I'm a Game Guard beginner please could someone help? Link to comment Share on other sites More sharing options...
Administrators Enyby Posted March 20, 2020 Administrators Share Posted March 20, 2020 It sounds like you're doing something wrong. It looks like you want to save the items in a saved list, then save the list to a file, and then read the file as text and perform questionable manipulations with this text. Instead of taking and working with elements of the saved list directly, in a script. Link to comment Share on other sites More sharing options...
DONIC Posted March 20, 2020 Author Share Posted March 20, 2020 8 minutes ago, Enyby said: Parece que você está fazendo algo errado. Parece que você deseja salvar os itens em uma lista salva, em seguida, salve a lista em um arquivo e, em seguida, leia o arquivo como texto e execute manipulações questionáveis com esse texto. Em vez de pegar e trabalhar diretamente com elementos da lista salva, em um script. It's possible?? Link to comment Share on other sites More sharing options...
Administrators Enyby Posted March 20, 2020 Administrators Share Posted March 20, 2020 Yes. Link to comment Share on other sites More sharing options...
Question
DONIC
Is it possible for the game guard to read a file for example 123456789 and cut a specific part for example 789?
Could you write an example?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.