Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

FakeMeta Research

by Wilson [29th ID] · 2007-08-03 · 6 replies · 8470 views · 56 downloads

Read the thread (7 posts)

From the first post

/*rn * FAKEMETA RESEARCH  (v1.0)rn * by Wilson [29th ID]rn * rn * www.29th.orgrn *rn * DESCRIPTIONrn * This plugin allows developers to research through fakemeta several rn * times quicker than they would normally take, by coding an entirern * test plugin just to find a PEV value, or ES/CD setting, or alter rn * the said variables, or find that specific PDATA offset. FM Researchrn * allows you to read, set, log, and compare these values dynamicallyrn * in game.rn *rn * USAGErn *rn * PEVrn * Read: fm_pev   readrn * Set: fm_pev     rn *rn * ClientData (CD)rn * Read: fm_cd   readrn * Set: fm_cd     rn *rn * EntityState (ES)rn * Read: fm_cd   readrn * Set: fm_cd     rn *rn * Pdatarn * Read: fm_pdata   readrn * Set: fm_pdata   rn *rn * Pdata Rangesrn * Log: fm_pdata_log   rn * Read: fm_pdata_log    consolern * Store: fm_pdata_log    storern * Compare: fm_pdata_log    comparern * Search: fm_pdata_search    rn *rn * SHORTCUTSrn * -For the  argument, you can use keywords such as "id", "me", "wpn", "gun"rn * -The pdata argument "console" can be replaced by "con"rn * -To reset ClientData or EntityState data, use the "read" argument at the end, or the "reset" argument.rn *rn * NOTErn * If you are NOT using Day of Defeat, comment the line at the very top of the plugin that says "Comment"rn */

rn
rnSomething 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.
rn
rnExamples
rnAltering your origin
rnfm_pev me pev_origin 124 832 15
rn
rnAltering your animation
rnfm_es me es_sequence 9
rn
rnMaking another player hold a punchangle
rnfm_cd 3 cd_punchange 120 120 50
rn
rnFinding your weapon's pdata offset that holds the clip ammo
rnfm_pdata_search wpn 75 125 8
rn
rnFinding out which pdata offset is different when you hold an awp and scope in with an awp
rnNon-Scoped: fm_pdata_log wpn 0 100 store
rnScoped: fm_pdata_log wpn 0 100 compare
rn
rnAnd so much more...

Files

fmresearch.sma v1.0 32 KB 56 dl Download Compile

The thread

All 7 posts from 3 people on FakeMeta Research, kept as they were written.

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
08-02-2007, 10:17 PM #1
rn/*rn * FAKEMETA RESEARCH  (v1.0)rn * by Wilson [29th ID]rn * rn * www.29th.orgrn *rn * DESCRIPTIONrn * This plugin allows developers to research through fakemeta several rn * times quicker than they would normally take, by coding an entirern * test plugin just to find a PEV value, or ES/CD setting, or alter rn * the said variables, or find that specific PDATA offset. FM Researchrn * allows you to read, set, log, and compare these values dynamicallyrn * in game.rn *rn * USAGErn *rn * PEVrn * Read: fm_pev <ent> <member> readrn * Set: fm_pev <ent> <member> <arg1> <arg2> <arg3>rn *rn * ClientData (CD)rn * Read: fm_cd <ent> <member> readrn * Set: fm_cd <ent> <member> <arg1> <arg2> <arg3>rn *rn * EntityState (ES)rn * Read: fm_cd <ent> <member> readrn * Set: fm_cd <ent> <member> <arg1> <arg2> <arg3>rn *rn * Pdatarn * Read: fm_pdata <ent> <offset> readrn * Set: fm_pdata <ent> <offset> <arg>rn *rn * Pdata Rangesrn * Log: fm_pdata_log <ent> <low> <high>rn * Read: fm_pdata_log <ent> <low> <high> consolern * Store: fm_pdata_log <ent> <low> <high> storern * Compare: fm_pdata_log <ent> <low> <high> comparern * Search: fm_pdata_search <ent> <low> <high> <target>rn *rn * SHORTCUTSrn * -For the <ent> argument, you can use keywords such as "id", "me", "wpn", "gun"rn * -The pdata argument "console" can be replaced by "con"rn * -To reset ClientData or EntityState data, use the "read" argument at the end, or the "reset" argument.rn *rn * NOTErn * If you are NOT using Day of Defeat, comment the line at the very top of the plugin that says "Comment"rn */rn
rnrnSomething 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.rnrnExamplesrnAltering your originrnfm_pev me pev_origin 124 832 15rnrnAltering your animationrnfm_es me es_sequence 9rnrnMaking another player hold a punchanglernfm_cd 3 cd_punchange 120 120 50rnrnFinding your weapon's pdata offset that holds the clip ammornfm_pdata_search wpn 75 125 8rnrnFinding out which pdata offset is different when you hold an awp and scope in with an awprnNon-Scoped: fm_pdata_log wpn 0 100 storernScoped: fm_pdata_log wpn 0 100 comparernrnAnd so much more...

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
08-03-2007, 12:30 AM #2

weeennFINALLYnn:P thanks wilson

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
08-13-2007, 10:24 PM #3

Updated - forgot to include the const list. Fixed.

ghzero
posted here
Posts: 160
Threads: 42
Joined: Sep 2007
03-11-2009, 02:45 PM #4

compiling of .sma failed:rn

rn//// fmresearch.smarn// c:!dokusAMXModX.orgcompilefmresearch.sma(936) : error 088: number of argrnments does not match definitionrn// c:!dokusAMXModX.orgcompilefmresearch.sma(998) : error 088: number of argrnments does not match definitionrn//rn// 2 Errors.rn// Could not locate output file compiledfmresearch.amx (compile failed).rn//rn// Compilation Time: 0,73 secrn// ----------------------------------------rn
rnrnline 936:rnget_pdata_string( m_pdata_ent, i, test_sz, 127 );rnrn..I changed it to the defaults of the missing parameters like:rnget_pdata_string( m_pdata_ent, i, test_sz, 127, 1, -5 );rnrn..but dont know if it work well with this (compile are succesfully!)

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
03-11-2009, 06:30 PM #5

in the version i have that works (i think its a bit older) the 2 lines that fail in the version of this thread look like this:nnget_pdata_string( m_pdata_ent, i, test_sz, 127, _, 4 );nnwhich basically means use the default byref value (which is 1) and then the linux offset which 99% of the time is 4

ghzero
posted here
Posts: 160
Threads: 42
Joined: Sep 2007
03-12-2009, 11:20 AM #6

allright ..remember that _ means the default value..rnrnwhat offset should I use to using fakemetaresearch.sma//.amx on my home-pc installation (windows) ?

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
03-12-2009, 11:58 AM #7

on windows it doesnt use the linux offset, only on linux...nnso no matter what number you have there it ignores it basically

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC