Pivity

Failed Creating Font

Last read Never
#1

Alright, so after I started developing and maintaining a DarkRP server I added a lvling system which included Printers! We decided to remove it because it was beyond shit you know how this goes. After the removal of the printers I started getting 13 Lua Problems on the server. There we're 13 Font's that we're failed to create. Now I have removed everything that had anything to do with this Lvling system. Does anyone know a fix to this?

#2

Put this on your server in garrysmod/lua/autorun/createfont_tracker.lua

OLD_SURFACE_CREATEFONT = OLD_SURFACE_CREATEFONT or surface.CreateFont
function surface.CreateFont(...)
PrintTable({...})
print(debug.traceback())
return OLD_SURFACE_CREATEFONT(...)
end

Then, look in your server/client console and when surface.CreateFont is being called you'll see where it's been called from (the file.) Then you can deal with that file.

Remember to delete the script from your server after you've used it.

Friendly x 8Disagree x 3
Users viewing this thread
Nobody