FoFiX v3.1xx development thread

Discussion particular to FoFiX, its development, and themes
Forum rules
700+ songs fretted!!
User avatar
Puppetz
Member
Posts: 8305
Joined: June 10th, 2007
Location: Finland
Reputation: 24
Contact:

Re: FoFiX v3.1xx development thread

Postby Puppetz » Fri May 29, 2009 1:11 pm

QUESTION: Is the career thing still the same, or are there any changes? Two people has complained so far that my "PH's" can't be played in Career as they can't get the second tier unlocked?! And it was probably cause they had a new FoF version?! So are there any new things that should be added there? And are there new things that can be added to the ini file? (newest I knew about were; icon, year, album, loading phrase)
Image To support my work and help me get a new computer. Thanks!
ImageImageImageImageImage
FoFiX Dev/Mod Squad
User avatar
jstump91
Member
Posts: 837
Joined: September 21st, 2008
Location: Baltimore, MD (US)
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby jstump91 » Fri May 29, 2009 2:25 pm

r1588:

Major shader error handling fixes. The way that the shader functionality is imported from pyOpenGL has also been changed. A couple of functions are conditionally wrapped for compatibility. Changes to the semantics of the innards of Shader.py are documented. Shaders now work on pyOpenGL 2.x!

Shaders should now be available to you, even if you are using Python 2.4 with pyOpenGL 2.0.2.01.
jstump91, a.k.a. john.stumpo, a.k.a. stump
jstump.com | stump's blog | FoFiX development | My own code
Can't find a Windows build of the Python module you need? Try my mediafire!
Don't say "Python can't do [insert task here]." Python can do anything with the right modules - said modules may just not have been written yet.
"Python - why settle for snake oil when you can have the whole snake?" --Mark Jackson
Did you search before you posted? Did you read the rules for the subforum you are posting in?
Dr. Professor Logic
User avatar
Lysdestic
Member
Posts: 2939
Joined: December 14th, 2007
Reputation: 7
Contact:

Re: FoFiX v3.1xx development thread

Postby Lysdestic » Fri May 29, 2009 2:30 pm

Pretty awesome stuff, Stump. Nice job.
I'm Brazilian
User avatar
Italo_Hellboy
Member
Posts: 195
Joined: June 23rd, 2008
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby Italo_Hellboy » Fri May 29, 2009 3:27 pm

can add a fade when the incomplete star change to a star and gold star in game?

and use shaders when the center lines flash ?
Sorry for bad english !! I'm Brazilian
Image
Sexier than you
User avatar
p_025
Member
Posts: 187
Joined: February 17th, 2008
Location: somewhere
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby p_025 » Fri May 29, 2009 3:28 pm

I get a segfault when trying to configure 4-pad drum keys (didn't test guitar). It would tell me to push the button, and when I did, it segfaulted.

Code: Select all

(E) Loading error: Traceback (most recent call last):
  File "C:\Games\FoFiX\src\GameEngine.py", line 986, in main
    done = Engine.run(self)
  File "C:\Games\FoFiX\src\Engine.py", line 133, in run
    self._runTask(task)
  File "C:\Games\FoFiX\src\Engine.py", line 124, in _runTask
    task.run(ticks)
  File "C:\Games\FoFiX\src\Input.py", line 425, in run
    self.broadcastEvent(self.keyListeners, "keyPressed", id, u'\x00')
  File "C:\Games\FoFiX\src\Input.py", line 314, in broadcastEvent
    if getattr(l, function)(*args):
  File "C:\Games\FoFiX\src\Menu.py", line 237, in keyPressed
    choice.trigger(self.engine)
  File "C:\Games\FoFiX\src\Menu.py", line 68, in trigger
    nextMenu = self.callback()
  File "C:\Games\FoFiX\src\Settings.py", line 272, in change
    temp = Player.setNewKeyMapping(self.engine, self.config, self.section, self.option, key)
  File "C:\Games\FoFiX\src\Player.py", line 831, in setNewKeyMapping
    b = isKeyMappingOK(config, option)
  File "C:\Games\FoFiX\src\Player.py", line 813, in isKeyMappingOK
    keyVal.append(keycode(i, config))
  File "C:\Games\FoFiX\src\Player.py", line 803, in keycode
    return getattr(pygame, k)
AttributeError: 'module' object has no attribute 'None'

(E) AttributeError, <type 'exceptions.AttributeError'>: 'module' object has no attribute 'None'Traceback (most recent call last):
  File "C:\Games\FoFiX\src\GameEngine.py", line 1013, in run
    return self.mainloop()
  File "C:\Games\FoFiX\src\GameEngine.py", line 986, in main
    done = Engine.run(self)
  File "C:\Games\FoFiX\src\Engine.py", line 133, in run
    self._runTask(task)
  File "C:\Games\FoFiX\src\Engine.py", line 124, in _runTask
    task.run(ticks)
  File "C:\Games\FoFiX\src\Input.py", line 425, in run
    self.broadcastEvent(self.keyListeners, "keyPressed", id, u'\x00')
  File "C:\Games\FoFiX\src\Input.py", line 314, in broadcastEvent
    if getattr(l, function)(*args):
  File "C:\Games\FoFiX\src\Menu.py", line 237, in keyPressed
    choice.trigger(self.engine)
  File "C:\Games\FoFiX\src\Menu.py", line 68, in trigger
    nextMenu = self.callback()
  File "C:\Games\FoFiX\src\Settings.py", line 272, in change
    temp = Player.setNewKeyMapping(self.engine, self.config, self.section, self.option, key)
  File "C:\Games\FoFiX\src\Player.py", line 831, in setNewKeyMapping
    b = isKeyMappingOK(config, option)
  File "C:\Games\FoFiX\src\Player.py", line 813, in isKeyMappingOK
    keyVal.append(keycode(i, config))
  File "C:\Games\FoFiX\src\Player.py", line 803, in keycode
    return getattr(pygame, k)
AttributeError: 'module' object has no attribute 'None'

It still configured the key though, so every time you wanted to set up another key you had to start the game up again until you FINALLY had everything configured.

EDIT: I also got a "Connection lost" error when trying to play on any instrument.

Code: Select all

(E) Loading error: Traceback (most recent call last):
  File "C:\Games\FoFiX\src\GameEngine.py", line 988, in main
    self.view.render()
  File "C:\Games\FoFiX\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "C:\Games\FoFiX\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "C:\Games\FoFiX\src\Scene.py", line 286, in render
    self.render3D()
  File "C:\Games\FoFiX\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "C:\Games\FoFiX\src\Stage.py", line 570, in render
    if shaders.enable("stage"):
  File "C:\Games\FoFiX\src\Shader.py", line 339, in enable
    glUseProgramObjectARB(self[shader]["program"])
TypeError: 'NoneType' object is unsubscriptable

(E) TypeError, <type 'exceptions.TypeError'>: 'NoneType' object is unsubscriptableTraceback (most recent call last):
  File "C:\Games\FoFiX\src\GameEngine.py", line 1013, in run
    return self.mainloop()
  File "C:\Games\FoFiX\src\GameEngine.py", line 988, in main
    self.view.render()
  File "C:\Games\FoFiX\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "C:\Games\FoFiX\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "C:\Games\FoFiX\src\Scene.py", line 286, in render
    self.render3D()
  File "C:\Games\FoFiX\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "C:\Games\FoFiX\src\Stage.py", line 570, in render
    if shaders.enable("stage"):
  File "C:\Games\FoFiX\src\Shader.py", line 339, in enable
    glUseProgramObjectARB(self[shader]["program"])
TypeError: 'NoneType' object is unsubscriptable


As most of you can probably tell by now, I finally got a drum set. Hehehe.

EDIT2: regarding the career, I've noticed that with the GH2 career (by MrFaust) I can't unlock the tier 1 encore or any of the other tiers.
Last edited by p_025 on Fri May 29, 2009 3:48 pm, edited 2 times in total.
Desktop:
OS: Windows XP Professional, Service Pack 3 (Build 2600); Windows 7 Ultimate x64 Beta (Build 7048) | CPU: Intel Core 2 Duo E6600 (2 CPUs, 2.40GHz) | RAM: 2x Corsair XMS 2GiB DDR2, 2x Corsair XMS 1GiB DDR2 (6GiB total, 3.25 recognized by XP) | Video: EVGA NVidia GeForce 8800GT 512MiB | Audio: Sound Blaster X-Fi XtremeMusic
0_o
User avatar
BLOODPAIN
Member
Posts: 76
Joined: November 30th, 2007
Location: Khmelnitsky,Ukraine
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby BLOODPAIN » Fri May 29, 2009 3:40 pm

updated to r1588

Code: Select all

(D) Compiling shader "stage" from ..\data\shaders\lightning.vert and ..\data\shaders\lightning.frag.
(E) Error compiling lightning shader: Traceback (most recent call last):
  File "E:\GAMEZ\FoF\src\Shader.py", line 647, in set
    self.make("lightning","stage")
  File "E:\GAMEZ\FoF\src\Shader.py", line 159, in make
    program = self.compile(open(vertname), open(fragname))
IOError: [Errno 2] No such file or directory: '..\\data\\shaders\\lightning.vert'

(D) Compiling shader "sololight" from ..\data\shaders\lightning.vert and ..\data\shaders\lightning.frag.
(E) Error compiling lightning shader: Traceback (most recent call last):
  File "E:\GAMEZ\FoF\src\Shader.py", line 667, in set
    self.make("lightning","sololight")
  File "E:\GAMEZ\FoF\src\Shader.py", line 159, in make
    program = self.compile(open(vertname), open(fragname))
IOError: [Errno 2] No such file or directory: '..\\data\\shaders\\lightning.vert'

(D) Compiling shader "tail" from ..\data\shaders\lightning.vert and ..\data\shaders\lightning.frag.
(E) Error compiling lightning shader: Traceback (most recent call last):
  File "E:\GAMEZ\FoF\src\Shader.py", line 689, in set
    self.make("lightning","tail")
  File "E:\GAMEZ\FoF\src\Shader.py", line 159, in make
    program = self.compile(open(vertname), open(fragname))
IOError: [Errno 2] No such file or directory: '..\\data\\shaders\\lightning.vert'

(D) Compiling shader "tail2" from ..\data\shaders\rockbandtail.vert and ..\data\shaders\rockbandtail.frag.
(E) Error compiling rockbandtail shader: Traceback (most recent call last):
  File "E:\GAMEZ\FoF\src\Shader.py", line 712, in set
    self.make("rockbandtail","tail2")
  File "E:\GAMEZ\FoF\src\Shader.py", line 159, in make
    program = self.compile(open(vertname), open(fragname))
IOError: [Errno 2] No such file or directory: '..\\data\\shaders\\rockbandtail.vert'

(D) Compiling shader "notes" from ..\data\shaders\metal.vert and ..\data\shaders\metal.frag.
(E) Error compiling metal shader: Traceback (most recent call last):
  File "E:\GAMEZ\FoF\src\Shader.py", line 725, in set
    self.make("metal","notes")
  File "E:\GAMEZ\FoF\src\Shader.py", line 159, in make
    program = self.compile(open(vertname), open(fragname))
IOError: [Errno 2] No such file or directory: '..\\data\\shaders\\metal.vert'

(D) Compiling shader "neck" from ..\data\shaders\neck.vert and ..\data\shaders\neck.frag.
(E) Error compiling neck shader: Traceback (most recent call last):
  File "E:\GAMEZ\FoF\src\Shader.py", line 733, in set
    self.make("neck","neck")
  File "E:\GAMEZ\FoF\src\Shader.py", line 159, in make
    program = self.compile(open(vertname), open(fragname))
IOError: [Errno 2] No such file or directory: '..\\data\\shaders\\neck.vert'

(D) Compiling shader "cd" from ..\data\shaders\cd.vert and ..\data\shaders\cd.frag.
(E) Error compiling cd shader: Traceback (most recent call last):
  File "E:\GAMEZ\FoF\src\Shader.py", line 738, in set
    self.make("cd","cd")
  File "E:\GAMEZ\FoF\src\Shader.py", line 159, in make
    program = self.compile(open(vertname), open(fragname))
IOError: [Errno 2] No such file or directory: '..\\data\\shaders\\cd.vert'


Code: Select all

E) Loading error: Traceback (most recent call last):
  File "E:\GAMEZ\FoF\src\GameEngine.py", line 988, in main
    self.view.render()
  File "E:\GAMEZ\FoF\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "E:\GAMEZ\FoF\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "E:\GAMEZ\FoF\src\Scene.py", line 286, in render
    self.render3D()
  File "E:\GAMEZ\FoF\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "E:\GAMEZ\FoF\src\Stage.py", line 570, in render
    if shaders.enable("stage"):
  File "E:\GAMEZ\FoF\src\Shader.py", line 339, in enable
    glUseProgramObjectARB(self[shader]["program"])
TypeError: 'NoneType' object is unsubscriptable

(E) TypeError, <type 'exceptions.TypeError'>: 'NoneType' object is unsubscriptableTraceback (most recent call last):
  File "E:\GAMEZ\FoF\src\GameEngine.py", line 1013, in run
    return self.mainloop()
  File "E:\GAMEZ\FoF\src\GameEngine.py", line 988, in main
    self.view.render()
  File "E:\GAMEZ\FoF\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "E:\GAMEZ\FoF\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "E:\GAMEZ\FoF\src\Scene.py", line 286, in render
    self.render3D()
  File "E:\GAMEZ\FoF\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "E:\GAMEZ\FoF\src\Stage.py", line 570, in render
    if shaders.enable("stage"):
  File "E:\GAMEZ\FoF\src\Shader.py", line 339, in enable
    glUseProgramObjectARB(self[shader]["program"])
TypeError: 'NoneType' object is unsubscriptable
FoFiX Dev/Mod Squad
User avatar
jstump91
Member
Posts: 837
Joined: September 21st, 2008
Location: Baltimore, MD (US)
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby jstump91 » Fri May 29, 2009 3:48 pm

Try r1589.

Also, make sure you are updating the data folder as well, as you do not seem to have gotten the renames of the shader files to the more standard .frag and .vert extensions.
jstump91, a.k.a. john.stumpo, a.k.a. stump
jstump.com | stump's blog | FoFiX development | My own code
Can't find a Windows build of the Python module you need? Try my mediafire!
Don't say "Python can't do [insert task here]." Python can do anything with the right modules - said modules may just not have been written yet.
"Python - why settle for snake oil when you can have the whole snake?" --Mark Jackson
Did you search before you posted? Did you read the rules for the subforum you are posting in?
Sexier than you
User avatar
p_025
Member
Posts: 187
Joined: February 17th, 2008
Location: somewhere
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby p_025 » Fri May 29, 2009 3:57 pm

That fixed the "Connection lost" but now the song plays for a second then I get this. I believe it happens when the first note is to be spawned at the end of the fretboard.

Code: Select all

(E) Loading error: Traceback (most recent call last):
  File "C:\Games\FoFiX\src\GameEngine.py", line 988, in main
    self.view.render()
  File "C:\Games\FoFiX\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "C:\Games\FoFiX\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "C:\Games\FoFiX\src\Scene.py", line 286, in render
    self.render3D()
  File "C:\Games\FoFiX\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "C:\Games\FoFiX\src\Stage.py", line 588, in render
    self.scene.renderGuitar()
  File "C:\Games\FoFiX\src\GuitarScene.py", line 4611, in renderGuitar
    guitar.render(self.visibility, self.song, self.getSongPosition(), self.controls, self.killswitchEngaged[i])  #QQstarS: new
  File "C:\Games\FoFiX\src\Guitar.py", line 2169, in render
    self.renderNotes(visibility, song, pos, killswitch)
  File "C:\Games\FoFiX\src\Guitar.py", line 1264, in renderNotes
    shaders.setVar("note_position",(x, (1.0 - visibility) ** (event.number + 1), z),"notes")
  File "C:\Games\FoFiX\src\Shader.py", line 290, in setVar
    pos = program[var]
TypeError: 'NoneType' object is unsubscriptable

(E) TypeError, <type 'exceptions.TypeError'>: 'NoneType' object is unsubscriptableTraceback (most recent call last):
  File "C:\Games\FoFiX\src\GameEngine.py", line 1013, in run
    return self.mainloop()
  File "C:\Games\FoFiX\src\GameEngine.py", line 988, in main
    self.view.render()
  File "C:\Games\FoFiX\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "C:\Games\FoFiX\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "C:\Games\FoFiX\src\Scene.py", line 286, in render
    self.render3D()
  File "C:\Games\FoFiX\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "C:\Games\FoFiX\src\Stage.py", line 588, in render
    self.scene.renderGuitar()
  File "C:\Games\FoFiX\src\GuitarScene.py", line 4611, in renderGuitar
    guitar.render(self.visibility, self.song, self.getSongPosition(), self.controls, self.killswitchEngaged[i])  #QQstarS: new
  File "C:\Games\FoFiX\src\Guitar.py", line 2169, in render
    self.renderNotes(visibility, song, pos, killswitch)
  File "C:\Games\FoFiX\src\Guitar.py", line 1264, in renderNotes
    shaders.setVar("note_position",(x, (1.0 - visibility) ** (event.number + 1), z),"notes")
  File "C:\Games\FoFiX\src\Shader.py", line 290, in setVar
    pos = program[var]
TypeError: 'NoneType' object is unsubscriptable

(D) View: Pop all
(D) View: Pop: GuitarSceneClient
(D) Disconnecting.
(N) Connection lost.
(D) View: Push: MessageScreen
(E) Loading error: Traceback (most recent call last):
  File "C:\Games\FoFiX\src\GameEngine.py", line 988, in main
    self.view.render()
  File "C:\Games\FoFiX\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "C:\Games\FoFiX\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "C:\Games\FoFiX\src\Scene.py", line 286, in render
    self.render3D()
  File "C:\Games\FoFiX\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "C:\Games\FoFiX\src\Stage.py", line 588, in render
    self.scene.renderGuitar()
  File "C:\Games\FoFiX\src\GuitarScene.py", line 4611, in renderGuitar
    guitar.render(self.visibility, self.song, self.getSongPosition(), self.controls, self.killswitchEngaged[i])  #QQstarS: new
  File "C:\Games\FoFiX\src\Guitar.py", line 2169, in render
    self.renderNotes(visibility, song, pos, killswitch)
  File "C:\Games\FoFiX\src\Guitar.py", line 1264, in renderNotes
    shaders.setVar("note_position",(x, (1.0 - visibility) ** (event.number + 1), z),"notes")
  File "C:\Games\FoFiX\src\Shader.py", line 290, in setVar
    pos = program[var]
TypeError: 'NoneType' object is unsubscriptable

(E) Recursive exception:Traceback (most recent call last):
  File "C:\Games\FoFiX\src\GameEngine.py", line 1013, in run
    return self.mainloop()
  File "C:\Games\FoFiX\src\GameEngine.py", line 988, in main
    self.view.render()
  File "C:\Games\FoFiX\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "C:\Games\FoFiX\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "C:\Games\FoFiX\src\Scene.py", line 286, in render
    self.render3D()
  File "C:\Games\FoFiX\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "C:\Games\FoFiX\src\Stage.py", line 588, in render
    self.scene.renderGuitar()
  File "C:\Games\FoFiX\src\GuitarScene.py", line 4611, in renderGuitar
    guitar.render(self.visibility, self.song, self.getSongPosition(), self.controls, self.killswitchEngaged[i])  #QQstarS: new
  File "C:\Games\FoFiX\src\Guitar.py", line 2169, in render
    self.renderNotes(visibility, song, pos, killswitch)
  File "C:\Games\FoFiX\src\Guitar.py", line 1264, in renderNotes
    shaders.setVar("note_position",(x, (1.0 - visibility) ** (event.number + 1), z),"notes")
  File "C:\Games\FoFiX\src\Shader.py", line 290, in setVar
    pos = program[var]
TypeError: 'NoneType' object is unsubscriptable

Desktop:
OS: Windows XP Professional, Service Pack 3 (Build 2600); Windows 7 Ultimate x64 Beta (Build 7048) | CPU: Intel Core 2 Duo E6600 (2 CPUs, 2.40GHz) | RAM: 2x Corsair XMS 2GiB DDR2, 2x Corsair XMS 1GiB DDR2 (6GiB total, 3.25 recognized by XP) | Video: EVGA NVidia GeForce 8800GT 512MiB | Audio: Sound Blaster X-Fi XtremeMusic
0_o
User avatar
BLOODPAIN
Member
Posts: 76
Joined: November 30th, 2007
Location: Khmelnitsky,Ukraine
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby BLOODPAIN » Fri May 29, 2009 3:59 pm

jstump91 wrote:Try r1589.

Also, make sure you are updating the data folder as well, as you do not seem to have gotten the renames of the shader files to the more standard .frag and .vert extensions.

Thanks, that helped.
FoFiX Dev/Mod Squad
User avatar
jstump91
Member
Posts: 837
Joined: September 21st, 2008
Location: Baltimore, MD (US)
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby jstump91 » Fri May 29, 2009 4:11 pm

p_025: are there any shader compilation errors near the top of the logfile?
jstump91, a.k.a. john.stumpo, a.k.a. stump
jstump.com | stump's blog | FoFiX development | My own code
Can't find a Windows build of the Python module you need? Try my mediafire!
Don't say "Python can't do [insert task here]." Python can do anything with the right modules - said modules may just not have been written yet.
"Python - why settle for snake oil when you can have the whole snake?" --Mark Jackson
Did you search before you posted? Did you read the rules for the subforum you are posting in?
Zippity Do Dah
Legwon
Member
Posts: 78
Joined: March 26th, 2009
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby Legwon » Fri May 29, 2009 6:14 pm

i seem to have the same error as p025
no there isnt any errors with the shaders, but it does have something to do with them... i just used them, all lighting(i think)
then i changed them and came up with "connection lost" twice.

Code: Select all

(W) Missing pyaudio - microphone support will not be possible
(D) GameEngine class init (GameEngine.py)...
(D) FoFiX v3.120 alpha (r1589) starting up...
(D) pygame version: 1.8.1release
(D) Initializing audio.
(D) Audio configuration: (44100, -16, 2)
(D) Initializing pygame.mixer & audio system at 44100 Hz.
(D) Initializing video.
(D) Compiling shader "stage" from ..\data\shaders\lightning.vert and ..\data\shaders\lightning.frag.
(D) Compiling shader "sololight" from ..\data\shaders\lightning.vert and ..\data\shaders\lightning.frag.
(D) Compiling shader "tail" from ..\data\shaders\lightning.vert and ..\data\shaders\lightning.frag.
(D) Compiling shader "tail2" from ..\data\shaders\rockbandtail.vert and ..\data\shaders\rockbandtail.frag.
(D) Compiling shader "notes" from ..\data\shaders\metal.vert and ..\data\shaders\metal.frag.
(D) Compiling shader "neck" from ..\data\shaders\neck.vert and ..\data\shaders\neck.frag.
(D) Compiling shader "cd" from ..\data\shaders\cd.vert and ..\data\shaders\cd.frag.
(D) 0 joysticks found.
(D) 9 guitscw sounds found in themes\myfingershurt-fofix-rb1-theme\sounds: guitscw1.ogg - guitscw9.ogg
(D) 8 bassscw sounds found in themes\myfingershurt-fofix-rb1-theme\sounds: bassscw1.ogg - bassscw8.ogg
(D) 8 drumscw sounds found in sounds: drumscw1.ogg - drumscw8.ogg
(W) myfingershurt-fofix-rb1-theme\sounds
escue.ogg not found -- using staractivate.ogg instead.
(D) 10 accept sounds found in themes\myfingershurt-fofix-rb1-theme\sounds: accept1.ogg - accept10.ogg
(W) myfingershurt-fofix-rb1-theme\sounds\coopfail.ogg not found -- using stardeactivate.ogg instead
(D) Default animated stage for myfingershurt-fofix-rb1-theme theme = Normal
(D) Ready.
(D) 9 guitscw sounds found in themes\myfingershurt-fofix-rb1-theme\sounds: guitscw1.ogg - guitscw9.ogg
(D) View: Push: MainMenu
(D) View: Push: Menu
(D) Option text / selected hex colors: #FFFFFF / #FFBF00
(D) Option text / selected colors: (1.0, 1.0, 1.0) / (1.0, 0.74901960784313726, 0.0)
(D) Graphic menu enabled for submenu: advsettings
(D) View: Push: SettingsMenu
(D) View: Push: Menu
(D) View: Pop: Menu
(D) View: Push: Menu
(D) View: Push: Menu
(D) View: Push: Menu
(D) View: Pop: Menu
(D) View: Pop: Menu
(D) View: Pop: Menu
(D) Quickset Gameplay - Manual
(D) Quickset Performance - Manual
(D) View: Pop: SettingsMenu
(D) Graphic menu enabled for submenu: solo
(D) View: Push: Menu
(D) View: Push: ControlActivator
(D) View: Pop: ControlActivator
(D) Starting server.
(D) Connecting to host 127.0.0.1.
(D) View: Pop all
(D) View: Pop: MainMenu
(D) View: Pop: Menu
(D) View: Pop: Menu
(D) View: Pop: MainMenu
(D) Session #1 connected.
(D) View: Pop: Menu
(D) View: Push: Lobby
(D) Connected as session #1.
(D) 1 phrases taught.
(D) 2 phrases taught.
(D) Learned about World.CreatePlayer, 1 phrases now known.
(D) 1 phrases taught.
(D) Learned about World.PlayerJoined, 1 phrases now known.
(D) Learned about World.StartGame, 2 phrases now known.
(D) 2 phrases taught.
(D) 3 phrases taught.
(D) 4 phrases taught.
(D) 5 phrases taught.
(D) Learned about World.GameStarted, 2 phrases now known.
(D) View: Pop: Lobby
(D) Learned about World.SceneCreated, 3 phrases now known.
(D) Song select submenu position tuple: (0.10000000000000001, 0.074999999999999997)
(D) Learned about World.EnterScene, 4 phrases now known.
(D) Learned about World.SceneEntered, 5 phrases now known.
(D) View: Push: SongChoosingSceneClient
(D) Songlist artist colors: (0.40000000000000002, 0.40000000000000002, 0.40000000000000002) / (0.25098039215686274, 0.50196078431372548, 1.0)
(D) song_cd_xpos found: None
(D) song_cdscore_xpos found: None
(D) song_list_xpos found: None
(D) song_listscore_xpos found: None
(D) song_listcd_cd_xpos found: None
(D) song_listcd_cd_ypos found: None
(D) song_listcd_score_xpos found: None
(D) song_listcd_score_ypos found: None
(D) song_listcd_list_xpos found: None
(D) Dialogs.loadCollection() function call...
(D) View: Push: LoadingSplashScreen
(D) Song.getAvailableLibraries function call...library = songs\RB All
(D) Dialogs.libraryListLoaded() function call...
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 2 - Apprentice
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 3 - Solid
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 4 - Moderate
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 5 - Challenging
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 6 - Nightmare
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 7 - Impossible
(D) Dialogs.py: Inserted blank space in self.songs list after End of Career
(D) Dialogs.py: Finished inserting blank spaces in self.songs.
(D) Dialogs.py: Finished filtering doubled blank spaces in self.songs.
(D) Dialogs.songListLoaded.
(D) View: Pop: LoadingSplashScreen
(D) View: Push: SongChooser
(D) View: Pop: SongChooser
(D) Retrieving sections from: F:\FoFiX\songs\RB All\Bikini Kill - Rebel Girl\notes-unedited.mid
(D) Practice start position retrieved: []
(D) Retrieving parts from: F:\FoFiX\songs\RB All\Bikini Kill - Rebel Girl\notes-unedited.mid
(D) View: Push: ItemChooser
(D) View: Push: Menu
(D) View: Pop: ItemChooser
(D) View: Pop: Menu
(D) View: Pop: ItemChooser
(D) Songlist artist colors: (0.40000000000000002, 0.40000000000000002, 0.40000000000000002) / (0.25098039215686274, 0.50196078431372548, 1.0)
(D) song_cd_xpos found: None
(D) song_cdscore_xpos found: None
(D) song_list_xpos found: None
(D) song_listscore_xpos found: None
(D) song_listcd_cd_xpos found: None
(D) song_listcd_cd_ypos found: None
(D) song_listcd_score_xpos found: None
(D) song_listcd_score_ypos found: None
(D) song_listcd_list_xpos found: None
(D) Dialogs.loadCollection() function call...
(D) View: Push: LoadingSplashScreen
(D) Song.getAvailableLibraries function call...library = songs\RB All
(D) Dialogs.libraryListLoaded() function call...
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 2 - Apprentice
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 3 - Solid
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 4 - Moderate
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 5 - Challenging
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 6 - Nightmare
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 7 - Impossible
(D) Dialogs.py: Inserted blank space in self.songs list after End of Career
(D) Dialogs.py: Finished inserting blank spaces in self.songs.
(D) Dialogs.py: Finished filtering doubled blank spaces in self.songs.
(D) Dialogs.songListLoaded.
(D) View: Pop: LoadingSplashScreen
(D) View: Push: SongChooser
(D) View: Pop: SongChooser
(D) Retrieving sections from: F:\FoFiX\songs\RB All\Mountain - Mississippi Queen (Cover)\notes-unedited.mid
(D) Practice start position retrieved: []
(D) Retrieving parts from: F:\FoFiX\songs\RB All\Mountain - Mississippi Queen (Cover)\notes-unedited.mid
(D) View: Push: ItemChooser
(D) View: Push: Menu
(D) View: Pop: Menu
(D) View: Pop: ItemChooser
(D) View: Pop: ItemChooser
(D) View: Push: ItemChooser
(D) View: Push: Menu
(D) View: Pop: Menu
(D) View: Pop: ItemChooser
(D) View: Pop: ItemChooser
(D) 3 phrases taught.
(D) 4 phrases taught.
(D) Learned about World.DeleteScene, 3 phrases now known.
(D) 6 phrases taught.
(D) 7 phrases taught.
(D) Learned about World.SceneDeleted, 6 phrases now known.
(D) Learned about World.CreateScene, 4 phrases now known.
(D) Learned about World.SceneLeft, 7 phrases now known.
(D) View: Pop: SongChoosingSceneClient
(D) GuitarSceneClient init...
(D) View: Push: LoadingSplashScreen
(D) [4, 2, 3, 7, 8, 6, 5]
(D) Simple tails used; complex tail loading error...
(D) GuitarScene keysList: [[64, 256, 1024, 4096, 16384, 64, 256, 1024, 4096, 16384]]
(D) loadSong function call (song.py)...
(D) Retrieving notes from: F:\FoFiX\songs\RB All\Mountain - Mississippi Queen (Cover)\notes-unedited.mid
(D) RB-style Overdrive marking note found!  Using RB-style MIDI special notes.
(D) GSOLO ON event  Guitar lead found at time 12868.806
(D) GSOLO OFF event  verse 1a found at time 20513.864
(D) GSOLO ON event  Guitar solo a found at time 102993.884
(D) GSOLO OFF event  outro found at time 137382.266
(D) Big Rock Ending section event marker found at 151183.088
(D) No song.ini setting found speficying early_hit_window_size - using automatic detection...
(D) Basic RB1/RB2 type MIDI found - early hitwindow of NONE is set as handicap base.
(D) Last note (number 3) found for player 0 at time 161626.976000
(D) Removed 0 streak notes from player 0
(D) P1 MIDI Guitar Solo found from: 104485.3565 to: 135237.320562, containing 60 notes.
(W) No song-specific stage found
(D) Valid background found, index (0): default.png
(D) Valid background found, index (1): Ds2.png
(D) Valid background found, index (2): Ds3.png
(D) Valid background found, index (3): Ds4.png
(D) Valid background found, index (4): Ds5.png
(D) Valid background found, index (5): Ds6.png
(D) Practice background filtered: practice.png
(D) Practice background filtered: practicebass.png
(D) Practice background filtered: practicedrum.png
(D) Valid background found, index (6): Stage2.png
(D) Valid background found, index (7): Stage3.png
(D) Valid background found, index (8): Stage4.png
(D) Valid background found, index (9): Stage5.png
(D) Valid background found, index (10): Stage6.png
(D) Valid background found, index (11): Stage7.png
(D) Pause text / selected hex colors: #FFFFFF / #FFBF00
(D) Pause text / selected colors: (1.0, 1.0, 1.0) / (1.0, 0.74901960784313726, 0.0)
(D) View: Pop: Menu
(D) View: Pop: LoadingSplashScreen
(D) 5 phrases taught.
(D) Learned about World.EnterScene, 5 phrases now known.
(D) View: Push: GuitarSceneClient
(E) Loading error: Traceback (most recent call last):
  File "F:\FoFiX\src\GameEngine.py", line 988, in main
    self.view.render()
  File "F:\FoFiX\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "F:\FoFiX\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "F:\FoFiX\src\Scene.py", line 286, in render
    self.render3D()
  File "F:\FoFiX\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "F:\FoFiX\src\Stage.py", line 588, in render
    self.scene.renderGuitar()
  File "F:\FoFiX\src\GuitarScene.py", line 4611, in renderGuitar
    guitar.render(self.visibility, self.song, self.getSongPosition(), self.controls, self.killswitchEngaged[i])  #QQstarS: new
  File "F:\FoFiX\src\Guitar.py", line 2092, in render
    shaders.modVar("height",0.2,0.2,1.0,"tail")
  File "F:\FoFiX\src\Shader.py", line 319, in modVar
    old = self.getVar(var,program)
  File "F:\FoFiX\src\Shader.py", line 269, in getVar
    return program[var][1]
