CogExt.dll Source Discussion:     (Moderator: Hell Raiser) Previous Topic | Next Topic
Page 2 of 2 Goto page Previous  1, 2
 Author 
 Post 
Post 09-Apr-2006 06:07        

Hell Raiser: What I mean about FP() not aligning stuff right is I used FP() to create the same template as where it was being fired from, and the rotational alignment of the two were perpendicular in the... z-axis i beleive. The thing I was fireing the project frome was pitch 90 roll 90 yaw 0.

I think FireProjectile() overriding cog flags can be every convienant. The RC droids in URPG are completely local, but when your droid shoots, it auto-syncs it. But I think LEC should have made the overriding one of the parameters of FP(), because alot of times it'd be better local.

This .dll stuff continues to look amazing.
Post 09-Apr-2006 18:48        

I think there should be only one dll and you get it through the jk patcher. We don't need to have any number of dlls floating around, and we shouldn't let people link to random dlls as a part of a mod either (we are talking about native code here, these aren't scripts running in a sandbox, in addition to avoiding countless implementations of the same functions). The one dll will contain all functions, and if something else is needed, it will just get added. Backwards compatibility will just have to be done like it is in any other library (and there is no issue here, you run jk patcher to play extended jk, and it automatically updates the dll, so you never run into a problem). I don't think someone who doesn't have the dll should be able to play someone who does...it's just tough love I guess but these people need to GET THE DLL and they don't deserve to be coddled for any particular reason. It's just to the complete detriment of everyone BUT the people who refuse to get the dll, and if you don't know about the dll, then you'll find out pretty quick and get with the times. If for some reason someone is missing all their appendages and they can't convince someone else to get the dll for them, then perhaps whoever they are playing could opt to run the old jk.exe without the dll...problem solved on every front here.

Also, if someone's mod needs some huge code library to run, perhaps something like a large pathing engine, then this could be included in the normal jk patcher download bundle, but as a separate (and linked) dll. Or, it could just be built into the main dll...either way would work fine, but let's avoid custom dlls for mods at all costs here...if it is absolutely necessary then just include it as an optional download through jk patcher that is mod specific, but I want to avoid per-mod dlls, especially ones bundled with the mod download. Jk patcher should handle all dll updates.
Post 09-Apr-2006 18:59        

Yeah, I agree distributing custom .dll's with mods is a bad idea, in my head mainly because of virus threats. And I guess any mod that requires its own huge library of custom cog functions will be popular enough for you to have it as a download in JK Patcher.
Hell Raiser
Site Developer
Post 09-Apr-2006 22:23        

I still can't fathom why someone would need a specific function that they couldn't code for general purposes from the start.

Like creating log files on a server, that'd be handy for anyone. Just be sure to have parameters for server, port, destination, etc, instead of hard-coding those values in.
Hell Raiser
Site Developer
Post 15-Apr-2006 19:28        

ERROR! The source I have handed out is NOT working with JK.exe as expected when compiled with VC++6.0

The original dll was made in .net, and I have that source. I am downloading VC++ Express to see if it compiles correctly as-is.

More info to come.
Hell Raiser
Site Developer
Post 15-Apr-2006 19:53        

Aha! I got it to compile! It needed that pesky .def file under Resources!
Post 29-Apr-2007 02:33        

fairly new to most programing, but i have worked with msdn products, so ya i would like to see the files, i've been tring to creat a program that works as a patch resource for some of the computers i own, because none others seem to work, because they request or look for the jk.exe application, but for some odd reason I have never fully figured out, the computers wont run the program, but when I rename the file to jkd.exe, (or something other than jk.exe) it works, so no patch program will work due to the fact it trys to use "jk.exe"
*** Post commands are unavailable for guests. ***