Page 1 of 1
Any current/former quake 3 programmers
Posted: Mon Aug 01, 2005 1:32 am
by eepberries
Are there any active forums devoted to programming Quake 3? If so, please provide links. Thanks.
This might seem like spam but hey, it's not like there's anywhere else to post it.
Posted: Mon Aug 01, 2005 1:45 am
by DooMer
programming was kinda merged with LEM, there should still be some people there who can help you.
Posted: Mon Aug 01, 2005 1:51 am
by eepberries
DooMer wrote:programming was kinda merged with LEM, there should still be some people there who can help you.
Was it? I could have sworn programming was just deleted, not like merged or anything

Posted: Mon Aug 01, 2005 2:27 am
by ^misantropia^
Check out the
PlanetQuake forums, that's where what remains of the coding scene (including me) hangs out these days.
Posted: Mon Aug 01, 2005 2:36 am
by bitWISE
I haven't touched the q3 source in forever but I'm always online if you have questions.
Posted: Mon Aug 01, 2005 2:58 am
by eepberries
What's the best way to implement a money/experience system? I tried adding adding a variable in that would hold money before, but it was glitchy and crashed the game. It would work for a while though. I think it crashed once I changed maps.
Posted: Mon Aug 01, 2005 2:58 am
by glossy
This place now sucks for q3 programming... Diablo left, Timbo doesn't come much anymore (or at all?)...
You're meant to use LEM now, worth a shot i suppose.
Posted: Mon Aug 01, 2005 3:01 am
by eepberries
glossy wrote:This place now sucks for q3 programming... Diablo left, Timbo doesn't come much anymore (or at all?)...
You're meant to use LEM now, worth a shot i suppose.
It didn't help that they deleted the forum
Posted: Mon Aug 01, 2005 3:06 am
by glossy
heh.
Don't despair too much, there are still a few programmers floating around -- Kazi and I used to do a bunch of programming, Dodo and blakjack are still around a little, and I still try to keep in contact with Dayve who can code his way out of impeachment.
Posted: Mon Aug 01, 2005 3:19 am
by bitWISE
eepberries wrote:What's the best way to implement a money/experience system? I tried adding adding a variable in that would hold money before, but it was glitchy and crashed the game. It would work for a while though. I think it crashed once I changed maps.
Well, I'm assuming that you want to save this information from game to game. You could use a cvar but that would be highly unsecure so what I would suggest is setting up your own save file. Load it during the client initialization and save during map change, game close, etc. I can't remember any file functions exposed in the code so you may need to made your own. Just be sure to use stdlib code so that it's compatible with linux/mac/win.
The problem you probably ran into is that each map change clears the g_entity objects. So you will need to store the information between games. If you aren't saving the data after a player quits you can just use the session object (I forget what it's called but I know there is some session based stuff on the game side). I'm on my gf's laptop right now but it should be easy enough to find.
Posted: Mon Aug 01, 2005 3:47 am
by glossy
eepberries wrote:What's the best way to implement a money/experience system? I tried adding adding a variable in that would hold money before, but it was glitchy and crashed the game. It would work for a while though. I think it crashed once I changed maps.
my memory of it is sketchy, but creating a new variable in playerState_t (iirc??) and putting your stuff in there should work, as long as it fits in with the network bandwith limits.
Posted: Mon Aug 01, 2005 3:49 am
by inolen
eepberries wrote:What's the best way to implement a money/experience system? I tried adding adding a variable in that would hold money before, but it was glitchy and crashed the game. It would work for a while though. I think it crashed once I changed maps.
This is sortof vague

Posted: Mon Aug 01, 2005 3:52 am
by glossy
Posted: Mon Aug 01, 2005 11:17 am
by ^misantropia^
bitWISE wrote:Well, I'm assuming that you want to save this information from game to game. You could use a cvar but that would be highly unsecure so
Just use a serverside-only cvar during map changes. Doesn't get more secure than that, really.
bitWISE wrote:Just be sure to use stdlib code so that it's compatible with linux/mac/win.
You can't as mods run in a virtual machine without access to the outside world. You could use the FS_* functions as declared in g_syscalls.c. Easiest way however (apart from the cvar) would be doing it through G_WriteSessionData() and G_ReadSessionData() in g_session.c.
Posted: Mon Aug 01, 2005 11:19 am
by ^misantropia^
glossy wrote:my memory of it is sketchy, but creating a new variable in playerState_t (iirc??) and putting your stuff in there should work, as long as it fits in with the network bandwith limits.
No. You can piggyback on existing variables but adding new ones will crash the game. Both the mod and the engine use that structure but, obviously, you can't recompile the engine.