Ok so you installed ZR on your server and you're totally positive everything is in place, but the damn thing won't load. Here's what you should do:
- 1. CHECK YOUR ERROR LOGS!!!!!!!
They are located at addons/sourcemod/logs/errors_<date>.log
- 2. Most of the time, if everything is installed right, there will be stuff printed here by zombiereloaded.smx. Everything is pretty cut and dry about telling you what and where the problem is. But one error might be confusing:
Quote:
[zombiereloaded.smx] [Player Classes] [Config Validation] Warning: Invalid class at index 6, disabled class. Class error flags: 8388736.
|
What the heck does 8388736 mean you may ask? Well here is how you unscramble the code. I'll refer to 8388736 as the error code.
- 3. That number is something called a "bitfield" It is meant to be read in it's base 2 (binary) form. So go to this binary converter page and enter in the error code into the Decimal text field.
- 4. We will be looking at the number in the Binary text field. In this case '8388736' is '100000000000000010000000' in binary. Every '1' you see in the binary number is an invalid value in the class that it prints in the error. (Class indexes start from 0) Ok, so, starting from the right count over until you hit a '1'. The '1' is in the 8th slot from the right, so first go to your playerclasses config file (sourcemod/configs/zr/) and find the class at the specified index. An index of '6' is the 7th class in the file. Next, find the 8th attribute from the top. This value is invalid.
- 5. Fix it.
- 6. Repeat for every '1' in the binary number. And for every class index that has an error code.
- 7. Restart the server.
Good luck and hopefully this helps.
__________________