-
Posts
107 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by nandrolone
-
Same issue is there existing and it is only on this script for some reason, tried changing text size, no difference also deleting osbot files and loading it up again still no luck
-
Okay i'm understanding Which file do you want to copy? Confidential.txt Where do you want the file to be copied? C:\Users\imenu\Documents Error -- java.io.FileNotFoundException: C:\Users\imenu\Documents (Access is denied) Got this in console, what would be the reason? import java.io.*; import java.util.Scanner; public class Confidential { public static void main(String args[])throws IOException { try{ FileWriter fw = new FileWriter("Confidential.txt"); PrintWriter pw = new PrintWriter(fw); pw.println("Lewis Ovenden 1607557"); pw.close(); fw.close(); FileOutputStream Fwrite=new FileOutputStream("Confidential1.txt") ; int input=0; Scanner scanner = new Scanner (System.in); System.out.print("Which file do you want to copy? "); String name = scanner.next(); System.out.print("Where do you want the file to be copied? "); String fileName = scanner.next(); FileInputStream Fread =new FileInputStream(fileName); scanner.close(); while (input != -1) { input = Fread.read(); if (input != -1) Fwrite.write(input); } Fwrite.close(); Fread.close(); } catch (IOException e) { System.out.println("Error -- " + e.toString()); } } }
-
Maybe i am misunderstanding, the goal of the task is to be able to copy a file that the user has requested, and copy it to the destination of the users choice, correct?
-
Yeah it's coursework assignment from uni, appreciate any input from you both i'm a noob at java
-
This is nothing to do with osbot if you read the thread
-
I have done the first bit, giving a file location that is received from the user how can i call that?
-
Remove/move post if irrelevant TASK: Exercise 3 - Copy Program Write a program that allows you to create duplicate/copy of files. Your program should have the following properties: • Allow the user to specify the file that is to be copied. • Allow the user to specify the destination to where the file is to be copied. • Warn users when a file is being overwritten because of copying. This will happen if the destination file already exists. In such cases, you can ask the user whether they want to continue with the writing or abort. • Handle both binary and text files. Take extra care about which streams you need if you want to handle both binary and text files. • You should also handle the usual errors, for example when a user wants to copy a file that doesn’t exist. Current code: import java.io.*; import java.util.Scanner; public class Confidential { public static void main(String args[])throws IOException { try{ FileWriter fw = new FileWriter("Confidential.txt"); PrintWriter pw = new PrintWriter(fw); pw.println("Lewis Ovenden 1607557"); pw.close(); fw.close(); FileInputStream Fread =new FileInputStream("Confidential.txt"); FileOutputStream Fwrite=new FileOutputStream("Confidential1.txt") ; int input=0; Scanner scanner = new Scanner (System.in); System.out.print("Which file do you want to copy? "); String name = scanner.next(); System.out.print("Where do you want the file to be copied? "); String fileName = scanner.next(); scanner.close(); while (input != -1) { input = Fread.read(); if (input != -1) Fwrite.write(input); } Fwrite.close(); Fread.close(); } catch (IOException e) { System.out.println("Error -- " + e.toString()); } } } Struggling to be able to use scanner input to be able to interact with user to copy the file (file gets copied regardless of input atm)
-
Stringing on fletching is fine and cooking is fine also I think its just certain types that changed but general cooking like tuna lobs ain't effected I'm sure Edit: yeah its broken
-
There is but he hasn't updated it with new quests that he has added
-
Try using a private script rather than a premium one, risk of ban is still some what high though
-
[Zulrah] Making my first bot farm since 2013 [Progress, pictures]
nandrolone replied to Swedens's topic in Botting & Bans
Setting up bots through team viewer is the struggle ? esp if on a shit connection -
So you make all your income online?
-
Do you have a list of quests that you are currently working on?
-
Majority of peoples go to are Samsung or apple purely because of there marketing, people see other people own an iPhone and think it's good although they have no idea, marketing allows apple to put such price tags just like Samsung the s8 is just like the note 8 but a slightly bigger screen and a pen this is the same for Samsung s7 and s8 comparison, barely any difference and chuck another 300 quid on top. Apple are just the same difference between the 6 and 7 is minor except its thinner and they took out the aux and again had a 700 price tag or whatever it was, overall this is why phones like LG are cheaper because they don't know how to market, the v30 is priced at 800 quid but that will drop quite a bit after 3 months
-
Jagex does not have the power to not allow you to connect to your own Internet lol
-
Is there a way of getting a refund for this? The ban rate is so high that its completely pointless a long side that it's no longer fully automatic and requires baby sitting
-
I have the LG g6 but I'm just saying as an example, my phone still works fine and has no issues as for Android I prefer it highly over iOS due to the amount of customisation you can do compsred to being stuck on itunes, Ive had an iPhone from 3-6,apple went downhill after the iPhone 5 they have only just got wireless charging and all apple fangays got hyped asf when Android phones have had this for years
-
So if you own a Samsung note 8 you are a poor dipshit?
-
to include the note 4 probably being 1/3 or 1/4th of the price
-
iPhone x is not legendary esp not with that price tag
-
@Czar gets suck at ge selling/buying items this includes paying the foreman 2.5k to use the furnace
-
I have the same issue atm
-
Having an issue now where it keeps trying to attack other monsters while it's currently in combat