normal Posted June 3, 2002 Share Posted June 3, 2002 (Thanks to all the people who have contributed to this thread.. namely UGG, and other forum lurkers.. ) Quake 3 Coding-related sites: Code3Arena Q3 Center's Coding Tutorials Quake Style's Tutorials Juz's Coding Tutorials Jazzd's Coding Tutorials Urban Software's Quake 3: Arena Coding Tutorials "Making Q3ASM Actually Work" Quake3World's Coding Tutorials Human Debris Coding Tutorials Star Trek: Elite Force Coding-related sites: Compiling QVMs without Visual C++ Misc Coding-related sites: Quake III: Team Arena Menu Files Quake DeveLS (Quake 2) half-life programming (Half-Life) Quake 2 DLL Programming (Quake 2) Inside3D Q2 Tutorials (Quake 2) Quakesource (Quake 1, Quake 2, Hexen II) Bluesnews DLL Basics (Quake 2) QuakeC Extreme Tutorials (Quake 1) Quake 3 Coding-related forums: Quake3World: Modifications Programming QDeveLS - Q3A Message Board PlanetQuake | Quake 3 Mod Making Misc forums: Raven Software (UBB - Old) Raven Software (IkonBoard) Compilers / IDEs: GameIDE (Q3IDE?) Borland C++ Builder Borland C++ 5.5 Free Command Line Tools V IDE for GNU g++ & Java Tools: Q3Font Need the SDK? Download it from JK2Files.com Does the source require Microsoft Visual C++ to compile the source? No -- you can use the compiler that comes with the SDK to compile directly to a .qvm. It's merely an additional enhancement to use MSVC. How can I use the compiler that came with the SDK? There are four .bat files that came with the SDK, buildvms.bat, cgame.bat, game.bat, and ui.bat -- when run, they will do two passes of compilation, the second one generating the .qvm(s). Getting syntax errors or file not found errors when trying to use the build VM .bat files? Try using the ones from this site (thanks UGG!): http://ugg.codealliance.ca/modbat/ Does the SDK include both Single player and Multiplayer source code? The SDK only includes multiplayer sourcecode. What effect does sv_pure 1 have?: (From Quake3World Forums) Only PK3 files can be loaded - no discrete files at all with the exception of.. .. Files with a .cfg or .menu extension can always be loaded. Only PK3 files that the server has can be loaded by clients. Each PK3 the server has thus-far loaded is required by all clients. PK3 files must match identically (same byte-size and CRC) between server and client. Get an error similar to this? ERROR: Bad cgame system trap: 302 Update Jedi Knight II: Outcast to the latest patch (as of this time, 1.3). Get an error similar to this? ==== ShutdownGame ==== VM_Restart() Loading vm file vm/jk2mpgame.qvm. ******************** ERROR: programStack corrupted in compiled code ******************** ----- Server Shutdown ----- recursive error after: programStack corrupted in compiled code Try packing the .qvm file into a .pk3 (don't forget to include the path!) Want to load your DLL files into the game? Run JK2 with this command line: X:\JK2\GameData\jk2mp.exe "+set r_fullscreen 0 +set fs_game modname +set vm_game 0 +set vm_cgame 0 +set vm_ui 0 +set sv_pure 0" To check if your DLL(s) was/were loaded, type vm_game vm_cgame vm_ui If any of them return "2", then that DLL has been loaded. An alternative method is setting viewlog to 1 (+set viewlog 1), and it'll report something like loading <module> dll instead of loading <module>.qvm. if it's done correctly. Reply here if you have any other good resources / help.. Link to comment Share on other sites More sharing options...
UGG Posted June 3, 2002 Share Posted June 3, 2002 I got some of those for ya! This is a great EF compiling guide, if a little messy. http://neurallink.tripod.com/compiling.html This is good too, but the author needs to be smacked in the head with a web design book http://planetquake.com/hardhavoc/tut_compiling.htm I'm trying to get the code to work with other compilers and IDEs, but not having much luck. My limited knowledge of this is really showing up Anyway, if you want a stab at it, try these. http://www.borland.com/bcppbuilder/freecompiler/ http://www.objectcentral.com/vide.htm http://www.codecutter.net/tools/Bcc55Tools/Bcc55JFE.htm http://www.planetquake.com/q3ide/ Link to comment Share on other sites More sharing options...
normal Posted June 3, 2002 Author Share Posted June 3, 2002 *BUMP* Link to comment Share on other sites More sharing options...
DarthFreak Posted June 3, 2002 Share Posted June 3, 2002 Good job normal, this thread should be put as a sticky. Link to comment Share on other sites More sharing options...
UGG Posted June 3, 2002 Share Posted June 3, 2002 Quake3 mod forum with some coding topics. http://www.forumplanet.com/planetquake/forum.asp?fid=2259 Raven's BBS might be helpful, though they don't have an Outcast forum yet. http://www2.ravensoft.com/cgi-bin/ubb/Ultimate.cgi The rest are old Quake or Quake2 coding links. They're still good for learning how DLLs and mods work. Huge Quake 2 coding site by the Code3Arena guys. http://www.planetquake.com/qdevels/ Quake2 Coding tutorials. http://www.planethalflife.com/hlprogramming/tutorials.asp http://www.quake2.com/dll/tutorials/index.html http://www.inside3d.com/q2tut/ http://www.quakesrc.org/ Quake2 DLL basics. http://www.bluesnews.com/guide/dll.htm QuakeC tutorials http://qcx.telefragged.com/qc/qc.html Link to comment Share on other sites More sharing options...
normal Posted June 3, 2002 Author Share Posted June 3, 2002 UGG, do you mind if I put the URL's you've mentioned into the main topic? Link to comment Share on other sites More sharing options...
normal Posted June 4, 2002 Author Share Posted June 4, 2002 *BUMP* Link to comment Share on other sites More sharing options...
UGG Posted June 4, 2002 Share Posted June 4, 2002 I don't mind, but I'd wait until the thread gets a lot bigger. Link to comment Share on other sites More sharing options...
normal Posted June 4, 2002 Author Share Posted June 4, 2002 Ok, that's a good idea, UGG. Link to comment Share on other sites More sharing options...
emorog Posted June 4, 2002 Share Posted June 4, 2002 Raven won't have an Outcast forum since we all go to this one. But the SoF2 forum there may provide some help for general coding tips. Link to comment Share on other sites More sharing options...
normal Posted June 5, 2002 Author Share Posted June 5, 2002 *BUMP* Some new stuff added. Link to comment Share on other sites More sharing options...
normal Posted June 5, 2002 Author Share Posted June 5, 2002 *BUMP* Link to comment Share on other sites More sharing options...
Tchouky Posted June 6, 2002 Share Posted June 6, 2002 this one must be sticky !! we need a moderator in this section !!! Link to comment Share on other sites More sharing options...
Nemios Posted June 7, 2002 Share Posted June 7, 2002 Originally posted by normal Does the source require Microsoft Visual C++ to compile the source? No -- you can use the compiler that comes with the SDK to compile directly to a .qvm. It's merely an additional enhancement to use MSVC. How? Command line? Special instructions? Then what I have to do to apply the built source code? (Please include these answers in your first post) Link to comment Share on other sites More sharing options...
normal Posted June 8, 2002 Author Share Posted June 8, 2002 *BUMP* [edit] wait -- why am I bumping it? it's sticky! .. lol [/edit] Slightly-major update, I added all of UGG's links into the main post, fixed up the post a little, added a question for Nemios' request. And, the biggest thing of all, mattwindu made this topic sticky. Yay! Link to comment Share on other sites More sharing options...
normal Posted June 27, 2002 Author Share Posted June 27, 2002 Added a couple new sites to the list! Link to comment Share on other sites More sharing options...
normal Posted July 6, 2002 Author Share Posted July 6, 2002 Error added. Link to comment Share on other sites More sharing options...
Commodus Posted July 8, 2002 Share Posted July 8, 2002 Originally posted by Nemios How? Command line? Special instructions? Then what I have to do to apply the built source code? (Please include these answers in your first post) You run the .bat files in the source code folders - there's one for each module, game.bat, cgame.bat and ui.bat. There's also a general buildvms.bat which makes the vms for all three modules at once (so you don't have to run the three bats separately...) Link to comment Share on other sites More sharing options...
Primesghost Posted September 2, 2002 Share Posted September 2, 2002 Here's a link I found: http://www.idiom.com/free-compilers/ It's a list of free compilers for various languages. Link to comment Share on other sites More sharing options...
MadDaBombz Posted September 16, 2002 Share Posted September 16, 2002 Agh. On Win98 and spent several hours trying to get the .bat files to work only to find out that I have to download new ones. And now, for some reason, the cgame.bat one isn't working (though the game.bat worked fine). I compiled the client side game dll dealio and followed the exact same process as for the game vm. Is the cgame.bat file that came from http://ugg.codealliance.ca/modbat/ faulty as well or am I just an idiot? Link to comment Share on other sites More sharing options...
Wudan Posted December 25, 2002 Share Posted December 25, 2002 I used a program called DoxyGen on the MP source, just to see what it would do. It didn't do the best job of crossreferencing, but it doesn't look bad. Why do this? - you might ask? Because I often spend a lot of hours away from my IDE machine, and it's nice to be able to read the source, even when not coding. http://users.sisna.com/tokyopop/jk2mp/ Link to comment Share on other sites More sharing options...
seniorfrito Posted May 23, 2003 Share Posted May 23, 2003 ----------------------- ----- Server Shutdown ----- --------------------------- bad parameter in external weapon data 'firingforce' I have edited the game a little and now it is giving me this error everytime I try to start a new game. What do I do? e-mail your answer to me at seniorfrito030388@hotmail.com. Thanks... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.