JEDI Comport » ((JEDI RolePlay Mod/RPMod)) » Suggestions
-
Notifications ()
Notifications Settings
- You have no notifications
[DONE] Cheat protection
[DONE] Cheat protection
It's not really a suggestion to the mod (unless cheats are controlled from there, and not server side), but it didn't really fit into OOC. Move it, if you think it's posted the wrong place.
Well, I decided to make a .cfg file, to add rotation around Larkit controllable with the arrows, so he didn't have to turn around to look to the sides. But it appears, that cg_thirdPersonHorzOffset and cg_[..]VertOffset are cheat protected. It could be nice to have them controllable, if they can't be abused (everything can, but how could these be?).
Well, I decided to make a .cfg file, to add rotation around Larkit controllable with the arrows, so he didn't have to turn around to look to the sides. But it appears, that cg_thirdPersonHorzOffset and cg_[..]VertOffset are cheat protected. It could be nice to have them controllable, if they can't be abused (everything can, but how could these be?).
-
- Posts: 85
- Joined: Wed Nov 14, 2007 3:06 pm
Well, I'm not really into C/C++-programming, which JKA seems to be written in. I work primarily with Java and PHP (and HTML, JavaScript and CSS - and MySQL).
Another thing is, now I'm not sure if you need compile anything when modding, but I would believe you have to. And I don't think I'll be able to compile dll's using GCC, as those are DOS/binaries.
But Soh could probably tell me if I'm right or wrong.
Another thing is, now I'm not sure if you need compile anything when modding, but I would believe you have to. And I don't think I'll be able to compile dll's using GCC, as those are DOS/binaries.
But Soh could probably tell me if I'm right or wrong.
Cheats are controlled in the mod, often on the server (game module) but for the case of client Cvars, they are controlled directly in the client with a simple Cvar flag (CVAR_CHEAT). So this thread is in the correct forum .
For RPMod 0.4.0, the following client Cvars are no longer cheat-only :
- cg_thirdPersonRange
- cg_thirdPersonAngle
- cg_thirdPersonPitchOffset
- cg_thirdPersonVertOffset
- cg_thirdPersonTargetDamp
- cg_thirdPersonHorzOffset
They are especially useful for filming and taking screenshots.
_____ And now, technical details for Larkit _____
The JKA modules available for modding ("game" = server game logic, "cgame" = client game prediction and rendering, "ui" = user interface like menus and windows) are written in C ; for RPMod the extra "Account Manager" module (interfacing with the WebService for the Accounts System) is written in C++ because it's so much better.
As with any C/C++ program, you need to compile it to make a native binary, here a shared object (.so) for Linux or a DLL for Windows. The "game" module (server game logic) can be compiled for Linux (as there are Linux game servers), Windows or Mac OS X ; "cgame" and "ui" can be compiled for Windows and Mac OS X. As Jedi Academy sadly has no "engine" (executable like jamp.exe) for Linux, it's pointless to even try compiling "cgame" and "ui" on Linux (although it should need little to no work at all).
As for building Windows DLLs from Linux, I'm not sure but I think it might be possible with cross-compilation. I don't know anything about it though.
For RPMod 0.4.0, the following client Cvars are no longer cheat-only :
- cg_thirdPersonRange
- cg_thirdPersonAngle
- cg_thirdPersonPitchOffset
- cg_thirdPersonVertOffset
- cg_thirdPersonTargetDamp
- cg_thirdPersonHorzOffset
They are especially useful for filming and taking screenshots.
_____ And now, technical details for Larkit _____
The JKA modules available for modding ("game" = server game logic, "cgame" = client game prediction and rendering, "ui" = user interface like menus and windows) are written in C ; for RPMod the extra "Account Manager" module (interfacing with the WebService for the Accounts System) is written in C++ because it's so much better.
As with any C/C++ program, you need to compile it to make a native binary, here a shared object (.so) for Linux or a DLL for Windows. The "game" module (server game logic) can be compiled for Linux (as there are Linux game servers), Windows or Mac OS X ; "cgame" and "ui" can be compiled for Windows and Mac OS X. As Jedi Academy sadly has no "engine" (executable like jamp.exe) for Linux, it's pointless to even try compiling "cgame" and "ui" on Linux (although it should need little to no work at all).
As for building Windows DLLs from Linux, I'm not sure but I think it might be possible with cross-compilation. I don't know anything about it though.
That server side binary/source, where might I fetch that for my server (aka old computer that turned out to have a broken graphics card)? I doubt it exists in either .debs or .rpms.
Oh, and I found this page in french about cross-compilation... It's also available in english. Well well, looks like there's something to do, whenever all my other work/projects have finished.
Oh, and I found this page in french about cross-compilation... It's also available in english. Well well, looks like there's something to do, whenever all my other work/projects have finished.
The binary Linux JKA server and BaseJKA game module are on JK3files: http://jediknight3.filefront.com/file/J ... 1011;20490
.. aswell as the SDK: http://jediknight3.filefront.com/file/J ... K_MP;20909
.. aswell as the SDK: http://jediknight3.filefront.com/file/J ... K_MP;20909
- Gabe Alkorda
- Lost One
- Posts: 2680
- Joined: Wed Feb 02, 2005 3:59 pm
- Location: The Force
- Contact:
I was about to say that!Soh Raun wrote:The JKA modules available for modding ("game" = server game logic, "cgame" = client game prediction and rendering, "ui" = user interface like menus and windows) are written in C ; for RPMod the extra "Account Manager" module (interfacing with the WebService for the Accounts System) is written in C++ because it's so much better. Razz
As with any C/C++ program, you need to compile it to make a native binary, here a shared object (.so) for Linux or a DLL for Windows. The "game" module (server game logic) can be compiled for Linux (as there are Linux game servers), Windows or Mac OS X ; "cgame" and "ui" can be compiled for Windows and Mac OS X. As Jedi Academy sadly has no "engine" (executable like jamp.exe) for Linux, it's pointless to even try compiling "cgame" and "ui" on Linux Sad (although it should need little to no work at all).
As for building Windows DLLs from Linux, I'm not sure but I think it might be possible with cross-compilation. I don't know anything about it though.