A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

MH Loging System.

1.4k views · started by MattSmith ·
#1
MH Loging System.
It appears he has a pretty robust logging system. Having a chat with PixelTweak, it even red flags you. If your having that error every time you try to attack, you've probably been red flagged.

If anyone has more information on it, please share!
#2
MattSmith wrote:
It appears he has a pretty robust logging system. Having a chat with PixelTweak, it even red flags you. If your having that error every time you try to attack, you've probably been red flagged.

If anyone has more information on it, please share!


Errorin logging information.
error: function(){
console.log('Something went wrong! ):');
$("#quick_success").css({backgroundColor: "#710000"}).html('An error has occured, refreshing in 5 seconds!').fadeIn(300);
setTimeout(function(){
redirect('battle');
}, 5000);

General logout error.
 } else if(json.error === 1){
$("#quick_success").css({backgroundColor: "#710000"}).html('You\'ve been logged out, refreshing in 5 seconds!').fadeIn(300);
setTimeout(function(){
redirect('home');
}, 5000);



Hereis the one he added to stop us from preventing monster attacks.
if(json.error === 4){ // Battle is over!
battle_data['monsters'][monster_key]['attack_interval'] = setTimeout(function(){
battle_data['monsters'][monster_key]['attack']();
}, 3000);


These are all just for ./battle./ though.
#3
you can just ask him to remove it. Hes too nice.
#4
Console.log isn't him logging to the server. That's client side logging to your local console in the browser. json.error is getting the 'error' id in the request that returned json.. None of this is truly useful at all.. Sorry.