UGX-Mods

Call of Duty 5: World at War => Help Desk => Topic started by: coulter.andrew on March 21, 2018, 12:30:42 pm

Title: Pack-a-punch door error
Post by: coulter.andrew on March 21, 2018, 12:30:42 pm
This is my last question.
I am getting a stupid error every time I try to start my map.  I have no teleporter related entities in my map, or anywhere on my computer even.  I even deleted every instance of dlc3_teleporter.gsc from my pc, but for some reason, it still gives the same error.
Error: Unknown function: (file 'maps/dlc3_teleporter.gsc', line 76)
If( modderHelp( door, "Missing Pack A Punch door with Targetname KVP 'pack_door'  ." ) )
*

Double Post Merge: March 21, 2018, 12:56:14 pm
Well, I fixed it.  I just had to go to dlc3_code and find teleporter_init() and deleted the line.  Funny hiw 'Developer 1' didn't even have to show me where the error was being called from.
Title: Re: Pack-a-punch door error
Post by: johndoe on March 21, 2018, 01:36:10 pm
Errors are not stupid. You can't know if you're doing anything wrong without seeing an error message. Making mistakes is the best way to learn. Please don't give up on anything just because you had a minor issue with something you're new to.
Title: Re: Pack-a-punch door error
Post by: TGMKTheII on March 21, 2018, 05:49:05 pm
Lol if I'm not mistaken this is where the error was and it told you?  :gusta: https://gyazo.com/c9b8df34ffab223ce2bb638b0fbe292e
https://gyazo.com/6a3b6171926a0625201e2cac2df2fd9b

Hope you have a backup of your root. I wouldn't go randomly deleting files, for me that lead to no good when I first started out.
Title: Re: Pack-a-punch door error
Post by: coulter.andrew on March 21, 2018, 10:15:20 pm
Lol if I'm not mistaken this is where the error was and it told you?  :gusta: https://gyazo.com/c9b8df34ffab223ce2bb638b0fbe292e
https://gyazo.com/6a3b6171926a0625201e2cac2df2fd9b

Hope you have a backup of your root. I wouldn't go randomly deleting files, for me that lead to no good when I first started out.
Like I said.  I fixed it on my own.  I went to dlc3_code for my map, then deleted the line that called for dlc3_teleporter.  Then I stopped having the error.  And, since I deleted all dlc3_teleporter scripts, I never had to use the developer console's way that you posted images of.  And the base maps don't use dlc3_teleporter.gsc right?  The only map that uses a teleporter script is Der Riese, and the script that Der Riese uses is named differently.