Thread: Compiling a CFG file

Results 1 to 6 of 6
  1. #1 Compiling a CFG file 
    Pro Coder Donator <3 Valderg's Avatar
    Join Date
    Jul 2010
    Posts
    40
    Thanks given
    2
    Thanks received
    0
    Rep Power
    9
    Hello and thanks for viewing this, My problem is that when i go to compile it *supposedly* compiles everything and then when i go to play the server after editing the abysal whip to have all 100 stats, in return i get all 0's iv been studying this problem for quite some time now and figured id look for some help, all help is much obliged.

    - Sergeant Simcoe
    Reply With Quote  
     

  2. #2  
    Registered Member Ghost`'s Avatar
    Join Date
    May 2010
    Posts
    416
    Thanks given
    10
    Thanks received
    13
    Rep Power
    2
    .cfg files don't compile, they run when you run the server. Did you save it?
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Oct 2009
    Posts
    794
    Thanks given
    128
    Thanks received
    49
    Rep Power
    0
    Restart the Server, and DONT run it while you change it.

    Should Work.
    Reply With Quote  
     

  4. #4  
    Pro Coder Donator <3 Valderg's Avatar
    Join Date
    Jul 2010
    Posts
    40
    Thanks given
    2
    Thanks received
    0
    Rep Power
    9
    Quote Originally Posted by ShadowGhost View Post
    .cfg files don't compile, they run when you run the server. Did you save it?
    Yes, i got it figured out now thanks. its because i was editing the cfg while running the server so when i saved and restarted server, nothing happened.
    Reply With Quote  
     

  5. #5  
    Pro Coder Donator <3 Valderg's Avatar
    Join Date
    Jul 2010
    Posts
    40
    Thanks given
    2
    Thanks received
    0
    Rep Power
    9
    Quote Originally Posted by TheSadx View Post
    Restart the Server, and DONT run it while you change it.

    Should Work.
    Thanks that was it.
    Reply With Quote  
     

  6. #6  
    Super Donator

    Sydney's Avatar
    Join Date
    Jul 2009
    Age
    28
    Posts
    560
    Thanks given
    184
    Thanks received
    175
    Rep Power
    867
    Technically, you can modify the CFG file while the server is running. Even saving it won't effect your server. If you're reading the CFG with a BufferedReader, the BufferedReader reads it whenever the reader is opened (AKA the server is started). So, any ramifications to said file will not effect the server UNTIL restart.


    Spoiler for lulz:








    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •