|
Re: Acknex pxtone plugin
[Re: Kartoffel]
#466251
06/03/17 14:01
06/03/17 14:01
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
OP
Expert
|
OP
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
So, this is probably the (second) last update for the AckPxtone plugin. The only thing I'd like to fix is OpenAL support, other than that I'm happy with the result. Once again, all the new stuff is in the first post
POTATO-MAN saves the day! - Random
|
|
|
Re: Acknex pxtone plugin
[Re: Kartoffel]
#466253
06/03/17 17:34
06/03/17 17:34
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
OP
Expert
|
OP
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
Okay, I'm just now realising that once I compile my script to an executable, pretty much any dll-function call crashes the game. Does anyone know what's causing this?
POTATO-MAN saves the day! - Random
|
|
|
Re: Acknex pxtone plugin
[Re: Ch40zzC0d3r]
#466256
06/03/17 20:20
06/03/17 20:20
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
OP
Expert
|
OP
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
I tried it but the result is the same. I also realized that the crash is somewhat random (sometimes it works the way it should) edit: I changed something and it seems to work now ...just in case: This is how I'm supposed to do it, right?
HMODULE HAckPxtn = LoadLibrary("dll\AckPxtn.dll"); // the forum code-box deletes the double backslash o.O
_Pxtn_CreateInstance = GetProcAddress(HAckPxtn, "_Pxtn_CreateInstance");
etc...
Last edited by Kartoffel; 06/03/17 20:27.
POTATO-MAN saves the day! - Random
|
|
|
Re: Acknex pxtone plugin
[Re: Kartoffel]
#466257
06/03/17 22:24
06/03/17 22:24
|
Joined: Oct 2011
Posts: 1,082 Germany
Ch40zzC0d3r
Serious User
|
Serious User
Joined: Oct 2011
Posts: 1,082
Germany
|
Yes that looks right, the forum seems to try to escape "\" by deleting one. Using four works fine => "\\" Anyways, you can make sure everything is right by checking the return values for 0. Both functions return 0 incase of a failure
Last edited by Ch40zzC0d3r; 06/03/17 22:26.
|
|
|
|