So I am trying to encrypt data in my game, and I cant really find any tutorials on the internet that even begin to try and describe what you can do with starcode. I have been able to figure it out and get it working for the most part except for a couple small things. I am trying to encrypt using randomly generated data for each game based on numbers, by generating 2 random numbers at game start, 1 integer and 1 real. The integer number, points to a mathematic equation for the real number to pass through, also that formula becomes random when passed through. And then I use that number as an encryption key. This isn't the problem though, the problem is after the value get's encrypted, the bank file value becomes this number (and repeats depending on the hash size) until it get's to the real code, for example the stored data could return "!%44f;", but when I apply the random number encryption, it basically just throws the number in front, so it looks like this instead "14773.331514773.331514773.3315!%44f" clearly this is not right. However if I try and hash first and then apply my encryptions (I use several different encryptions) the data is not actually being saved into the bank file, and instead it acts as if the information is being overwritten each time thus defeating the purpose of trying to store data.
My question is how can I get the string value in my bank to be over 50 characters long and be completely encrypted (no repeating number/character sets in it?
Also other things to know, yes I do save the value of the randomly generated number for decryption and it does work I have tested it, the problem is that either I have a half way encrypted string that shows a pattern and also the key for 1 stage of decryption, and without it I fear the encryption is too weak because it only produces like a 4 - 8 character long string which just feels insecure.
I cant really make much sense of the example star code map because it's version 1.0 not 1.4 so it's not up to date, and it really only describes storing 1 value with 1 encryption and not 1 value encrypted multiple ways with different kinds of data.
Any help would be greatly appreciated, thanks in advance, and if you need visual I think it would just be easier to skype and use screen sharing, so send me a PM asking for my skype name or with yours so we can do a skype chat.
I know this was asked a long time ago, and I am not trying to revive any dead threads, however upon looking for this answer myself I found no help at all. Although I remember a long time ago I did figure this out, I had to figure it out again, so I figure I will help other people out by sharing how to do it.
It's a little counter-intuitive but the answer lies in the splat actor for your unit. So for example if your unit is the Cybernetics Core, then go to the Units tab in the Data editor. Then bring up the Cybernetics Core, and click on it. On the left had side on the bottom (where you can see Models, Foot Print, Buttons, abilities, etc etc. Find (under the Actors Category) CyberneticsCore Splat (Cybernetics Core Splat)
Then inside here, using the table view (ctrl + 1)(the one that looks like a huge list) In the Field area (left side of the right half or part that holds names) look for Art: CActorSplat_Scale, Then all you do is modify this value to be what you want, less than 1 is smaller than normal size, and obviously that means larger than 1 means it's going to cast a shadow larger than normal. Good luck
Not that anyone is following this much anyway I wanted to say a few things, Sorry about the long wait guys, I am happy to say that I am getting stuff done on this map, and it's at a point where it has a playable alpha. I may be releasing the alpha soon, but it will only include a short bit of the story line. I am still working on lots of things and bugs. It seems as if everything I've done has a bug with it. But rest assured I am squashing them! Just thought I would get all of the people who are searching the internet for this map an update. It's almost here, and again sorry about the long wait. It has proven to be much more tricky than I had originally anticipated.
So I found this guide to be extremely useful, because I am embarking on creating a map, and another method I was trying to use for picking characters out of the lobby wasn't resolving so well. However I have a bug with this, I do not have the option to choose hide dialog for (Player group((Triggering player))) it simply does not exist in there, any ideas on how to get it to appear?
EDIT: So I figured out how to get the last step to work properly, it wasn't posted in your main that you need to change (all players) to convert player to player group and then choose triggering unit. Thank you for the guide though it was extremely useful and I hope my edit helps someone else if they have the same problem as I did
Bump and also I want to ask, how well do you guys think this map will do? And would you play it? I hope to bring factors or extras for completing the map on different difficulties to increase re-playability.
So I have noticed no where in any community has it been announce that anyone is trying to recreate the DBZ All sagas maps from SC1, I always liked these maps and have always sought after being the creator of a popular map. Well I have decided to embark on this journey to create or should I say re-create these maps. It's really a lot of time with triggers and stuff which I am okay with in the new Galaxy editor, though I must admit this is seeming to be more tricky than I originally anticipated. I come to the forums here to seek out the help of another person experienced in map editing/creating to get through this beast of a project. I have just about nothing in terms of triggers, although I have the map layout (which is basically the same but is subject to change as I/we see fit and the units that will be the forms of each character, also subject to change) I have gotten myself acquainted with the new editor and some of it's features and will be using it to the best of my ability. So with that all said, is there anyone out there that would like to help me in this endeavor to bring back an old and popular game from SC1? It will most likely be top 2 pages of custom games. I also plan to make it integrated in difficulty where you don't have several games 1 easy and 1 hard on the custom map list, but just 1 game, and then players or host can choose difficulty at the start. And perhaps have some bonuses for players that beat it on certain difficulties (but that's just an after thought for now)
0
So I am trying to encrypt data in my game, and I cant really find any tutorials on the internet that even begin to try and describe what you can do with starcode. I have been able to figure it out and get it working for the most part except for a couple small things. I am trying to encrypt using randomly generated data for each game based on numbers, by generating 2 random numbers at game start, 1 integer and 1 real. The integer number, points to a mathematic equation for the real number to pass through, also that formula becomes random when passed through. And then I use that number as an encryption key. This isn't the problem though, the problem is after the value get's encrypted, the bank file value becomes this number (and repeats depending on the hash size) until it get's to the real code, for example the stored data could return "!%44f;", but when I apply the random number encryption, it basically just throws the number in front, so it looks like this instead "14773.331514773.331514773.3315!%44f" clearly this is not right. However if I try and hash first and then apply my encryptions (I use several different encryptions) the data is not actually being saved into the bank file, and instead it acts as if the information is being overwritten each time thus defeating the purpose of trying to store data.
My question is how can I get the string value in my bank to be over 50 characters long and be completely encrypted (no repeating number/character sets in it?
Also other things to know, yes I do save the value of the randomly generated number for decryption and it does work I have tested it, the problem is that either I have a half way encrypted string that shows a pattern and also the key for 1 stage of decryption, and without it I fear the encryption is too weak because it only produces like a 4 - 8 character long string which just feels insecure.
I cant really make much sense of the example star code map because it's version 1.0 not 1.4 so it's not up to date, and it really only describes storing 1 value with 1 encryption and not 1 value encrypted multiple ways with different kinds of data.
Any help would be greatly appreciated, thanks in advance, and if you need visual I think it would just be easier to skype and use screen sharing, so send me a PM asking for my skype name or with yours so we can do a skype chat.
0
I know this was asked a long time ago, and I am not trying to revive any dead threads, however upon looking for this answer myself I found no help at all. Although I remember a long time ago I did figure this out, I had to figure it out again, so I figure I will help other people out by sharing how to do it.
It's a little counter-intuitive but the answer lies in the splat actor for your unit. So for example if your unit is the Cybernetics Core, then go to the Units tab in the Data editor. Then bring up the Cybernetics Core, and click on it. On the left had side on the bottom (where you can see Models, Foot Print, Buttons, abilities, etc etc. Find (under the Actors Category) CyberneticsCore Splat (Cybernetics Core Splat)
Then inside here, using the table view (ctrl + 1)(the one that looks like a huge list) In the Field area (left side of the right half or part that holds names) look for Art: CActorSplat_Scale, Then all you do is modify this value to be what you want, less than 1 is smaller than normal size, and obviously that means larger than 1 means it's going to cast a shadow larger than normal. Good luck
0
Not that anyone is following this much anyway I wanted to say a few things, Sorry about the long wait guys, I am happy to say that I am getting stuff done on this map, and it's at a point where it has a playable alpha. I may be releasing the alpha soon, but it will only include a short bit of the story line. I am still working on lots of things and bugs. It seems as if everything I've done has a bug with it. But rest assured I am squashing them! Just thought I would get all of the people who are searching the internet for this map an update. It's almost here, and again sorry about the long wait. It has proven to be much more tricky than I had originally anticipated.
0
So I found this guide to be extremely useful, because I am embarking on creating a map, and another method I was trying to use for picking characters out of the lobby wasn't resolving so well. However I have a bug with this, I do not have the option to choose hide dialog for (Player group((Triggering player))) it simply does not exist in there, any ideas on how to get it to appear?
EDIT: So I figured out how to get the last step to work properly, it wasn't posted in your main that you need to change (all players) to convert player to player group and then choose triggering unit. Thank you for the guide though it was extremely useful and I hope my edit helps someone else if they have the same problem as I did
0
Bump and also I want to ask, how well do you guys think this map will do? And would you play it? I hope to bring factors or extras for completing the map on different difficulties to increase re-playability.
0
So I have noticed no where in any community has it been announce that anyone is trying to recreate the DBZ All sagas maps from SC1, I always liked these maps and have always sought after being the creator of a popular map. Well I have decided to embark on this journey to create or should I say re-create these maps. It's really a lot of time with triggers and stuff which I am okay with in the new Galaxy editor, though I must admit this is seeming to be more tricky than I originally anticipated. I come to the forums here to seek out the help of another person experienced in map editing/creating to get through this beast of a project. I have just about nothing in terms of triggers, although I have the map layout (which is basically the same but is subject to change as I/we see fit and the units that will be the forms of each character, also subject to change) I have gotten myself acquainted with the new editor and some of it's features and will be using it to the best of my ability. So with that all said, is there anyone out there that would like to help me in this endeavor to bring back an old and popular game from SC1? It will most likely be top 2 pages of custom games. I also plan to make it integrated in difficulty where you don't have several games 1 easy and 1 hard on the custom map list, but just 1 game, and then players or host can choose difficulty at the start. And perhaps have some bonuses for players that beat it on certain difficulties (but that's just an after thought for now)