|
Answer» hey
I have a batch file that at first creates 50 text files with info inside of them, the next part is it takes a random number.. and sets it into 30 different variables
these variables i use in the for /f skip= , commands .. it works, the idea .. is to take combinations of these variables.. according to a string, witch is the random number.. or a manual number i enter and every time it loops it re sets this string to another number.. so the next combination of information is differnt then the beginning..
and then re ECHO them into a new file with the additional information required.. but the problem is everytime even though i no its re setting the variables, its producing the same information.. and the second problem is it wont loop properly.. it takes about 4 loops to produce the first set of information , and still leaves some out?! i no its not a error in that specific code, what else could be causing this?
this is a long code so ive POSTED the section of it thats giving me the problems here http://odn.t35.com/DOS/highlite.txt
any help is appreciated
From what i see, you are just telling us how you are trying to solve the problem. What exactly are you trying to do.? sorry.. well i play this game thats similar to diablo , ANYWAYS monsters items and stuff like that can be added easily threw the .dat files it has , im just trying to take all the different options for a monster.. and pull them from MULTIPLE textfiles ive created, to create a new file .. so bascially like a generator , im trying to GENERATE 100 random enemys , it saves time..
|