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

[Any] Dev Zones (Zones Manager with natives for developers) [Updated 30-Mar-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
404UserNotFound
BANNED
Join Date: Dec 2011
Old 01-25-2014 , 12:43   Re: [Any] Dev Zones (with natives for developers) v2.1.1
Reply With Quote #51

Quote:
Originally Posted by Franc1sco View Post
@Root_
Not advertise your plugin in my plugin thread, please
He's allowed to, and it's not advertising. He's trying to help that person out with their issue by showing them there is an alternative that they can try if this fails to work for whatever reason.

People post links to similar plugins in other people's threads. It's part of the forums. I'm pretty sure people posted links to similar Boss spawning plugins in my Boss Spawner Deluxe plugin's thread. Or maybe I did.

If you don't like that people can link to similar plugins in your thread.....well then I'm not sure what to tell you.

(Also, his map zones plugin was released on July 16th, 2013. Yours came out later so his is the "original" map zones plugin, if you want to look at it that way)

Last edited by 404UserNotFound; 01-25-2014 at 12:44.
404UserNotFound is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 01-25-2014 , 17:04   Re: [Any] Dev Zones (with natives for developers) v2.1.1
Reply With Quote #52

Quote:
Originally Posted by JoB2C View Post
That strangely didn't happened on all maps, but I don't know if the coordinates changed in the files, I didn't check it :/

To be more precise, my zones were not at all at the same place, they went out of the maps.

Anyway, I setted them up again, I'll see in some days if they moved again or not.

Another question: do you plan adding database storage instead of files?

Maybe is because the map itself change coordinates, in what game you use this? in what map this occurs?

database support is a good idea, maybe if I have time I will do it
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
404UserNotFound
BANNED
Join Date: Dec 2011
Old 02-02-2014 , 02:12   Re: [Any] Dev Zones (with natives for developers) v2.1.1
Reply With Quote #53

Is it not possible to do a non-square shaped zone? Like a pentagon or something? That'd be nice, if it's possible.
404UserNotFound is offline
DJ Data
SourceMod Donor
Join Date: Dec 2012
Location: Switzerland
Old 02-16-2014 , 05:55   Re: [Any] Dev Zones (with natives for developers) v2.1.1
Reply With Quote #54

Hey there!
I love the idea of this plugin, could really help out a lot.
But it doesnt work for me, my TF2 crashes whenever i press Start Zone. I changed the model to model/flags/flag.mdl but it still crashes, im not even placing down any points yet, it just closes TF2 after pressing Start Zone.

Please help
__________________
SourcePawn Coding Level: Novice

Last edited by DJ Data; 02-16-2014 at 06:41. Reason: Needed to be a bit more precise...
DJ Data is offline
Azik
Member
Join Date: Aug 2011
Location: France
Old 04-30-2014 , 20:06   Re: [Any] Dev Zones (with natives for developers) v2.1.1
Reply With Quote #55

Hello francesco,

I use you plugin look my zone :

Code:
"Zones"
{
	"0"
	{
		"name"		"Parking"
		"cordinate_a"		"-5472.029297 -4289.015625 -255.554688"
		"cordinate_b"		"-6271.087402 -5055.966797 -104.798767"
		"vis"		"0"
		"team"		"0"
	}
}
And my code :
PHP Code:
IsInParking(client)
{
    new 
Float:v[3];
    
GetEntPropVector(clientProp_Send"m_vecOrigin"v);
        
    if (
v[0] >= -5472.030762 && v[0] <= -6271.087402 && v[1] >= -5055.968262 && v[1] <= -4289.017090 && v[2] >= -255.554688 && v[2] <= -104.798767)
        return 
true;
                
    else
        return 
false;

What is wrong ??

Bye
Azik is offline
Send a message via Skype™ to Azik
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 04-30-2014 , 20:22   Re: [Any] Dev Zones (with natives for developers) v2.1.1
Reply With Quote #56

Quote:
Originally Posted by Azik View Post
Hello francesco,

I use you plugin look my zone :

Code:
"Zones"
{
	"0"
	{
		"name"		"Parking"
		"cordinate_a"		"-5472.029297 -4289.015625 -255.554688"
		"cordinate_b"		"-6271.087402 -5055.966797 -104.798767"
		"vis"		"0"
		"team"		"0"
	}
}
And my code :
PHP Code:
IsInParking(client)
{
    new 
Float:v[3];
    
GetEntPropVector(clientProp_Send"m_vecOrigin"v);
        
    if (
v[0] >= -5472.030762 && v[0] <= -6271.087402 && v[1] >= -5055.968262 && v[1] <= -4289.017090 && v[2] >= -255.554688 && v[2] <= -104.798767)
        return 
true;
                
    else
        return 
false;

What is wrong ??

Bye
For check if a player are in a zone use something like this
PHP Code:
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>
#include <devzones>

// configuration
#define ZONE_PREFIX "Parking"
//End

new bool:IsInParking[MAXPLAYERS+1] = false;

public 
OnPluginStart()
{
    
HookEvent("player_spawn"EventPlayerSpawn);
}

public 
EventPlayerSpawn(Handle:event,const String:name[],bool:dontBroadcast
{
    new 
client GetClientOfUserId(GetEventInt(event"userid"));
    
IsInParking[client] = false;
}

public 
Zone_OnClientEntry(clientString:zone[])
{
    if(
StrContains(zoneZONE_PREFIXfalse) == 0)
    {
        
IsInParking[client] = true;
    }
}

public 
Zone_OnClientLeave(clientString:zone[])
{
    if(
StrContains(zoneZONE_PREFIXfalse) == 0)
    {
        
IsInParking[client] = false;
    }
}

public 
functionexample(client)
{
    if(
IsInParking[client])
    {
        
// code here
    
}

__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
WarriorDan007
Senior Member
Join Date: Apr 2014
Location: United States
Old 05-02-2014 , 12:52   Re: [Any] Dev Zones (with natives for developers)
Reply With Quote #57

Quote:
Originally Posted by Franc1sco View Post
Now with the new native is possible make that

For make it, create a zone named "Teleport1" and other zone named "Target1", then when a client entry in the zone named "Teleport1" will be teleported to the zone "Target1"

Zones with "TeleportX" will be used for teleport players to zone "TargetX".


For example, a zone named Teleport13 will be teleport players to a zone named Target13 if that zone exist.


This is posible with this new party-plugin using the new native
Question, Franc1sco,

I'm looking at using this plugin for my TF2 server, and want to give this ability exclusively to my donors, as opposed to everyone in general. How would I best do this? And would it be possible to add this feature only on specific maps on my server? (Any help would be greatly appreciated.)

Last edited by WarriorDan007; 05-02-2014 at 12:58.
WarriorDan007 is offline
ilga80
Senior Member
Join Date: Nov 2012
Old 07-21-2014 , 13:35   Re: [Any] Dev Zones (with natives for developers) v2.1.1
Reply With Quote #58

Franc1sco, how to add bomb_plants zones ?
ilga80 is offline
kochiurun119
BANNED
Join Date: Sep 2014
Location: GB
Old 11-24-2014 , 06:27   Re: [Any] Dev Zones (with natives for developers) v2.1.1
Reply With Quote #59

Can you edit plugin can set zones rotate?
kochiurun119 is offline
Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 11-24-2014 , 22:11   Re: [Any] Dev Zones (with natives for developers) v2.1.1
Reply With Quote #60

Differences between this and Root's?
__________________
Chdata 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 01:49.


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