DOD Admin Spectate ESP
by strontiumdog · 2007-04-19 · 12 replies · 9790 views · 173 downloads
From the first post
rn
rnBut it works and runs on DoD. :)
rn
rnThis version has been edited to show green lines to an allied soldier and red lines to a axis one.
Archived builds from the server loose
These compiled builds sat loose in the server's script folder rather than attached to a post. They are matched to this release by comparing their decompiled Pawn against the source published above, so treat the attribution as strong but not certain. Versions come from the register_plugin() call recovered from the bytecode.
| admin_spec_esp_v1.2.sma | v1.2 | 21 KB | Download Compile | |
| admin_spec_esp_v1.2b.sma | v1.2b | 21 KB | Download Compile | |
| admin_spec_esp_v1.2e.sma | v1.2e | 21 KB | Download Compile | |
| admin_spec_esp_v1.2f.sma | v1.2f | 21 KB | Download Compile | |
| admin_spec_esp_v1.2h.sma | v1.2h | 22 KB | Download Compile | |
| admin_spec_esp_v1.2i.sma | v1.2i | 22 KB | Download Compile | |
| admin_spec_esp_v1.2j.sma | v1.2j | 22 KB | Download Compile |
The thread
All 13 posts from 5 people on DOD Admin Spectate ESP, kept as they were written.
Threads: 6
Joined: Nov 2006
Not mine. rnrnBut it works and runs on DoD. :) rnrnThis version has been edited to show green lines to an allied soldier and red lines to a axis one.
Threads: 12
Joined: Aug 2005
It's working wellnbut I get errornnn
L 04/19/2007 - 22:47:47: [AMXX] Run time error 4 (plugin "sea_spec_esp.amxx") - debug not enabled!nL 04/19/2007 - 22:47:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Threads: 54
Joined: May 2005
It's working wellnbut I get errorn nsee how it says enable debug in your error message ??n nin your plugins.ini file.. find the listed plugin and ADD the word debugn nthen play some more and let the error occur again... and then this time.. post a "proper" error message that actually tells him what the error is and where in the code the error comes from... without that it is impossible for the author, another coder, or yourself to know what exactly is to blame ... and then how to "fix"
Threads: 0
Joined: Jan 2005
Hi Zor (or anyone who ahs this plugin working), can you please post the versions of MM and AMXX that you use?rnrnAs some others I don't seem to be able to get any reaction to "esp_menu" at all :(rnrnAlso the esp_... don't show up in amx_help.rnrnThis is what I tried:rnrn- Admin levels H, G and T are granted, checked by amx_whornrn- Checked that all necessary modules and plugins are loaded OKrnrn- Changed level H to G in the plugin codernrnI am using AMX Mod X 1.76a and Metamod v1.19.
Threads: 6
Joined: Nov 2006
It's working wellrnbut I get errorrnrnOKrnI have uploaded the latest working one (in first post) and it doesn't bring up the error any more.rnrnRuns on 1.70 and 1.76c happily, with no errors.rn(Metamod 1.19)
Threads: 6
Joined: Nov 2006
Hi Zor (or anyone who ahs this plugin working), can you please post the versions of MM and AMXX that you use?rnrnAs some others I don't seem to be able to get any reaction to "esp_menu" at all :(rnrnAlso the esp_... don't show up in amx_help.rnrnThis is what I tried:rnrn- Admin levels H, G and T are granted, checked by amx_whornrn- Checked that all necessary modules and plugins are loaded OKrnrn- Changed level H to G in the plugin codernrnI am using AMX Mod X 1.76a and Metamod v1.19.rnrnAre you talking about Zor's version or this version which is different? I couldn't get Zor's to work properly, but this one was located deep in the AMXX forums and needed some editing for DoD....!
Threads: 0
Joined: Jan 2005
Are you talking about Zor's version or this version which is different? I couldn't get Zor's to work properly, but this one was located deep in the AMXX forums and needed some editing for DoD....!rnrnWell, of course I posted in the wrong one of both threads :(rnrnI was referring to ZOR's version. I am already running the Version that someone (you?) made from Kost's code, which I got from the AMXX forums if I remember correctly. I have some error messages appearing all the time plus after ~45mins it often does not work any more - so I am looking for alternatives... rnrnZOR's version also adds a few twists like not needing to go to spectator, so I am trying to get it to work. Only if I can't get it to work I'll try more debugging on the issues that I have with the modified Kost version...rnrnAnyway, I am currently in the prioess of working through the code step by step and finding out, why it does not do anything on my side. Already I have it working somehow after removing many lines that cause the procedures to terminate if certain conditions are not present. So that emans at least one of these conditions is for soem reason not "true"... I am trying to find out which one by removing them step by step. maybe this will give some insight into the root cause...rnrnAnyway, I really hope I get this runing, because somehow since the last DOD update no "real" Wallhack that I tried for watching my HLTV-Demos did work ny more... all crash to the desktop :( Dis anyone else notice something like this? Or can anyone recommend a certain way how to view demos (HLTV demos specifically)
Threads: 0
Joined: Jan 2005
Some updates on my troubleshooting:rnrnOn many of the subroutines of the Zor plugin these conditions lead to premature exit:rnrnif(!get_cvar_num("esp_active") || !g_can_spectate[id] || !(get_user_flags(id)&ADMIN_LEVEL_H)) return PLUGIN_HANDLEDrnrnAdding a few client_print commands showas that the "g_can_spectate" seems to be the issue:rnrnget_cvar_num("esp_active") = 1rng_can_spectate[id] = 0rn(get_user_flags(id)&ADMIN_LEVEL_H) = 524288rnrnSo the next step is to have a look at why "g_can_spectate" fails...
Threads: 0
Joined: Jan 2005
It seems that in my server configuration some routines that I would have expected to be called are not called at all:rnrnclient_spawnrnclient_changeteamrnrnThis is a pity, because this is the only place where "g_can_spectate" gets set to "1" :(rnrnWell, let's find out why these routines are not called...
Threads: 0
Joined: Jan 2005
OK, I found the root cause: rnrnhttps://www.dodplugins.net/forums/archive/index.php/t-5.htmlrnrninstead of client_spawn and client_changeteam you have to use dod_client_spawn and dod_client_changeteam for the newest AMXX :)rnrnWell, I'll post this to the correct thread now, I just noticed I was writing in the "wrong" thread again all the time ;)
Threads: 103
Joined: May 2005
the dod_client_spawn doesnt get called after 'respawning' after a round has ended.. so you might wanna hook ResetHudnntho i think zor fixed it but for the most part we have to wait till the next amxx version (hopefully) :-(
Threads: 0
Joined: Jan 2005
the dod_client_spawn doesnt get called after 'respawning' after a round has ended.. so you might wanna hook ResetHudrnrnrnI thought using ResetHud was bad style? ;)
Threads: 103
Joined: May 2005
well it is sorta.. but its not really bad if you throw in a few lines of code to block the fullupdate client command..