TypeError: unsubscriptable object

(E) TypeError, exceptions.TypeError: unsubscriptable objectTraceback (most recent call last):
  File "F:\FoFiX\src\GameEngine.py", line 1013, in run
    return self.mainloop()
  File "F:\FoFiX\src\GameEngine.py", line 1009, in main
    raise
  File "F:\FoFiX\src\GameEngine.py", line 988, in main
    self.view.render()
  File "F:\FoFiX\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "F:\FoFiX\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "F:\FoFiX\src\Scene.py", line 286, in render
    self.render3D()
  File "F:\FoFiX\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "F:\FoFiX\src\Stage.py", line 588, in render
    self.scene.renderGuitar()
  File "F:\FoFiX\src\GuitarScene.py", line 4611, in renderGuitar
    guitar.render(self.visibility, self.song, self.getSongPosition(), self.controls, self.killswitchEngaged[i])  #QQstarS: new
  File "F:\FoFiX\src\Guitar.py", line 2092, in render
    shaders.modVar("height",0.2,0.2,1.0,"tail")
  File "F:\FoFiX\src\Shader.py", line 319, in modVar
    old = self.getVar(var,program)
  File "F:\FoFiX\src\Shader.py", line 269, in getVar
    return program[var][1]
TypeError: unsubscriptable object

(D) View: Pop all
(D) View: Pop: GuitarSceneClient
(D) Disconnecting.
(N) Connection lost.
(D) View: Push: MessageScreen
(D) View: Pop: MessageScreen
(D) View: Pop all
(D) View: Push: MainMenu
(D) View: Push: Menu
(D) Stopping server.
(D) 8 phrases taught.
(D) 9 phrases taught.
(N) TypeError: unsubscriptable object
(D) View: Push: MessageScreen
(D) View: Pop: MessageScreen
(D) Graphic menu enabled for submenu: solo
(D) View: Push: Menu
(D) View: Push: ControlActivator
(D) View: Pop: ControlActivator
(D) Starting server.
(D) Connecting to host 127.0.0.1.
(D) View: Pop all
(D) View: Pop: MainMenu
(D) View: Pop: Menu
(D) View: Pop: Menu
(D) View: Pop: MainMenu
(D) Session #1 connected.
(D) View: Pop: Menu
(D) View: Push: Lobby
(D) Connected as session #1.
(D) 1 phrases taught.
(D) 2 phrases taught.
(D) Learned about World.CreatePlayer, 1 phrases now known.
(D) 1 phrases taught.
(D) Learned about World.PlayerJoined, 1 phrases now known.
(D) Learned about World.StartGame, 2 phrases now known.
(D) 2 phrases taught.
(D) 3 phrases taught.
(D) 4 phrases taught.
(D) 5 phrases taught.
(D) Learned about World.GameStarted, 2 phrases now known.
(D) View: Pop: Lobby
(D) Learned about World.SceneCreated, 3 phrases now known.
(D) Song select submenu position tuple: (0.10000000000000001, 0.074999999999999997)
(D) Learned about World.EnterScene, 4 phrases now known.
(D) Learned about World.SceneEntered, 5 phrases now known.
(D) View: Push: SongChoosingSceneClient
(D) Songlist artist colors: (0.40000000000000002, 0.40000000000000002, 0.40000000000000002) / (0.25098039215686274, 0.50196078431372548, 1.0)
(D) song_cd_xpos found: None
(D) song_cdscore_xpos found: None
(D) song_list_xpos found: None
(D) song_listscore_xpos found: None
(D) song_listcd_cd_xpos found: None
(D) song_listcd_cd_ypos found: None
(D) song_listcd_score_xpos found: None
(D) song_listcd_score_ypos found: None
(D) song_listcd_list_xpos found: None
(D) Dialogs.loadCollection() function call...
(D) View: Push: LoadingSplashScreen
(D) Song.getAvailableLibraries function call...library = songs\RB All
(D) Dialogs.libraryListLoaded() function call...
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 2 - Apprentice
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 3 - Solid
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 4 - Moderate
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 5 - Challenging
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 6 - Nightmare
(D) Dialogs.py: Inserted blank space in self.songs list before Tier 7 - Impossible
(D) Dialogs.py: Inserted blank space in self.songs list after End of Career
(D) Dialogs.py: Finished inserting blank spaces in self.songs.
(D) Dialogs.py: Finished filtering doubled blank spaces in self.songs.
(D) Dialogs.songListLoaded.
(D) View: Pop: LoadingSplashScreen
(D) View: Push: SongChooser
(D) View: Pop: SongChooser
(D) Retrieving sections from: F:\FoFiX\songs\RB All\Mountain - Mississippi Queen (Cover)\notes-unedited.mid
(D) Practice start position retrieved: []
(D) Retrieving parts from: F:\FoFiX\songs\RB All\Mountain - Mississippi Queen (Cover)\notes-unedited.mid
(D) View: Push: ItemChooser
(D) View: Push: Menu
(D) View: Pop: Menu
(D) View: Pop: ItemChooser
(D) View: Pop: ItemChooser
(D) View: Push: ItemChooser
(D) View: Push: Menu
(D) View: Pop: Menu
(D) View: Pop: ItemChooser
(D) View: Pop: ItemChooser
(D) 3 phrases taught.
(D) 4 phrases taught.
(D) Learned about World.DeleteScene, 3 phrases now known.
(D) 6 phrases taught.
(D) 7 phrases taught.
(D) Learned about World.SceneDeleted, 6 phrases now known.
(D) Learned about World.CreateScene, 4 phrases now known.
(D) Learned about World.SceneLeft, 7 phrases now known.
(D) View: Pop: SongChoosingSceneClient
(D) GuitarSceneClient init...
(D) View: Push: LoadingSplashScreen
(D) [4, 2, 3, 7, 8, 6, 5]
(D) Simple tails used; complex tail loading error...
(D) GuitarScene keysList: [[64, 256, 1024, 4096, 16384, 64, 256, 1024, 4096, 16384]]
(D) loadSong function call (song.py)...
(D) Retrieving notes from: F:\FoFiX\songs\RB All\Mountain - Mississippi Queen (Cover)\notes-unedited.mid
(D) RB-style Overdrive marking note found!  Using RB-style MIDI special notes.
(D) GSOLO ON event  Guitar lead found at time 12868.806
(D) GSOLO OFF event  verse 1a found at time 20513.864
(D) GSOLO ON event  Guitar solo a found at time 102993.884
(D) GSOLO OFF event  outro found at time 137382.266
(D) Big Rock Ending section event marker found at 151183.088
(D) No song.ini setting found speficying early_hit_window_size - using automatic detection...
(D) Basic RB1/RB2 type MIDI found - early hitwindow of NONE is set as handicap base.
(D) Last note (number 3) found for player 0 at time 161626.976000
(D) Removed 0 streak notes from player 0
(D) P1 MIDI Guitar Solo found from: 104485.3565 to: 135237.320562, containing 60 notes.
(W) No song-specific stage found
(D) Valid background found, index (0): default.png
(D) Valid background found, index (1): Ds2.png
(D) Valid background found, index (2): Ds3.png
(D) Valid background found, index (3): Ds4.png
(D) Valid background found, index (4): Ds5.png
(D) Valid background found, index (5): Ds6.png
(D) Practice background filtered: practice.png
(D) Practice background filtered: practicebass.png
(D) Practice background filtered: practicedrum.png
(D) Valid background found, index (6): Stage2.png
(D) Valid background found, index (7): Stage3.png
(D) Valid background found, index (8): Stage4.png
(D) Valid background found, index (9): Stage5.png
(D) Valid background found, index (10): Stage6.png
(D) Valid background found, index (11): Stage7.png
(D) Pause text / selected hex colors: #FFFFFF / #FFBF00
(D) Pause text / selected colors: (1.0, 1.0, 1.0) / (1.0, 0.74901960784313726, 0.0)
(D) View: Pop: Menu
(D) View: Pop: LoadingSplashScreen
(D) 5 phrases taught.
(D) Learned about World.EnterScene, 5 phrases now known.
(D) View: Push: GuitarSceneClient
(E) Loading error: Traceback (most recent call last):
  File "F:\FoFiX\src\GameEngine.py", line 988, in main
    self.view.render()
  File "F:\FoFiX\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "F:\FoFiX\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "F:\FoFiX\src\Scene.py", line 286, in render
    self.render3D()
  File "F:\FoFiX\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "F:\FoFiX\src\Stage.py", line 588, in render
    self.scene.renderGuitar()
  File "F:\FoFiX\src\GuitarScene.py", line 4611, in renderGuitar
    guitar.render(self.visibility, self.song, self.getSongPosition(), self.controls, self.killswitchEngaged[i])  #QQstarS: new
  File "F:\FoFiX\src\Guitar.py", line 2092, in render
    shaders.modVar("height",0.2,0.2,1.0,"tail")
  File "F:\FoFiX\src\Shader.py", line 319, in modVar
    old = self.getVar(var,program)
  File "F:\FoFiX\src\Shader.py", line 269, in getVar
    return program[var][1]
TypeError: unsubscriptable object

(E) TypeError, exceptions.TypeError: unsubscriptable objectTraceback (most recent call last):
  File "F:\FoFiX\src\GameEngine.py", line 1013, in run
    return self.mainloop()
  File "F:\FoFiX\src\GameEngine.py", line 1009, in main
    raise
  File "F:\FoFiX\src\GameEngine.py", line 988, in main
    self.view.render()
  File "F:\FoFiX\src\View.py", line 216, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "F:\FoFiX\src\GuitarScene.py", line 5993, in render
    SceneClient.render(self, visibility, topMost) #MFH - I believe this eventually calls the renderGuitar function, which also involves two viewports... may not be easy to move this one...
  File "F:\FoFiX\src\Scene.py", line 286, in render
    self.render3D()
  File "F:\FoFiX\src\GuitarScene.py", line 4591, in render3D
    self.stage.render(self.visibility)
  File "F:\FoFiX\src\Stage.py", line 588, in render
    self.scene.renderGuitar()
  File "F:\FoFiX\src\GuitarScene.py", line 4611, in renderGuitar
    guitar.render(self.visibility, self.song, self.getSongPosition(), self.controls, self.killswitchEngaged[i])  #QQstarS: new
  File "F:\FoFiX\src\Guitar.py", line 2092, in render
    shaders.modVar("height",0.2,0.2,1.0,"tail")
  File "F:\FoFiX\src\Shader.py", line 319, in modVar
    old = self.getVar(var,program)
  File "F:\FoFiX\src\Shader.py", line 269, in getVar
    return program[var][1]
TypeError: unsubscriptable object

(D) View: Pop all
(D) View: Pop: GuitarSceneClient
(D) Disconnecting.
(N) Connection lost.
(D) View: Push: MessageScreen
(D) View: Pop: MessageScreen
(D) View: Pop all
(D) View: Push: MainMenu
(D) View: Push: Menu
(D) Stopping server.
(D) 8 phrases taught.
(D) 9 phrases taught.
(N) TypeError: unsubscriptable object
(D) View: Push: MessageScreen
(D) View: Pop: MessageScreen
(D) View: Pop: Menu
(D) View: Pop: MainMenu
(D) View: Pop: Menu


Edit:
shaders original worked:
neck:flashing
stage: EQ lightning
solo and SP: lightnings
tails:rb2
notes: metal
CDs: white

changed to.. and error.
neck: by theme
stage: by theme
solo and sp: lightnings
tails: disabled
notes: by theme
CDs: white

Edit 2:
yes with shaders set to off... or at stock settings. . there is no errors
User avatar
fatdog
Member
Posts: 494
Joined: August 11th, 2006
Location: UK
Reputation: 1

Re: FoFiX v3.1xx development thread

Postby fatdog » Fri May 29, 2009 7:22 pm

jstump91 wrote:Shaders should now be available to you, even if you are using Python 2.4 with pyOpenGL 2.0.2.01.


any drawbacks on this or does it mean sexy graphics without the performance hit and cake for everyone
Image
trinidude4
Member
Posts: 395
Joined: March 22nd, 2008
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby trinidude4 » Fri May 29, 2009 7:48 pm

I'm updating Shaders.py to make some fixes for Macs. The main thing is that Mac doesn't support EXT_TEXTURE3D and glTexImage3DEXT(). It does support glTexImage3D() though. There are some other little changes that need to be made in Shaders.py for Mac support.
FoFiX Dev/Mod Squad
User avatar
jstump91
Member
Posts: 837
Joined: September 21st, 2008
Location: Baltimore, MD (US)
Reputation: 0
Contact:

Re: FoFiX v3.1xx development thread

Postby jstump91 » Fri May 29, 2009 7:51 pm

trinidude4 wrote:I'm updating Shaders.py to make some fixes for Macs. The main thing is that Mac doesn't support EXT_TEXTURE3D and glTexImage3DEXT(). It does support glTexImage3D() though. There are some other little changes that need to be made in Shaders.py for Mac support.


OK, just be sure it does not break things for other systems.

(Is this just a case of "glTexImage3DEXT = glTexImage3D; the_other_constants_EXT = the_other_constants" ?)
jstump91, a.k.a. john.stumpo, a.k.a. stump
jstump.com | stump's blog | FoFiX development | My own code
Can't find a Windows build of the Python module you need? Try my mediafire!
Don't say "Python can't do [insert task here]." Python can do anything with the right modules - said modules may just not have been written yet.
"Python - why settle for snake oil when you can have the whole snake?" --Mark Jackson
Did you search before you posted? Did you read the rules for the subforum you are posting in?
trinidude4
Member
Posts: 395
Joined: March 22nd, 2008
Reputation: 0

Re: FoFiX v3.1xx development thread

Postby trinidude4 » Fri May 29, 2009 7:56 pm

jstump91 wrote:
trinidude4 wrote:I'm updating Shaders.py to make some fixes for Macs. The main thing is that Mac doesn't support EXT_TEXTURE3D and glTexImage3DEXT(). It does support glTexImage3D() though. There are some other little changes that need to be made in Shaders.py for Mac support.


OK, just be sure it does not break things for other systems.

(Is this just a case of "glTexImage3DEXT = glTexImage3D; the_other_constants_EXT = the_other_constants" ?)


Yeah, that's pretty much it. Right now, I'm just using if statements to check if sys.platform == 'darwin' and then having it run code with the "EXT" removed. I'm not sure if there is a better way to handle this though.

--EDIT--
I just finished what I was doing. It shouldn't have broken anything for other systems. Gonna upload it now.

Return to “FoFiX”

Who is online

Users browsing this forum: No registered users and 24 guests