Blockland Forums > Suggestions & Requests

Gaze Mod Fix

Pages: << < (2/3) > >>

Electrk:

Well that sucks.

BlockoCrafter:


--- Quote from: Mr.Noßody on February 13, 2013, 04:29:10 PM ---As of now Gaze Mod (on player look at events) is breaks bottom print messages. All bottom prints won't show up at all with this mod on.

I request that the mod is cleaned up and fixed. It is far too useful to be flawed like that.
I've contacted Xalos, the creator, about it but it seems he hasn't touched it since.
Can somebody please fix Gaze Mod?

--- End quote ---
Might wanna fix those. ;)

K9 Kid:

Do need fix

Mr.Noßody:


--- Quote from: BlockoCrafter on February 13, 2013, 07:01:35 PM ---Might wanna fix those. ;)

--- End quote ---

No.
If you can't read or understand what I said, you may leave.


--- Quote from: Electrk on February 13, 2013, 06:47:08 PM ---https://dl.dropbox.com/u/22706254/Server_Gaze.zip

I removed all mentions of bottomPrint. This should work.

--- End quote ---

Has syntax errors and does not work.
Thanks for trying though.
(That's about what I tried)

pecon98:

Pretty sure I figured out what the problem was. The gameConnection::BottomPrint function was packaged incorrectly because in a recent update a new argument was added to the bottomPrint function. This is easy to fix, just replace the code from lines 325 to 336 with the following:


--- Code: --- function GameConnection::bottomPrint(%cl, %msg, %time, %bar)
{
if(!%cl.gazing)
{
%cl.stopGazing();
if(%time <= 0)
%cl.startGazing = %cl.schedule(60000, "startGazing");   //Cap time of one minute. That's long enough for any useful info.
else
%cl.startGazing = %cl.schedule(%time * 1000, "startGazing");
}
Parent::bottomPrint(%cl, %msg, %time, %bar);
}
--- End code ---

If this works, you could probably just send the updated file to Xalos and I bet he would be happy to overwrite the current download with a new one with this file.

Pages: << < (2/3) > >>

Go to full version