UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Errors and Solutions Reference [to be updated]

broken avatar :(
Created 8 years ago
by Uk_ViiPeR
0 Members and 1 Guest are viewing this topic.
3,355 views
broken avatar :(
×
broken avatar :(
Location: gbUnited Kingdom
Date Registered: 11 October 2014
Last active: 3 years ago
Posts
125
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
⟡ Hitman's bunny lover ⟡
Signature


My Portfolio

=============== Project Progress ===============
Shadowlands - TBA 2016
Untitled project [COD5-BO3] - TBA
Untitled project 2 [?] - TBA
===========================================
×
Uk_ViiPeR's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Uk_ViiPeR's Contact & Social LinksCodGlitcherXiCodGlitcherX1
Hello everyone, i thought about for a long time to do a whole reference on just errors and their solutions to aid the community when they come across problems they have never seen before. I want this thread to be a community driven topic where you can suggest any errors that I haven't added.

I will break this thread down into 4 sections.

mapping

Quote
parse } error - to be added, indepth tutorial for this one as it can be multiple problems.

map doesn't load (broken error) - means your map is broken, follow the above step to locate if there are any broken brushes.

map is rainbow ingame - you will need to include a light grid and a few reflection probes around your map, caulk box is needed also. there are a few tutorials around for all of these.

certain parts of the map are darker than the rest - ensure that your sunlight direction is not obstructing this, if its meant to be like this and you want the area to be a bit lighter then you can add a 'light' entity.

Max Scene Surfs - Caused by multiple glitched patch layers being ontop of each other, to solve this issue you will need to delete the patch layers. models can also cause this error if the model has too many surfaces on it

scripting

Quote
server script compile error - this error is thown by the compiler that isn't able to compile code, use developer 1 and reboot your map, then open the console in full (shift + `) to see more details on what and where the error is located, if it states a line number its usually the line above the line stated.

script runtime error - script runtime error is where your script has an infinite loop and has been forced to stop. There are a few other examples that can cause this problem (will list them shortly).

asset limits:
1600 Sound limit - hit max limit, free up some sounds through the mod and associated csv files.

xanim limit - NA

ui limit (itemdefs)[new] - i cannot recall what the actual limit was as i found this limit myself, but i'd say no more than around 300 itemdefs should be used in one menufile.

4096 xmodel limit - hit max limit, free up some models by commenting them out in your mod folder and associated csv files

400 fx limit - hit max limit, free up some fx by commenting them out in your mod folder and associated csv files

128 tags (joints) - caused by AI which has too many joints (exceeds 128 bones error), reduce the amount of bones included in the xmodel export.

2048 material limit - hit max limit, free up some materials by
commenting them out in your mod folder and associated csv files

31 hud element limit - hit max limit, free up some hud elements by
commenting them out in your mod folder and associated csv files,
also checking if too many are drawn in the UI.

ui not showing up - this can be many problems, but the most common
one would be that you have a syntax error. these errors don't
display in the console ingame so you will need to take slow steps
through testing in order to locate the problem. usually caused by
typos or unknown functions.


compiler
Quote
EXE_ERR_HUNK_ALLOC_FAILED256/Out of memory - close some processes in
windows to free up some ram in order to compile successfully.

"" is bad "type" - an item that doesnt exist in the map but is
being called through script.



ingame
Quote
Server command overflow/ERR_CLIENT_CMD_OVERFLOW - this happens when
the console spams too many commands in a short period of time,
causing the server to crash. ensure that theres no infinite loops
in your scripts (especially through UI scripting)

Server message overflow - this error is caused by console spam of
messages, which leads to server crash if too many are printed in a
short time. to solve this problem you will need to make sure there
are no infinite loops (or very short time intivals) between the
message and the loop process.

Couldn't load &&1 - the engine couldn't load file/item or entity
etc.. (going to use X to describe them all in one) this can be
solved by checking if X exists and if X is loaded correctly
(precached and included in the mod)

ERR_WRONG_MAP_VERSION_NUM - same as below, where each of you have
different map versions (two different compiles), ensure that you
have the same map version in order to play with eachother

SERVER_IS_DIFFERENT_VER - this error happens when you have a
different version to the server, meaning your assets may have been
modified. this error can occur when you modify a stock iwd aswell.

alien font - To be added

couldn't load image - image either doesn't exist or it's not
precached/included in your mod. ensure that its included in your
mod.csv and your mods 'image' folder.

exceeded maximum number of script strings - this error is caused
when you have too many script string loaded, to solve this problem
you will need to reduce the amount of strings so that the pre-load
doesn't output this error.

unknown item &&1 - unknown item defines that the item (weapon/weapon file) does not exist in your version of the mod, to solve this you will need to ensure that the weapon file is included in your mod.csv and is ticked in the compiler.

Could not open - either the file wasn't precached correctly (in
mod.csv/map.csv/map_patch.csv) or the file simply does not exist,
check syntax if it does to ensure there are no typos.

"some mods don't show in my mod folder?" - your mod's folder may be
overfilled, i'd suggest moving a few to a different folder (or
deleting if needed be), this helps reduce "loaded mod listing"
engine use.

