[Tutorial] Fixes for runtime errors
#5

Looking good. Though I hate the fact that I gotta scroll up just to see what runtime error 22 is for example.

You could make it like:

Run time error 22: AMX not initialized (or doubly initialized)

To elaborate abit more on run time error 19: It means that the function you're trying to use in your game mode might've been abandoned in the latest version of the include/plugin or you're using an older version that doesn't support/have that function.

For example. The creator of the plugin deleted a function(or even changed the name of it) that was in an older version and released a new version. You took only the include and forgot about the .dll or .so. After that you used one of the new functions inside of your gamemode that the creator added. Then you clicked on compile and the compiler compiled the script. You then started the server and it starts complaining about you using a function that is not included inside the .dll or .so ( File or function is not found ). This can also be the other way round. Only downloading the new .dll or .so and forgetting the include file. In that case, the script won't even compile at all. Instead, it'll give out an error saying something like "Symbol undefined".

That's why it's very important to update both the include and the .dll or .so.

If I've made a mistake in my post, please tell me.
Reply


Messages In This Thread
Fixes for runtime errors - by Emmet_ - 21.12.2013, 04:21
Re: Fixes for runtime errors - by qazwsx - 21.12.2013, 04:45
Re: Fixes for runtime errors - by TahaAsif12 - 21.12.2013, 05:45
Re: Fixes for runtime errors - by KingServerIRAN - 21.12.2013, 08:59
Re: Fixes for runtime errors - by gtakillerIV - 21.12.2013, 09:09
Re: Fixes for runtime errors - by BizzyD - 21.12.2013, 10:42
Re: Fixes for runtime errors - by iZN - 21.12.2013, 17:51
Re: Fixes for runtime errors - by DJ_Shocker - 22.12.2013, 04:24
Re: Fixes for runtime errors - by Emmet_ - 22.12.2013, 04:46
Re: Fixes for runtime errors - by Lordzy - 23.12.2013, 06:19

Forum Jump:


Users browsing this thread: 2 Guest(s)