It's a data problem. I'll look over it. I'm currently conceptualizing a new social network idea.
this seems like a cool project im downloading it now to test it out,
also i think your logo could use a little change: [media]http://i38.tinypic.com/2h67lvc.png[/media]
Thanks for the concept image [noparse]:awesome:[/noparse] :)
[QUOTE=CptFuzzies;17938751]Thanks for the concept image [noparse]:awesome:[/noparse] :)[/QUOTE]
no problem, also i tried this out and i wasnt able to use the Z for undo key
[lua]if ( !DEVELOPER_MODE ) then
ErrorNoHalt = function() end
Error = function() end
error = function() end
end
[/lua]
what the fuck.
Congratulations on removing an essential part of Lua functionality.
Remove this please.
The error function isn't just used to alert programmers of problems - it's used to terminate the execution of a script.
If something goes badly wrong and a script needs to cease execution - they may use the error function.
At [i]least[/i] replace it with this:
[lua]
local oldErrorNoHalt = ErrorNoHalt
function ErrorNoHalt(self, ...)
if DEVELOPER_MODE then
return ErrorNoHalt(...)
end
end
local oldError = Error
function Error(self, ...)
if DEVELOPER_MODE then
return Error(...)
end
end
local olderror = error
function error(self, msg, level)
if DEVELOPER_MODE then
return olderror(msg, level == 0 and 0 or (level or 1)+1
end
end
[/lua]
Based on your comment, I believe you may have meant to put 'if SERVER then return end' at the top of the document.
Please do one or the other so I can become in-sync with the SVN.
[QUOTE=Deco Da Man;17942259][lua]if ( !DEVELOPER_MODE ) then
ErrorNoHalt = function() end
Error = function() end
error = function() end
end
[/lua]
what the fuck.
Congratulations on removing an essential part of Lua functionality.
Remove this please.
The error function isn't just used to alert programmers of problems - it's used to terminate the execution of a script.
If something goes badly wrong and a script needs to cease execution - they may use the error function.
At [i]least[/i] replace it with this:
[lua]
local oldErrorNoHalt = ErrorNoHalt
function ErrorNoHalt(self, ...)
if DEVELOPER_MODE then
return ErrorNoHalt(...)
end
end
local oldError = Error
function Error(self, ...)
if DEVELOPER_MODE then
return Error(...)
end
end
local olderror = error
function error(self, msg, level)
if DEVELOPER_MODE then
return error(msg, level == 0 and 0 or (level or 1)+1
end
end
[/lua]
Based on your comment, I believe you may have meant to put 'if SERVER then return end' at the top of the document.
Please do one or the other so I can become in-sync with the SVN.[/QUOTE]
Error and error should always call the base error function if they're called, even on the client.
Change the entire thing to
[lua]local oldErrorNoHalt = ErrorNoHalt
ErrorNoHalt = function(...)
if DEVELOPER_MODE then
return oldErrorNoHalt(...)
end
end
local oldError = Error
Error = function(...)
if DEVELOPER_MODE then
return oldError(...)
else
error("",0)
end
end
local olderror = error
error = function(...)
if DEVELOPER_MODE then
return olderror(...)
else
error("",0)
end
end[/lua]
That'd cause a Stack Overflow, Lexic. (so would mine, haha. Fixed)
Also, do this:
[lua]DEVELOPER_MODE = false
local lua_developer_mode = CreateConVar("lua_developer_mode", 0)
cvars.AddChangeCallback("lua_developer_mode", function(cvar, old, new)
DEVELOPER_MODE = tobool(new)
end)
[/lua]
Also it's a stupid thing to do anyway, as most errors clients will experience will be errors thrown by Lua itself because of shitty programming, and your hack won't stop those.
You might as well remove it.
You shouldn't be overriding them, period. Any script worth its salt won't have errors in the first place.
If any script should have errors, by all means annoy the users! If I had my way, the errors would be even more intrusive. The more you annoy your users with errors the more the script writer will be pressured into fixing them.
[QUOTE=Jinto;17942587]You shouldn't be overriding them, period. Any script worth its salt won't have errors in the first place.
If any script should have errors, by all means annoy the users! If I had my way, the errors would be even more intrusive. The more you annoy your users with errors the more the script writer will be pressured into fixing them.[/QUOTE]
You mean like every error goes "beep" and the screen turns red?
Beep would be enough I think.
[QUOTE=Lexic;17942643]You mean like every error goes "beep" and the screen turns red?[/QUOTE]
Was just trying to get my point across.
[QUOTE=Jinto;17942759]Was just trying to get my point across.[/QUOTE]
Was only being mildly sarcastic. How [i]would[/i] you make them more intrusive?
[QUOTE=Lexic;17942793]Was only being mildly sarcastic. How [i]would[/i] you make them more intrusive?[/QUOTE]
Crash Gmod on purpose when a Lua error occurs.
[QUOTE=Lexic;17942793]Was only being mildly sarcastic. How [i]would[/i] you make them more intrusive?[/QUOTE]
Would make them stay visible on the screen longer.
-Points for stealing a name.
+Points for everything else. Thanks!
This mod is really great. Pump Shotgun is awesome. Gives me a sense of extra 'immersion.'
The weapons work fine for me. But the first time I started Gmod after installing GMOD+ it crashed. Now it works fine. Just a little strange.. :v:
[QUOTE=CptFuzzies;17894782]
:downs: [i]You give me boxes, but can't code anything better.[/i][/QUOTE]
Wow, smug much???
I don't know how to fix it, but i've figured out the problem.
Some files simply aren't being read.
The weapon_ files are there, but gmod isn't recognising them. Same with some sounds, and some of the files for the ents.
[QUOTE=AlfieSR;17960613]I don't know how to fix it, but i've figured out the problem.
Some files simply aren't being read.
The weapon_ files are there, but gmod isn't recognising them. Same with some sounds, and some of the files for the ents.[/QUOTE]
So.. Why does it work for only some people then?
[QUOTE=AlfieSR;17960613]I don't know how to fix it, but i've figured out the problem.
Some files simply aren't being read.
The weapon_ files are there, but gmod isn't recognising them. Same with some sounds, and some of the files for the ents.[/QUOTE]
The sweps do work for me. I looked at the weapon lua, and it looked like there really wasn't any code in. Of course, I have never scripted any lua, and am probably wrong.
Due to complications in my life at the moment, I have placed the project under hiatus. I am currently dissecting features from the project for standalone download, however I plan on coming back and rewriting major sections of the addon for greater stability, and to make the end users and developers happy with the state of the project.
I greatly apologize for the lack of progress in the past few days, however this is a result of said complications.
Apology accepted :swoon:
oh btw. Get better:love:
Sorry to hear about the troubles, CptFuzzies. I wish the best of luck to you. 3:
Released a few quick standalone downloads. Nothing anyone's going to truly want. I'll extract the more hyped up stuff later today.
These standalones include:
* An AK47 That Shoots Babies
* Counter-Strike: Source Weapons
* gm_construct_night
* gm_flatgrass_night
* Motivational Orange
* VGUI2 Skin
Reminds me of the concepts of the Unofficial Oblivion and fallout patches, adding crap that should have been tehre, and fixing crap that is a bit broken or needs refining. Shame it's on hold :frown:
[QUOTE=CptFuzzies;17973197]Released a few quick standalone downloads. Nothing anyone's going to truly want. I'll extract the more hyped up stuff later today.
These standalones include:
* An AK47 That Shoots Babies
* Counter-Strike: Source Weapons
* gm_construct_night
* gm_flatgrass_night
* Motivational Orange
* VGUI2 Skin[/QUOTE]
Cool. Shame about GM+ being on hiatus for now, but until you can figure out the problem with this whole thing, then... yeah. Thanks for releasing the stuff anyway :P
So why is the project currently seizing work? I love this.
[QUOTE=Dr Pepper;17986164]So why is the project currently seizing work? I love this.[/QUOTE]
Because of stress, and getting everything to work for everyone :P
[QUOTE=AlfieSR;17986757]Because of stress, and getting everything to work for everyone :P[/QUOTE]
Okay, this pretty fun to mess around with
Sorry, you need to Log In to post a reply to this thread.