type undefined is not a field object - any object with getent that
doesn't exist in the map when trying to use it through script (i.e.
targetname:thisdoesntexist)

duplicate sound alias file - duplicated sound alias file was located, check mod.csv/map.csv/map_patch.csv to see if you may have added the preached line twice; if not then go to your sound alias folder in raw and see if there's any sould alias files that used the same sound name.

*Crashes upon map load* - reboot exe, enable developer 1 and
logfile 1, boot up map, wait until crash, go to your maps mod
folder, open console.log in a text editor and find any unusual
errors.

*Crashes upon exe load* - close exe, check compiler (both build mod
and map compile dumps should be there (if you didnt clear the feed
and build both the map/mod) and locate any unusual errors towards
the bottom of each map/mod compile dump/


If you have any other errors you would like to suggest then please do so, i'll add them to the list :)
Last Edit: April 07, 2016, 04:41:34 pm by Uk_ViiPeR
broken avatar :(
×
broken avatar :(
Location: gbNewport
Date Registered: 2 November 2014
Last active: 2 years ago
Posts
1,265
Respect
Forum Rank
Zombie Colossus
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Embrace the Darkness
×
Tim Smith's Groups
Tim Smith's Contact & Social Linkstimsmith90THEREALBaDBoY17TimSmithMy clan Website
Nice viper. I'm going to do the most Popular problems "400fx&1600sound limit error" fixes. Thou thanks for taking time writing it. +1.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
Quote
1600 Sound limit - hit max limit, free up some sounds through the mod and associated csv files.

400 fx limit - hit max limit, free up some fx by commenting them out in your mod folder and associated csv files
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Your script advice(top 3) isn't correct at all.

Quote
server script compile error - this error is caused by a syntax error within your script, use developer 1 and reboot your map, then open the console in full (shift + `) to see more details on what and where the error is located, if it states a line number its usually the line above the line stated.

No, this is error is thrown when the compiler isn't able compile the code. While bad syntax is an example of this, there are other situations.

Quote
script runtime error - script runtime error is where your script has an infinite loop and has been forced to stop.

Again, that is just one example of when you may come across this error. This error is given when code that will compile but does something erroneously while running. 

Quote
syntax error - a syntax error is where something doesn't exist in the engine, whether its a function or a typo, it must be correct in order for your map to load.

You are getting confused with "Unknown Function" error. No, Syntax is the structure of the language and what it expects in a piece of code(for examples, brackets after the function header to mark the beginning and end of the function).
Last Edit: April 07, 2016, 04:30:54 pm by daedra descent
broken avatar :(
×
broken avatar :(
Location: gbUnited Kingdom
Date Registered: 11 October 2014
Last active: 3 years ago
Posts
125
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
⟡ Hitman's bunny lover ⟡
×
Uk_ViiPeR's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Uk_ViiPeR's Contact & Social LinksCodGlitcherXiCodGlitcherX1
Your script advice(top 3) isn't correct at all.

No, this is error is thrown when the compiler isn't able compile the code. While bad syntax is an example of this, there are other situations.

Again, that is just one example of when you may come across this error. This error is given when code that will compile but does something erroneously while running. 

You are getting confused with "Unknown Function" error. No, Syntax is the structure of the language and what it expects in a piece of code(for examples, brackets after the function header to mark the beginning and end of the function).

Cheers for correcting them, i wasn't too sure myself anyway's so i asked for advice on them through chat, i'll update them now
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Cheers for correcting them, i wasn't too sure myself anyway's so i asked for advice on them through chat, i'll update them now

Not surprising. Most people here don't really know terminology.

 
Loading ...