Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Code Gallery (https://forums.graalonline.com/forums/forumdisplay.php?f=179)
-   -   GBall Creator (Automated Server Backup) (https://forums.graalonline.com/forums/showthread.php?t=134259774)

sssssssssss 08-07-2010 01:41 AM

It's all the rights I have.

PHP Code:

rw temp/*
rw data/*
r logs/*.txt
r scripts/*.txt
rw levels/*
rw levels/bodies/*.png
rw levels/heads/*
rw levels/swords/*
rw levels/shields/*
rw levels/images/*.png
rw levels/images/*.PNG
rw levels/images/*.gif
rw levels/images/*.GIF
rw levels/images/*.mng
rw levels/guilds/guild*.txt
rw levels/sounds/*
rw CLASSES/*
rw WEAPONS/*
rw NPCS/*
rw CLASSES/*/
*
rw WEAPONS/*/*
rw NPCS/*/
*
rw control/*
rw mudlib/*
rw mudlib/tlists/*
rw mudlib/topics/*
rw levels/guildlevels/*
rw WEAPONS/-System/*
rw levels/tempstuff/*
rw levels/guilds/*
rw levels/ganis/*
rw levels/hats/*
rw levels/LAT/*
rw levels/EventsHouse/*
rw levels/GuildGmap/*
rw levels/TheAbyss/*
rw levels/music/*
rw levels/HahnNovaTown/* 


cbk1994 08-07-2010 02:13 AM

Resolved it on his server. The problem was the folder rights were capitalized wrong. The NPC-server needs to have (case sensitive):
Quote:

r scripts/*
r weapons/*
r npcs/*
rw myfolder/*

xAndrewx 08-19-2011 09:32 AM

For some reason I can't open up the backup files- any ideas? I use W7

cbk1994 08-19-2011 10:22 PM

Quote:

Originally Posted by xAndrewx (Post 1664294)
For some reason I can't open up the backup files- any ideas? I use W7

How are you trying to open them? Are there any error messages?

xAndrewx 08-19-2011 10:25 PM

The system cannot find message text for message number 0x2350 in the message fil
e for Application.

Copyright (c) 2009 Microsoft Corporation. All rights reserved.
The system cannot find message text for message number 0x8 in the message file f
or System.

I just double click the file lol

Crow 08-20-2011 04:35 PM

Quote:

Originally Posted by xAndrewx (Post 1664352)
The system cannot find message text for message number 0x2350 in the message fil
e for Application.

Copyright (c) 2009 Microsoft Corporation. All rights reserved.
The system cannot find message text for message number 0x8 in the message file f
or System.

I just double click the file lol

Download and use the GBallExpander (first post, attachment).

xAndrewx 08-20-2011 06:25 PM

Yeah.. thats what I do. I double click it, it says that.

cbk1994 08-20-2011 07:40 PM

Quote:

Originally Posted by xAndrewx (Post 1664487)
Yeah.. thats what I do. I double click it, it says that.

Do you have Java installed and working? What if you use "java -jar GBallExpander.jar" in the command line?

callimuc 08-20-2011 09:58 PM

I just tested the GBall (also using W7) and I didnīt have any issues. I was able to open GBallExpander and also expand the .arc file.

Crow 08-20-2011 10:01 PM

Quote:

Originally Posted by cbk1994 (Post 1664493)
Do you have Java installed and working? What if you use "java -jar GBallExpander.jar" in the command line?

The Java directory is not added to Windows' path variable by default, so chances are that this won't work.

callimuc 08-21-2011 12:51 AM

Just one quick question since I started using the GBall. It keeps echoing
Quote:

GBall: The script commands addguildmember,copylevel etc were called too often, fix the scripts please
But the addguildmember and copylevel are just used once. They arenīt even in a loop.
How could that be fixed?

cbk1994 08-21-2011 01:17 AM

Quote:

Originally Posted by callimuc (Post 1664545)
Just one quick question since I started using the GBall. It keeps echoing

But the addguildmember and copylevel are just used once. They arenīt even in a loop.
How could that be fixed?

If I recall correctly, that means it hit the flood alert. Probably your best bet is to let it finish (it should automatically detect the flood alert and slow down), and then in the future adjust this:

PHP Code:

  this.maxWrite = (mb 4); // max to write at once; I find mb*9 is the absolute limit 
                            // but below that is usually better to avoid flood alert 

One or two megabytes should be sufficient for the kind of stuff generally backed up (ideally, mostly small text files).

callimuc 08-21-2011 02:57 AM

Ok thanks

PhantosP2P 08-28-2011 06:06 AM

This is an amazing script, that you for making it. Backing up our server is extremely tedious without something like Gball. My only problem now is that Gball spit out 100+ files and the extractor can't parse more than 30.

cbk1994 08-28-2011 06:32 AM

Quote:

Originally Posted by PhantosP2P (Post 1665774)
This is an amazing script, that you for making it. Backing up our server is extremely tedious without something like Gball. My only problem now is that Gball spit out 100+ files and the extractor can't parse more than 30.

What happens when you reach 30? It freezes? I don't remember coding in a hard limit so it's probably just running out of memory. I wrote it a long time ago so it wouldn't surprise me at all if there's a memory leak in it.

Try running it from the command line and see what errors you get.


All times are GMT +2. The time now is 04:36 AM.

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