Ergebnis 1 bis 5 von 5

Thema: There was a problem opening the gamemode file

  1. #1

    Standard There was a problem opening the gamemode file

    There was a problem opening the gamemode file 'DarkSocietyRP/gamemode/cl_init.lua'

    Die meldung quält mich nun schon seit einer halben stunde. Was bedeutet die?
    cl_init.lua exestiert in /gamemode/

  2. #2
    TheStargater
    Avatar von TheStargater

    Standard AW: There was a problem opening the gamemode file

    Die Meldung besagt ja nicht das er die nicht findet sondern das er Probleme beim öffnen hat.

  3. #3

    Standard AW: There was a problem opening the gamemode file

    nu gehts. weiß nicht was ich gemacht habe damits wieder geht:/

  4. #4

    Standard AW: There was a problem opening the gamemode file

    Nach Anfrage wieder eröffnet!
    Geändert von Pac_187 (23.05.2009 um 20:32 Uhr)

  5. #5

    Standard AW: There was a problem opening the gamemode file

    Ich erhalte nun eine etwas detaliertere Fehlermeldung.

    **********************************************
    **********************************************
    ********** COULDN'T LOAD GAMEMODE! **********
    **********************************************
    **********************************************
    There was a problem opening the gamemode file 'dsrp/gamemode/cl_init.lua'
    Registering gamemode 'dsrp' derived from 'base'
    Es war kurz weg und nun kommt derselbe fehler nochmal. woran liegts?

    init.lua
    Lua Code:
    1. AddCSLuaFile( "cl_init.lua" )
    2. AddCSLuaFile( "shared.lua" )
    3.  
    4. include( "shared.lua" )
    5.  
    6. function GM:PlayerIntitialSpawn( ply )
    7. 	ply:SetTeam( 0 )
    8.  
    9. 	--Load Player
    10. 	--LoadPlayer( ply )
    11. end

    shared.lua
    Lua Code:
    1. GM.Name = "Dark Society RP" //Set the gamemode name
    2. GM.Author = "perfectdeath545" //Set the author name
    3. GM.Email = "[email protected]" //Set the author email
    4. GM.Website = "http://ssgn.net63.net/" //Set the author website
    5.  
    6. team.SetUp( 0, "Roleplayer", Color(51, 51, 51, 51), true )
    7. team.SetUp( 1, "Admins", Color(255, 0, 0, 255), false )

    cl_init.lua
    Lua Code:
    1. include( "shared.lua" )
    2.  
    3. --Hook Remove
    4. hook.Remove( "HUDPaint", "drawhud" )
    5. hook.Remove( "HUDShouldDraw", "hidehud" )
    6.  
    7. function drawhud()
    8. 	local client = LocalPlayer()
    9.  
    10. 	--Upper Bar
    11. 	--draw.
    12. end 
    13.  
    14. function hidehud(name)
    15. 	for k, v in pairs{"CHudHealth", "CHudBattery", "CHudAmmo", "CHudSecondaryAmmo"} do
    16. 		if name == v then return false end
    17. 	end 
    18. end 
    19.  
    20. ---Hook Add
    21. hook.Add( "HUDPaint", "drawhud", drawhud )
    22. hook.Add( "HUDShouldDraw", "hidehud", hidehud )

    Edit:
    hook.Remove(...) scheint nicht bugfrei zu sein:/
    problem gelöst
    Geändert von CGamer (25.05.2009 um 11:57 Uhr)

Ähnliche Themen

  1. File Zilla Upload Problem
    Von Bill Gates im Forum Netzwerkprogramme
    Antworten: 5
    Letzter Beitrag: 28.04.2009, 13:49
  2. File Recover
    Von Stoned im Forum Office
    Antworten: 2
    Letzter Beitrag: 15.10.2008, 15:03
  3. Problem Mit Server / Client / Gamemode / Addons
    Von DerGrosseChaot im Forum Hilfe & Support
    Antworten: 2
    Letzter Beitrag: 22.06.2008, 14:08
  4. .vob -> wmp file?
    Von Kritz im Forum Multimedia
    Antworten: 4
    Letzter Beitrag: 08.10.2007, 11:36
  5. File Recovery
    Von lori im Forum Software
    Antworten: 4
    Letzter Beitrag: 22.10.2006, 10:35

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •