Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 12 13 14 15 16 … 18 Next »
Chat say methods bug !
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Chat say methods bug !
29-07-2015, 11:28 AM, (This post was last modified: 29-07-2015, 11:49 AM by Yuri6037.)
#3
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
RE: Chat say methods bug !
(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.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Chat say methods bug ! - by Yuri6037 - 28-07-2015, 01:51 PM
RE: Chat say methods bug ! - by Person8880 - 28-07-2015, 05:53 PM
RE: Chat say methods bug ! - by Yuri6037 - 29-07-2015, 11:28 AM
RE: Chat say methods bug ! - by Yuri6037 - 01-08-2015, 03:08 PM
RE: Chat say methods bug ! - by Person8880 - 01-08-2015, 04:05 PM
RE: Chat say methods bug ! - by Yuri6037 - 01-08-2015, 04:25 PM
RE: Chat say methods bug ! - by Yuri6037 - 04-08-2015, 12:06 PM
RE: Chat say methods bug ! - by Person8880 - 04-08-2015, 08:51 PM
RE: Chat say methods bug ! - by Yuri6037 - 05-08-2015, 07:29 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.