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

"Cannot Cast Undefined To String"

HOT
broken avatar :(
Created 8 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
5,105 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
I (Tried) downloading and installing these bo1 guns by tutorial, and of course it just doesn't want to go my way. Everything in console looks fine, but when i load the map, 'Cannot cast undefined to string' comes up. The video is http://www.youtube.com/watch?v=VyPeyA9cwWQ (link in desc) and i followed the instructions step by step. Can someone tell me what that means and how to fix it? thanks! Help Is Greatly Appreciated
This topic contains a post which is marked as the Best Answer. Click here to view it.
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
that error only comes up if your running in developer

turn developer off
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
that error only comes up if your running in developer

turn developer off

whats developer and how do i turn developer off?
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
that error only comes up if your running in developer

turn developer off

nah you don't turn it off to avoid the issue you find the cause of it and fix it.

The error should show in console if you don't see it set logfile to 2 and then the error w/ proper reporting should show. Follow what it says to do to fix it.
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
×
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
nah you don't turn it off to avoid the issue you find the cause of it and fix it.

The error should show in console if you don't see it set logfile to 2 and then the error w/ proper reporting should show. Follow what it says to do to fix it.
i know that, but doubt hell understand how to fix it
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
i know that, but doubt hell understand how to fix it

yea i didnt understand that. can you explain in detail? or...
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 30 December 2012
Last active: 9 months ago
Posts
577
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
My preferred name is "xSanchez78".
Check me out here: www.steamcommunity.com/id/xSanchez78
×
alaurenc9'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.
alaurenc9's Contact & Social LinksxSanchez78xSanchez78xSanchez78xSanchez78xSanchez78xSanchez78
Open console by press the tidle key. Type
Code Snippet
Plaintext
developer 0
and press Enter.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Open console by press the tidle key. Type
Code Snippet
Plaintext
developer 0
and press Enter.

When I run map after compiling, it says that, not when i just run it as a mod. When i run it as a mod, i get this... "Could not find scripts: maps/ _zombiemode_dogs". i checked, and there is a _zombiemode_dogs. so i dont understand. Nothing loves to work for me... help
Marked as best answer by Deleted User 11 months ago
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
×
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
When I run map after compiling, it says that, not when i just run it as a mod. When i run it as a mod, i get this... "Could not find scripts: maps/ _zombiemode_dogs". i checked, and there is a _zombiemode_dogs. so i dont understand. Nothing loves to work for me... help

ok

1 - never use "run map after compile - it runs in dev mode and not fully initialized

2 - because it runs in dev mode - you will literally always get errors like the cast to string thing, due to the fact its not fully initialized

3 - that error about the dogs means you havent compiled your patch, and using run map after compile means its not "trying" to find the patch


compile map - then build mod - then "run game" and use the console to get into your map - and if youve never compiled the patch before, this needs to be done prior to building mod "too"
Last Edit: July 15, 2016, 11:37:40 pm by Harry Bo21
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
ok

1 - never use "run map after compile - it runs in dev mode and not fully initialized

2 - because it runs in dev mode - you will literally always get errors like the cast to string thing, due to the fact its not fully initialized

3 - that error about the dogs means you havent compiled your patch, and using run map after compile means its not "trying" to find the patch



compile map - then build mod - then "run game" and use the console to get into your map - and if youve never compiled the patch before, this needs to be done prior to building mod "too"


Thanks for the help so far guys, this just is so confusing on why its not working.

Its still coming up with that "Could not find scripts: maps/ _zombiemode_dogs" even after i completed all the steps u said Harry. Its funny bc i literally see the "include,zombiemode_dogs" in the fastfilemod.csv in the mod builder. Is it because i already ran the map after compiling or something? Am i not allowed to do that for it to work or something?
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 7 March 2014
Last active: 18 hours ago
Posts
1,191
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Site Moderator
My Groups
More
My Contact & Social Links
More
×
MZslayer11's Groups
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
MZslayer11's Contact & Social LinksMZslayer11Service_Code_30#2655

Thanks for the help so far guys, this just is so confusing on why its not working.

Its still coming up with that "Could not find scripts: maps/ _zombiemode_dogs" even after i completed all the steps u said Harry. Its funny bc i literally see the "include,zombiemode_dogs" in the fastfilemod.csv in the mod builder. Is it because i already ran the map after compiling or something? Am i not allowed to do that for it to work or something?
If your sure you have done everything that harry said, you could try copying _zombiemode_dogs.gsc from raw/maps to mods/mapname/maps. Make sure it is ticked in mod builder.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
If your sure you have done everything that harry said, you could try copying _zombiemode_dogs.gsc from raw/maps to mods/mapname/maps. Make sure it is ticked in mod builder.

but then this comes up... "Could not find script 'animscripts/dog_init'
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 1 year ago
Posts
1,864
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Mapper
My Groups
More
Personal Quote
ok
Signature
Aye mate you don't know me so y don't you shut tf up ok buddy :)

×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links

Thanks for the help so far guys, this just is so confusing on why its not working.

Its still coming up with that "Could not find scripts: maps/ _zombiemode_dogs" even after i completed all the steps u said Harry. Its funny bc i literally see the "include,zombiemode_dogs" in the fastfilemod.csv in the mod builder. Is it because i already ran the map after compiling or something? Am i not allowed to do that for it to work or something?

That is for xanims and FX

http://hastebin.com/ahodajorog.md

The dog scripts/animscripts are included in your map's patch.



broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
That is for xanims and FX

http://hastebin.com/ahodajorog.md

The dog scripts/animscripts are included in your map's patch.

(Image removed from quote.)

So what do i do then?
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 1 year ago
Posts
1,864
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Mapper
My Groups
More
Personal Quote
ok
×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
So what do i do then?

Have you actually compiled the your map's _patch fast file to the correct mod and verified it's in Appdata?

 
Loading ...