Lua Errors after Map change

Alright, so my server runs perfect, up until a map change. After that, I get this:


---- Host_Changelevel ----
Error loading cfg/trusted_keys_base.txt
Error loading cfg/pure_server_minimal.txt
L 05/19/2015 - 15:52:44: Log file closed
Server logging data to file logs\L0519000.log
L 05/19/2015 - 15:52:44: Log file started (file "logs\L0519000.log") (game "C:\servers\aegprophunt\garrysmod") (version "5914")
L 05/19/2015 - 15:52:44: Loading map "ph_restaurant"
L 05/19/2015 - 15:52:44: server cvars start
L 05/19/2015 - 15:52:44: "sbox_persist" = ""
L 05/19/2015 - 15:52:44: "sbox_bonemanip_misc" = "0"
L 05/19/2015 - 15:52:44: "sbox_bonemanip_player" = "0"
L 05/19/2015 - 15:52:44: "sbox_bonemanip_npc" = "1"
L 05/19/2015 - 15:52:44: "sbox_weapons" = "1"
L 05/19/2015 - 15:52:44: "sbox_maxemitters" = "20"
L 05/19/2015 - 15:52:44: "sbox_maxbuttons" = "50"
L 05/19/2015 - 15:52:44: "sbox_maxhoverballs" = "50"
L 05/19/2015 - 15:52:44: "sbox_maxthrusters" = "50"
L 05/19/2015 - 15:52:44: "sbox_maxwheels" = "50"
L 05/19/2015 - 15:52:44: "sbox_maxlights" = "5"
L 05/19/2015 - 15:52:44: "sbox_maxlamps" = "3"
L 05/19/2015 - 15:52:44: "sbox_maxdynamite" = "10"
L 05/19/2015 - 15:52:44: "sbox_maxsents" = "100"
L 05/19/2015 - 15:52:44: "sbox_maxnpcs" = "10"
L 05/19/2015 - 15:52:44: "sbox_maxballoons" = "100"
L 05/19/2015 - 15:52:44: "sbox_maxeffects" = "200"
L 05/19/2015 - 15:52:44: "sbox_maxvehicles" = "4"
L 05/19/2015 - 15:52:44: "sbox_maxragdolls" = "10"
L 05/19/2015 - 15:52:44: "sbox_maxprops" = "200"
L 05/19/2015 - 15:52:44: "sbox_playershurtplayers" = "1"
L 05/19/2015 - 15:52:44: "sbox_godmode" = "1"
L 05/19/2015 - 15:52:44: "sbox_noclip" = "1"
L 05/19/2015 - 15:52:44: "physgun_limited" = "0"
L 05/19/2015 - 15:52:44: "sv_allowcslua" = "0"
L 05/19/2015 - 15:52:44: "ai_disabled" = "0"
L 05/19/2015 - 15:52:44: "ai_ignoreplayers" = "0"
L 05/19/2015 - 15:52:44: "mp_teamplay" = "0"
L 05/19/2015 - 15:52:44: "mp_falldamage" = "1"
L 05/19/2015 - 15:52:44: "mp_weaponstay" = "0"
L 05/19/2015 - 15:52:44: "mp_forcerespawn" = "1"
L 05/19/2015 - 15:52:44: "mp_footsteps" = "1"
L 05/19/2015 - 15:52:44: "mp_flashlight" = "1"
L 05/19/2015 - 15:52:44: "mp_autocrosshair" = "1"
L 05/19/2015 - 15:52:44: "decalfrequency" = "60"
L 05/19/2015 - 15:52:44: "mp_teamlist" = "hgrunt;scientist"
L 05/19/2015 - 15:52:44: "mp_allowNPCs" = "1"
L 05/19/2015 - 15:52:44: "mp_friendlyfire" = "0"
L 05/19/2015 - 15:52:44: "mp_fadetoblack" = "0"
L 05/19/2015 - 15:52:44: "sv_gravity" = "275"
L 05/19/2015 - 15:52:44: "sv_stopspeed" = "10"
L 05/19/2015 - 15:52:44: "sv_noclipaccelerate" = "5"
L 05/19/2015 - 15:52:44: "sv_noclipspeed" = "5"
L 05/19/2015 - 15:52:44: "sv_specaccelerate" = "5"
L 05/19/2015 - 15:52:44: "sv_specspeed" = "3"
L 05/19/2015 - 15:52:44: "sv_specnoclip" = "1"
L 05/19/2015 - 15:52:44: "sv_maxspeed" = "10000"
L 05/19/2015 - 15:52:44: "sv_accelerate" = "10"
L 05/19/2015 - 15:52:44: "sv_airaccelerate" = "10"
L 05/19/2015 - 15:52:44: "sv_wateraccelerate" = "10"
L 05/19/2015 - 15:52:44: "sv_waterfriction" = "1"
L 05/19/2015 - 15:52:44: "sv_footsteps" = "1"
L 05/19/2015 - 15:52:44: "sv_rollspeed" = "200"
L 05/19/2015 - 15:52:44: "sv_rollangle" = "0"
L 05/19/2015 - 15:52:44: "sv_friction" = "8"
L 05/19/2015 - 15:52:44: "sv_bounce" = "0"
L 05/19/2015 - 15:52:44: "sv_stepsize" = "18"
L 05/19/2015 - 15:52:44: "r_VehicleViewDampen" = "0"
L 05/19/2015 - 15:52:44: "r_JeepViewDampenFreq" = "7.0"
L 05/19/2015 - 15:52:44: "r_JeepViewDampenDamp" = "1.0"
L 05/19/2015 - 15:52:44: "r_JeepViewZHeight" = "10.0"
L 05/19/2015 - 15:52:44: "r_AirboatViewDampenFreq" = "7.0"
L 05/19/2015 - 15:52:44: "r_AirboatViewDampenDamp" = "1.0"
L 05/19/2015 - 15:52:44: "r_AirboatViewZHeight" = "0.0"
L 05/19/2015 - 15:52:44: "mp_timelimit" = "0"
L 05/19/2015 - 15:52:44: "mp_fraglimit" = "0"
L 05/19/2015 - 15:52:44: "nextlevel" = ""
L 05/19/2015 - 15:52:44: "sv_alltalk" = "1"
L 05/19/2015 - 15:52:44: "sv_hl2mp_weapon_respawn_time" = "20"
L 05/19/2015 - 15:52:44: "sv_hl2mp_item_respawn_time" = "30"
L 05/19/2015 - 15:52:44: "sv_report_client_settings" = "0"
L 05/19/2015 - 15:52:44: "sv_cheats" = "0"
L 05/19/2015 - 15:52:44: "sv_pausable" = "0"
L 05/19/2015 - 15:52:44: "sv_contact" = "accidentallyepicgaming@gmail.com"
L 05/19/2015 - 15:52:44: "sv_voiceenable" = "1"
L 05/19/2015 - 15:52:44: "tv_enable" = "0"
L 05/19/2015 - 15:52:44: "sv_steamgroup" = ""
L 05/19/2015 - 15:52:44: "sv_password" = ""
L 05/19/2015 - 15:52:44: "tv_relaypassword" = ""
L 05/19/2015 - 15:52:44: "tv_password" = ""
L 05/19/2015 - 15:52:44: "deathmatch" = "1"
L 05/19/2015 - 15:52:44: "coop" = "0"
L 05/19/2015 - 15:52:44: server cvars end
PREP OK
L 05/19/2015 - 15:52:44: Started map "ph_restaurant" (CRC "131e7903de47579ea9d5d42a1ca23e38")
Lua JIT is DISABLED!
L 05/19/2015 - 15:52:44: Lua Error: [AddCSLuaFile] Couldn't find 'lua/derma/init.lua' (<nowhere>)

[AddCSLuaFile] Couldn't find 'lua/derma/init.lua' (<nowhere>)
L 05/19/2015 - 15:52:44: Lua Error: [AddCSLuaFile] Couldn't find 'lua/derma/derma_example.lua' (<nowhere>)

[AddCSLuaFile] Couldn't find 'lua/derma/derma_example.lua' (<nowhere>)
L 05/19/2015 - 15:52:44: Lua Error: [AddCSLuaFile] Couldn't find 'lua/autorun/properties/remove.lua' (<nowhere>)

[AddCSLuaFile] Couldn't find 'lua/autorun/properties/remove.lua' (<nowhere>)
L 05/19/2015 - 15:52:44: Lua Error: [AddCSLuaFile] Couldn't find 'lua/autorun/properties/statue.lua' (<nowhere>)

[AddCSLuaFile] Couldn't find 'lua/autorun/properties/statue.lua' (<nowhere>)
L 05/19/2015 - 15:52:44: Lua Error: [AddCSLuaFile] Couldn't find 'lua/autorun/properties/ignite.lua' (<nowhere>)

[AddCSLuaFile] Couldn't find 'lua/autorun/properties/ignite.lua' (<nowhere>)
L 05/19/2015 - 15:52:44: Lua Error: [AddCSLuaFile] Couldn't find 'lua/autorun/properties/npc_scale.lua' (<nowhere>)

[AddCSLuaFile] Couldn't find 'lua/autorun/properties/npc_scale.lua' (<nowhere>)
[LibK] Loading SHARED file: 0_sh_middleclass.lua
[LibK] Loading SHARED file: 1_sh_promises.lua
[LibK] Loading SHARED file: 2_sh_libk.lua
[LibK] Loading SHARED file: sh_KPlayer.lua
[LibK] Loading SHARED file: sh_Singleton.lua
[LibK] Loading SHARED file: sh_addonloader.lua
[LibK] Loading SHARED file: sh_debug.lua
[LibK] Loading SHARED file: sh_easing.lua
[LibK] Loading SHARED file: sh_logger.lua
[LibK] Loading SHARED file: sh_permissionInterface.lua
[LibK] Loading SHARED file: sh_thirdparty.lua
**************************** Loading GLib by !cake  ****************************
  -> glib.lua
  -> glib/stage1.lua
  -> oop.lua
  -> timers.lua
  -> events/eventprovider.lua
  -> userid.lua
  -> stringbuilder.lua
  -> io/inbuffer.lua
  -> io/outbuffer.lua
  -> io/stringinbuffer.lua
  -> io/stringoutbuffer.lua
  -> transfers/transfers.lua
  -> transfers/inboundtransfer.lua
  -> transfers/outboundtransfer.lua
  -> resources/resources.lua
  -> resources/resource.lua
  -> resources/resourcestate.lua
  -> resources/resourcecache.lua
  -> loader/loader.lua
  -> loader/packfilesystem.lua
  -> loader/packfilemanager.lua
  -> loader/commands.lua
  -> glib/stage2.lua
  -> oop.lua
  -> idisposable.lua
  -> string/string.lua
  -> string/escaping.lua
  -> enumeration/enumerators.lua
  -> enumeration/composition.lua
  -> enumeration/operations.lua
  -> enumeration/ienumerable.lua
  -> enumeration/enumerable.lua
  -> colors/colors.lua
  -> colors/color.lua
  -> events/event.lua
  -> events/eventprovider.lua
  -> bitconverter.lua
  -> coroutine.lua
  -> glue.lua
  -> invoker.lua
  -> memoryusagereport.lua
  -> stringtable.lua
  -> io/inbuffer.lua
  -> io/outbuffer.lua
  -> io/stringinbuffer.lua
  -> io/stringoutbuffer.lua
  -> garrysmod/io/fileinbuffer.lua
  -> garrysmod/io/fileoutbuffer.lua
  -> threading/iwaitable.lua
  -> threading/waitendreason.lua
  -> threading/threading.lua
  -> threading/blackmagic.lua
  -> threading/threadstate.lua
  -> threading/thread.lua
  -> threading/mainthread.lua
  -> threading/threadrunner.lua
  -> threading/event.lua
  -> serialization/iserializable.lua
  -> serialization/serializationinfo.lua
  -> serialization/customserializationinfo.lua
  -> serialization/serializableregistry.lua
  -> serialization/serialization.lua
  -> lua/lua.lua
  -> lua/sessionvariables.lua
  -> lua/backup.lua
  -> lua/detours.lua
  -> lua/namecache.lua
  -> lua/codeexporter.lua
  -> lua/reflection/function.lua
  -> lua/reflection/functioncache.lua
  -> lua/reflection/parameter.lua
  -> lua/reflection/parameterlist.lua
  -> lua/reflection/argumentlist.lua
  -> lua/reflection/stackframe.lua
  -> lua/reflection/stacktrace.lua
  -> lua/reflection/stacktracecache.lua
  -> lua/reflection/stackcaptureoptions.lua
  -> lua/reflection/variableframe.lua
  -> lua/reflection/localvariableframe.lua
  -> lua/reflection/upvalueframe.lua
  -> lua/decompiler/garbagecollectedconstanttype.lua
  -> lua/decompiler/garbagecollectedconstant.lua
  -> lua/decompiler/functionconstant.lua
  -> lua/decompiler/tableconstant.lua
  -> lua/decompiler/stringconstant.lua
  -> lua/decompiler/tablekeyvaluetype.lua
  -> lua/decompiler/operandtype.lua
  -> lua/decompiler/opcodeinfo.lua
  -> lua/decompiler/opcodes.lua
  -> lua/decompiler/opcode.lua
  -> lua/decompiler/precedence.lua
  -> lua/decompiler/instruction.lua
  -> lua/decompiler/loadstore.lua
  -> lua/decompiler/framevariable.lua
  -> lua/decompiler/functionbytecodereader.lua
  -> lua/decompiler/bytecodereader.lua
  -> unicode/unicodecategory.lua
  -> unicode/wordtype.lua
  -> unicode/utf8.lua
  -> unicode/unicode.lua
  -> unicode/unicodecategorytable.lua
  -> unicode/transliteration.lua
  -> formatting/date.lua
  -> formatting/tableformatter.lua
  -> servers/iserver.lua
  -> servers/iuserlist.lua
  -> servers/iplayermonitor.lua
  -> servers/playermonitorproxy.lua
  -> garrysmod/servers/playermonitorentry.lua
  -> garrysmod/servers/playermonitor.lua
  -> servers/playerdisconnectionwatcher.lua
  -> servers/playerdisconnectionwatcher2.lua
  -> networking/networkablestate.lua
  -> networking/subscriberset.lua
  -> networking/networkable.lua
  -> networking/singleendpointnetworkable.lua
  -> networking/networkablehost.lua
  -> networking/networkablehostmessagetype.lua
  -> networking/connectionnetworkable.lua
  -> containers/icollection.lua
  -> containers/binarytree.lua
  -> containers/binarytreenode.lua
  -> containers/linkedlist.lua
  -> containers/linkedlistnode.lua
  -> containers/list.lua
  -> containers/orderedset.lua
  -> containers/queue.lua
  -> containers/set.lua
  -> containers/stack.lua
  -> containers/tree.lua
  -> containers/eventedset.lua
  -> containers/binarysetoperatorcontroller.lua
  -> net/net.lua
  -> net/ichannel.lua
  -> net/isingleendpointchannel.lua
  -> net/singleendpointchannel.lua
  -> net/virtualchannel.lua
  -> net/virtualsingleendpointchannel.lua
  -> net/singleendpointchanneltochanneladapter.lua
  -> net/datatype.lua
  -> net/inbuffer.lua
  -> net/outbuffer.lua
  -> garrysmod/net/net.lua
  -> net/multiplexing/endpointchannelmultiplexer.lua
  -> net/connections/connection.lua
  -> net/connections/connectionclosurereason.lua
  -> net/connections/connectionendpoint.lua
  -> net/connections/connectionpackettype.lua
  -> net/connections/connectionstate.lua
  -> net/connections/connectionrunner.lua
  -> net/layer1/channel.lua
  -> garrysmod/net/layer1/usermessagechannel.lua
  -> garrysmod/net/layer1/usermessagedispatcher.lua
  -> garrysmod/net/layer1/usermessageinbuffer.lua
  -> garrysmod/net/layer1/pinnedusermessageinbuffer.lua
  -> garrysmod/net/layer1/netchannel.lua
  -> garrysmod/net/layer1/netdispatcher.lua
  -> garrysmod/net/layer1/netinbuffer.lua
  -> garrysmod/net/layer1/pinnednetinbuffer.lua
  -> net/layer2/channel.lua
  -> net/layer2/splitpacketchannel.lua
  -> net/layer2/splitpackettype.lua
  -> net/layer2/inboundsplitpacket.lua
  -> net/layer2/outboundsplitpacket.lua
  -> net/layer2/layer2.lua
  -> garrysmod/net/layer2/channel.lua
  -> garrysmod/net/layer2/channelstatenetworker.lua
  -> net/layer3/channel.lua
  -> net/layer3/layer2channel.lua
  -> net/layer3/layer3.lua
  -> net/layer5/channel.lua
  -> net/layer5/connectionchannel.lua
  -> net/layer5/singleendpointconnectionchannel.lua
  -> net/layer5/orderedchannel.lua
  -> net/layer5/singleendpointorderedchannel.lua
  -> net/layer5/orderedchannelstate.lua
  -> net/layer5/layer3channel.lua
  -> net/layer5/layer5.lua
  -> net/layer5/connectionrunner.lua
  -> protocol/protocol.lua
  -> protocol/channel.lua
  -> protocol/endpoint.lua
  -> protocol/endpointmanager.lua
  -> protocol/session.lua
  -> math/complex.lua
  -> math/polynomial.lua
  -> math/matrix.lua
  -> math/vector.lua
  -> math/columnvector.lua
  -> math/rowvector.lua
  -> math/vmatrix.lua
  -> geometry/parametricgeometry.lua
  -> geometry/iparametriccurve.lua
  -> geometry/iparametricsurface.lua
  -> geometry/bezierspline.lua
  -> geometry/quadraticbezierspline.lua
  -> geometry/cubicbezierspline.lua
  -> geometry/parametriccurverenderer.lua
  -> interfaces/interfaces.lua
  -> currency/icurrencysystem.lua
L 05/19/2015 - 15:52:45: Lua Error: Couldn't include file libk/3rdparty/currency/icurrencysystem.lua -> libk/3rdparty/glib/currency/icurrencysystem.lua

Couldn't include file libk/3rdparty/currency/icurrencysystem.lua -> libk/3rdparty/glib/currency/icurrencysystem.lua
  -> rendering/igraphicsdevice.lua
  -> rendering/igraphicsview.lua
  -> rendering/irendercontext.lua
  -> rendering/ibaserendercontext2d.lua
  -> rendering/irendercontext2d.lua
  -> rendering/irendercontext2d2.lua
  -> rendering/irendercontext3d.lua
  -> rendering/matrixpushoperation.lua
  -> rendering/buffers/bufferelementsemantic.lua
  -> rendering/buffers/bufferelementtype.lua
  -> rendering/buffers/bufferelementtypes.lua
  -> rendering/buffers/bufferelement.lua
  -> rendering/buffers/bufferlayout.lua
  -> rendering/buffers/bufferflags.lua
  -> rendering/buffers/igraphicsbuffer.lua
  -> rendering/buffers/iindexbuffer.lua
  -> rendering/buffers/ivertexbuffer.lua
  -> rendering/matrices/imatrixstack.lua
  -> rendering/matrices/matrixstack.lua
  -> rendering/matrices/projections.lua
  -> rendering/meshes/meshflags.lua
  -> rendering/meshes/primitivetopology.lua
  -> rendering/meshes/rendergroup.lua
  -> rendering/meshes/imesh.lua
  -> rendering/meshes/mesh.lua
  -> rendering/textures/pixelformat.lua
  -> rendering/textures/itexture2d.lua
  -> databases/idatabase.lua
  -> databases/sqlitedatabase.lua
  -> databases/mysqldatabase.lua
  -> databases/mysqloodatabase.lua
  -> parsing/stringparser.lua
  -> parsing/durationparser.lua
  -> addons.lua
********************************* GLib loaded  *********************************
************************* Loading luadata by CapsAdmin *************************
  -> luadata.lua
******************************** luadata loaded ********************************
**************************** Loading von by Vercas  ****************************
  -> von.lua
********************************** von loaded **********************************
************************ Loading CircularQueue by MDave ************************
  -> circular_queue.lua
***************************** CircularQueue loaded *****************************
***************************** Loading png by MDave *****************************
  -> png.lua
********************************** png loaded **********************************
************************** Loading version by kikito  **************************
  -> semver.lua
******************************** version loaded ********************************
[LibK] Loading SHARED file: sh_util.lua
[LibK] Loading SERVER file: sv_libk_BaseController.lua
[LibK] Loading SERVER file: sv_libk_config.lua
[LibK] Loading SERVER file: sv_libk_database.lua
[LibK] Loading SERVER file: sv_libk_model.lua
[LibK] Loading SERVER file: sv_libk_player.lua
[LibK] Loading SERVER file: sv_libk_server.lua
[LibK] Loading SERVER file: sv_libk_util.lua
[LibK] Loading SERVER file: sv_permissionInterface.lua
[LibK] Loading SERVER file: sv_versioning.lua
[LibK] MANUAL: Loading file: libk/shared/sh_KPlayer.lua
LibK by Kamshak loaded
L 05/19/2015 - 15:52:45: server_cvar: "has_pac3_editor" "1"
L 05/19/2015 - 15:52:45: server_cvar: "has_pac3" "1"
Compare Pointshop2: 2.2.5 to 2.2.5
	 Up to date, nothing to do
[Pointshop2] Update finished
Addon Pointshop2 will be loaded once requirements (KInventory) are loaded
Pointshop2 Version 596 : 76561198026364303 loaded
L 05/19/2015 - 15:52:45: Lua Error: Couldn't include file 'properties\remove.lua' (File not found) (@lua/autorun/properties.lua (line 3))

Couldn't include file 'properties\remove.lua' (File not found) (@lua/autorun/properties.lua (line 3))
L 05/19/2015 - 15:52:45: Lua Error: Couldn't include file 'properties\statue.lua' (File not found) (@lua/autorun/properties.lua (line 4))

Couldn't include file 'properties\statue.lua' (File not found) (@lua/autorun/properties.lua (line 4))
L 05/19/2015 - 15:52:45: Lua Error: Couldn't include file 'properties\ignite.lua' (File not found) (@lua/autorun/properties.lua (line 8))

Couldn't include file 'properties\ignite.lua' (File not found) (@lua/autorun/properties.lua (line 8))
L 05/19/2015 - 15:52:45: Lua Error: Couldn't include file 'properties
pc_scale.lua' (File not found) (@lua/autorun/properties.lua (line 11))

Couldn't include file 'properties
pc_scale.lua' (File not found) (@lua/autorun/properties.lua (line 11))
L 05/19/2015 - 15:52:45: server_cvar: "sensor_debugragdoll" "0"
L 05/19/2015 - 15:52:45: server_cvar: "sensor_stretchragdoll" "0"
L 05/19/2015 - 15:52:45: Lua Error: Couldn't include file 'properties\skin.lua' (File not found) (@lua/autorun/properties.lua (line 15))

Couldn't include file 'properties\skin.lua' (File not found) (@lua/autorun/properties.lua (line 15))
Compare KInventory: 0.0.0 to 0.0.0
	 Up to date, nothing to do
[KInventory] Update finished
=========================== Loading addon KInventory ===========================
=> Loading SHARED
    -> Loading sh_0_kinventory.lua
    -> Loading sh_config.lua
    -> Loading sh_model_inventory.lua
    -> Loading sh_model_item.lua
    -> Loading sh_z_itemloader.lua
=> Loading SERVER
    -> Loading sv_inventory.lua
    -> Loading sv_inventorycontroller.lua
    -> Loading sv_item.lua
    -> Loading sv_kinventory.lua
========================= KInventory by Kamshak loaded =========================

=========================== Loading addon Pointshop2 ===========================
=> Loading SHARED
    -> Loading sh_0_pointshop2.lua
    -> Loading sh_config.lua
    -> Loading sh_equipmentslots.lua
    -> Loading sh_mixin_easyexport.lua
    -> Loading sh_model_categorysettings.lua
    -> Loading sh_model_equipmentslot.lua
    -> Loading sh_model_itemmapping.lua
    -> Loading sh_model_itempersistence.lua
    -> Loading sh_model_server.lua
    -> Loading sh_model_settings.lua
    -> Loading sh_model_storedoutfit.lua
    -> Loading sh_model_wallet.lua
    -> Loading sh_moduleloader.lua
    -> Loading sh_pacprotect.lua
    -> Loading sh_playerextension.lua
=> Loading SERVER
    -> Loading sv_playerextension.lua
    -> Loading sv_pointsbatch.lua
    -> Loading sv_pointshop2.lua
    -> Loading sv_pointshop2_defaults_categories.lua
    -> Loading sv_pointshop2_defaults_items.lua
    -> Loading sv_pointshopcontroller.lua
[Pointshop 2] Generating model cache...
[Pointshop 2] Model cache created in 224.91 µs
GLib.Resources : Compressing resource Pointshop2/modelCache took 243.09 µs (102.00 B to 97.00 B).
    -> Loading sv_pointshopcontroller_importexport.lua
    -> Loading sv_pointshopcontroller_outfits.lua
    -> Loading sv_pointshopcontroller_servers.lua
    -> Loading sv_pointshopcontroller_settings.lua
    -> Loading sv_pointshopcontroller_shop.lua
    -> Loading sv_pointshopcontroller_userdetails.lua
    -> Loading sv_pointshopcontroller_wallet.lua
========================= Pointshop2 by Kamshak loaded =========================

     -> Item trash (Base: No Base) loaded!
     -> Item base_pointshop_item (Base: No Base) loaded!
     -> Item base_hat (Base: base_pointshop_item) loaded!
     -> Item base_playermodel (Base: base_pointshop_item) loaded!
     -> Item base_single_use (Base: base_pointshop_item) loaded!
     -> Item base_trail (Base: base_pointshop_item) loaded!
     -> Item jumppack (Base: base_hat) loaded!
     -> Item item_jump_power (Base: base_single_use) loaded!
[Pointshop2] All Items were loaded by KInv
     -> Module Pointshop 2 DLC registered!
     -> Module Pointshop 2 registered!
	-> Module TTT Integration not loaded, not valid for gamemode prop_hunt
	-> Module ZS Integration not loaded, not valid for gamemode prop_hunt
[Pointshop 2] All Modules were loaded
[Pointshop2] Starting Database initialization
[Pointshop2] Database Connected, Init Models
[Pointshop2]Initialized Model Category
[Pointshop2]Initialized Model ItemMapping
[Pointshop2]Initialized Model Server
[Pointshop2]Initialized Model EquipmentSlot
[Pointshop2]Initialized Model Item
[Pointshop2]Initialized Model Inventory
[Pointshop2]Initialized Model HatPersistence
[Pointshop2]Initialized Model PlayermodelPersistence
[Pointshop2]Initialized Model TrailPersistence
[Pointshop2]Initialized Model ItemPersistence
[Pointshop2]Initialized Model OutfitHatPersistenceMapping
[Pointshop2]Initialized Model StoredOutfit
[Pointshop2]Initialized Model StoredSetting
///////////////////////////////
//      Ulysses Library      //
///////////////////////////////
// Loading...                //
//  shared/defines.lua       //
//  shared/misc.lua          //
//  shared/util.lua          //
//  shared/hook.lua          //
//  shared/table.lua         //
//  shared/player.lua        //
//  server/player.lua        //
//  shared/messages.lua      //
//  shared/commands.lua      //
//  server/concommand.lua    //
//  server/util.lua          //
//  shared/sh_ucl.lua        //
//  server/ucl.lua           //
//  server/phys.lua          //
//  server/player_ext.lua    //
//  server/entity_ext.lua    //
// Load Complete!            //
///////////////////////////////
[ULIB] Loading SHARED module: ulx_init.lua
///////////////////////////////
//       ULX Admin Mod       //
///////////////////////////////
// Loading...                //
//  sh_defines.lua           //
//  lib.lua                  //
//  base.lua                 //
//  sh_base.lua              //
//  log.lua                  //
//  MODULE: sh_ulx_inventory.lua//
//  MODULE: slots.lua        //
//  MODULE: uteam.lua        //
//  MODULE: votemap.lua      //
//  MODULE: xgui_server.lua  //
///////////////////////////////
// ULX GUI -- by Stickly Man //
///////////////////////////////
// Adding Main Modules..     //
//  bans.lua                 //
//  commands.lua             //
//  groups.lua               //
//  maps.lua                 //
//  settings.lua             //
// Adding Setting Modules..  //
//  client.lua               //
//  server.lua               //
// Adding Gamemode Modules.. //
//  sandbox.lua              //
// Loading Server Modules..  //
//  sv_bans.lua              //
//  sv_groups.lua            //
//  sv_maps.lua              //
//  sv_sandbox.lua           //
//  sv_settings.lua          //
// XGUI modules added!       //
///////////////////////////////
//  MODULE: chat.lua         //
//  MODULE: fun.lua          //
//  MODULE: menus.lua        //
//  MODULE: rcon.lua         //
//  MODULE: sh_pointshop2.lua//
//  MODULE: teleport.lua     //
//  MODULE: user.lua         //
//  MODULE: userhelp.lua     //
//  MODULE: util.lua         //
//  MODULE: vote.lua         //
//  end.lua                  //
// Load Complete!            //
///////////////////////////////
0
L 05/19/2015 - 15:52:46: server_cvar: "fretta_voting" "1"
L 05/19/2015 - 15:52:46: Lua Error: [AddCSLuaFile] Couldn't find 'effects/base/init.lua' (<nowhere>)

[AddCSLuaFile] Couldn't find 'effects/base/init.lua' (<nowhere>)
L 05/19/2015 - 15:52:46: Lua Error: [AddCSLuaFile] Couldn't find 'effects/dof_node/init.lua' (<nowhere>)

[AddCSLuaFile] Couldn't find 'effects/dof_node/init.lua' (<nowhere>)
[LibK] Database Connected, Init Models
[Pointshop2]Initialized Model Wallet
[Pointshop2] The database was connected
GLib.Resources : Compressing resource Pointshop2/outfits took 6.97 ms (42.59 KiB to 6.32 KiB).
[Pointshop2] Outfit package loaded, version 1397840756 54 outfits.
Pointshop2.Server:findByServerHash( 370648349 )
[Pointshop 2] Loaded server, this is Garry's Mod, id 1
Pointshop2.Server:save( )
GLib.Resources : Compressing resource Pointshop2/settings took 313.17 µs (266.00 B to 182.00 B).
[Pointshop2] Settings package loaded, version e2b970b8
[Pointshop2] Settings have been loaded
[Pointshop2] The initial load stage has been completed
[Pointshop2] Loading Module items
    -> Loaded persistent item 10
    -> Loaded persistent item 11
    -> Loaded persistent item 12
    -> Loaded persistent item 13
    -> Loaded persistent item 14
    -> Loaded persistent item 15
    -> Loaded persistent item 16
    -> Loaded persistent item 17
    -> Loaded persistent item 18
    -> Loaded persistent item 19
    -> Loaded persistent item 59
    -> Loaded persistent item 61
    -> Loaded persistent item 1
    -> Loaded persistent item 2
    -> Loaded persistent item 3
    -> Loaded persistent item 4
    -> Loaded persistent item 5
    -> Loaded persistent item 6
    -> Loaded persistent item 7
    -> Loaded persistent item 8
    -> Loaded persistent item 9
    -> Loaded persistent item 60
    -> Loaded persistent item 20
    -> Loaded persistent item 21
    -> Loaded persistent item 22
    -> Loaded persistent item 23
    -> Loaded persistent item 24
    -> Loaded persistent item 25
    -> Loaded persistent item 26
    -> Loaded persistent item 27
    -> Loaded persistent item 28
    -> Loaded persistent item 29
    -> Loaded persistent item 30
    -> Loaded persistent item 31
    -> Loaded persistent item 32
    -> Loaded persistent item 33
    -> Loaded persistent item 34
    -> Loaded persistent item 35
    -> Loaded persistent item 36
    -> Loaded persistent item 37
    -> Loaded persistent item 38
    -> Loaded persistent item 39
    -> Loaded persistent item 40
    -> Loaded persistent item 41
    -> Loaded persistent item 42
    -> Loaded persistent item 43
    -> Loaded persistent item 44
    -> Loaded persistent item 45
    -> Loaded persistent item 46
    -> Loaded persistent item 47
    -> Loaded persistent item 48
    -> Loaded persistent item 49
    -> Loaded persistent item 50
    -> Loaded persistent item 51
    -> Loaded persistent item 52
    -> Loaded persistent item 53
    -> Loaded persistent item 54
    -> Loaded persistent item 55
    -> Loaded persistent item 56
    -> Loaded persistent item 57
    -> Loaded persistent item 58
[Pointshop2] All Module items were loaded
GLib.Resources : Compressing resource Pointshop2/dynamics took 6.92 ms (50.78 KiB to 5.22 KiB).
[Pointshop2] Dynamics package loaded, version 70de5a85, 60 item mappings, 10 categories, 61 items
[Pointshop2] Loaded Module items from DB
[LibK]Initialized Model Player
game.ConsoleCommand blocked! (mp_flashlight)
Making workshop gamemode available for client download
prop_door_rotating has Door model (models/props_c17/door01_left.mdl) with no door_options! Verify that SKIN is valid, and has a corresponding options block in the model QC file
Nav File is wrong or something (1)
'banned.cfg' not present; not executing.
Writing cfg/banned_user.cfg.
Server logging enabled.
L 05/19/2015 - 15:52:46: Log file closed
Server logging data to file logs\L0519001.log
L 05/19/2015 - 15:52:46: Log file started (file "logs\L0519001.log") (game "C:\servers\aegprophunt\garrysmod") (version "5914")
Writing cfg/banned_user.cfg.
prop_door_rotating has Door model (models/props_c17/door01_left.mdl) with no door_options! Verify that SKIN is valid, and has a corresponding options block in the model QC file
CreateFragmentsFromFile: 'user_custom/3d/3d35b0b3.dat' doesn't exist.
KPlayer:findByUid( 1667352218 )
KPlayer:save( )
Printing Table from s at addons/libk/lua/libk/server/sv_libk_player.lua:18 :
Object Instance KPlayer
{
  player = STEAM_0:1:33049287
  updated_at = 1432067864
  uid = 1667352218
  id = 1
  steam64 = 76561198026364303
  class = class KPlayer
  name = [A-E-G]Hyper
  created_at = 1432064829
}
[LibK] Player [A-E-G]Hyper(id 1)
[PS2] Initializing player [A-E-G]Hyper, modules loaded: done
L 05/19/2015 - 15:52:56: "[A-E-G]Hyper<3><STEAM_0:1:33049287><>" entered the game
[PS2] Initializing player [A-E-G]Hyper, modules loaded: done
Pointshop2.Wallet:findByOwnerId( 1 )
CreateFragmentsFromFile: 'user_custom/66/66ed820e.dat' doesn't exist.
[[A-E-G]Hyper|3|STEAM_0:1:33049287] Lua Error:

[ERROR] addons/ulx/lua/ulx/modules/cl/xlib.lua:283: attempt to index global 'pnl' (a nil value)
  1. makeXpanel - addons/ulx/lua/ulx/modules/cl/xlib.lua:283
   2. makeXGUIbase - addons/ulx/lua/ulx/modules/cl/xgui_helpers.lua:28
    3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:79
     4. Call - addons/ulib/lua/ulib/shared/hook.lua:179
      5. fn - addons/ulib/lua/ulib/cl_init.lua:48
       6. unknown - addons/ulib/lua/ulib/shared/hook.lua:179


[[A-E-G]Hyper|3|STEAM_0:1:33049287] Lua Error:

[ERROR] gamemodes/fretta/gamemode/cl_hud.lua:163: attempt to index local 'RoundTimer' (a nil value)
  1. UpdateHUD_Dead - gamemodes/fretta/gamemode/cl_hud.lua:163
   2. UpdateHUD_Observer - gamemodes/fretta/gamemode/cl_hud.lua:133
    3. RefreshHUD - gamemodes/fretta/gamemode/cl_hud.lua:71
     4. HUDPaint - gamemodes/fretta/gamemode/cl_hud.lua:85
      5. unknown - gamemodes/fretta/gamemode/cl_hud.lua:82


[A-E-G]Hyper@Pointshop2View -> Pointshop2Controller:dynamicsReceived(  ) len 432
[[A-E-G]Hyper|3|STEAM_0:1:33049287] Lua Error:
Couldn't include file 'derma\init.lua' (File not found) (<nowhere>)

[[A-E-G]Hyper|3|STEAM_0:1:33049287] Lua Error:

[ERROR] gamemodes/base/gamemode/cl_voice.lua:73: attempt to index global 'derma' (a nil value)
  1. unknown - gamemodes/base/gamemode/cl_voice.lua:73
   2. include - [C]:-1
    3. unknown - gamemodes/base/gamemode/cl_init.lua:9


[[A-E-G]Hyper|3|STEAM_0:1:33049287] Lua Error:

[ERROR] addons/libk/lua/libk/client/cl_drtmodelpanel.lua:212: attempt to index global 'derma' (a nil value)
  1. unknown - addons/libk/lua/libk/client/cl_drtmodelpanel.lua:212
   2. include - [C]:-1
    3. unknown - addons/libk/lua/autorun/_libk_loader.lua:53


[[A-E-G]Hyper|3|STEAM_0:1:33049287] Lua Error:

[ERROR] addons/libk/lua/libk/client/cl_dsplitpanel.lua:45: attempt to call global 'Derma_Hook' (a nil value)
  1. unknown - addons/libk/lua/libk/client/cl_dsplitpanel.lua:45
   2. include - [C]:-1
    3. unknown - addons/libk/lua/autorun/_libk_loader.lua:53


[[A-E-G]Hyper|3|STEAM_0:1:33049287] Lua Error:

[ERROR] addons/libk/lua/libk/client/cl_libk_kpropertysheet.lua:27: attempt to call global 'Derma_Hook' (a nil value)
  1. unknown - addons/libk/lua/libk/client/cl_libk_kpropertysheet.lua:27
   2. include - [C]:-1
    3. unknown - addons/libk/lua/autorun/_libk_loader.lua:53


[[A-E-G]Hyper|3|STEAM_0:1:33049287] Lua Error:

[ERROR] addons/ulx/lua/ulx/modules/cl/motdmenu.lua:9: attempt to index local 'window' (a nil value)
  1. fn - addons/ulx/lua/ulx/modules/cl/motdmenu.lua:9
   2. func - addons/ulib/lua/ulib/client/cl_util.lua:22
    3. unknown - lua/includes/modules/net.lua:32


[A-E-G]Hyper@Pointshop2View -> Pointshop2Controller:outfitsReceived(  ) len 424
Received outfits from [A-E-G]Hyper
KInventory.Inventory:findByOwnerId( 1 )
[PS2] Loaded inventory for player [A-E-G]Hyper
[PS2] Loaded slot 1 for player [A-E-G]Hyper
[PS2] Loaded slot 2 for player [A-E-G]Hyper
[PS2] Loaded slot 3 for player [A-E-G]Hyper
[PS2] Loaded slot 4 for player [A-E-G]Hyper
CreateFragmentsFromFile: 'user_custom/53/5341840e.dat' doesn't exist.
[[A-E-G]Hyper|3|STEAM_0:1:33049287] Lua Error:

[ERROR] lua/includes/extensions/client/panel/scriptedpanels.lua:173: attempt to index local 'panel' (a nil value)
  1. CreateFromTable - lua/includes/extensions/client/panel/scriptedpanels.lua:173
   2. ShowTeam - gamemodes/fretta/gamemode/cl_selectscreen.lua:273
    3. unknown - LuaCmd:1


[[A-E-G]Hyper|3|STEAM_0:1:33049287] Lua Error:

[ERROR] lua/includes/extensions/client/panel/scriptedpanels.lua:173: attempt to index local 'panel' (a nil value)
  1. CreateFromTable - lua/includes/extensions/client/panel/scriptedpanels.lua:173
   2. ShowTeam - gamemodes/fretta/gamemode/cl_selectscreen.lua:273
    3. unknown - LuaCmd:1


I am using xspacesoft’s version of prop hunt (http://git.xspacesoft.com/prophunt-hidenseek-original/), with frettt, Ulx admin mod, Ulib, Pac3, and Pointshop 2. Besides the maps, that is all I have on the server. Let me mention, everything works absolutely perfectly, before the map change. After though, the player gets stuck, unable to move or access any menus. Any help, or explanation for this would be appreciated! Also my host is nfoservers.com.

Heres your explanation. On line 173 of scriptedpanels.lua there is a reference to “panel” which is nil. Post the code around that area




[ERROR] lua/includes/extensions/client/panel/scriptedpanels.lua:173: attempt to index local 'panel' (a nil value)
  1. CreateFromTable - lua/includes/extensions/client/panel/scriptedpanels.lua:173
   2. ShowTeam - gamemodes/fretta/gamemode/cl_selectscreen.lua:273
    3. unknown - LuaCmd:1


line 273 in cl_selectscreen, not scriptedpanels?

That’s a default extension. Something invalid is being sent into that from Fretta.

Okay I’ll post both.
lines 167-186 of the scriptedpanels.lua


function vgui.CreateFromTable( metatable, parent, name, ... )

	if ( !istable( metatable ) ) then return nil end

	local panel = vgui.Create( metatable.Base, parent, name )
	
	table.Merge( panel:GetTable(), metatable )<---------------------------
	panel.BaseClass = PanelFactory[ metatable.Base ]
	panel.ClassName = classname
	
	-- Call the Init function if we have it
	if ( panel.Init ) then
		panel:Init()
	end
	
	panel:Prepare()
	
	return panel

end

and lines 269-309 from cl_selectscreen.lua


function GM:ShowTeam()

	if ( !IsValid( TeamPanel ) ) then 
	
		TeamPanel = vgui.CreateFromTable( vgui_Splash )<------------------------------
		TeamPanel:SetHeaderText( "Choose Team" )

		local AllTeams = team.GetAllTeams()
		for ID, TeamInfo in SortedPairs ( AllTeams ) do
		
			if ( ID != TEAM_CONNECTING && ID != TEAM_UNASSIGNED && ( ID != TEAM_SPECTATOR || GAMEMODE.AllowSpectating ) && team.Joinable(ID) ) then
			
				if ( ID == TEAM_SPECTATOR ) then
					TeamPanel:AddSpacer( 10 )
				end
			
				local strName = TeamInfo.Name
				local func = function() RunConsoleCommand( "changeteam", ID ) end
			
				local btn = TeamPanel:AddSelectButton( strName, func )
				btn.m_colBackground = TeamInfo.Color
				btn.Think = function( self ) 
								self:SetText( Format( "%s (%i)", strName, team.NumPlayers( ID ) ))
								self:SetDisabled( GAMEMODE:TeamHasEnoughPlayers( ID ) ) 
							end
				
				if (  IsValid( LocalPlayer() ) && LocalPlayer():Team() == ID ) then
					btn:SetDisabled( true )
				end
				
			end
			
		end
		
		TeamPanel:AddCancelButton()
		
	end
	
	TeamPanel:MakePopup()

end

vgui_Splash isn’t valid. Is it defined anywhere in that file?

two lines above it:


vgui_Splash = vgui.RegisterTable( PANEL, "DPanel" )
local TeamPanel = nil

Are those in a function, or just sitting plainly in the file?

Alright, so I followed some advice and ditched the fretta I had, and got the fretta13. It still gives errors, but only one:


[ERROR] gamemodes/fretta/gamemode/cl_hud.lua:82: attempt to call method 'HUDPaint' (a nil value)
  1. HUDPaint - gamemodes/fretta/gamemode/cl_hud.lua:82
   2. unknown - gamemodes/fretta/gamemode/cl_hud.lua:82


Pasting the whole cl_hud.lua file here:



local hudScreen = nil
local Alive = false
local Class = nil
local Team = 0
local WaitingToRespawn = false
local InRound = false
local RoundResult = 0
local RoundWinner = nil
local IsObserver = false
local ObserveMode = 0
local ObserveTarget = NULL
local InVote = false

function GM:AddHUDItem( item, pos, parent )
	hudScreen:AddItem( item, parent, pos )
end

function GM:HUDNeedsUpdate()

	if ( !IsValid( LocalPlayer() ) ) then return false end

	if ( Class != LocalPlayer():GetNWString( "Class", "Default" ) ) then return true end
	if ( Alive != LocalPlayer():Alive() ) then return true end
	if ( Team != LocalPlayer():Team() ) then return true end
	if ( WaitingToRespawn != ( (LocalPlayer():GetNWFloat( "RespawnTime", 0 ) > CurTime()) && LocalPlayer():Team() != TEAM_SPECTATOR && !LocalPlayer():Alive()) ) then return true end
	if ( InRound != GetGlobalBool( "InRound", false ) ) then return true end
	if ( RoundResult != GetGlobalInt( "RoundResult", 0 ) ) then return true end
	if ( RoundWinner != GetGlobalEntity( "RoundWinner", nil ) ) then return true end
	if ( IsObserver != LocalPlayer():IsObserver() ) then return true end
	if ( ObserveMode != LocalPlayer():GetObserverMode() ) then return true end
	if ( ObserveTarget != LocalPlayer():GetObserverTarget() ) then return true end
	if ( InVote != GAMEMODE:InGamemodeVote() ) then return true end
	
	return false
end

function GM:OnHUDUpdated()
	Class = LocalPlayer():GetNWString( "Class", "Default" )
	Alive = LocalPlayer():Alive()
	Team = LocalPlayer():Team()
	WaitingToRespawn = (LocalPlayer():GetNWFloat( "RespawnTime", 0 ) > CurTime()) && LocalPlayer():Team() != TEAM_SPECTATOR && !Alive
	InRound = GetGlobalBool( "InRound", false )
	RoundResult = GetGlobalInt( "RoundResult", 0 )
	RoundWinner = GetGlobalEntity( "RoundWinner", nil )
	IsObserver = LocalPlayer():IsObserver()
	ObserveMode = LocalPlayer():GetObserverMode()
	ObserveTarget = LocalPlayer():GetObserverTarget()
	InVote = GAMEMODE:InGamemodeVote()
end

function GM:OnHUDPaint()

end

function GM:RefreshHUD()

	if ( !GAMEMODE:HUDNeedsUpdate() ) then return end
	GAMEMODE:OnHUDUpdated()
	
	if ( IsValid( hudScreen ) ) then hudScreen:Remove() end
	hudScreen = vgui.Create( "DHudLayout" )
	
	if ( InVote ) then return end
	
	if ( RoundWinner and RoundWinner != NULL ) then
		GAMEMODE:UpdateHUD_RoundResult( RoundWinner, Alive )
	elseif ( RoundResult != 0 ) then
		GAMEMODE:UpdateHUD_RoundResult( RoundResult, Alive )
	elseif ( IsObserver ) then
		GAMEMODE:UpdateHUD_Observer( WaitingToRespawn, InRound, ObserveMode, ObserveTarget )
	elseif ( !Alive ) then
		GAMEMODE:UpdateHUD_Dead( WaitingToRespawn, InRound )
	else
		GAMEMODE:UpdateHUD_Alive( InRound )
	end
	
end

function GM:HUDPaint() 

	self.BaseClass:HUDPaint()  <<<<<<<<<LINE IN ERROR
	
	GAMEMODE:OnHUDPaint()
	GAMEMODE:RefreshHUD()
	
end

function GM:UpdateHUD_RoundResult( RoundResult, Alive )

	local txt = GetGlobalString( "RRText" )
	
	if ( type( RoundResult ) == "number" ) && ( team.GetAllTeams()[ RoundResult ] && txt == "" ) then
		local TeamName = team.GetName( RoundResult )
		if ( TeamName ) then txt = TeamName .. " Wins!" end
	elseif ( type( RoundResult ) == "Player" && IsValid( RoundResult ) && txt == "" ) then
		txt = RoundResult:Name() .. " Wins!"
	end

	local RespawnText = vgui.Create( "DHudElement" );
		RespawnText:SizeToContents()
		RespawnText:SetText( txt )
	GAMEMODE:AddHUDItem( RespawnText, 8 )

end

function GM:UpdateHUD_Observer( bWaitingToSpawn, InRound, ObserveMode, ObserveTarget )

	local lbl = nil
	local txt = nil
	local col = Color( 255, 255, 255 );

	if ( IsValid( ObserveTarget ) && ObserveTarget:IsPlayer() && ObserveTarget != LocalPlayer() && ObserveMode != OBS_MODE_ROAMING ) then
		lbl = "SPECTATING"
		txt = ObserveTarget:Nick()
		col = team.GetColor( ObserveTarget:Team() );
	end
	
	if ( ObserveMode == OBS_MODE_DEATHCAM || ObserveMode == OBS_MODE_FREEZECAM ) then
		txt = "You Died!" // were killed by?
	end
	
	if ( txt ) then
		local txtLabel = vgui.Create( "DHudElement" );
		txtLabel:SetText( txt )
		if ( lbl ) then txtLabel:SetLabel( lbl ) end
		txtLabel:SetTextColor( col )
		
		GAMEMODE:AddHUDItem( txtLabel, 2 )		
	end

	
	GAMEMODE:UpdateHUD_Dead( bWaitingToSpawn, InRound )

end

function GM:UpdateHUD_Dead( bWaitingToSpawn, InRound )

	if ( !InRound && GAMEMODE.RoundBased ) then
	
		local RespawnText = vgui.Create( "DHudElement" );
			RespawnText:SizeToContents()
			RespawnText:SetText( "Waiting for round start" )
		GAMEMODE:AddHUDItem( RespawnText, 8 )
		return
		
	end

	if ( bWaitingToSpawn ) then

		local RespawnTimer = vgui.Create( "DHudCountdown" );
			RespawnTimer:SizeToContents()
			RespawnTimer:SetValueFunction( function() return LocalPlayer():GetNWFloat( "RespawnTime", 0 ) end )
			RespawnTimer:SetLabel( "SPAWN IN" )
		GAMEMODE:AddHUDItem( RespawnTimer, 8 )
		return

	end
	
	if ( InRound ) then
	
		local RoundTimer = vgui.Create( "DHudCountdown" );
			RoundTimer:SizeToContents()
			RoundTimer:SetValueFunction( function() 
											if ( GetGlobalFloat( "RoundStartTime", 0 ) > CurTime() ) then return GetGlobalFloat( "RoundStartTime", 0 )  end 
											return GetGlobalFloat( "RoundEndTime" ) end )
			RoundTimer:SetLabel( "TIME" )
		GAMEMODE:AddHUDItem( RoundTimer, 8 )
		return
	
	end
	
	if ( Team != TEAM_SPECTATOR && !Alive ) then
	
		local RespawnText = vgui.Create( "DHudElement" );
			RespawnText:SizeToContents()
			RespawnText:SetText( "Press Fire to Spawn" )
		GAMEMODE:AddHUDItem( RespawnText, 8 )
		
	end

end

function GM:UpdateHUD_Alive( InRound )

	if ( GAMEMODE.RoundBased || GAMEMODE.TeamBased ) then
	
		local Bar = vgui.Create( "DHudBar" )
		GAMEMODE:AddHUDItem( Bar, 2 )

		if ( GAMEMODE.TeamBased && GAMEMODE.ShowTeamName ) then
		
			local TeamIndicator = vgui.Create( "DHudUpdater" );
				TeamIndicator:SizeToContents()
				TeamIndicator:SetValueFunction( function() 
													return team.GetName( LocalPlayer():Team() )
												end )
				TeamIndicator:SetColorFunction( function() 
													return team.GetColor( LocalPlayer():Team() )
												end )
				TeamIndicator:SetFont( "HudSelectionText" )
			Bar:AddItem( TeamIndicator )
			
		end
		
		if ( GAMEMODE.RoundBased ) then 
		
			local RoundNumber = vgui.Create( "DHudUpdater" );
				RoundNumber:SizeToContents()
				RoundNumber:SetValueFunction( function() return GetGlobalInt( "RoundNumber", 0 ) end )
				RoundNumber:SetLabel( "ROUND" )
			Bar:AddItem( RoundNumber )
			
			local RoundTimer = vgui.Create( "DHudCountdown" );
				RoundTimer:SizeToContents()
				RoundTimer:SetValueFunction( function() 
												if ( GetGlobalFloat( "RoundStartTime", 0 ) > CurTime() ) then return GetGlobalFloat( "RoundStartTime", 0 )  end 
												return GetGlobalFloat( "RoundEndTime" ) end )
				RoundTimer:SetLabel( "TIME" )
			Bar:AddItem( RoundTimer )

		end
		
	end

end

function GM:UpdateHUD_AddedTime( iTimeAdded )
	// to do or to override, your choice
end
net.Receive( "RoundAddedTime", function( length ) if ( GAMEMODE ) then GAMEMODE:UpdateHUD_AddedTime( net.ReadFloat() ) end end )


Now I know the error is caused by the “HUDPaint” not being defined, but I don’t know how to do that, or where to put it. If someone can show, or at least point me somewhere where I can learn it, that would be great.

A base class isn’t defined for that. In fretta13.txt, what is the base listed as?

Thanks code_gs, the issue was that I had the folder named “fretta” but the file still named “fretta13.txt”. I fixed it, and there were still errors, but I was able to track them down one one by one. Somehow when I transferred the files through ftp, some were skipped. I thank everyone for their help!!!