Urban Terror Forums: URT script Engine bug - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

URT script Engine bug Rate Topic: -----

can't have ; or " after //

#11 User is offline   Rayne Icon

  • Account: rayne
  • Joined: 28-February 10
  • Posts: 1,653

Posted 28 June 2011 - 09:21 AM

Some people abuse the privilege to breathe.

#12 User is offline   undead Icon

  • Account: undead
  • Joined: 06-June 10
  • Posts: 199

Posted 12 July 2011 - 11:49 PM

View Postthebastard, on 27 June 2011 - 08:09 AM, said:

This one is not posted anywhere.. say this is in your autoexec.cfg

//Commenting out;ut_echo a;ut_echo b;Commands on this line are still fired

The dumb script engine still prints out a and b.. so if you're debugging and need to comment out the line without ; and "

//Commenting out //ut_echo a // ut_echo b

If you'd like to reapply, simply remove // and place ; at the appropriate places

This too gives problems

//"Comment"

^URT script engine chokes and tries to follow quotes..

FYI I got annoyed by this bug today so I fixed it. I was searching to see if anyone had fixed it and this post turned up. I don't know who this person is but I wanted to tell them that it should be fixed. It's a generic ioquake3 bug so it should have been posted to their bugzilla instead. I didn't find anything in the ioquake3 bug tracking about it. It has been around since as long as I can remember in quake3.

Here's the patch: https://bugzilla.icc...bug.cgi?id=5075

I didn't try the quotes in the above description but I just tried it now and it works as expected when patched.

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942