Jump to content

Recommended Posts

Posted

I see this error every now and then and cannot seem to track it down. I am using the latest wpi 3.5.1 downloaded a few days ago.

wpierror.gif

any ideas?

Dennis


Posted (edited)

little new to WPI (started last night lol) so bear with me...

i check the main.js file, from what i see it looks like a problem with displaying "simple" or "complex" shadow colors... if you don't know yet, you can open main.js (in the common folder) with notpad and turn off wordwrap and turn on he status bar to check what line you are on.... for the area of 232 I have:

function ViewTip() {

position="main.js";

  Count++

if(Count == 1) {

  if(cssFilters&&FiltersEnabled) {

  for(Index=28; Index<31; Index++) { TipLayer.filters[index].enabled = 0 }

  for(s=0; s<28; s++) { if(TipLayer.filters.status == 2) TipLayer.filters.stop() }

  if(tbody.Transition == 51) tbody.Transition = parseInt(Math.random()*50)

  var applyTrans = (tbody.Transition>-1&&tbody.Transition<24&&tbody.Duration>0)? 1:0

  var advFilters = (tbody.Transition>23&&tbody.Transition<51&&tbody.Duration>0)? 1:0

  var which = (applyTrans)?0:(advFilters)? tbody.Transition-23:0

  if(tbody.Alpha>0&&tbody.Alpha<100) {

      TipLayer.filters[28].enabled = 1

      TipLayer.filters[28].opacity = tbody.Alpha

  }

  if(tbody.ShadowColor&&tbody.ShadowType == "simple") {

      TipLayer.filters[29].enabled = 1

      TipLayer.filters[29].color = tbody.ShadowColor

  }

  else if(tbody.ShadowColor&&tbody.ShadowType == "complex") {

      TipLayer.filters[30].enabled = 1

      TipLayer.filters[30].color = tbody.ShadowColor

  }

  if(applyTrans||advFilters) {

    eval(obj+sv+hl)

      if(applyTrans) TipLayer.filters[0].transition = tbody.Transition

      TipLayer.filters[which].duration = tbody.Duration

      TipLayer.filters[which].apply()

  }

  }

  eval(obj+sv+vl)

  if(cssFilters&&FiltersEnabled&&(applyTrans||advFilters)) TipLayer.filters[which].play()

  if(hs == "sticky") move=0

  }

}

the bracket in red is line 232. I don't know if this is of any help, but you may be able to spot a typo or incorrect value. i'm using 3.5.1 as well.

*NOTE: I would not copy and paste this, i had to use the QUOTE tag so the red bracket would show up.*

oh, and in the useroptions.js file.. i have at the bottom

Style[0]=["#FF00FF","black","#000000","#C0C0C0","","","","","","","","","","",200,"",2,2,10,10,51,0.4,0,"",""];

if it happens to be something you changed in that Tooltips section. just edit and save if need be.

Edited by Bi0haZarD

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...