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

[CS:S/CS:GO/TF2] shavit's bhoptimer (v2.5.5a 08/August/2019)


Post New Thread Reply   
 
Thread Tools Display Modes
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-31-2015 , 13:55   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #261

Quote:
Originally Posted by Kruzi View Post
Compile this plugin and add it to your server:
Code:
#include <sourcemod>
#include <shavit>
#include <hgr>

public Action HGR_OnClientHook(int client)
{
	Shavit_StopTimer(client);
	
	return Plugin_Continue;
}

public Action HGR_OnClientRope(int client)
{
	Shavit_StopTimer(client);
	
	return Plugin_Continue;
}
__________________
retired
shavit is offline
OSWO
Senior Member
Join Date: Jul 2015
Location: United Kingdom, London
Old 10-31-2015 , 14:59   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #262

Will it be possible to add a new ZoneType: "level" or "checkpoint"

When a player passes through it, and dies - I want to be able to get their level and teleport them to their last "level" zone.

I currently have made a plugin like that for Zipcore's and was looking if I could port that into here.

Last edited by OSWO; 10-31-2015 at 14:59.
OSWO is offline
ofir753
Senior Member
Join Date: Aug 2012
Old 10-31-2015 , 16:37   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #263

Quote:
Originally Posted by OSWO View Post
Will it be possible to add a new ZoneType: "level" or "checkpoint"

When a player passes through it, and dies - I want to be able to get their level and teleport them to their last "level" zone.

I currently have made a plugin like that for Zipcore's and was looking if I could port that into here.
You can a module for that
ofir753 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-31-2015 , 18:02   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #264

Quote:
Originally Posted by OSWO View Post
Will it be possible to add a new ZoneType: "level" or "checkpoint"

When a player passes through it, and dies - I want to be able to get their level and teleport them to their last "level" zone.

I currently have made a plugin like that for Zipcore's and was looking if I could port that into here.
I don't see why couldn't you make it a module for my timer.
__________________
retired
shavit is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-31-2015 , 23:51   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #265

I made a web interface for the timer; https://github.com/shavitush/bhoptim...ster/webserver
Sample video: http://cdn.shigetora.pw/v/umorglc.mp4
__________________
retired
shavit is offline
Kruzi
Senior Member
Join Date: Dec 2014
Location: Kyiv, Ukraine
Old 11-01-2015 , 06:29   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #266

Quote:
Originally Posted by shavit View Post
Compile this plugin and add it to your server:
Code:
#include <sourcemod>
#include <shavit>
#include <hgr>

public Action HGR_OnClientHook(int client)
{
	Shavit_StopTimer(client);
	
	return Plugin_Continue;
}

public Action HGR_OnClientRope(int client)
{
	Shavit_StopTimer(client);
	
	return Plugin_Continue;
}
Thank you very much!
I tryed to add message but it called all times when using +hook.
How i can check that timer is on? TY
Code:
#include <sourcemod>
#include <shavit>
#include <hgr>

public Action HGR_OnClientHook(int client)
{
	Shavit_StopTimer(client);
	PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX);
	
	return Plugin_Continue;
}

public Action HGR_OnClientRope(int client)
{
	Shavit_StopTimer(client);
	PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX);
	
	return Plugin_Continue;
}

Last edited by Kruzi; 11-01-2015 at 06:29.
Kruzi is offline
ofir753
Senior Member
Join Date: Aug 2012
Old 11-01-2015 , 07:03   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #267

Quote:
Originally Posted by Kruzi View Post
Thank you very much!
I tryed to add message but it called all times when using +hook.
How i can check that timer is on? TY
Code:
#include <sourcemod>
#include <shavit>
#include <hgr>

public Action HGR_OnClientHook(int client)
{
	Shavit_StopTimer(client);
	PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX);
	
	return Plugin_Continue;
}

public Action HGR_OnClientRope(int client)
{
	Shavit_StopTimer(client);
	PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX);
	
	return Plugin_Continue;
}
Code:
#include <sourcemod>
#include <shavit>
#include <hgr>

public Action HGR_OnClientHook(int client)
{
	if(IsTimerAcitve(client))
	{
		Shavit_StopTimer(client);
		PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX);
	}
	
	return Plugin_Continue;
}

public Action HGR_OnClientRope(int client)
{
	if(IsTimerAcitve(client))
	{
		Shavit_StopTimer(client);
		PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX);
	}
	
	return Plugin_Continue;
}

public bool IsTimerActive(client)
{
	float time;
	int jumps;
	BhopStyle style;
	bool started;
	Shavit_GetTimer(client, time, jumps, style, started);
	return started;
}
ofir753 is offline
Kruzi
Senior Member
Join Date: Dec 2014
Location: Kyiv, Ukraine
Old 11-01-2015 , 10:58   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #268

Quote:
Originally Posted by ofir753 View Post
Code:
#include <sourcemod>
#include <shavit>
#include <hgr>

public Action HGR_OnClientHook(int client)
{
	if(IsTimerAcitve(client))
	{
		Shavit_StopTimer(client);
		PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX);
	}
	
	return Plugin_Continue;
}

public Action HGR_OnClientRope(int client)
{
	if(IsTimerAcitve(client))
	{
		Shavit_StopTimer(client);
		PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX);
	}
	
	return Plugin_Continue;
}

public bool IsTimerActive(client)
{
	float time;
	int jumps;
	BhopStyle style;
	bool started;
	Shavit_GetTimer(client, time, jumps, style, started);
	return started;
}
2 Errors. Undefinite symbol "IsTimerActive"
Kruzi is offline
ofir753
Senior Member
Join Date: Aug 2012
Old 11-01-2015 , 12:02   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #269

Quote:
Originally Posted by Kruzi View Post
2 Errors. Undefinite symbol "IsTimerActive"
Code:
#include <sourcemod>
#include <shavit>
#include <hgr>

public Action HGR_OnClientHook(int client)
{
	if(IsTimerActive(client))
	{
		Shavit_StopTimer(client);
		PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX);
	}
	
	return Plugin_Continue;
}

public Action HGR_OnClientRope(int client)
{
	if(IsTimerActive(client))
	{
		Shavit_StopTimer(client);
		PrintToChat(client, "%s \x02Время остановлено из-за паутинки", PREFIX);
	}
	
	return Plugin_Continue;
}

public bool IsTimerActive(client)
{
	float time;
	int jumps;
	BhopStyle style;
	bool started;
	Shavit_GetTimer(client, time, jumps, style, started);
	return started;
}
ofir753 is offline
Samatazz
Member
Join Date: Dec 2014
Location: Australia
Old 11-28-2015 , 03:06   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #270

Very solid plugin you got here mate!
Its very simple and well put together, I cant wait for ranks and stages to be added once thats added it will be the best bhop timer out and ill most certainly donate when i get spare funds!
Also one suggestion that annoys almost everyone on bhop servers is the way with the maps you can accidentally fallback levels (especially with autohop) so i was thinking maybe if when you add them once you hit a level it like saves you're upto that level and if you hit and levels below your current one it automatically teleports you to the level you were on without stopping your timer cause that would be amazing.
Samatazz 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 20:34.


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