Sick Gaming
Call of Duty: World at War: [Release] Array of errors and how to find and… (Tutorial) - Printable Version

+- Sick Gaming (https://sickgaming.net)
+-- Forum: Sick Gaming Community (https://sickgaming.net/forum-1.html)
+--- Forum: Lounge (https://sickgaming.net/forum-8.html)
+--- Thread: Call of Duty: World at War: [Release] Array of errors and how to find and… (Tutorial) (/thread-116312.html)



Call of Duty: World at War: [Release] Array of errors and how to find and… (Tutorial) - xSicKxBot - 04-17-2013

Call of Duty: World at War: [Release] Array of errors and how to find and fix

Game: Call of Duty: World at War

Description

Okay so this is for anyone that can not get past some of the most common errors that will happen when coding for cod 5.
First Error: Unknown function

Error Preview

This is the most common error out of all of the ones you could get. The unknown function explains its self and is very easy to fix and there is no need to panic. To find the error the best way is to fun developer 1 or 2 though the console and then press ctrl+shift+¬ together and going by that your account works you will be able to find what file and what line it is on

Second Error: bad syntax

Error Preview

This one can be a twat even at the best of times. This can happen for many many things and i am going to try to list every single one.
There is one thing you will need to know if you see this exact error on your screen (the one in the image) it is because you have not put a " ; " at the end of something in that function. It is very rare that it will be that you have not counted the " { " and " } ". Helpful tip

Common cause one:
Code: You have put only one " = " in a if statement Common cause Two:
Code: You have put " => " or " =< " when you are meaning to put " >= " or " <= " Common cause Three:
Code: You have forgot the " ; " Common cause Four:
Code: You have forgot the " { " or " } " Common cause Five:
Code: you have put too many or too less of " ( " or " ) " Common cause Six:
Code: You have put too many or too less of " [ " or " ] "
If there are anymore please tell me in the comments
You can find what has caused it by using developer 1 or 2

Third Error: G_findConfigstringIndex

Error Preview

This one is simple most of them time and its that you are precacheing way to many things. a simple way to fix this is by removing some useless ones from your precache list. Developer 1 or 2 wont help for this error

If i have missed any please tell me i will keep updating this