Password System for RPG

G

Guest Dude

Guest
Can't figure out how to make a password system for an RPG. Is there a FAQ somewhere that can show me how? Thank you.
 
If you want this code to store items and say the level of a hero (not the abilities) and you only need it to be very simple encryption its not hard, if you want something like in the LoaP game it gets much more complex.
assuming u only want a simple one u need to creat a number system for example to save say the level of a hero (1-10) you would give each hero level an array i.e. lvl 1 = 1-5 lvl 2 =6-10 and so on, then when the program gives out the save code it will pick a random number (assuming the hero is lvl 2) between 6and 10, (lets say 7 is chosen ) then when the player is prompted to enter the code next game the player enters 7 and the game knows the hero was level . This is very easy with raw code but when ever i try it using the world editor simple "if" statments take allot of work i.e. entered number is between 6and 10 then do action hero level = 2. in the WE you would have to say if {int variable} = 6 , 7 , 8 ,9 or ten, then do action create lvl 2 hero.
I hope this helps show you how a simple encryption system works, basicly the more one code saves the longer you code (triggers) will have to be. the biggest problem with this is it is very simple to crack, and therefore cheating is inevitable. I am not sure if a more (let the WE do the work solution is out there but if u simpliy make what i gave you more complex it will work.
here is an example that should be fairly safe. the numbers that signify a level 2 hero are '1','7',28','13', 164', and lets say '79' this can make it a bit harder to crack but you will need to write it out flowchart style.
hope this helps.

===Visit===
www.wthef-wc3.00freehost.com
maps tutorials and links.

-Wthef_wc3
 
Thanks that does help, but I still am not sure which actual triggers to use in the WE. Which one generates a random number for the player? And how would I add item codes into the mix?
 
this is some pretty advanced stuff, so if ur not really good at triggers i wouldent use it
 
Is it that advanced? What triggers in the menu would you use? I can do most of the other triggers I need in my map, just have no clue how to do this one and I can't seem to find any site that says how to.
 
Anyone know a site that could do it if it would take to long to explain? Or could you just give me a example password?
 
I'm sure I'm not the only one who would like to know how to do this. Isn't there a simple example I could use to expand upon?
 
Hmm well i never really tried it, but you would probably have to use JASS. Its really looks like a complicated procedure...
 
Nope.. no JASS at all.. Just alot of variables .. and setting variables.. like..

Set (password_before_encrypt)) = ((length of entered chat string)))

and shit like that.. lol

im not that good at it, dont ask meh.. :p
 
It can be done with only in GUI variable (no custom text needed) however, it will , like DUCynicalOne said need alot of variable triggers, im guseeing you want something like the one in the latest LoaP game, but something like that requires alot of programing skill as it is an encrypting program, try visiting the LoaP fourms and asking the creator if he would share the code.


===Visit===
www.wthef-wc3.00freehost.com
Maps, Links and Tutorials
 
If worst comes to worst, couldn't I just do a simple trigger function. Something like player enters -save for his char, -save1 for items, and whatever else. Then I only have to worry about one thing instead of multiple things. It would be easy to break obviously, but it would work right?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    Like yeah I can tell. I don't need to fucking know.
  • Varine Varine:
    So now he's getting scrutinized and will not be top of the list. I know I don't have the smartest people but I do expect them to have some common fucking sense
  • Varine Varine:
    I did do a rare thing for me and hire a girl last month without warning. Everyone was made at me because I started her at like 21, but she worked with me before and I was like don't care. She made 19 at her old job and I wanted her to come work with me, she is the best
    +1
  • Varine Varine:
    I'm going to get her a raise at the end of the summer. She wants to go to school again, but I want her to still work with me so.... she kind of can just tell me what the price is. I can go to 25 if she keeps up. I need to get her onto line more, that's what she wants, but I need her where she is and it's not fair that she doesn't get the little bit of raise that comes with it. She can do it no problem, I've worked with her there.
  • Varine Varine:
    It's just hard to move and train people unnecessarily right now. And also the line fucking sucks, it's not any more fun. This is turn and burn so I have the bankroll, and everyone suffers for it
  • Varine Varine:
    Eventually we'll get it balanced, we'
  • Varine Varine:
    we're starting online orders and stuff, but I also turn that off all the time because I barely keep up trying to be the best at Sysco shit
  • Varine Varine:
    I think it's gonna be a good fall and winter though. We're going to have a good staff, they will get along, they will be able to manage the workload and the complications, they know how to really cook this year, like every person on line knows their steak temps. Some of them use thermometers a lot and they don't always use them right, but they do know how to do it. Failure, especially in this field, is the only way to get better. They'll get it
  • Varine Varine:
    They won't get feel down while they do the thermometer, but we didn't have an instant read probe when I was learning. Like they did but god knows how off it is, you HAD to do it by feel. Even if the chef was fine with me bringing my own, it takes too long. Poke and know
  • The Helper The Helper:
    420 threads in the Artificial Intelligence forum :)
  • The Helper The Helper:
    Happy Monday!
    +1
  • The Helper The Helper:
    and then it was Tuesday!
    +1
  • The Helper The Helper:
    fyi I am going out of town to lake somewhere in bfe texas for the weekend will be gone Friday morning to sunday afternoon for a paranormal thing and some rest peace
  • jonas jonas:
    cool take it easy
  • jonas jonas:
    I recently had an experience with a waiter that really brought down @Varine's point about them being in sales. The first waiter just asked "anything else? deserts?" and when the table shook their head said "ok" and left. Then the other waiter came in and started going off describing the deserts and you could see the heads turning, and they finally got a bunch of deserts
  • jonas jonas:
    makes sense if you consider that the tip is basically a commission on sales
    +1
  • The Helper The Helper:
    anybody know what the attachment limit size is on the forum?
  • The Helper The Helper:
    answer 65536 kb
  • Ghan Ghan:
    That's an arbitrary number. It could be whatever you want, really. Though one wonders what the use case is for uploading giant files to a forum these days.
  • The Helper The Helper:
    I should have asked elsewhere but i wanted vsnes to see he is trying to upload a pic no big deal it can stay where it is.
  • The Helper The Helper:
    That was a fun trip. Next time I am going to get some kind of water thing like a kayak or something to boat out n the lake, maybe get a place with a pier on it.
  • The Helper The Helper:
    Happy Monday! Hope everyone has a fantastic week!
  • A Andyoyo:
    Have a great week as well
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top