Raised This Month: $66 Target: $400
 16% 

FakeMeta Research


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Technical/Development        Approver:   Hawk552 (427)
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 08-02-2007 , 19:33   FakeMeta Research
Reply With Quote #1

Code:
/*
 * FAKEMETA RESEARCH  (v1.0)
 * by Wilson [29th ID]
 * 
 * www.29th.org
 *
 * DESCRIPTION
 * This plugin allows developers to research through fakemeta several 
 * times quicker than they would normally take, by coding an entire
 * test plugin just to find a PEV value, or ES/CD setting, or alter 
 * the said variables, or find that specific PDATA offset. FM Research
 * allows you to read, set, log, and compare these values dynamically
 * in game.
 *
 * USAGE
 *
 * PEV
 * Read: fm_pev <ent> <member> read
 * Set: fm_pev <ent> <member> <arg1> <arg2> <arg3>
 *
 * ClientData (CD)
 * Read: fm_cd <ent> <member> read
 * Set: fm_cd <ent> <member> <arg1> <arg2> <arg3>
 *
 * EntityState (ES)
 * Read: fm_cd <ent> <member> read
 * Set: fm_cd <ent> <member> <arg1> <arg2> <arg3>
 *
 * Pdata
 * Read: fm_pdata <ent> <offset> read
 * Set: fm_pdata <ent> <offset> <arg>
 *
 * Pdata Ranges
 * Log: fm_pdata_log <ent> <low> <high>
 * Read: fm_pdata_log <ent> <low> <high> console
 * Store: fm_pdata_log <ent> <low> <high> store
 * Compare: fm_pdata_log <ent> <low> <high> compare
 * Search: fm_pdata_search <ent> <low> <high> <target>
 *
 * SHORTCUTS
 * -For the <ent> argument, you can use keywords such as "id", "me", "wpn", "gun"
 * -The pdata argument "console" can be replaced by "con"
 * -To reset ClientData or EntityState data, use the "read" argument at the end, or the "reset" argument.
 *
 * NOTE
 * If you are using Day of Defeat, uncomment the line at the very top of the plugin that says "Uncomment"
 */
Something I've been working on for a while now - started to help myself but then realised there was not really another plugin out there that did this for everyone..So I made it more user-friendly in hopes that it can help others out as much as it has me.

Examples
Altering your origin
fm_pev me pev_origin 124 832 15

Altering your animation
fm_es me es_sequence 9

Making another player hold a punchangle
fm_cd 3 cd_punchange 120 120 50

Finding your weapon's pdata offset that holds the clip ammo
fm_pdata_search wpn 75 125 8

Finding out which pdata offset is different when you hold an awp and scope in with an awp
Non-Scoped: fm_pdata_log wpn 0 100 store
Scoped: fm_pdata_log wpn 0 100 compare

And so much more...
Attached Files
File Type: sma Get Plugin or Get Source (fmresearch.sma - 934 views - 32.1 KB)
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician

Last edited by Wilson [29th ID]; 08-13-2007 at 22:39.
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-02-2007 , 19:52   Re: FakeMeta Research
Reply With Quote #2

0o C00L...This will be very helpful! Gj man.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
stupok
Veteran Member
Join Date: Feb 2006
Old 08-13-2007 , 20:13   Re: FakeMeta Research
Reply With Quote #3

This sounds like a useful tool and I think I've figured out how to use it. However, it doesn't compile due to the error:

Code:
//// fmresearch.sma
// C:\hlserver\AMXX Scripting\fmresearch.sma(74) : fatal error 100: cannot read
from file: "fmresearch/constlist.inl"
//
// Compilation aborted.
// 1 Error.
// Could not locate output file C:\hlserver\AMXX Scripting\compiled\fmresearch.a
mx (compile failed).
__________________
stupok is offline
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 08-13-2007 , 22:25   Re: FakeMeta Research
Reply With Quote #4

Hah, wow. Fixed. I put the const inside the sma for simplicity.
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 08-14-2007 , 02:22   Re: FakeMeta Research
Reply With Quote #5

Will definetly test this when I get home.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
_Master_
Senior Member
Join Date: Dec 2006
Old 08-14-2007 , 07:18   Re: FakeMeta Research
Reply With Quote #6

Wilson I hope you do realize that with minor modifications and additions some users may begin to code 4-th(!) party scripts for this (such as heros for ex.)... All hell will break loose then... prepare yourself
_Master_ is offline
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 08-14-2007 , 18:25   Re: FakeMeta Research
Reply With Quote #7

Hah, master, I'm interested..what are you talking about?
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
_Master_
Senior Member
Join Date: Dec 2006
Old 08-15-2007 , 03:33   Re: FakeMeta Research
Reply With Quote #8

I'm talking about a cfg file with per-map settings for a specific(but not only) player.
Ex: A player is selected (via configurable algorithm) and his/hers pevs gets modified. Voila ! Your own custom hero, not limited by plugin design.

Players could be selected based on team, frags, deaths, IP, .... you get the idea. Variations on this are endless.
_Master_ is offline
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-15-2007 , 03:45   Re: FakeMeta Research
Reply With Quote #9

;)

good job.
X-Script is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 08-15-2007 , 13:36   Re: FakeMeta Research
Reply With Quote #10

I don't really understand the point of this:

Code:
if(!expr)     doStuff() else if(expr)     doOtherStuff()
Lee is offline
Reply


Thread Tools
Display Modes

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 07:31.


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