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 20 ... 82
136
/dev/random / Re: The Strange and Interesting Thread
« on: May 31, 2016, 11:08:53 PM »
There's a video on YouTube of some dudes with a homebrew railgun into the side of a Saturn. It penetrated the door panel and it looks like didn't even deform the panel, it kind of fractured it without elastically deforming the metal. It met a cross beam inside the door and deformed it without breaking or penetration. It was a big armature though, and they never measured the muzzle velocity so I have no idea what the energy might have been and it kind of disappointed me since I expected it to do as you described and continue drilling the car. But it was a flat-nose armature and not the sabot round the Navy plans.

They also put another shot into ballistic gel with some effect but it didn't' blow it apart.

Mach 3+ SR-71 heated to 700+ degrees in cruise on the leading edges from friction with the air, even at high altitudes. But this takes a while to build up and stabilized at constant airspeed.

But yes, high velocity means brief time in contact with meat and less energy transfer to the meat as they meet.

137
/dev/random / Re: The Strange and Interesting Thread
« on: May 31, 2016, 04:28:38 PM »
All that us rednecks wanna know is will we need a special permit to go deer hunting with it or will the ordinary Big Game license be okay? :)

I posted something years ago about them cloning Mammoth DNA. If they can bring back dinosaurs... you see where I'm going with this? Yee haw?

Talk to your local game warden. :)

I'll get my calculator out to compute the effective energy of a 30-06 or 7mm vs a 50,000 Joule rail rifle but I think anything hitting a deer at Mach 7 might just put a hole through the animal and all the trees behind it for half a mile. That's assuming there's a hole in the animal and it doesn't actually make it hamburger meat. The latter may go contrary to the purpose of the hunt. :)

Edit:
I looked it up. A 30-06 delivers about 2700 lb-ft of at the target (180 gr. @ 2600 ft/s), that's about 3661 Joules so we're talking very reasonable holes in deer.

A 50,000 J personal rail gun delivers 36,880 lb-ft at the target so you'd definitely want a smaller gun... say a .22 cal. 5,000 J model. Such a weapon would be both lighter on the target and lighter on the bearer since the power supply could fit in a small backpack. Backstop would still be a concern.

138
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: May 31, 2016, 04:17:21 PM »
Added efficiency stats to HUD in player and chase modes.
Eff. is displayed as percentage and also as ratio of frags/shots fired.
Fixed match countdown timer format so it's always double digits in the HUD.
TMG is now version 0.2.12

139
/dev/random / Re: The Strange and Interesting Thread
« on: May 30, 2016, 03:17:15 PM »
I knew that the technology had been around for years, I thought maybe they had hit a new tech advance with the projectile speed.  I thought it was a cool story, so I shared it.

The first Railgun kill happened on December 9th, 1997   :biggungrin:

Love it.

It's certainly topical for Q2. I'm just disappointed that the news people are so stupid about topics - but not surprised.

Here's a look at it from 2009: http://www.popularmechanics.com/military/a2289/4231461/

... and a world record 10.64 MJ shot from 2008 YouTube:
https://www.youtube.com/watch?v=ZourRsUsnho

It only took them a year or two to get to 30MJ.

FWIW, 30MJ is only 8.33 kw-hr so a generator doesn't have to be huge to recharge the capacitors.

A Joule is 1 Volt-Amp second so 30MJ delivered in 10ms is 3 x 10^7 / .01 or 3 million amps at 1000 volts... a nice arc-flash.

I love science!

Imagine the recoil!

140
/dev/random / Re: The Strange and Interesting Thread
« on: May 29, 2016, 04:01:10 PM »
military railgun 'bullets' could travel at Mach 6 - http://www.foxnews.com/us/2016/05/29/first-look-at-navys-experimental-railgun-that-can-fire-at-4500-miles-hour.html?intcmp=hplnws

First look? Not hardly. This weapon has been in development for 20 years. It might be the first time for Fox News but they can hardly be counted on to be current with technology. This is the first deployment of the weapon for testing at sea, so perhaps this can be a "first look" at what a production weapon might look like. They even used footage that is over 4 years old. This was a very poorly done report.

CBS reported on this TWO YEARS AGO.

https://www.youtube.com/watch?v=ygHN-vplJZg

Advantages of rail guns:

1. No gun powder.
No need for storage of giant bags of gun powder and no need for stacks of crewmen to load and fire the weapon.

2. Extreme muzzle velocity.
Artillery is limited in range by how fast it can push a projectile out of the barrel. Conventional guns accelerate the projectile with expanding gas from the detonation of gun powder. As the gas expands the force behind the projectile in the barrel is constantly decreasing, limiting the muzzle velocity. Increasing the amount of gun powder to increase muzzle velocity requires increasing the wall thickness of the barrel to withstand the increased pressures. This increases the weight and size of the gun. Range is limited by the muzzle velocity and terminal velocity of the projectile, larger projectiles are required to deliver greater kinetic energy and are enhanced by explosive charges in the projectile. (Think about Missouri's 16-inch guns and 2300 pound projectiles.)
Rail guns accelerate the projectile with nearly constant force for the entire length of the barrel. Taking the Navy at their word at 2000 m/s muzzle velocity (Mach 6) and estimating the length of the barrel at 10 meters with force applied for 10 ms, this computes to about 20,400 g.

3. Electric power.
Rate of fire is limited only by the ability to recharge the capacitor bank that powers the impulse system and the reload time of the weapon. BAE has been developing an automatic reloader for the prototype.

4. Smaller, lighter, projectiles.
This allows for storage of several times more projectiles in the magazine and easier reloading. No need for 2 ton hoists to handle them. This allows the platform to fire more projectiles at more targets before returning to port to reload.

5. Zero defense against a KE weapon.
The weapon kills by penetration. Energy is dissipated as pure heat in the target. Stationary targets such as concrete bunkers can be repeatedly hit with extreme accuracy and pulverized no matter how thick. Impact in the ground near the target causes earthquake damage at the target that can actually be more effective than a direct hit.

The rail gun's disadvantages:
Vulnerabilities of its electrical supply.
Ablation of the rail material as the armature propels down the barrel, caused by arcing between the armature and the rails. Specification of the rail material is probably classified since this is critical to success and lifetime of the weapon.
Intimacy of contact between the armature and rails is critically important to efficiency of the weapon.
Insulation of the sabot from the rails. Probably Nylon or Delrin sleeves. This can be mitigated by delivering the projectiles in their sleeves and mating the armatures to the sabots at load time. Delrin would be my guess, since it's very machinable and holds tolerances and doesn't melt and peel like Nylon.

Did they mention there's no gun powder?


http://www.nrl.navy.mil/media/videos/high-power-railgun-research

141
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: May 29, 2016, 12:25:12 PM »
OK, highscores are fixed.

set highscores "1" to enable them.

Once enabled, commanding "hscore" will display the high scores list for the current map.
If highscores is set to zero, using cmd hscore displays the usual scoreboard, just as F1 would.
This doesn't interfere with F1 for normal scoreboard.

set show_highscores "1" to tell the server to display high score list during the intermission after displaying the scoreboard.


142
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: May 28, 2016, 08:22:24 PM »
Added cvar, dropflag_delay to allow server admin to control delay time before a player can pick up a flag he just dropped. Max. 3 secs, min 0, default is 1 sec.

Increased max. maps in maplist to 300. :)

143
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: May 24, 2016, 07:26:54 PM »
Quote from: beaver{KEA} on May 24, 2016, 06:17:26 PM
Quote from: beaver{KEA} on May 24, 2016, 06:17:26 PM
Man that's awesome!  Wish I knew what you knew lol

I def need to get caught up on Linux knowledge.

All this got me wondering.  In the mapvote GUI menu. Can we increase the value above 42? Let's say 256? Just to make it match?

Quote from: beaver{KEA} on May 24, 2016, 06:17:26 PM
Quote from: beaver{KEA} on May 24, 2016, 06:17:26 PM
Man that's awesome!  Wish I knew what you knew lol

I def need to get caught up on Linux knowledge.

All this got me wondering.  In the mapvote GUI menu. Can we increase the value above 42? Let's say 256? Just to make it match?

That's a big change. The map vote menu is a cascade of 3 views for going forward and back in the menus. There are 14 map names in each menu plus 1 for the "More  maps.." and "..back" lines,  3 * 14 is 42, the answer to life, the universe and everything. It was OK to design it that way for a limited set of maps but it will take a complete redesign to do it in a function that can handle a dynamic menu. The three menus were copy-paste-modify clones of each other but a proper redesign should do it quite differently.

That's one for later I think unless one of the other modders out there has solved it. LOX doesn't use menus for that, you just type the name of the map you want with "vote map mapname" and if the map exists on the server it proceeds with the vote, it doesn't have to be on a list. I think with CTF it's a lot different since not all maps are CTF compatible so it was necessary to restrict the list.

The original Q2 menu was supposed to fit inside the help computer plate and frame. This makes it opaque but the system was also designed for 640 x 480 screens and a very limited number of lines of text. I find the transparent list very hard to read if the scene isn't dark.

One thing you can do in the mean time is just keep the best maps in the top 42 and/or rotate the map list files every month or so. LOX has monthly rotations in 12 maplist files and automatically changes map list files on its own.

144
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: May 24, 2016, 04:40:54 PM »
OK, I figured out why the maplist is messed up on Linux and not Windows.

The maps_ctf.txt on your Linux server was edited on Windows and somehow transferred without translation for line endings. If you use FTP to transfer a text file to a Linux server you have to remember to set ASCII mode before the transfer or it will get sent with the Windows line endings. Best way to handle FTP is with FileZilla, it takes care of that for you automagically.
 
Windows uses \r\n for line endings and OS X and Linux use \n just to keep it interesting.

The s_map.c module is the code responsible for reading the maps from the maplist file and populating the array that's used for mapvote, with all those extra CRLF's in there it's introducing blank data to the array and when the mapvote command function presents the list it dumps the whole thing, empty data and all.

You don't have all the Linux packages installed on your server yet. It's missing a lot of things, the 'man' command for one, dos2unix would have been nice, it converts Windows CRLF to LF but it's not available on your server. I recommend running a few package add-ons to give yourself more tools on the server.

I converted the file using this perl one-liner and your maplist is now working fine.
perl -pi -e 's/\r\n/\n/g' /home/quake2/ctf/cfg/maps_ctf.txt

I'm going to run it on more of the text files for completeness.

FWIW, the extra arrow character was the CR being appended to the map list elements in the menu.

Here's another command to see the line endings: hexdump -c filename.txt

I'm also going to look into the s_map code to see if there's a way to detect and fix this when it happens again for someone else.

145
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: May 24, 2016, 11:53:07 AM »
Beav,
Here's the Windows DLL, it does not require the redistributable runtime msvcr100.dll, it's lib-linked so it should run even if you don't have VS2010 or the runtime DLL installed on your system.

146
/dev/random / Re: The Strange and Interesting Thread
« on: May 23, 2016, 04:22:46 PM »
I'm not surprised. When the grade becomes the goal, the method to get the grade becomes secondary.

By now, the financial stakes are so high that students cannot afford to fail or they lose all ability to pay back their student loans. I expect the same thing is going on in America. I seem to recall something about a US Senator or someone in national office plagiarizing his dissertation... can't recall who now.

I wonder what would happen if they turned IBM's Watson AI loose on every published dissertation or scientific paper.

147
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: May 22, 2016, 09:01:33 PM »
Quote from: beaver{KEA} on May 22, 2016, 05:30:12 PM
Quote from: beaver{KEA} on May 22, 2016, 05:30:12 PM
Tested q2pro on Windows talking to r1q2 server on Windows and it displays OK. I don't have an easy way to set up a Linux server just now.

I think those are single-quotes, not commas. This needs more testing.

I'd like you to remove the \n in the

safe_cprintf(ent, PRINT_HIGH, "%s - '%s'   \n", maplist->mapname, maplist->mapnick);

in Cmd_MapVote function and rebuild to be sure it's not a server problem... this will revert the change and make the mapvote list spammy on the console again. It's the only thing that changed the way the list is displayed.

I'm wondering about the map list file... could there be something in that file that's creating blank strings that the loader is seeing? Zip up your maplist file and attach it. I want to see it directly.

i deleted the \n from
g_cmds.c
remade the .so replaced it.
b.ut still same output nothing changed

i guess i deleted the wrong /n
did it again deleted the right one this time and now mapvote still works but does not display any list at all in console
----------------------------------------
just to be certain.
i re cloned from bitbucket
removed the /n
and no maplist output displays in console

\n not /n there are never /n in printf statements and I found several of them in the old TMG code.
I pushed the change to the repo, pull it again and recompile, that way we know exactly what's changed and can compare results.

I pushed another change. It expands the maplist to 256 and ought to fix that oldframe message on r1q2 clients. I think there's a way to turn it off because I don't see it on my b8012 or b7904 clients, if I can find the command I'll post it.

Two questions: are 256 maps enough now? Are there 256 CTF compatible maps in existence?

148
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: May 22, 2016, 04:26:59 PM »
I use VS2010 so everything is done in the IDE. I have not saved a make file for it and I removed the VS project files from the git repo. I'll add them back in and keep them up to date.

My debug setup is somewhat unconventional because I don't start the DLL from a mixed engine/dll project, I build the dll in its own project and copy the files to the mod directory in a post-build command. When the debugger starts it starts whatever engine I choose and the command line tells the engine what mod to run. It was the most straightforward way I could come up with to build several mods without a lot of setup.

149
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: May 22, 2016, 01:51:22 PM »
Tested q2pro on Windows talking to r1q2 server on Windows and it displays OK. I don't have an easy way to set up a Linux server just now.

I think those are single-quotes, not commas. This needs more testing.

I'd like you to remove the \n in the

safe_cprintf(ent, PRINT_HIGH, "%s - '%s'   \n", maplist->mapname, maplist->mapnick);

in Cmd_MapVote function and rebuild to be sure it's not a server problem... this will revert the change and make the mapvote list spammy on the console again. It's the only thing that changed the way the list is displayed.

I'm wondering about the map list file... could there be something in that file that's creating blank strings that the loader is seeing? Zip up your maplist file and attach it. I want to see it directly.

150
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: May 22, 2016, 12:48:04 PM »
Quote from: beaver{KEA} on May 22, 2016, 08:36:48 AM
Quote from: beaver{KEA} on May 22, 2016, 08:36:48 AM
made a short list. and only last map displays in console
Quote
andaction "DoJo MoJo"
baricade "Baricade"
fortsup "FortSupreme"
mactf05 "mirror"
gymctf2 "gymctf2"
nxctf4 "Heartless"
ul_ctf2 "instantBlues"
marics_ctf21 "VariationBlues"
lmctf39 "LMCTFBlues"



I see what you are saying but I am unable to duplicate it here. I used your long and short lists and it displays correctly here in my r1q2 client. Let me test with q2pro and see if it's a client-side thing.

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