First of all, Thank You for choosing to play SilabGarza, we hope you enjoy you're experience with us.
This is for if you're having issues with your client or just want some basic information.
First of all, be sure to join the community, our forums can be found at http://sg-forum.info/
Most common issues:
PROBLEM - It says java isn't recognized
SOLUTION - Go to http://java.com/ and download the latest version.
PROBLEM - It says directory not found
SOLUTION - Try the other run file, if you're trying to use Run.bat, try using Run(x64).bat
Or the other way around.
IF YOU'RE CLIENT IS HAVING ANY ERRORS, BE SURE TO READ Rodriguez'POST ON THE FORUMS
Link: http://sg-forum.info/showthread.php?t=35664
Can't view thread? Here are the contents of the thread at the making of this README
A thread recently came up with an error, and so they were talking about the README file. I went into the README file and guess what I saw? A load of bullshit.. Most of the comments and "fixes" in there aren't event true. Do me a favor and put [B]real[/B] fixes inside it. As so:
1.
[code]
The system cannot find the path specified.
Press any key to continue . . .
if you get this, it means you arn't using the correct run file
if you tryed using Run Client x64.bat, then try Run.bat
if you tryed using Run.bat, try using Run Client x64.bat
the file you use depends if you use a 32-bit or 64-bit operating system
however most computers uses 32-bit
[/code]
You're kidding, right? Here's the real fix for it. When the batch file tells you, "The system cannot find the path specified...", it means it cannot find the directory you've given it. Which batch file did you try running? The regular one or the 64 bit one (x64)? Yes, it does matter which bit you are running, but it also doesn't make sense to try both if both do not work. If you ran the run.bat file, 32 bit one, then you need set up a class path to let the batch file know where to run the program. Edit the batch file and you should have this:
[code]
java -Xmx1000m -cp .;Theme.jar Bot 0 0 lowmem members 32
[/code]
Change it to this:
[code]
"C:Program FilesJavajre6binjava" -Xmx1000m -cp .;Theme.jar Bot 0 0 lowmem members 32
[/code]
If that still does not work, you either do not have Java installed correctly or you have an old version of Java. Update your Java [URL="http://java.com/en/"]here[/URL] only if you do not have Java installed! If you do have Java installed and the above class path does not seem to work, then you must go to Start > Computer or My Computer > Program Files > Java. There will be a file in there name jre with a number right after it. Change the jre6 in the above code to jre with the number specified in the Java directory.
If you tried using the 64 bit batch file, you must set the Java directory the same way, but remember to keep the (x86) part inside the batch file. That tells the batch file whether it should look for a 32 or a 64 bit file. Instead of jre6, you must change the 6 to whatever number you have in the Java directory. Again, if you do not have Java installed, then that's another problem. Download it [URL="http://java.com/en/"]here[/URL] and only if you do not Java installed!
2.
[code]
The system cannot find the path specified.
Exception in thread "main" java.lang.NoClassDefFoundError: Bot
Caused by: java.lang.ClassNotFoundException: Bot
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: Bot. Program will exit.
Press any key to continue . . .
if you get that from opening run.bat
that means you havn't unzipped the client, or didn't unzip it correctly, when unzipping,
make sure the client is being extracted to your desktop.
after extracting, it should make a new folder (extracting may take about a minute or less)
[/code]
You can extract the client anywhere, not just to the Desktop. What should be said in place of this:
[quote]make sure the client is being extracted to your desktop.[/quote]
Should be this:
[quote]Make sure the client is being extracted to a folder so that it can run properly.[/quote]
It also doesn't mean that the person hasn't unzipped the client or unzip it correctly. It means it cannot find the class file to run off of. If he unzipped it correctly, he would get an archive error, not a Java error. And if he got an archive error, I'm pretty sure he wouldn't be trying to run the client with an archived error on his hands. To fix this error, you must be able to have the files there.
This is where the hidden files come in. Why are they hidden? You can just unhide the files easily. No point in hiding them.. If you hide them, how will the people know that the files are there to run off of? To hide them and then unhide them, just right click the SilGar folder, click on "Properties". Once you've clicked on that, check the box that says "Hidden". Press "OK". A little dialogue will come up asking, "Apply changes to this folder, subfolders, and files". Press "OK". Once done, you've hidden every folder in there. Now, you need to unhide them. Just simply do the same thing, except this time, the "Hidden" check box will be ticked/checked. Uncheck it so that everything is unhidden. Now, you may see if you have the class file named "Bot.class" inside the FILES folder. If you do not, then you must re-download it. If it happens again, then check the size of the downloaded file. It should be around 20MB. Around could mean 1MB or less, that's if the client hasn't been majorly cut down or majorly brought up. If it has, then you would see around 5MB difference. From 15 - 25 rather than 19-21MB difference.
3.
[code]
first, make you have done the following
1) Unzipped the client
2) make sure your trying to run the client from the desktop, not the .rar file you downloaded
[/code]
First one is fine, but the second one partially isn't. As I said before, you can run the client from anywhere, not just the Desktop. As long as you can access it, you can still run it..
A few more errors, just in case people need them.
4.
[code]
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the java virtual machine.
Press any key to continue . . .
[/code]
This error is telling you it does not have enough memory - RAM - in order to run the program you are trying to run. The object heap is basically the memory. How much you give it, how much it uses, etc. When you try to put restrictions, such as arguments like this:
[code]java -Xms512M -Xmx1024M -cp .;Theme.jar Bot 0 0 lowmem members 32[/code]
Or even this:
[code]java -Xmx1000M -cp .;Theme.jar Bot 0 0 lowmem members 32[/code]
Java becomes picky, always has been, because it doesn't like how you told it to not do what it wants to do. Just because you put -Xmx1000, doesn't mean it's going to work for everyone and certainly for some people. Here's a little explanation of how it works for memory:
When you set arguments, parameters, restrictions, whatever you want to call him, then you're asking the JVM, Java Virtual Machine - what Java runs off of, to give itself a max amount of memory when using -Xmx and a minimum amount of memory using -Xms. Sometimes, the arguments you specified go way beyond what you put. It's like jailing superman. He doesn't want to have restrictions for where he wishes to fly. Let him fly as much as he wants, but since you jailed him, in comparison to jailing Java when using a certain amount of memory against it, then superman will just burst right out of the cell and go fight crime or go home. Java will just burst through the argument's memory and give you that error for giving it restrictions on how much memory it can take up. That is why I tell people to not give it restrictions at all. Just simply change it from this:
[code]java -Xmx1000M -cp .;Theme.jar Bot 0 0 lowmem members 32[/code]
To this:
[code]java -cp .;Theme.jar Bot 0 0 lowmem members 32[/code]
Why did I take out the -Xmx1000M? Because you're setting restrictions on how much memory it can use. Even if you have the 1000M there and the amount of RAM you have is only 512MB, such as myself, then sometimes it might not work and you're going to need to take out the full argument of memory. When you set the amount of memory Java can use, it's asking your RAM to use it. The RAM, of course, will say yes and then Java will see if it can use the amount of memory you specified. If the amount of memory is over your RAMs memory, then you need to either lower the memory from this:
[code]java -Xmx1000M -cp .;Theme.jar Bot 0 0 lowmem members 32[/code]
To this:
[code]java -Xmx512M -cp .;Theme.jar Bot 0 0 lowmem members 32[/code]
Or just simply take it all out as I stated above.
5.
[code]
java is not recognized as an internal or external command.
Press any key to continue...
[/code]
This error occurs when Java cannot be found at all. To fix this, you must download Java. To check and see if you have it, go to Start > My Computer or Computer > Program Files [B]OR[/B] Program Files (x86). Search for a file in there named "Java". If you find that file, good. Double click the Java file and find jre6 or jre with a number after it. If you cannot find it, but you did find another folder named "jdk" with numbers and underscores ( _ ) in there, open that folder. Once it's opened, then you need to open the "bin" folder. Once that is opened, simply search for a file named: java.exe. Once you find that, you're going to need to create a class path argument for the system to be able to find Java. Here's the solution for the class path:
Go to Start > right click My Computer or Computer > Properties. Go to the Advanced Tab > Environmental Variables. Under System Properties, you need to create the class path. Click on New and type the following in:
[B]For 32 bit Operating Systems only![/B]
Variable name: CLASSPATH
Variable value: C:Program FilesJavajdk1.6.0_20bin
[B]For 64 bit Operating Systems only![/B]
Variable name: CLASSPATH
Variable value: C:Program Files (x86)Javajdk1.6.0_20bin
Test it out now and see if you can run the client. If you can, congratulations on getting Java to work. If it still does not work, then you need to change the jdk1.6.0_20 to jdk1.6.0_ with a number after the underscore ( _ )!
If you do not have Java at all on your system, I advise to download it [URL="http://java.com/en/"]here[/URL]. Once you are there, just simply download it and install it. Double click the file that you just downloaded and install it.
[B][COLOR="Red"]NOTE: You cannot fix the below errors! Take note of this because I do NOT want people spamming threads in the help section saying that they need a fix for this when you yourself cannot fix this! Only Gir, Brittany or whoever else wishes to contribute to the server/client errors can fix the below![/COLOR][/B]
6.
[code]
Exception in thread "Thread-7" java.lang.NumberFormatException: For input string: "%1"
[/code]
You must read the error as if it was English. A NumberFormatException means that a number hasn't been formatted correctly when trying to read a String. A String is anything inside quotations. Last time I checked, a percent sign in front of a number doesn't make it a number, now does it? The solution is quite simple really. Just use a different client because you yourself cannot do anything about this. Reloading your client, using different browsers, or updating Java will not work in this case. To fix this yourself, use a different client and tell Travis or Brittany that something's wrong. If they cannot figure it out, then they'll ask someone else.
7.
[code]
Error: cde2
[/code]
This will happen when something goes wrong with the chat packet or the chat names in the client. You shouldn't really worry about it though. Nothing harmful to you. If it is harmful and won't let you go on, please tell.
8.
[code]
Error: Error packet size mismatch in getplayer pos:# psize:#
[/code]
To make it as simple as possible, the packet's size and the position of the byte array isn't matching up, hence "mismatch". What is a byte array? Well, a byte you should at least know. If you have a 250GB hard drive, then you have 1,000,000,000 bytes. Just convert it. Here's a chart to see how many bytes, megabytes, gigabytes, kilobytes, terabytes there are; from highest to lowest.
yottabyte (yb)
zettabyte (zb)
exabyte (eb)
petabyte (pb)
terabyte (tb)
gigabyte (gb)
megabyte (mb)
kilobyte (kb)
byte (b)
1 KB = 1,024 B.
1 MB = 1,048,576 B.
1 GB = 1,073,741,824 B.
1 TB = 1,099,511,627,776 B.
1 PB = 1,125,899,910,000,000 B.
1 EB = 1,152,921,500,000,000,000 B.
1 ZB = 1,180,591,620,000,000,000,000 B.
1 YB = 1,208,925,820,000,000,000,000,000 B.
Now, this is converting highest to bytes. Say you wanted to convert highest to kilobytes or even megabytes? Easy..
1 KB = 1,024 B.
1 MB = 1,024 KB.
Don't you see a pattern? Just higher the KB or MB (left side) up by one base and then higher the right base (to whatever you want it to, maybe gigabytes or even terabytes) up by 1 as well. Alright, I told you what a byte what, told you stuff about it, now here comes an array. An array is like a box, but the box only has a specific amount of things it can, and that specific amount is what you tell it. So, say you want the box to hold 50 things. Once you tell it that it can hold 50 things, then it cannot go higher or lower. It is a fixed number, meaning it will not change at all. Just like a box, an array stores stuff. You can take things from it and use it just like things in a box. Now, there's positions in an array just like a box. There's the first position (0 all the time in an array) and there's the 50th position. (whatever you told it - 1. So if I had 50, it would be 49; if I had 100, it would be 99 since you're starting at 0, not 1.). That's what I meant when I said the position in a byte array. Say position 5 in the byte array of 50 things had a value of 7 but the packet size for a certain opcode ([B]op[/B]eration [B]code[/B], basically executes a certain thing) was 11. Last time I checked, 7 is not 11 and never will be.
[B][COLOR="Red"]NOTE: For numbers 9 and 10, they might be wrong, as in, they could be swapped because I'm not 100% sure of what it means since the messages don't really pertain towards the real error happening[/COLOR][/B]!
9.
[code]
Error: Packet lost type 2 refreshing connection
[/code]
Yes, the message isn't correct. It should be "Executing packet (number here) could not function properly!" or something like that.. This error means that something went wrong when sending a packet to the server. A packet is like a letter. You send letters to your friend; they receive and send it back. Same thing with a client and server. They send packets to read and write but if something goes wrong (like you saying fuck you in your letter, your friend will get mad or even "error" if you will) then the client or server will error.
10.
[code]
Error: Packet lost refreshing connection
[/code]
This one is saying that there was an unknown packet being sent from the server. The client wouldn't know what to with it since the packet is unknown and can't be identified correctly, so you'll error.
Conclusion:
If anyone sees a different error that is not on this list, please tell me! I will add it to the list as soon as possible with a description of what it is, how to fix it (if you're able to) and what to do about it! Thanks!
Credits to Rodrigues
If you still need more help, use the help section of the forums.