Hey I'm wondering if tremulous has the capability (right now) to do something like add an EVO to a player's wallet at the start of a new game, based on something that happened in a previous match. (for example)
You'd have to do it the same way as admins and bans etc, write a file at the end of the map and read it again at the start.
Quote from: David on April 19, 2010, 02:18:18 PM
You'd have to do it the same way as admins and bans etc, write a file at the end of the map and read it again at the start.
Thanks, could you point me to a good place to start looking 4 info about this?
You'll want to look in game/g_admin.c, but I don't know of any place that would give you the info in a particularly nice manner.
I think X has a !bank function or something, which does that..
http://xserverx.com/forum/viewtopic.php?f=17&t=2443
As I understand it the A qvm doesn't have quite all of the gameplay changes that X does, so it should be easier to go through. Also apparently they do it using a mysql database.
Quote from: F50 on April 19, 2010, 08:26:39 PM
http://xserverx.com/forum/viewtopic.php?f=17&t=2443
As I understand it the A qvm doesn't have quite all of the gameplay changes that X does, so it should be easier to go through. Also apparently they do it using a mysql database.
yeh they used an old version my concept code for implementing a mysql db connection to tremulous for a while i think they are not using it now because of lag(i could be wrong and they are still using it or they could have stopped using it for another reason dunno) which i kinda expected it might lag with alot of ppl was only a well lets write something simple and see how well it worked
anyway best way would be to store it in a file atleast untill someone bothers to make a less laggy db connection code
Not sure why one DB call at shutdown and another at startup would cause lag, but if you have to store and retrieve stuff during the game, a transactional database is ridiculous overkill when a keyed record manager (sleepycat) would do.
Quote from: A Spork on April 19, 2010, 07:03:29 PM
I think X has a !bank function or something, which does that..
Close lol... It is server A that has this function, and it involves storing credits/evos so you can store them and collect more (get more than the max displayed in your hud...
Quote from: F50 on April 19, 2010, 08:26:39 PM
http://xserverx.com/forum/viewtopic.php?f=17&t=2443
As I understand it the A qvm doesn't have quite all of the gameplay changes that X does, so it should be easier to go through. Also apparently they do it using a mysql database.
A does have a lot of changes, but not in the gameplay area. They have all of the added commands like !rtd !bank !w etc for use during gameplay... But the play itself is vanilla (from what I understand..)
Quote from: lucifer666s8n on April 21, 2010, 03:20:30 AM
Quote from: F50 on April 19, 2010, 08:26:39 PM
http://xserverx.com/forum/viewtopic.php?f=17&t=2443
As I understand it the A qvm doesn't have quite all of the gameplay changes that X does, so it should be easier to go through. Also apparently they do it using a mysql database.
A does have a lot of changes, but not in the gameplay area. They have all of the added commands like !rtd !bank !w etc for use during gameplay... But the play itself is vanilla (from what I understand..)
ok seems like we have different definitions of gameplay changing commands/patches
Quote from: lucifer666s8n on April 21, 2010, 03:20:30 AM
Quote from: A Spork on April 19, 2010, 07:03:29 PM
I think X has a !bank function or something, which does that..
Close lol... It is server A that has this function, and it involves storing credits/evos so you can store them and collect more (get more than the max displayed in your hud...
Quote from: F50 on April 19, 2010, 08:26:39 PM
http://xserverx.com/forum/viewtopic.php?f=17&t=2443
As I understand it the A qvm doesn't have quite all of the gameplay changes that X does, so it should be easier to go through. Also apparently they do it using a mysql database.
A does have a lot of changes, but not in the gameplay area. They have all of the added commands like !rtd !bank !w etc for use during gameplay... But the play itself is vanilla (from what I understand..)
Only so far as the damage/evos/hp/weapons/speed goes, even even that isnt true anymore, what with the last qvm bumping the luci/blaster/pulse damage by 33%, making the lucisuits godawful to dance with as a goon, because splash alone can kill you...The most major gameplay change is the !rtd though, as it throws random luck and a useful yet inconsistent stream of evos at SD into the mix. Its a modded server, all of the vanilla game play characteristics are there, but the !rtd, bank and 200 bp really change it up.
Just wanted to know if the capability was in easy reach (sounds like it). TY 4 RE's