New Export error?

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Re: New Export error?

Postby Jamey » Sat May 22, 2010 5:13 pm

Notepad doesn't show anything out of the ordinary for me... :? Could something in my system's preferences be preventing me from seeing invisible unicode or even unicode boxes?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: New Export error?

Postby D'Lanor » Sun May 23, 2010 6:04 am

Notepad is simply not capable of showing them, nor should it be. Advanced editors may show control code characters but in fact they are not meant to be shown. That is why they are called "non-printing characters". ;)
The unit separator character btw is not a unicode extension. It is a control code character from the good old ascii set, dating back from times when text editing and printing were equal to rocket science. :lol:
Other characters in this category are the (horizontal) tab or the new line (line feed / carriage return). You see the effects of these (if handled by the software) but not as actual characters in the text.
There are 31 control code characters but apart from the ones I mentioned they are rarely used. Some have specific use in programming languages but they should not be seen or entered by users.

So the question is: What the heek are you doing that places these characters in your text?
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: New Export error?

Postby Jamey » Sun May 23, 2010 6:22 am

D'Lanor wrote:The unit separator character btw is not a unicode extension. It is a control code character from the good old ascii set, dating back from times when text editing and printing were equal to rocket science. :lol:

:shock:
*cowers in a corner*

D'Lanor wrote:So the question is: What the heek are you doing that places these characters in your text?


Absolutely no idea :lol: If I knew, I'd do whatever I could to avoid them, because trying to delete them is a HUGE pain...

What happens next? Should we try to figure out how to delete these little pests? Or should we try to figure out what I'm doing that is putting them there in the first place? (I'd prefer the former first, but I'm afraid to do the latter :P )

Overall, As long as my problem with this alc-script gets fixed at the end, I'll be a happy camper.
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: New Export error?

Postby D'Lanor » Sun May 23, 2010 9:39 am

It is not hard to fix.

ascii31.zip
(121 Bytes) Downloaded 221 times


Download this file, unzip and open in Notepad. It will seem empty but it contains the problem character and nothing else.
Hit ctrl-a (select all), then ctrl-c (copy).
Open your Alcscript file.
Do a "find and replace". Just hit ctrl-v (paste) in the find box and type a space in the replace box.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: New Export error?

Postby Jamey » Sun May 23, 2010 12:34 pm

The good news is, the age exports successfully now. :D The bad news is that half of my sitting mods don't work.

The Bench sitting region I'm having trouble with is BR1, and the sitting mods themselves (BE7 through BE12)

Here's the current script:
Code: Select all
VOJournal:
    physical:
        pinned: true
    quickscript:
        simpleclick:
            pythonfile: Vogokh_OglahnBookGUI
            region: JournalRegion

Water:
    type: waveset
    visual:
        waveset:
            envradius: 1371.405
            envmap: ENVtestsky.png
            depthrange:
                opac:
                    start: 0
                    end: 0.5

BE1:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE1
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE2:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE2
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE3:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE3
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE4:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE4
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE5:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE5
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE6:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE6
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE7:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE7
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE8:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE8
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE9:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE9
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE10:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE10
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE11:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE11
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE12:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE12
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1


Did replacing the unicode characters throw the codes off?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: New Export error?

Postby D'Lanor » Sun May 23, 2010 3:27 pm

What do you mean by "don't work". If you mean "not clickable" then it has nothing to do with the characters or with the sitting mod. That is simply a messed up click region.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: New Export error?

Postby Jamey » Sun May 23, 2010 3:41 pm

Yeah, there is no hotspot coming up, nor is it clickable. It was working fine before I had all these export problems, and I have not made any changes to the click region that I know of :? Only editing in the alc-script to get rid of the invisible characters.

EDIT: Just checked the region properties of BR1, and found nothing unusual...I'm completely stumped as to what went wrong...
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: New Export error?

Postby tachzusamm » Mon May 24, 2010 11:17 am

Jamey, could you post the exact copy (I hope you have a backup) of your AlcScript version before you added the imager?
Maybe this way we could compare it with your current version, by doing a binary compare, to find out if this really could cause the problems you encountered.
User avatar
tachzusamm
 
Posts: 575
Joined: Thu May 29, 2008 2:03 am
Location: Germany

Re: New Export error?

Postby Jamey » Mon May 24, 2010 12:43 pm

I unfortunately do not have a copy of the alc-script before the imager was added. Even if I did, I don't think it would make a difference since I did not edit any alc-script when applying the imager... :(

Here is the current alc-script I am using right now:

Code: Select all
VOJournal:
    physical:
        pinned: true
    quickscript:
        simpleclick:
            pythonfile: Vogokh_OglahnBookGUI
            region: JournalRegion

Water:
    type: waveset
    visual:
        waveset:
            envradius: 1371.405
            envmap: ENVtestsky.png
            depthrange:
                opac:
                    start: 0
                    end: 0.5

BE1:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE1
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE2:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE2
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE3:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE3
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE4:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE4
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE5:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE5
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE6:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR2
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE6
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE7:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE7
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE8:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE8
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE9:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE9
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE10:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE10
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE11:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE11
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1

BE12:
    visual:
        render: false
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: BR1
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: sittingmod
                ref: sittingmod:BE12
        actions:
          - type: sittingmod
            sittingmod:
                miscflags: 1


For the sake of clarification:

The region known as BR1, is the sitting region for the sitting mods BE7 through BE12.

The region known as BR2, is the sitting region for the sitting mods BE1 through BE6.

All sitting mods within Region BR1 do not work.
All sitting mods within Region BR2 do work.
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: New Export error?

Postby Paradox » Mon May 24, 2010 12:50 pm

Neither of those regions exist in your AlcScript...
Paradox
 
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada

PreviousNext

Return to Building

Who is online

Users browsing this forum: No registered users and 8 guests

cron