Raised This Month: $32 Target: $400
 8% 

Back Weapons v1.87


Post New Thread Reply   
 
Thread Tools Display Modes
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 04-13-2007 , 03:03   Re: Back Weapons
Reply With Quote #101

Does this plugin still crash the server? Or is post #41 the most updated version?
P4rD0nM3 is offline
loren28
Senior Member
Join Date: Nov 2006
Old 04-13-2007 , 04:56   Re: Back Weapons
Reply With Quote #102

mistake sorry

Last edited by loren28; 04-13-2007 at 04:58. Reason: sorry mistake
loren28 is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 04-14-2007 , 16:30   Re: Back Weapons
Reply With Quote #103

Hey I tried the plguin on #41 with a Windows Server from Nuclear Fallout...it crashes when a player joins but runs fine on default server settings.
P4rD0nM3 is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 04-14-2007 , 17:20   Re: Back Weapons
Reply With Quote #104

Quote:
Originally Posted by AIA-Shogun View Post
hello all,

version 1.2 ok on my server, very nice good job
notice : just one thing, with chicken mod, the weapon fly top of the chicken.
It should take care about the model's size of the player. The same happens with he_arena and ChickenMod.

About that crash thing - I would suggest to use is_valid_ent(end_id) everytime before You are using remove_entity. Maybe it will help a bit. At the beginning I would suggest to try with these functions:
Code:
public client_connect(id)
{
	if(g_bwEnt[id] > 0)
	{
		if (is_valid_ent(g_bwEnt[id]))
			remove_entity(g_bwEnt[id])
	}
	g_bwEnt[id] = 0
}

public client_disconnect(id)
{
	if(g_bwEnt[id] > 0)
	{
		if (is_valid_ent(g_bwEnt[id]))
			remove_entity(g_bwEnt[id])
	}
	g_bwEnt[id] = 0
}

public client_PreThink(id)
{
	if(!is_user_connected(id))
		return PLUGIN_CONTINUE
	
	if(!is_user_alive(id) && g_bwEnt[id] > 0)
	{
		if (is_valid_ent(g_bwEnt[id]))
			remove_entity(g_bwEnt[id])

		g_bwEnt[id] = 0
		
		return PLUGIN_CONTINUE
	}
	
	if(!cs_get_user_hasprim(id) && g_bwEnt[id] > 0)
	{
		if (is_valid_ent(g_bwEnt[id]))
			remove_entity(g_bwEnt[id])
		g_bwEnt[id] = 0
		
		return PLUGIN_CONTINUE
	}
(...)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
xconrob
Member
Join Date: Mar 2007
Old 04-15-2007 , 12:45   Re: Back Weapons
Reply With Quote #105

wow very sick plugin
excellent job man
GET THOSE OTHER MODELS UP N RUNNING
xconrob is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 04-16-2007 , 19:55   Re: Back Weapons
Reply With Quote #106

Did it run for you?
P4rD0nM3 is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 04-17-2007 , 03:52   Re: Back Weapons
Reply With Quote #107

@P4rD0nM3 - try this version (but use modeles from the first post).
It works on my DS with AMX X 1.76d, pb mm V3B18c and CSDM 2.1h (beta).
Attached Files
File Type: sma Get Plugin or Get Source (backweapons.sma - 1592 views - 5.0 KB)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
xconrob
Member
Join Date: Mar 2007
Old 04-17-2007 , 16:56   Re: Back Weapons
Reply With Quote #108

Quote:
Originally Posted by P4rD0nM3 View Post
Did it run for you?


hey i posted to quick was working fine for a short while
then it seemed like a major lag spike and then crashed
I took off the plugin and voila problem solves wow i really liked this plugin too plus some dl time for me
xconrob is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 04-18-2007 , 13:37   Re: Back Weapons
Reply With Quote #109

Well, I'm going to try KWo's revised plugin since we basically have almost the same main server plugins.
P4rD0nM3 is offline
loren28
Senior Member
Join Date: Nov 2006
Old 04-18-2007 , 16:32   Re: Back Weapons
Reply With Quote #110

OK KWO your backweapons plugin works fine whit pb mm V3B18c and not crashing my server but my fps and cpu goes wild .fps goes up an down and cpu thesame.and my ping goes to 100 or 50 or 20 very fast in short period of time[in usual not going most of 30 ].

Last edited by loren28; 04-18-2007 at 18:05. Reason: corection
loren28 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 21:31.


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