Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #31  
Old 08-28-2011, 07:49 AM
PhantosP2P PhantosP2P is offline
Pizza Wizard
PhantosP2P's Avatar
Join Date: Aug 2011
Location: California, USA
Posts: 122
PhantosP2P will become famous soon enough
I'd love to, but I am unsure of the correct thing to type. If I run gballexpander.jar from my command prompt (Windows 7), it opens the java front-end and asks me to select a file. What triggers do I use to tell it the first file?

Something like "c:\gball\gballexpander.jar -c:\gball\levels_0.arc" ?

It doesn't freeze or anything. It will create the folder as if starting, but then it simply disappears and nothing is extracted. I have 171 of these babies and it took over three days to compile :)

p.s. I love you.
Reply With Quote
  #32  
Old 08-28-2011, 08:41 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Launch it with "java -jar c:\gball\gballexpander.jar", then try. When it stops working, look in the command prompt to see if there are any error messages.
__________________
Reply With Quote
  #33  
Old 08-28-2011, 10:03 AM
PhantosP2P PhantosP2P is offline
Pizza Wizard
PhantosP2P's Avatar
Join Date: Aug 2011
Location: California, USA
Posts: 122
PhantosP2P will become famous soon enough
Oh there we go!

Reply With Quote
  #34  
Old 08-28-2011, 04:48 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by PhantosP2P View Post
Oh there we go!

I'll try to fix that later. For now, you can run it with "java -Xmx1024m -jar c:\gball\gballexpander.jar" to increase the maximum memory it's allowed to use (if it happens again, increase '1024').
__________________
Reply With Quote
  #35  
Old 08-28-2011, 11:07 PM
PhantosP2P PhantosP2P is offline
Pizza Wizard
PhantosP2P's Avatar
Join Date: Aug 2011
Location: California, USA
Posts: 122
PhantosP2P will become famous soon enough
Thanks! This worked, but only after I grabbed the 64-bit version of Java so that I could tell it to grab 3GB instead of 1GB. The process is running now, and man is there a lot of stuff here.

Thank you again for making a viable backup option for us.
Reply With Quote
  #36  
Old 12-11-2011, 06:44 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
I decided to give this a shot at backing up Classic's account files, which was always likely to be problematic considering there are over 100,000 account files (would be nice if Stefan could help us out by comparing account text files with the actual accounts database, as there's a lot of junk that should be removed), which totalled about 110 mb after we wiped having been 380 mb before.

After setting this.maxlooplimit to 200,000 in order to not break the max loop limit it didn't take long during the file writing to receive an error related to flood alert, while using the default 4 mb at a time with a 6 minute delay, so it does look as if flood sensitivity isn't definite.
Setting it to a 10 minute delay writing just 2 mb at a time is working so far.

Edit: Now getting a flood error when attempting to write at 15%, 3% incrementation.

Last edited by ffcmike; 12-11-2011 at 06:57 PM..
Reply With Quote
  #37  
Old 12-11-2011, 06:59 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Yeah, I've had a lot of issues with the flood alert, and the times I've set are a bit generous here. Honestly, I'd consider trying gsync instead. It doesn't suffer from the the flood alert since it's not writing anything. The bottleneck would probably be how fast you can upload to a remote server, which should be pretty quick.

Granted, I have not tried it with a large number of small files, so it may need some adjustments (e.g. raising max loop limit).
__________________
Reply With Quote
Reply

Tags
archive, backup


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.