Team Spartan Cookies & Milk Forums
Chat say methods bug ! - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: Chat say methods bug ! (/thread-1150.html)



Chat say methods bug ! - Yuri6037 - 28-07-2015

Hello all,

I'm sure there is a bug because after paste with Adv Duped 2 on a construction where a Starfall Processor is in, all chat say methods says the first message without any colors.

Is that normal ? Can you do something or is it working as intended ?


In the hope of a quick answer,
Yuri.


RE: Chat say methods bug ! - Person8880 - 28-07-2015

Duplicating has no bearing on what the chat library does. Your code is telling it what to output at all times, so you must be doing something different on first spawn.


RE: Chat say methods bug ! - Yuri6037 - 29-07-2015

(28-07-2015, 05:53 PM)Person8880 Wrote: Duplicating has no bearing on what the chat library does. Your code is telling it what to output at all times, so you must be doing something different on first spawn.

I'm not ! That's always the same message ([ShipAI 3] -> Initializing systems.). The problem is only the first thrown message : this first messgae which is sent using chat.botSay("AI", Color(0, 255, 255), "[ShipAI 3] -> ", Color(255, 128, 0), "Initializing systems."), causes colors to be displayed not as real colors but instead they are printed on the message.

If you want I can give you a screen of the problem !

Here is the real code situated in the AIUtilities file :
Code:
function aiSay(msg) chat.botSay("AI", Color(0, 255, 255), "[ShipAI 3] -> ", Color(255, 133, 0), msg) end

Now the output is : (the following has been copied directly from Game Console.)
Code:
[AI] 0 255 255 255[ShipAI 3] -> 255 133 0 255Initializing Systems... --First sentence (not working, expected "[AI] [ShipAI 3] -> Initializing Systems...") [AI] [ShipAI 3] -> Done loading ! Welcome to TestShip, type !ai help for help ! --Second sentence (working)

EDIT : It's not AdvDupe 2. The problem happens when no Starfall messages is rendering on the chat overlay, then the first message of Starfall processor is the one that I indicated previously.


RE: Chat say methods bug ! - Yuri6037 - 01-08-2015

So anyone ?

The problem still occurs...


RE: Chat say methods bug ! - Person8880 - 01-08-2015

It's fixed after the next server restart.


RE: Chat say methods bug ! - Yuri6037 - 01-08-2015

Ok thank you very much, I'll see when it will reboot.


RE: Chat say methods bug ! - Yuri6037 - 04-08-2015

Well that's now 3 days and it's still broken it does still the exact same problem !


RE: Chat say methods bug ! - Person8880 - 04-08-2015

It's now definitely fixed.


RE: Chat say methods bug ! - Yuri6037 - 05-08-2015

This seams to be fixed now, thank you Person.