standalone timer?

Started by eMTi
21/02/2008 22:51
Page 1 of 2
eMTi21/02/2008 22:51

Hi everybody :)

Just wondering if anyone has a standalone amxx Timer which works through walls. There's no need for top15's and stuff like that.. Just push the button "Timer started" --> push endbutton "eMti finished in xx:xx!"

the only thing that could be nice if there was a amx msg that shows me the time. (should be over the hud round timer).

thanks alot in advance

eMTi23/02/2008 16:26

oh really so many? :D

PrEn1uMz24/02/2008 00:05

havent tried but it should work
http://preniumz.ampaste.net/137631

cC|Nikolaa24/02/2008 11:47

well when i pressed the start button once I got:
[AmxModX] Timer started 5 times ..

when i finished map 20064166:-37 but i did it in ~20 secs

and i get:


L 02/24/2008 - 12:45:50: [AMXX] Run time error 4 (plugin "timer.amxx") - debug not enabled!
L 02/24/2008 - 12:45:50: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/24/2008 - 12:45:50: [AMXX] Run time error 4 (plugin "timer.amxx") - debug not enabled!
L 02/24/2008 - 12:45:50: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/24/2008 - 12:45:50: [AMXX] Run time error 4 (plugin "timer.amxx") - debug not enabled!
L 02/24/2008 - 12:45:50: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/24/2008 - 12:45:50: [AMXX] Run time error 4 (plugin "timer.amxx") - debug not e

with debug:


L 02/24/2008 - 12:46:55: [AMXX] Displaying debug trace (plugin "timer.amxx")
L 02/24/2008 - 12:46:55: [AMXX] Run time error 4: index out of bounds
L 02/24/2008 - 12:46:55: [AMXX] [0] timer.sma::tskHudMsg (line 96)
L 02/24/2008 - 12:46:55: [AMXX] Displaying debug trace (plugin "timer.amxx")
L 02/24/2008 - 12:46:55: [AMXX] Run time error 4: index out of bounds
L 02/24/2008 - 12:46:55: [AMXX] [0] timer.sma::tskHudMsg (line 96)
L 02/24/2008 - 12:46:55: [AMXX] Displaying debug trace (plugin "timer.amxx")
L 02/24/2008 - 12:46:55: [AMXX] Run time error 4: index out of bounds
L 02/24/2008 - 12:46:55: [AMXX] [0] timer.sma::tskHudMsg (line 96)
L 02/24/2008 - 12:46:55: [AMXX] Displaying debug trace (plugin "timer.amxx")
L 02/24/2008 - 12:46:55: [AMXX] Run time error 4: index out of bounds
L 02/24/2008 - 12:46:55: [AMXX] [0] timer.sma::tskHudM

but when i finished map in 35 secs, then in 20 it showed me u finished map with 15 secs faster

PrEn1uMz25/02/2008 00:09(edited 25/02/2008 00:23)

Oo lol sry I did it really fast. I'm gonna try and I'll release a good version

edit: there was a lot of noob error lol sorry now it should work
http://preniumz.ampaste.net/137891

Fatalis25/02/2008 07:17(edited 25/02/2008 07:17)

http://fatalis.ampaste.net/138011

eMTi25/02/2008 15:20

thanks a lot guys, havent tested until now, since i'm at work, but i will do it when im back home in about 5 hours :O

do they work through walls?

SchlumPF25/02/2008 16:24

fatalis should i think (never used the hamsandwich module so i cant say it for sure)

cC|Nikolaa25/02/2008 17:08

Originally posted by eMTi
thanks a lot guys, havent tested until now, since i'm at work, but i will do it when im back home in about 5 hours :O

do they work through walls?


I have only tested PrEn1uMz but it doesn't work trought walls (tested on kz_dbh_pipehop)

stask0 Tournament #211/03/2008 22:31

Originally posted by PrEn1uMz
Oo lol sry I did it really fast. I'm gonna try and I'll release a good version

edit: there was a lot of noob error lol sorry now it should work
http://preniumz.ampaste.net/137891



cant compile it :D it says:
undefinded symbol "get_pcvar_num" - line 38
invalid expression, assumed zero - line 98
undefinded symbol "tskHudMsg" - line 98
local variable "id" shadows a variable at a preceding level - line 100

:o

cC|Nikolaa12/03/2008 15:03

http://www.amxmodx.org/webcompiler.cgi?go=dl&id=280010

stask0 Tournament #212/03/2008 15:56(edited 12/03/2008 15:57)

This file does not exist or has expired past its time limit.

358496 successful compiles to date.
205626 failed compiles to date.
Old compiler: 101980 compiles before decommission.
This tool by: David "BAILOPAN" Anderson.
© Copyright 2003-2008 by the AMX Mod X Dev Team

:SSSSSSSSSSSSSSSSSSSSSSSSSSSS

i feel so lucky... not

cC|Nikolaa12/03/2008 16:12

well go to the webcompiler and paste the code then press 'Compile' or w/e is the name of the button ..

stask0 Tournament #212/03/2008 18:23(edited 12/03/2008 18:23)

Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/amxmodx/tmp3/textbvhOIq.sma(73) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/textbvhOIq.sma(80) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/textbvhOIq.sma(98) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/textbvhOIq.sma(98) : error 029: invalid expression, assumed zero
/home/groups/amxmodx/tmp3/textbvhOIq.sma(98) : error 017: undefined symbol "tskHudMsg"
/home/groups/amxmodx/tmp3/textbvhOIq.sma(120) : error 001: expected token: "}", but found "-end of file-"

3 Errors.
Could not locate output file /home/groups/amxmodx/public_html/websc3/textbvhOIq.amx (compile failed).

;DDDDD

cC|Nikolaa12/03/2008 19:40

its ur error cuz i can compile it w/o any errors there.. go to the ampaste.net website + link type 'edit' and grab the code to the amxmodx.org's compiler...

stask0 Tournament #212/03/2008 22:36

lol thx it worked =) anyway it could be of my amxx version im using 1.76d or "c" dunno ... :P thx again :D

Caffeine14/03/2008 04:23

http://preniumz.ampaste.net/142776

- ProKreedz 1.0 mini

Caffeine16/03/2008 09:41(edited 16/03/2008 09:42)

http://caffeine.ampaste.net/143370

why not only use the set_task(1.0,...)?

it works fine!

maniac19/03/2008 21:55

nice! thx caffeine!
but can you please modify it so that you can reset the timer? or that it resets by pressing the start button?

Caffeine20/03/2008 02:12(edited 20/06/2009 03:40)

maniac, http://caffeine.ampaste.net/144348

just remove && !timer_started[id] @ 55.


// Edit

Download: http://two.xthost.info/caffeine/timer20081023.rar http://two.xthost.info/caffeine/timer20081025.rar

Page 1 of 2

Please log in to post replies.