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

DOD Admin Spectate ESP

by strontiumdog · 2007-04-19 · 12 replies · 9790 views · 173 downloads

Read the thread (13 posts)

From the first post

Not mine.
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.

Files

sea_spec_esp.sma Plugin Source 28 KB 173 dl Download Compile

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.

strontiumdog
started this thread
Posts: 27
Threads: 6
Joined: Nov 2006
04-19-2007, 10:21 AM #1

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.

D dannyowan
posted here
Posts: 54
Threads: 12
Joined: Aug 2005
04-19-2007, 11:35 AM #2

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).
=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
04-19-2007, 04:15 PM #3
It's working wellnbut I get error
n 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"

G Grottenolm
posted here
Posts: 21
Threads: 0
Joined: Jan 2005
04-30-2007, 09:44 PM #4

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.

strontiumdog
started this thread
Posts: 27
Threads: 6
Joined: Nov 2006
05-01-2007, 01:52 AM #5
It's working wellrnbut I get error
rnrnOKrnI 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)

strontiumdog
started this thread
Posts: 27
Threads: 6
Joined: Nov 2006
05-01-2007, 01:55 AM #6
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....!

G Grottenolm
posted here
Posts: 21
Threads: 0
Joined: Jan 2005
05-01-2007, 08:54 AM #7
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)

G Grottenolm
posted here
Posts: 21
Threads: 0
Joined: Jan 2005
05-01-2007, 02:59 PM #8

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...

G Grottenolm
posted here
Posts: 21
Threads: 0
Joined: Jan 2005
05-01-2007, 06:39 PM #9

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...

G Grottenolm
posted here
Posts: 21
Threads: 0
Joined: Jan 2005
05-01-2007, 06:49 PM #10

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 ;)

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
05-01-2007, 06:54 PM #11

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) :-(

G Grottenolm
posted here
Posts: 21
Threads: 0
Joined: Jan 2005
05-02-2007, 06:01 PM #12
the dod_client_spawn doesnt get called after 'respawning' after a round has ended.. so you might wanna hook ResetHudrn
rnrnI thought using ResetHud was bad style? ;)

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
05-02-2007, 07:41 PM #13

well it is sorta.. but its not really bad if you throw in a few lines of code to block the fullupdate client command..

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