Thread: .BAT File.

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 .BAT File. 
    Registered Member
    Join Date
    Nov 2011
    Posts
    111
    Thanks given
    8
    Thanks received
    0
    Rep Power
    11
    Hiya!

    For some reason, I keep getting errors in my source that drops are not working and NPC's are not dropping anything in-game. The source I'm using does have a DropEditor.bat, but I'm running on Mac OS X and I'm unable to run it so I can re-pack the drops. If there a way to run *.BAT files through Eclipse?
    I deleted packedDrops.d and like an idiot, I can't recover it...


    Thanks!
    eyePhone
    Reply With Quote  
     

  2. #2  
    Donator

    Old Oak's Avatar
    Join Date
    May 2011
    Age
    29
    Posts
    1,552
    Thanks given
    542
    Thanks received
    435
    Rep Power
    189
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2011
    Posts
    111
    Thanks given
    8
    Thanks received
    0
    Rep Power
    11
    I've tried using that, but I'm getting this in the Console.

    Code:
    /Users/***/Desktop/***/Server/DropEditor.bat: line 1: @echo: command not found
    /Users/***/Desktop/***/Server/DropEditor.bat: line 2: title: command not found
    Usage: java [-options] class [args...]
               (to execute a class)
       or  java [-options] -jar jarfile [args...]
               (to execute a jar file)
    where options include:
        -d32	  use a 32-bit data model if available
        -d64	  use a 64-bit data model if available
        -server	  to select the "server" VM
                      The default VM is server,
                      because you are running on a server-class machine.
    
    
        -cp <class search path of directories and zip/jar files>
        -classpath <class search path of directories and zip/jar files>
                      A : separated list of directories, JAR archives,
                      and ZIP archives to search for class files.
        -D<name>=<value>
                      set a system property
        -verbose:[class|gc|jni]
                      enable verbose output
        -version      print product version and exit
        -version:<value>
                      require the specified version to run
        -showversion  print product version and continue
        -jre-restrict-search | -no-jre-restrict-search
                      include/exclude user private JREs in the version search
        -? -help      print this help message
        -X            print help on non-standard options
        -ea[:<packagename>...|:<classname>]
        -enableassertions[:<packagename>...|:<classname>]
                      enable assertions with specified granularity
        -da[:<packagename>...|:<classname>]
        -disableassertions[:<packagename>...|:<classname>]
                      disable assertions with specified granularity
        -esa | -enablesystemassertions
                      enable system assertions
        -dsa | -disablesystemassertions
                      disable system assertions
        -agentlib:<libname>[=<options>]
                      load native agent library <libname>, e.g. -agentlib:hprof
                      see also, -agentlib:jdwp=help and -agentlib:hprof=help
        -agentpath:<pathname>[=<options>]
                      load native agent library by full pathname
        -javaagent:<jarpath>[=<options>]
                      load Java programming language agent, see java.lang.instrument
        -splash:<imagepath>
                      show splash screen with specified image
    See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
    /Users/***/Desktop/****/Server/DropEditor.bat: line 3: lib/*: No such file or directory
    /Users/***/Desktop/****/Server/DropEditor.bat: line 4: pause: command not found
    *** - Stared out for personal reasons.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Nov 2011
    Posts
    111
    Thanks given
    8
    Thanks received
    0
    Rep Power
    11
    Any ideas?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2014
    Posts
    118
    Thanks given
    13
    Thanks received
    0
    Rep Power
    18
    Just run it regularly, then refresh the source in eclipse.
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Jan 2014
    Posts
    376
    Thanks given
    49
    Thanks received
    111
    Rep Power
    106
    Batch files are designed for Windows-only. You'll need to translate it a Mac-OS equivalent, which is a shell script (.sh).
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Nov 2011
    Posts
    111
    Thanks given
    8
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by EatMYHacks View Post
    Just run it regularly, then refresh the source in eclipse.
    I have done, then I get them errors.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Nov 2011
    Posts
    111
    Thanks given
    8
    Thanks received
    0
    Rep Power
    11
    Is there anyway to edit drops without an editor?
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Feb 2014
    Posts
    118
    Thanks given
    13
    Thanks received
    0
    Rep Power
    18
    yes look in your data/items/unpackedShops you can add shops there
    Reply With Quote  
     

  10. #10  
    Hollow Realm

    Join Date
    Sep 2013
    Posts
    295
    Thanks given
    12
    Thanks received
    11
    Rep Power
    1
    If you're trying to run a drop editor through eclipse,
    Set a run configuration to the tool itself. Have a guide on some post I put awhile back on how to do it with pictures.

    [SPOIL]




    Don't have to use itembonusespacker, just replace that name with whatever tool you are trying to run, if there is one.
    [/SPOIL]
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Standard program for .bat files.
    By Tzar in forum Software
    Replies: 4
    Last Post: 02-15-2009, 03:17 AM
  2. How to make a .bat file [EASY]
    By Repentent Drop in forum Tutorials
    Replies: 7
    Last Post: 08-17-2008, 11:14 AM
  3. A bat file to open your server folder.
    By ViperSniper in forum Configuration
    Replies: 14
    Last Post: 06-13-2008, 09:22 PM
  4. - Information about Batch (.bat) files -
    By Escapez in forum Configuration
    Replies: 3
    Last Post: 05-26-2008, 08:19 AM
  5. [BATCH] Simple Batch (.bat) File Tutorials
    By newservermaker in forum Website Development
    Replies: 8
    Last Post: 03-12-2008, 10:17 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •