Raised This Month: $51 Target: $400
 12% 

AFK Bomb Transfer v0.4


Post New Thread Reply   
 
Thread Tools Display Modes
VEN
Veteran Member
Join Date: Jan 2005
Old 02-20-2006 , 13:56  
Reply With Quote #11

1. Will do. Already know but old habbits still control my coding. :)

2. Will do.

3. These define constants determines CVAR name and CVAR value. I.e. you can change CVAR name "afk_bombtransfer_spawn" to "hello" and it's default value from "7" to "5". Maybe i just didn't get what you mean. Probably i'll add separate CVARs section.

4. Yes, i thought about that but (i guess) i need at least entity validity check to switch to fakemeta.
Current official fakemeta module version haven't is_valid_ent-analogous function but i've requested it and Bail already added it to the CVS (i believe).
If you or someone else can offer me a workaround it would be nice.

Thanks.
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-05-2006 , 05:46  
Reply With Quote #12

Version 0.2 released!


Warning
  • to ensure AMXX 1.70 compatibility it's necessary to uprade to the version 0.2
Changelog
  • fixed format issue
    code optimized
    description improved
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-06-2006 , 05:29  
Reply With Quote #13

Version 0.3 released!

Changelog
  • - now fakemeta instead of engine required (efficiency++ if engine is disabled)
    - "non-bomb map" check can be disabled (//#define BOMB_MAP_CHECK)
    - backpack finding method improved
    - few code optimization
    - added comments to the plugin source code
VEN is offline
Trip~Hazard
Senior Member
Join Date: Jun 2004
Location: North Carolina
Old 05-08-2006 , 11:19  
Reply With Quote #14

I am getting major log spam with these:
Quote:
L 05/08/2006 - 00:01:02: [AMXX] Displaying debug trace (plugin "afkbombtransfer.amxx")
L 05/08/2006 - 00:01:02: [AMXX] Run time error 4: index out of bounds
L 05/08/2006 - 00:01:02: [AMXX] [0] phpcUsjBL.sma::logevent_round_start (line 153)
Quote:
L 05/08/2006 - 00:01:02: [AMXX] Displaying debug trace (plugin "afkbombtransfer.amxx")
L 05/08/2006 - 00:01:02: [AMXX] Run time error 4: index out of bounds
L 05/08/2006 - 00:01:02: [AMXX] [0] phpcUsjBL.sma::task_afk_check (line 16
Code from #168 area of source with if (origin[0] != g_pos[x][0] || origin[1] != g_pos[x][1] || being line 168:
Code:
	// afk check
	new id[32], num, x, origin[3]
	get_players(id, num, "ae", TEAM)
	for (new i = 0; i < num; ++i) {
		x = id[i]
		get_user_origin(x, origin)
		if (origin[0] != g_pos[x][0] || origin[1] != g_pos[x][1] ||
		(x == g_carrier && g_planting)) {
			g_time[x] = 0
			g_pos[x][0] = origin[0]
			g_pos[x][1] = origin[1]
			if (g_spawn && x == g_carrier)
				g_spawn = false
		}
Thanks for any assistance with this.
__________________
Trip~Hazard is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-08-2006 , 11:53  
Reply With Quote #15

Reason #1: you changed MAX_PLAYERS defined constant
Reason #2: webcompiler messed something again, compile locally

The code and plugin itself is fine.

edit: i've made a "silent" update ("cosmetic" change), try again (another users shouldn't bother).
VEN is offline
Trip~Hazard
Senior Member
Join Date: Jun 2004
Location: North Carolina
Old 05-08-2006 , 14:46  
Reply With Quote #16

Thx Ven. I did change to my actual max player count and I did web compile. I will use your default .sma and compile locally. Thx.
__________________
Trip~Hazard is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-08-2006 , 14:57  
Reply With Quote #17

Quote:
Originally Posted by Trip~Hazard
I did change to my actual max player count and I did web compile.
I'm glad my guess' was correct. ;)
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-26-2006 , 06:15  
Reply With Quote #18

Version 0.4 released!
  • backpack transfer method greatly improved
    added pcvar natives support (backward compatibility saved)
    few code optimization
VEN is offline
Inmate9
New Member
Join Date: Nov 2006
Old 11-24-2006 , 07:07   Re: AFK Bomb Transfer v0.4 - New Version Released!
Reply With Quote #19

Why i have this???
I type amxmodmenu than i press9 and 6...
in the end i have this
-> unknown eror
Why?

And i think this plugin is totaly cool!!!
Inmate9 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 11-24-2006 , 08:05   Re: AFK Bomb Transfer v0.4 - New Version Released!
Reply With Quote #20

Please go to your server console or use RCON and type "amxx plugins".
Copy/paste the output here (including errors at the bottom, if found).
VEN is offline
Reply



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 08:10.


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