[Tutorial] Server bugs?
#1

Introduction

Hello (:
Well I'm just going to explain how to fix some common server bugs, like unknown gamemode and that type...

Fixing

How would we fix the Invalid/unsupported P-code file format?

Its easy!
When that bug appears on your "CMD", it most likely means that you're still compiling.
So you must wait, for the compiler to finish compiling, then you can start your server




How would we fix the, when we start the server, it auto closes?

Its 1 out of these options:
  • You have a error in your script. So it didn't compile and it didn't create the .amx
  • You wrote, on the server.cfg, like in front of gamemodes, awerqwreqwr and you don't have that gamemode in the gamemodes directory.
  • You don't have the gamemode amx in the directory.
  • You loaded a plugin and you don't have it in the plugins directory.
  • Or you wrote sscanf.so while your server is hosted on windows.
If you can tell me more errors, so I can investigate and post it here... (:
Reply
#2

good job (according to me)
Reply
#3

An invalid P-Code error can also appear if you upload the .amx script (via FTP) in ASCII mode rather than Binary mode. I've had that problem several times, and once was trying to fix it for 3 hours (uploading, deleting, redownloading and untarring server packages, etc). When using FTP, all .amx scripts should be uploaded in binary mode.
Reply
#4

Good but small.
Reply
#5

Quote:
Originally Posted by funky1234
Посмотреть сообщение
An invalid P-Code error can also appear if you upload the .amx script (via FTP) in ASCII mode rather than Binary mode. I've had that problem several times, and once was trying to fix it for 3 hours (uploading, deleting, redownloading and untarring server packages, etc). When using FTP, all .amx scripts should be uploaded in binary mode.
Why should they? I transfer mine normaly, and I never got any errors. Everything worked fine for me.
Reply
#6

Good job.

Quote:

An invalid P-Code error can also appear if you upload the .amx script (via FTP) in ASCII mode rather than Binary mode. I've had that problem several times, and once was trying to fix it for 3 hours (uploading, deleting, redownloading and untarring server packages, etc). When using FTP, all .amx scripts should be uploaded in binary mode.

Confirmed.
Reply
#7

Quote:
Originally Posted by FireCat
Посмотреть сообщение
Why should they? I transfer mine normaly, and I never got any errors. Everything worked fine for me.
When you say 'normally', the default setting for most FTP clients are binary mode anyway... or auto - which selects the best upload method for specific files.
Reply
#8

Quote:
Originally Posted by funky1234
Посмотреть сообщение
When you say 'normally', the default setting for most FTP clients are binary mode anyway... or auto - which selects the best upload method for specific files.
Default.
Reply
#9

Quote:
Originally Posted by FireCat
Посмотреть сообщение
Default.
That's probably why then!
Reply
#10

I have a bug for you, but it's somewhat script releated. Why does rcon gmx ignore script loading stats, forcing your spawn to be 0.0, 0.0, 0.0 with CJ skin.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)