Tremulous Forum

Mods => Modding Center => Topic started by: Le Compilateur on June 11, 2008, 11:29:52 pm

Title: !bank??
Post by: Le Compilateur on June 11, 2008, 11:29:52 pm
I've been looking for a patch to add something to my QVM, a command called !bank, maybe you've heard of it. Any suggestions on where to get this patch?
Title: Re: !bank??
Post by: Paradox on June 12, 2008, 12:19:49 am
Bank, like the thing in around svn 400?
Title: Re: !bank??
Post by: Le Compilateur on June 12, 2008, 01:31:09 am
I don't know what you mean by that...
Title: Re: !bank??
Post by: Overdose on June 12, 2008, 04:25:04 am
Tremulous svn (http://svn.icculus.org/tremulous/trunk/)

Apparently something along the lines of "!bank" was added around svn 400 (currently 1090).
Title: Re: !bank??
Post by: Lakitu7 on June 12, 2008, 07:07:39 am
This is the revision where it was removed, so that's the last functional code. Looks like it was an H building.
http://svn.icculus.org/tremulous?view=rev&revision=451

Apparently there used to be "floatmines" (spidermines?) too, which were removed at the same revision.
Title: Re: !bank??
Post by: Le Compilateur on June 12, 2008, 08:16:55 pm
Doesn't look like g_admin.c even exists...
Title: Re: !bank??
Post by: benmachine on June 12, 2008, 09:33:28 pm
Doesn't look like g_admin.c even exists...
g_admin.c did not exist until after the release of 1.1.0. I believe it was included some time around rev8xx.
I've never heard of !bank as an admin command.
Title: Re: !bank??
Post by: Bissig on June 12, 2008, 10:16:56 pm
I have seen a !bank command on a server, where it was used to store player credits into a "bank account". Players later could retrieve the stored credits to "refill" their credits count.
Title: Re: !bank??
Post by: epsy on June 12, 2008, 10:49:46 pm
ain't that the restore-when-left-in-same-game feature?
Title: Re: !bank??
Post by: Lakitu7 on June 12, 2008, 11:12:55 pm
Doesn't look like g_admin.c even exists...

Yes. Like I said, it was a building for humans, not an admin command.

ain't that the restore-when-left-in-same-game feature?

That's "ptrc".
Title: Re: !bank??
Post by: Le Compilateur on June 13, 2008, 12:26:59 am
Ah thanks Bissig, that was what I meant. Is there a patch for it?
Title: Re: !bank??
Post by: Lakitu7 on June 13, 2008, 05:32:37 am
How do you release a qvm but can't figure out how to make this? It's trivial even without that, but you've been handed a pile of code that does what you're asking, only activated by a building instead of an admin command. Take that and put it into an admin command. Consider it a learning exercise. It will be good for you.
Title: Re: !bank??
Post by: David on June 13, 2008, 12:54:14 pm
There is a max cash limit for a reason.  A very important reason.
If you can't see that then maybe you should leave balance changes to those who understand what they're doing.
Title: Re: !bank??
Post by: Le Compilateur on June 14, 2008, 12:06:06 am
Ouch. I'm good at swapping code around to fit different situations, it just didn't occur to me here. Please excuse any ignorance on my part since I am a relatively new coder.

@David: ... Yes, it's a major balance change. And yes, there is a reason. It's just that not everyone wants to adhere to the "traditional" balance rules.
Title: Re: !bank??
Post by: techhead on June 15, 2008, 04:25:42 am
Bank was disabled in 407, about 50 revs before it was removed entirely.
Trem used to have mines... Aw...
Title: Re: !bank??
Post by: Le Compilateur on June 15, 2008, 04:33:23 am
Meh, I've decided not to overmilk a dead cow. Bank functionality was disabled for a reason, I don't know what it was but it must've been good.
Title: Re: !bank??
Post by: eyekey1 on June 25, 2008, 06:49:02 pm
Well hang on you are talking about X And A server before they went down there was a command called !Bank but they got rid off it Sex the guys name was called he did it....