Problem with new cvar parsing in svn

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Postby divVerent » Sun Jan 06, 2008 6:19 am

It did not work like that in 2.3, and in my 2.4 svn it works just fine. You may be using 2.4 svn with a 2.3 engine.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Spaceman » Sun Jan 06, 2008 11:02 am

AceOfThumbs wrote:I'm using the May 30, 2007 2.3 release for Mac. I don't have Linux, but WinstonSmith on IRC said he tested the 2.3 release on Linux and it worked, but on the 2.4 SVN it didn't.
I may have confused you :D

I tried 2.3 and 2008-01-02c build on Kubuntu.

Kubuntu, regular 2.3 (patched with Blub's name completion)
Code: Select all
set x qwer
set i x
echo ${$i}
Warning: could not find cvar {$i}
Warning: could not find cvar i}
${$i}


Kubuntu, 2008-01-02c build
Code: Select all
set w qwer
set e w
echo ${$e}
qwer


Windows 2000, regular 2.3 (no patches)
Code: Select all
set x qwer
set i x
echo ${$i}
Warning: could not find cvar {$i}
Warning: could not find cvar i}
${$i}

This indirection bug is present in 2.3, but has been fixed in the SVN version.


Comments being truncated by a semi-colon is present in all the builds I've tried. :(

// "blah ; echo "this shouldn't print""
bind u "wait ; wait" // ; wait ; wait" //make a short delay

bind o "echo hello" //displays your message; quit

Winston
Spaceman
Alien trapper
 
Posts: 264
Joined: Tue Aug 28, 2007 10:53 am

Postby divVerent » Sun Jan 06, 2008 12:08 pm

The indirection "bug" is not a bug - it simply is a new feature in svn builds. There was no indirection in 2.3. And changing // looks complicated... I'd fear to break other stuff when fixing that parsing. Instead, just don't use semicolons in comments...
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby AceOfThumbs » Sun Jan 06, 2008 10:43 pm

divVerent wrote:It did not work like that in 2.3, and in my 2.4 svn it works just fine. You may be using 2.4 svn with a 2.3 engine.


If 2.3 doesn't have indirection, that explains why it won't work for me since I am using 2.3. :) Sorry for the confusion.

What do you mean about "2.4 svn with a 2.3 engine"? I did try the 2.4 engine-only download. I copied it to my Nexuiz folder which had 2.3. It works on my one of my older Macs, but not on the new one. So I deleted the 2.4 engine files and copied the 2.3 engine back.
So much to do, so little time to do it
AceOfThumbs
Alien
 
Posts: 158
Joined: Tue Sep 04, 2007 11:12 pm

Postby Urbanshenkie » Tue Jan 08, 2008 8:07 am

anyone had problems with console and the latest svn ? for xp

atfer the new font thingy the console disapeart it doesnt render the letters or something when i press tilde
Urbanshenkie
Alien
 
Posts: 145
Joined: Tue Dec 04, 2007 11:15 am

Postby divVerent » Tue Jan 08, 2008 10:21 am

Known bug and Black fixed it yesterday.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Previous

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron