xfire and lwjgl

Started by bobjob, March 12, 2007, 15:25:57

Previous topic - Next topic

bobjob

just was wondering if it was possible 2 use a program like xfire to not only detect a lwjgl aplication but 2 draw in it as well, current i got it detecting it inside the xfire_game.ini with this i overrided quakeworld

[4236]
LongName=QuakeWorld
ShortName=qwcl
LauncherDirDefault=C:\Documents and Settings\bobjob\My Documents\JavaEclipse\FPSGame
LauncherExe=javaw.exe
CommandLineMustContain[0]=-Djava.library.path=c:\progra~1\java\lwjgl\native\win32


the problem is that i can get or recieve messages in game i tried adding the line
InGameRenderer=OGL
InGameOGLTextureOffset=32000 //this line as well dont know wot it did

and it sent an error
org.lwjgl.opengl.OpenGLException: Invalid value (1281)
   at org.lwjgl.opengl.Util.checkGLError(Util.java:56)
   at org.lwjgl.opengl.Display.swapBuffers(Display.java:564)
   at org.lwjgl.opengl.Display.update(Display.java:580)
   at bin.MainGUI.run(MainGUI.java:217)
   at bin.MainGUI.<init>(MainGUI.java:56)
   at ClientBatch.main(ClientBatch.java:44)

this prob isnt important anyway just thought it would b fun 2 b able 2 use xfire in game

Matzon

I have no idea how xfire works in this regard, however the error message is a generic one having to do with passing an invalid argument to a GL method...

bobjob

ah k, thanx man appriacate the help, no biggy once my game is done ;) im sure those xfire dudes will make it happn  8)