Tremulous Forum
Mods => Modding Center => Topic started by: Foe of Eternity on May 19, 2008, 08:53:35 pm
-
i have searched unsuccessfully for finding how to make information on the server appear when you do !info
is there any websites or direct knowledge that could lead me in the right direction?
-
Docs are: http://elarned.co.uk/coding/done.php#info
-
that works except for
set bool "$bool_"
set bool_1 "ON"
set bool_0 "OFF"
set g_unlagged 1
set g_allowShare 0
info/info-settings.txt:
Unlagged: $bool$g_unlagged
Share: $bool$g_allowShare
]/!info settings
Unlagged: ON
Share: OFF
the "on" and "off" do not display, it's just a blank
-
My laziness with testing has cost me once again. I've released about as many versions of !info that work as those that don't.
Tell me what QVM you're using (exactly, including the version number) and I'll try to find out how it behaves.
If I can't get it to co-operate I'll be happy to direct you to one that will or compile a new one for you with the fixed code.
In the meantime, check the values of the cvars bool, g_friendlyFire, and whatever else you're testing to make sure they're being set correctly. Try substituting them separately and seeing what effect this has.
-
Psh, don't try to support every old version. Just tell people to upgrade. :p
-
lol, anyway, i use Nero's QVM...everything except the boolean works
i have version 0.6
-
Psh, don't try to support every old version. Just tell people to upgrade. :p
what upgrade did you have in mind?
-
Nero forked from my qvm some time ago and I don't know if he still updates it. Ask that he update it to my newer stuff and it will include Ben's patches, or ask him to just apply ben's newer patches. If you know what you're doing, you can do it yourself.
If he won't and you can't do it yourself, then decide whether this particular functionality of !info is more important to you than whatever drove you to use Nero's qvm and decide which you want to use.
-
Nero's QVM doesn't compile for me (it looks like he forgot to svn add src/game/g_bot.c) so I can't help you any further.
I recommend, like Lakitu7 said, that you use a newer QVM or persecute Nero to update his.