Achilles87 Posted January 29, 2004 Share Posted January 29, 2004 Ok, I am a complete n00b at this, I just decided I wanted to make a series of admin mods. Can someone give me the basics, maybe some links to good tutorials related to this, tell me what programs I'd need? Thank you I'd really appreciatte it! Link to comment Share on other sites More sharing options...
Achilles87 Posted January 31, 2004 Author Share Posted January 31, 2004 Hmmm... you know, that really helped alot! C'mon, I know someone here knows what I need. Link to comment Share on other sites More sharing options...
Freyr Posted January 31, 2004 Share Posted January 31, 2004 Well I'm a noob too but I'll help, I know a little about Admin commands (becuase Lee Oates taught me ) You start with your basic command structure something like: else if (Q_stricmp(cmd, "amyourcommand") == 0) { if (trap_Argc() > 1) { char sArg[MAX_STRING_CHARS]; int entNum = 0; trap_Argv( 1, sArg, sizeof( sArg ) ); entNum = G_ClientNumFromNetname(sArg); if (entNum >= 0 && entNum < MAX_GENTITIES) { gentity_t *targetEnt = &g_entities[entNum]; if (targetEnt ->inuse && targetEnt ->client) { //Here is where you put where ever command you want like: targetEnt ->health = -999; } } } } Link to comment Share on other sites More sharing options...
MasterSidious Posted January 31, 2004 Share Posted January 31, 2004 I can help too. I am trying to do this myself with only a little bit of C experience. I'm TRYING to get some source code for an admin mod from two different people but they can't seem to help. Anyway, here's a good tut/resource(you're gunna have to take it slow, but it will get u there ): very good cvar (e.g. admin password) and and admin cmds And you're gunna need Visual C++ 7.0 (usually runs at $100 its called .NET) That should do it. BTW, who is Lee Oates? Maybe she could help me too? VSYoda1 do you know any way I could make an "/amlogin <password> cmd? Like some actual code? Just curious Link to comment Share on other sites More sharing options...
Achilles87 Posted January 31, 2004 Author Share Posted January 31, 2004 ok thanks guys! You really helped! And Lee Oates is a famous admin modder. Link to comment Share on other sites More sharing options...
Achilles87 Posted January 31, 2004 Author Share Posted January 31, 2004 oh and I just orderd Visual C++ 5 Proffesional Edition, that should be fine, right? Link to comment Share on other sites More sharing options...
MasterSidious Posted January 31, 2004 Share Posted January 31, 2004 I'm sorry, but you're gunna need .NET for this. The Jedi Academy SDK (the source code you're gunna need to change) is in .sln which can only be run using .NET. I don't think you can change the .NET formatting (.sln) into the Visual C++ 5.0 format (I think that's .dsw). BTW, anyway I could contact Lee Oates? Link to comment Share on other sites More sharing options...
Achilles87 Posted January 31, 2004 Author Share Posted January 31, 2004 Ok, I found this, 'Microsoft Visual C++ .NET Standard 2002' Would this work? Link to comment Share on other sites More sharing options...
MasterSidious Posted January 31, 2004 Share Posted January 31, 2004 That will work BTW, I have now figured out how to do a lot of admin cmds like: 1. amlogin <password> 2. How to set a cvar that will set the password 3. How to make cmds work for yourself and separately how to make cmds work for you alone. So please PM me if you need some source code or anything Keep in mind though that I'm learning this myself just now, but I have some source code already . Link to comment Share on other sites More sharing options...
MasterSidious Posted January 31, 2004 Share Posted January 31, 2004 BTW, to everyone admin modder out there. I think that some good admin source code would be very good to give out to the public, even if that source code would be a source.txt Link to comment Share on other sites More sharing options...
razorace Posted February 1, 2004 Share Posted February 1, 2004 Originally posted by Achilles87 ok thanks guys! You really helped! And Lee Oates is a famous admin modder. I thought he did the duelers mod. I'd hardly consider that an admin mod. Link to comment Share on other sites More sharing options...
Achilles87 Posted February 1, 2004 Author Share Posted February 1, 2004 Well he helped with Admin mods Link to comment Share on other sites More sharing options...
Freyr Posted February 2, 2004 Share Posted February 2, 2004 Yah, Lee Oates is like the god of server side coding. I learned a lot from him. He's (or she, I haven't talked to him about anything more than coding) actually a very nice person and very helpful. He's working on JA Duelers Mod right now. I've got a some admin source code for using guns for specifying a target if you want that too? Link to comment Share on other sites More sharing options...
MasterSidious Posted February 2, 2004 Share Posted February 2, 2004 Please give me all the source code you have to mastersidious_6@hotmail.com I'm working on an admin variable right now that will end admin cmds if you're not an admin and how to declare this admin variable? Thanks! Link to comment Share on other sites More sharing options...
Achilles87 Posted February 2, 2004 Author Share Posted February 2, 2004 Yes please email me all the source codes to bears8703@yahoo.com . Thank you so much! Link to comment Share on other sites More sharing options...
Freyr Posted February 2, 2004 Share Posted February 2, 2004 I sent you guys the code, if you use it please give me credit. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.