Programming => General Java Game Development => Topic started by: bobjob on March 12, 2007, 15:25:57

Title: xfire and lwjgl
Post by: bobjob on March 12, 2007, 15:25:57
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

Code: [Select]
LauncherDirDefault=C:\Documents and Settings\bobjob\My Documents\JavaEclipse\FPSGame

the problem is that i can get or recieve messages in game i tried adding the line
Code: [Select]
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
Title: Re: xfire and lwjgl
Post by: Matzon on March 12, 2007, 16:54:16
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...
Title: Re: xfire and lwjgl
Post by: bobjob on March 13, 2007, 05:44:46
ah k, thanx man appriacate the help, no biggy once my game is done ;) im sure those xfire dudes will make it happn  8)