Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - QwazyWabbit

Pages: 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 ... 82
121
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 23, 2016, 11:38:24 PM »
Quote from: beaver{KEA} on June 23, 2016, 11:22:43 PM
Quote from: beaver{KEA} on June 23, 2016, 11:22:43 PM
the latest tmg build wont launch server for some reason.

Quote
Added packfile ./baseq2/pak0.pak (1106 files)
Added packfile ./baseq2/pak2.pak (2 files)
execing default.cfg
====== Quake2 Initialized ======
R1Q2 build 8012, compiled May  2 2016.
http://www.r1ch.net/stuff/r1q2/
Linux i386 (./r1q2ded-8012)

thats all that it says

It's not loading the TMG game DLL. It appears to be loading the game DLL that comes with the r1q2 build. That DLL is vanilla quake2.

Either you copied the TMG DLL into the wrong folder or it was built wrong, but there should be a banner at the start announcing the version. Check you startup script too.

Another thing to check is that you have named the DLL's correctly.

When you use q2admin.so it must be named gamei386.so and it must be in your mod directory.
The TMG game DLL MUST then be renamed to gamei386.real.so and it must be in your mod directory.
The engine will look for and load the q2admin DLL, then the q2admin will look for and load the TMG DLL.

122
/dev/random / Re: Led Zeppelin Got sued for Stairway to heaven
« on: June 23, 2016, 09:24:03 PM »
My brother was a music major and is in a band. His opinion was that everything's been written and it's all just "sampling" now. :)

For example, Blues Traveler's "Hook" is deliberately based on the progression in Pachelbel's "Canon in D" and it's that very melody that is the hook in "Hook".

The baseline of the chord progression in Taurus and Stairway is formulaic and fundamental and very old, that they both used it is a coincidence. It's entirely possible that Page heard it in Taurus and doesn't remember it but the burden of proof on the origin of the idea is on the plaintiff. In both cases, I think it can be said that they both got it from a prior source and that source is unknown.

They took a shot, they lost.



123
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 23, 2016, 09:00:15 PM »
Fixed WallFly blockout tonight.

HUD motd now shows for 3 seconds and then closes, spawning player as spectator.

This should allow WallFly to speak freely and it also fixes FreeCam mode if humans don't hit a key but let it time out. If a player hits a key per the prompt, the tilt is still stuck but that's a bug for another day.


124
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 23, 2016, 05:18:46 PM »
Quote from: beaver{KEA} on June 23, 2016, 02:37:01 PM
Quote from: beaver{KEA} on June 23, 2016, 02:37:01 PM
setting the dm flags didnt help and i guess the players need to be different models not different skins. in order to frag each other.

You don't SET the bits, you clear them. Subtract 448 from whatever is in dmflags, that is your new value. But it must never be less than 0. The value in dmflags must always be a positive integer between 0 and 65535. It's a bitmap so it confuses a lot of people.

125
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 23, 2016, 08:31:35 AM »
Quote from: beaver{KEA} on June 22, 2016, 09:01:38 PM
Quote from: beaver{KEA} on June 22, 2016, 09:01:38 PM
in FFA railwarz mode if we have the same skin as someone it wont let us frag each other.  not a big deal but if that could be changed it would be convenient to not have to ask people to change skins. :)

I think that's actually configured in dmflags and this capability was common to all mods. Make sure the DF_SKINTEAMS, DF_MODELTEAMS, DF_NO_FRIENDLY_FIRE flags are not set by subtracting 64, 128 and 256, (448 total) from the dmflags value in your server configuration file. That's one of the things the operator has to configure when changing from CTF to FFA.

126
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 22, 2016, 01:08:29 AM »
Yes. TMG rail server banishes all spawns. I don't know what it would take to spawn techs in railserver CTF. Something too look into.

127
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 15, 2016, 05:49:11 PM »
On Windows, if you have VS installed, clone the repository to whatever working directory you choose. In the TMG directory you'll find TMG.sln, the solution file for the VS project. Double-click that and VS ought to launch and open the project. You'll have to tweak the project settings to build the debug and release mode DLLs in the right places but most of the project settings should be correct. Definitely not as easy as on Linux and Microsoft did themselves no favors when they separated the GUI from the makefile scheme and required separate installation of command line tools. That might change once they've fully adopted clang but we have to suffer for now.

128
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 15, 2016, 03:41:31 PM »
Quote from: beaver{KEA} on June 11, 2016, 04:08:36 PM
Quote from: beaver{KEA} on June 11, 2016, 04:08:36 PM
i took a closer look the other night at highscores.

they seem to be behind 10 or 15 points. i guess they are not recording the very last flag capture maybe?

10 points awarded to them team. 15 for the person who made the capture.

possibly the last few frags arent recorded as well i didnt look that closely at the numbers.

I've changed where the highscores get computed and written to the file so it should display correctly in the intermission with good current scores. The highscores table can't be updated demand and it won't reflect the latest until the next level change. If I try to grab current scores and update it fills up the table with today's high scores. After 10 hscore commands it's full but looks silly. This needs more work. I'd like to add the capability to make it keep current without filling the table with identical entries. Another feature I want to add is the ability to ask it in game about highscores for any map, a hscore mapname command and a hscore lastmap command.

129
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 15, 2016, 03:28:30 PM »
Yes, the entry into the server is captured and instead of putting the client into the game as a player, as most mods do, it holds him in a message of the day (MOTD) screen until he hits a key. Any key will do.

Once he hits a key it puts the MOTD away and presents him with the FreeCam view, but even that is broken since you can't tilt the view. It moves and pans OK but won't tilt until you cycle into one of the chase modes or go out of spectator and back in, then it fixes itself. I remember something like this problem with other chase cams but I don't remember what I did to fix it. I have not looked at my past notes yet to see if I documented it. Low priority right now.

Once a player is past that first MOTD screen all chats are transmitted, it's only that first capture for the MOTD that mutes players or WallFly.

The solution will be either:
1. Put up the MOTD for a few seconds, then drop them into spectator mode.
2. Don't make the MOTD screen a mode. Transmit the MOTD text in center of screen and take the player directly to spectator without the capture effect. ( I think I like this idea best. )

I tried to skip the MOTD and not present it, this made the menu hang and I couldn't pull up the join menu. The logic is full of gotcha's and it's a bit tangled up right now. Too many conditions have to be set and they are all interdependent. I'm working on it but it has to stew in my brain for a while. :)

I have fixed the DM mode (I think) and it is playable. Give it a shakedown and let me know if you see anything else that needs fixing. Presentation of the scoreboard looks funky to me but I have not seen it on a full server with spectators and real players.

Modes for you to test:
CTF rails. (ctf = 1, railserver = 1)
CTF all weaps. (ctf = 1, railserver = 0)
DM rails. (ctf = 0, railserver = 1)
DM all weaps. (ctf = 0, railserver = 0)

Also something to test is tech power-ups and their spawns and mask-outs. I have not taken the time to test all those combinations and it would be nice to know if that logic is all working correctly.

I think I also spotted a bug in the CTF mode. If a flag is dropped by a fragged player it can sometimes end up inside a solid. Once it's there it won't return itself to base and it's stuck where nobody can pick it up. I'd like to know if you guys have seen that happen.

The bots work in CTF and DM, I think these are the ZigBots that Focalor referenced recently. They shoot rails out their ass and do some amazing dodges and double-jumps. Pure evil.

If you can test and spot more bugs and give me ways to reproduce them I can run them down and fix them here.

130
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 14, 2016, 06:47:56 PM »
I'll look at where the scores are captured and written to the file. There's a great deal of time between the frag or capture that triggers the intermission and the scoring of the game within the intermission. I suspect it's also possible to quit the server in the intermission and lose the registration of a high score.

OK, the highscores are not recorded properly until BeginIntermission is called and that doesn't happen until the scoreboard view and mapvote timers have expired at the end of the match. The highscores as displayed at the rotation of the scoreboard or after the map is completed are correct but if you cmd hscores before the intermission is completed you'll get the wrong scores. I will have to see what can be done about making it more current.

TMG is very odd about player entry into the game and the scoreboards at intermission and it departs from normal Q2 entry and presentation in a lot of ways but it can be fixed, hopefully for the better. This is also related to the problem with commanding WallFly.

131
Politics / Re: another terrorist attack
« on: June 13, 2016, 07:39:57 PM »
The .08 level is the threshold of 'must arrest' any non-zero level is 'may arrest'. I believe the statutes in most states are phrased such that one is prima facia intoxicated at or above .08 to make the logic "crisp" for juries. Prosecutors make the decision about whether to prosecute a case the cops can only arrest on probable cause and present the evidence to the prosecutor.

I was on a jury years ago that convicted a guy on manslaughter who blew .18 and shot his wife through the heart with a .22 cal. revolver on New Years Eve.

If you killed a guy who was shooting up the place and saved lives no cop would arrest you and it would take a true asshole of a prosecutor to charge you but there are also a lot of huge asshole prosecutors out there. Your biggest problem would be the complete lack of visual and physical coordination to use your weapon under those conditions.

132
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 11, 2016, 09:59:32 PM »
I'll look at where the scores are captured and written to the file. There's a great deal of time between the frag or capture that triggers the intermission and the scoring of the game within the intermission. I suspect it's also possible to quit the server in the intermission and lose the registration of a high score.

133
weapons / Re: WallFly broken? Goto and invite not working
« on: June 10, 2016, 10:10:05 PM »
Since I've sort of taken over the TMG mod maintenance on the Bitbucket site I'll look into what can be done about that limbo mode. I was thwarted a few times by it too and I don't know why it exists except for the purpose of displaying the welcome message. MotD?

I'm flying home from a business trip in Houston tomorrow so I'll be able to do some testing on my server this weekend or next week.

134
weapons / Re: WallFly broken? Goto and invite not working
« on: June 09, 2016, 09:46:11 PM »
Beaver, where did you get your q2admin source?

I recommend using the git repository:

git clone https://github.com/tastyspleen/q2admin-tsmod

It also uses the -fPIC option.

See if that builds OK  for you.

Both the repo version and the one in the TS archive build OK on my systems.

Edit: the TS version builds x86_64 library, the GIT repo builds I386 (32-bit) library.
If you use the TS version from the archive supplied you'll need to modify lines 8 and 9 of the Makefile to read:

CFLAGS  = -m32 -O2 -fPIC -ffast-math -w -DGAME_INCLUDE -DLINUX -DSTDC_HEADERS -I/usr/include
LDFLAGS = -m32 -ldl -lm -shared

135
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 03, 2016, 06:35:02 PM »
Quote
hscores are working well now. i had a some pemission issue on the folder or files that may have been preventing it from writing.
is there anyway to be notified at end of match that hscores were updated?
or even display the highscore chart at the very end before map change.

It should have written a message in the server console and the log that it was unable to save the file. It would do it if it can't create the file or if the folder didn't exist. It doesn't put it to player consoles but I suppose it could. It's silent on success unless you set developer 1. The file is written early in the beginning of BeginIntermission but there are some long time delays in the scoreboard where it seems to pause. I didn't analyze it very closely because it seemed to be a logical place for it to be but the mod does have some delays built in where players could disconnect between the end of the match and the movement of all the clients to intermission. This might delete their scores before they could be sorted and saved. I'll have to test that and log the timestamps when those events occur but it will have to wait until I get home.

I noticed you had strange ownership on your home directory, they're all owned by root and that isn't the norm. Look into the "chown" command to see how to set ownership permissions on your home. Having to always su between root and your login isn't normal. I remember needing to compile and move the game DLL as root and run the game as regular user.

It looks like valid combos are
ctf 1/0
railserver 1/0

dm always 1, coop always 0

I'll test the mod in ctf 0 mode and see where it's broken. I have not touched the DM scoreboard code yet but there might be something hung in the spawn-up in FFA mode. The bots don't quite spawn perfectly either, I think they spawn at random points in some maps and they end up inside walls or spaces where they die. I'd like to see that fixed.

Use set show_highscores 1 in your config file to make it automatically show the high score table after the scoreboard intermission.


Pages: 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 ... 82