EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > Bugs

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 10-27-2004, 03:45 PM
insomniac's Avatar
insomniac insomniac is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Blackburrow
Posts: 555
Default Commenting stuff out doesn't always work.

this one had me going for a while. Commenting out code doesn't mean it won't be drawn. Attached is the pet window code (with some broken stuff i'm trying) with all the command buttons commented out. they still show up.
Attached Files
File Type: zip eq2ui_SliderbarStyles.zip (1.4 KB, 560 views)
__________________
Shizlak Xml - Templar/Provisioner
Blackburrow
Join Chat! irc: #EQ2Interface (dalnet) Ingame: /join eq.serverwide.eq2ui


Reply With Quote
  #2  
Unread 10-27-2004, 03:59 PM
Cantino Cantino is offline
A Dervish Cutthroat
 
Join Date: Oct 2004
Posts: 37
Default

Interesting... Anyone know why this is?
Reply With Quote
  #3  
Unread 11-14-2004, 11:11 AM
filidecht's Avatar
filidecht filidecht is offline
A Brown Bear
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Najena
Posts: 10
Default

I noticed this also. There is a workaround, though. Instead of commenting blocks or paragraphs, you need to comment out each individual line. Irritatingly time consuming, but I've found that it does work in the files I've been testing.
Reply With Quote
  #4  
Unread 11-14-2004, 11:35 AM
insomniac's Avatar
insomniac insomniac is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Blackburrow
Posts: 555
Default

oh cool fil.
my workaround has been deleting the code..
__________________
Shizlak Xml - Templar/Provisioner
Blackburrow
Join Chat! irc: #EQ2Interface (dalnet) Ingame: /join eq.serverwide.eq2ui


Reply With Quote
  #5  
Unread 11-14-2004, 01:49 PM
Imadruid Imadruid is offline
A Dervish Cutthroat
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 38
Default Here is what I do

I have a programmers editor (something like UltraEdit), and this is what I do.

<!-- my comments as to whyt I'm commenting this code out

<block of code I want commented out>
<block of code I want commented out>

-->

The secret is to replace the "<" and ">" characters in the block with other characters. This way, the parser isn't having to work hard to keep its place in the file. I use "~" and "^". So my code ends up looking like this.

<!-- comment before clock of code

~block of code I want commented out^
~block of code I want commented out^

-->

Using a programmers editor, it is easy to do a global search and replace within a selected area of code.
Reply With Quote
  #6  
Unread 11-21-2004, 01:26 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Quote:
Originally Posted by Imadruid
...The secret is to replace the "<" and ">" characters in the block with other characters...

<!-- comment before clock of code

~block of code I want commented out^
~block of code I want commented out^

-->

It would appear, then, that the comment tag is being closed on ">" instead of the appropriate "-->".
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:53 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI