Raised This Month: $12 Target: $400
 3% 

FragLock (Battle Recorder)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Statistical       
Podunk
Senior Member
Join Date: Nov 2005
Location: Florida
Old 06-16-2007 , 13:45   FragLock (Battle Recorder)
Reply With Quote #1

What: records battles on a mysql database.
Why: Watch overhead views of battles on a webpage
Credits: Most of the SQL stuff is from XxAvalanchexX's gungame_sql plugin. Thanks XxAvalanchexX
I'll be working on the web part of it over the next few weeks. (im a semi newb at flash so it may take a bit )

Code:
fl_sql_host 	"127.0.0.1"
fl_sql_user		""
fl_sql_pass		""
fl_sql_db		""
fl_sql_table	"fraglock_data"
fl_sql_updaterate	10.0
changelog:
0.1
inital version
0.2
+now records aim coords for players (thanks anssik and Alka)
+now records the "battle id" in a seperate table, everything in the tables are linked by the battleid
+now records deaths - pos and aim of attacker and victim and game time
-changed default updaterate to 10 seconds
Attached Files
File Type: sma Get Plugin or Get Source (fraglock.sma - 1067 views - 7.5 KB)
__________________
Check out my website at http://matthewmiller.info

Last edited by Podunk; 06-21-2007 at 21:14. Reason: new version
Podunk is offline
Send a message via MSN to Podunk
Juba_PornBorn
BANNED
Join Date: Apr 2007
Location: Caracas
Old 06-16-2007 , 14:10   Re: FragLock (Battle Recorder)
Reply With Quote #2

explain a litle bit better Im not sure I understand it. What is Fraglock?
Records batles in what sense?
Juba_PornBorn is offline
Send a message via MSN to Juba_PornBorn
Podunk
Senior Member
Join Date: Nov 2005
Location: Florida
Old 06-16-2007 , 14:12   Re: FragLock (Battle Recorder)
Reply With Quote #3

it takes each players info such as hp and location and pushes that into a database table

I'll have the web side of it ready in the future so that battles can be seen/watched/analyzed on a webpage
__________________
Check out my website at http://matthewmiller.info
Podunk is offline
Send a message via MSN to Podunk
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 06-16-2007 , 17:03   Re: FragLock (Battle Recorder)
Reply With Quote #4

Juba, he means in future he will create something to be able to watch game play as it happens on the web. Similar to Olo's Jaba TV: http://www.olo.counter-strike.pl/index.php?page=jabatv
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Podunk
Senior Member
Join Date: Nov 2005
Location: Florida
Old 06-16-2007 , 18:27   Re: FragLock (Battle Recorder)
Reply With Quote #5

lol seems everything i made someone has thought of it and done it already.

oh well, I guess the difference here is its an amxmodx plugin as opposed to a metamod plugin

edit: I think ill go the ajax route too
__________________
Check out my website at http://matthewmiller.info
Podunk is offline
Send a message via MSN to Podunk
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 06-16-2007 , 19:16   Re: FragLock (Battle Recorder)
Reply With Quote #6

Yea I have no idea if that one still works or not "(last update 24.10.2004)", but maybe could give you some ideas or whatnot.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Podunk
Senior Member
Join Date: Nov 2005
Location: Florida
Old 06-16-2007 , 20:08   Re: FragLock (Battle Recorder)
Reply With Quote #7

the screenshots the author has up looks like what I want
__________________
Check out my website at http://matthewmiller.info
Podunk is offline
Send a message via MSN to Podunk
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 06-16-2007 , 20:16   Re: FragLock (Battle Recorder)
Reply With Quote #8

Yeah it's good if you can make it for flash, it's much better than some laggy Java. Using AJAX , that sounds good. I'll be looking forward to this plugin.

EDIT: Maybe you could use get_user_origin(index,origin[3],1) to get coords where a player is aiming at. That way you can get the FOV in the web app.

Quote:
Originally Posted by AMXX Function Wiki
get_user_origin ( index, origin[3], [ mode = 0 ] )

If mode is passed, the origin changes:
0 - current position (Default)
1 - Position from eyes (weapon aiming)
2 - End position from player position
3 - End position from eyes (hit point for weapon)
4 - Position from last bullet hit (only CS)
__________________

Last edited by anssik; 06-16-2007 at 20:35.
anssik is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 06-17-2007 , 03:25   Re: FragLock (Battle Recorder)
Reply With Quote #9

Code:
new origin[3]
get_user_origin(id, origin, 3)
Origin where player aiming at!

You can get FOV this way ,with fakemeta :
Code:
new fov
fov = pev(id, pev_fov)
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Podunk
Senior Member
Join Date: Nov 2005
Location: Florida
Old 06-17-2007 , 06:21   Re: FragLock (Battle Recorder)
Reply With Quote #10

so FOV is where the player is looking/aiming? maybe i can make the application draw a line from the dot (the player) to where he/she is aiming?
__________________
Check out my website at http://matthewmiller.info
Podunk is offline
Send a message via MSN to Podunk
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode