Jump to content

Error Messages


Recommended Posts

Posted

Modification to stop Error messages appearing outside the console?

Why would you want to suppress errors?  If you're getting errors they're happening for a reason.  And what kind of errors are you talking about like vm_failed crash ones or something more minor like ghoul2 issues.

JKG Developer

Posted

Wouldn't it be worth looking into fixing the errors instead? :P What error are you getting?

No, because it's more along the lines of Couldn't find shader for: custom npc, Ashura's Lightsaber etc That stuff. 

You can try with cl_noprint 1, that will stop every message from being displayed in the console and subsequently out of it.

 

I'd prefer it was permanent. 

Posted

It's not working- I don't understand what I'm doing wrong. 

 

I have one autoexec.cfg here in the base and the same one in OpenJK folder. 

 

10550073_579238935562334_474117687963626


You can add that to your autoexec.cfg

 

con_notifytime -1

instead of cl_noprint 1

 

I tried both methods like above btw. 

Posted

It's not working- I don't understand what I'm doing wrong. 

 

I have one autoexec.cfg here in the base and the same one in OpenJK folder. 

 

<script pagespeed_no_defer="">//=d.offsetWidth&&0>=d.offsetHeight)a=!1;else{c=d.getBoundingClientRect();var f=document.body;a=c.top+("pageYOffset"in window? window.pageYOffset:(document.documentElement||f.parentNode||f).scrollTop);c=c.left+("pageXOffset"in window?window.pageXOffset:(document.documentElement||f.parentNode||f).scrollLeft);f=a.toString()+","+c;b.b.hasOwnProperty(f)?a=!1:(b.b[f]=!0,a=a<=b.e.height&&c<=b.e.width)}a&&(b.a.push(e),b.d[e]=!0)};p.prototype.checkImageForCriticality=function(b){b.getBoundingClientRect&&q(this,b)};h("pagespeed.CriticalImages.checkImageForCriticality",function(b){n.checkImageForCriticality(b)}); h("pagespeed.CriticalImages.checkCriticalImages",function(){r(n)}); var r=function(b){b.b={};for(var d=["IMG","INPUT"],a=[],c=0;c=a.length+e.length&&(a+=e)}b.g&&(e="&rd="+encodeURIComponent(JSON.stringify(s())),131072>=a.length+e.length&&(a+=e),d=!0);t=a;if(d){c=b.f;b=b.h;var f; if(window.XMLHttpRequest)f=new XMLHttpRequest;else if(window.ActiveXObject)try{f=new ActiveXObject("Msxml2.XMLHTTP")}catch(k){try{f=new ActiveXObject("Microsoft.XMLHTTP")}catch(u){}}f&&(f.open("POST",c+(-1==c.indexOf("?")?"?":"&")+"url="+encodeURIComponent(b)),f.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),f.send(a))}}},s=function(){var b={},d=document.getElementsByTagName("IMG");if(0==d.length)return{};var a=d[0];if(!("naturalWidth"in a&&"naturalHeight"in a))return{};for(var c= 0;a=d[c];++c){var e=a.getAttribute("pagespeed_url_hash");e&&(!(e in b)&&0=b[e].k&&a.height>=b[e].j)&&(b[e]={rw:a.width,rh:a.height,ow:a.naturalWidth,oh:a.naturalHeight})}return b},t="";h("pagespeed.CriticalImages.getBeaconData",function(){return t});h("pagespeed.CriticalImages.Run",function(b,d,a,c,e,f){var k=new p(b,d,a,e,f);n=k;c&&m(function(){window.setTimeout(function(){r(k)},0)})});})(); pagespeed.CriticalImages.Run('/mod_pagespeed_beacon','https://jkhub.org/index.php?s=9e5d2d41a85fedba6e0ee7e08fd9a3b2&app=forums&module=ajax§ion=topics&do=quote&t=7146&p=102825&md5check=ecba2a4d3033837a868480b442547b35&isRte=1,6QF_3AoSfD,true,false,mHVjUnLa_i8'); //]]></script>10550073_579238935562334_474117687963626&&0

 

 

I tried both methods like above btw. 

Add it to the Jaconfig not to autoexec. Sometimes it doesnt work for some reason (by make a copied version of Jaconfig)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...