Jump to content
  • Advertisement

RLS0812

Member
  • Content count

    1182
  • Joined

  • Last visited

Community Reputation

3043 Excellent

About RLS0812

  • Rank
    Contributor
  1. Craft The World is in interesting hybrid of Gnomoria and Terraria . The main game files can not be altered ( yet ), however all of the resource files can be accessed and changed. ( IE: creatures, dwarves, behaviors, crafting recipes, textures, sound, animations, items, armor, weapons, money, e.t.c. ) To get into the files, you will need to install 7zip and a text editor . First locate your Craft The World game directory. Next locate "main.pak" and open it with 7zip. Now locate the .xml files you wish to edit, and extract them to a folder. ( The ones I use the most are recipes.xml , beastiary.xml , creatures.xml, craft_resources.xml , and resource_bind.xml ) Make a backup of the original files, than edit. Once done, drag-and-drop the edited .xml file into the 7zip window for "main.pak" . Congratulations! You just modded the game !
  2. I keep reading all the hype about "VR", and every time I wish I could lecture the author about how almost nothing is actually new or innovative. A lot the technology surrounding VR has it's roots almost 40 years ago ! Here is a short history lesson: 1950's - first experimentation in virtual reality called "Sensorama". 1965 - first headset prototyped. 1972 - first known 3D object created. 1978 - first explorable 3D city was created. 1980 - first virtual reality arcade game was produced called "Battle Zone". 1984 - portable VR headsets first came out . 1984 - first 3D textured game called "3D Monster Maze". . 1985 - first data glove was prototyped. 1985 - first online virtual world created, called "Habitat". late 1980's - NASA was experimenting with the technology for flight controls. 1991 - tilt motion controls were developed for the headset. 1992 - omnidirectional treadmills were first prototyped. 1993 - a data glove was produced for full range motion, including fingers. 1993 - first VR magazine came out. . 1994 - first online 3D virtual world created, called "Activeworlds" 1999 - first virtual shopping mall opened. . 2003 - first virtual land sold 2009 - first virtual space station sold ( $330,000 USD )
  3. RLS0812

    I Want To Live In The City of Glass

    I am always interested seeing all the unique and creative designs game developers come up with for their city. My favorite architecture styles would have to be modernist, brutalist, and classic futurist. After watching some beta game play footage of Mirror's Edge Catalyst, I completely fell in love with the design and layout of City Of Glass. It has the right balance of modernist/futurist and brutalistic features! I would like living in that 'dystopian' world ! Pictures Link
  4. I hate being mislead ... I REALLY hate being mislead by folks who leverage nostalgia to their advantage. I present to you: Neocities. This web hosting service is claiming to recreate the "good old days" of GeoCities ! The problem is, I am one of the folks who actually used GeoCities a lot before Yahoo bought them out. In the old GeoCities, you could use a web editor that allowed you to drag-and-drop elements on your web page - no coding was required to create very nice looking ( for the time ) web sites. NeoCities offers nothing like that. Everything is 100% hard coding, with no drag-and-drop features. What the site does offer is their own text editor, and that is it. There is nothing noteworthy to distinguish them from any other basic HTML web host! In all honesty, I wish they would offer some basic PHP so that I could at least create a dynamic web page! To answer any questions before they are asked, yes I did mess around with all the available features in NeoCities before posting this short review/commentary.
  5. RLS0812

    How To Easily Stop The Steam Processes On Windows

    1: Steam doesn't show up in the task bar for me ( just in Task Manager ) 2: I am NOT going through the pain in the arse of disabling updating for 180+ titles 3: Steam services will auto start the instant ANY application tied to Steam is ran - and stay running after they are closed
  6. Steam, and all of it's child processes, may not seem like much for those that have fast internet and a higher end computer, but for me and many others it can be a pain in the arse. Steam ( and it's child processes ) tends to eat up a lot of my RAM, and continuously attempts to download large 'updates' that kills my turtle speed internet ( no, I can not change the ISP ). Normally it can be a hassle trying to kill the processes ( closing the Steam browser doesn't stop Steam and it's child processes from running ), however I have made a simple batch script that can do the job in 1 click. Create a new text file Change the file extension to .bat Edit with your favorite text editor - add the following line of code taskkill /F /IM Steam.exe Make sure to save the new file somewhere handy for when you need to stop the Steam processes!
  7. RLS0812

    Java - Getting The Path Of The Jar File

    . That is completely missing the point.  If I wanted to insert the path directly, I'd use "./"
  8. Whenever you are working with files in Java, sometimes you need to get the full path to the directory the .jar file is located in. Most of the time you can just use .String path = "./File_Name.txt"; // Note the "." before the "/" . when dealing with reading/writing/creating files and directories - HOWEVER for those times when that is not enough, you'll need to extract a "clean" path to the .jar file. Below is a simplified example that does exactly this. I cut out all of the unnecessary, over complicated, and/or outdated items you may find in other posts about this subject. I will explain how it works as we go along. .public class Main { public static void main (String[] args) throws Exception { String i; // ignore - not important String pathName; // path to create new file String fileName; // name of new file File file; // File object to create i = "\n**********\n"; // ignore - not important fileName = "/Test_File.txt"; // set the file name pathName = Main.class.getProtectionDomain().getCodeSource().getLocation().getPath(); // get the path of the .jar pathName = URLDecoder.decode(pathName,"utf-8"); // convert the path format from HTML to UTF pathName = pathName.substring(1,pathName.lastIndexOf("/") ); //create a new string by removing the garbage System.out.println(i + pathName + fileName + i ); // this is for debugging - see the results file = new File(pathName + fileName); // create file file.createNewFile(); // make new file }} . . .pathName = Main.class.getProtectionDomain().getCodeSource().getLocation().getPath(); . This returns the *raw* path of the .jar file in a HTML format with some extra junk that is not needed. Using ".toURI()", ".toURL()" and ".toString() is not necessary AND will create more junk in the path name! .[quote] C:\Users\RICK\Desktop>java -jar test1111.jar ********** /C:/Users/RICK/Desktop/Test1111.jar ********** [/quote] . Note: If you have any directories with special characters in them, you will end up with the HTML equivalent ... "%20" instead of " " for example. The next line parses the HTML format into UTF, which Java can understand as a path name .pathName = URLDecoder.decode(pathName,"utf-8"); . This cleans up the HTML format, but leaves some junk behind .[quote] C:\Users\RICK\Desktop>java -jar test1111.jar ********** /C:/Users/RICK/Desktop/Test1111.jar **********[/quote] . Now we need to remove the junk, and create a usable path for Java to use .pathName = pathName.substring(1,pathName.lastIndexOf("/") ); . This removed the first "/" from the string, and also cuts off the name of the .jar file ! This creates a usable path name, to be used, in this example, to make a file .file = new File(pathName + fileName); file.createNewFile(); . .[quote] C:\Users\RICK\Desktop>java -jar test1111.jar ********** C:/Users/RICK/Desktop/Test_File.txt **********[/quote] . Thank you for reading. Please leave feedback below !
  9. A few months ago I had a great idea for a business in Detroit - a specialized reclamation company that would provide a low cost method for cleaning up run down Detroit buildings. With a rough draft of business plan in hand, I started researching all the licensing and ordinances I would need to comply with in the Detroit area. Almost instantly I ran into a brick wall. From what I was reading on the Detroit Licensing Site, it's almost imposable to get a new business license. Confused and a bit aggravated, I made several phone calls to city hall, asking many questions. After a few hours of run around, I gave up, not getting any answers from them. From there, I called up a few Detroit business groups with questions, and I fond the answers I was looking for. Detroit construction and manufacturing licensing / ordinance laws are written specifically to protect existing businesses from new competition ! I couldn't believe it! I drew up another business plan, this time for something in the auto industry category - a press metal shop - and started doing my researcher again on what was required. Again I hit a brick wall of bureaucratic "red tape". I still didn't quite believe how anti "new" industrial the Detroit laws were, so I tried one more time, this time as company that manufactures tricycles. This time when I did my legal researcher, I took my time, and made sure I fully understood everything involved. Wouldn't you know it, yet another wall. If Detroit wants to stop being the cesspit of the Untied States, with stupidly high unemployment, stupidly high crime, and a major financial problem, them need to drop ALL of their protectionist laws, and make the city once again friendly for new manufacturing and construction business.
  10. The game "5 Nights At Freddy's 3" hasn't been out a full day yet, and already there is speculation on who the animatronic "Springtrap" is. One of the most popular theories is that he the only animatronic that is not a phantom - Bonnie. I do not believe Springtrap is from the other games. Let's take a close look at Springtrap ... Please take note of the eyes, the nose, and the button. Bonnie from 5 Nights At Freddy's 1 did not have buttons, nor did he have eyebrows. His nose was also larger than Springtrap's . ... Bonnie #1 from 5 Nights At Freddy's 2 *did* have buttons, however the animatronic was already torn apart ! Please note the shape of the "stomach" patch does not match Springtrap's . ... Bonnie #2 ( Toy Bonnie ) from 5 Nights At Freddy's 2 has absolutely nothing that matches Springtrap ... From what I have seen, I think Springtrap is a completely new character. According to the 'new' phone guy (day 2), he was discovered in an extra room. According to the 'Vintage Training Audio Tapes', the old 'spring suits' were sealed off in the 'safe room' due to 'legal' reasons (nightmare mode). According to the mini game end of day 5, Purple Man was killed in a rabbit spring suit - it was also hinted at in the night 5 'Vintage Training Audio Tapes'. ... From all this, I believe that Springtrap is an experimental animatronic that was sealed away in the 'safe room' [*1] after killing Purple Man. [*1] It is unclear which 'safe room' this was at. According to the 'Vintage Training Audio Tapes', there were many Freddy Fazbear Pizza locations .
  11. Very recently I found out that I was one of over 80 million accounts that were hacked from Anthem ( due to their non existent account security ) . I immediately filed a security freeze with all 3 Credit Bureaus, and than started doing research on ways the hackers could use my personal information (Name, Social Security Number, Address, e.t.c.) . Is it frightening what some one in the United States can do with someone else's information that will never show up on a credit report until after arrest warrants are issued. Here is what me and tens of millions of others face: With my personal information some one can: Receive identification cards ( or driver's license ), apply for my social security card, and obtain my birth certificate. They can fraudulently apply for government services in my name. They can fraudulently file tax returns. They can access my bank account without account information. They can access all of my retirement accounts without account information. They can sell any assets I own ( property, cars, stocks, bonds, e.t.c. ). They can take out certain lines of credit ( "No Credit Check !" ) for anything from furniture, to vehicles. They can apply for jobs in my name. They can apply for certain government grants in my name. This is just the tip of the iceberg - there is SO much a fraudster can do without tipping off the Credit Bureaus anything wrong is happening !!!
  12. There is a bug in Eclipse Indigo that has been driving me up a wall the last few days. Whenever you delete a Java project, it's launch configuration ( File > Export > (type) > Launch Configuration ) remains on the list ( and is invalid ). The invalid configuration does not show up on Run > Run Configurations ( after the project is deleted ), and there is no way to delete them from inside of Eclipse. The problem with this bug is that every time you go to export a project, you have to pick a launch configuration from a list containing both valid and invalid options. The more dead projects there are, the harder it is to find the correct launch configuration. In my case, I had 66 Launch Configurations, with only 6 of them being valid. To fix the problem, you can delete the invalid configs by hand. They are located in the following file (Wherever Eclipse Saves It's Files At) \.metadata\.plugins\org.eclipse.debug.core\.launches
  13. Below you will find a fully functional code example that shows how to do many common tasks with JPanel & JFrame. I stripped out as much useless "fluff" as I could, leaving the code as bare as possible( all code is in a single class ) . If you have a question on a specific area please refer to a Google search before asking here. Things this code demonstrates: Buttons, and how to identify which one was clicked Action listeners Mouse listeners, and how to get exact click coordinates Key listener Focuses listener, and how to fix a common issue when using several listeners at one time Drawing text and Unicode Fonts, text size ,text styles, text colors Popup windows How to get anti-aliasing to actually work Loading images from files and URLs Resizing images Drawing images Please note: this code is not optimized - but it is a single class and fully functional !!!import java.awt.Color;import java.awt.Dimension;import java.awt.Font;import java.awt.Graphics;import java.awt.Graphics2D;import java.awt.Image;import java.awt.RenderingHints;import java.awt.event.*;import java.net.URL;import javax.imageio.ImageIO;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JOptionPane;import javax.swing.JPanel;public class Main extends JPanel implements KeyListener,ActionListener,MouseListener,FocusListener { public static void main(String args[]) { Main m = new Main(); // building object container - using " 'this' " will not work JFrame frame = new JFrame("Title Here"); // set title frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // set behavior when closed frame.addKeyListener(m); // add keylistener frame.addFocusListener(m); // add focuse listener frame.addMouseListener(m); // add mouse listener JButton button = new JButton("Click"); // build a button button.setBounds(1, 200, 80, 30); // location and size of button frame.add(button); // add a button button.addActionListener(m); // something happens when button is clicked frame.add(m); // package and create the Jframe frame.setSize(new Dimension(300,300 )); // set window size frame.setFocusable(true); // add focuse button.setFocusable(true); // add focuse frame.setVisible(true); // make the window } // This method is automatically called \\ public void paintComponent(Graphics g) { Graphics2D g1 = (Graphics2D) g; // this is for antialiasing RenderingHints rh = new RenderingHints(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);// this is for antialiasing g1.setRenderingHints(rh);// this is for antialiasing g.setFont(new Font("Times New Roman",Font.BOLD,40)); // set font try { // add an image ( replace "URL" with "File" if loading from local hard drive Image img = ImageIO.read( new URL("http://img.brothersoft.com/icon/softimage/s/smileysidebar-387849-1280302029.jpeg") ); // get image from internet g.drawImage(img, 1, 100, null); // draw normal image g.drawImage(img.getScaledInstance(15, 15, Image.SCALE_DEFAULT), 1, 130, null); // draw resized image } catch (Exception e) {} // I'm too lazy to handle this error g.setColor(Color.black); // set text color g.drawString("Hello World ! ", 1, 30); // draw some words g.drawString("\u263A", 1, 100); // draw some unicode } public void keyReleased(KeyEvent kr) { // do something when a key is released jo("You pushed a key ! \n Key Name: " + kr.getKeyChar() ); // create popup window when a key is pressed }public void actionPerformed(ActionEvent bp) { // when a button is pressed, do something jo("You pushed the button ! \n Button Name: " + bp.getActionCommand() ); // create popup window when button is pressed} // "getActionCommand()" is the name of buttonpublic void mouseReleased(MouseEvent me) { // when a mouse button is clicked jo("Mouse clicked !\n Mouse Button: " + me.getButton() + "\nLocation Of Click: X-" + me.getX() + " Y-" + me.getY() ); // were did you click ? }public void focusLost(FocusEvent fl) { fl.getComponent().requestFocusInWindow(); // this keeps the window focused}public void jo (String s){ // added this to save space else were JOptionPane.showMessageDialog( new JFrame(""), s); // popup wondow}// These methods have to be declared \\public void keyTyped(KeyEvent kt) {}public void keyPressed(KeyEvent kp) {}public void focusGained(FocusEvent fg) {}public void mouseClicked(MouseEvent me) {}public void mouseEntered(MouseEvent me) {}public void mouseExited(MouseEvent me) {}public void mousePressed(MouseEvent me) {}}
  14. RLS0812

    Cheating At ' Don't Starve ' By Modifying The Game Code

     I do not know how the script is parsed by the rendering engine / game engine ( which is written in C++ and not open source ).
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!