Raised This Month: $404 Target: $400
 101% 

Random locations generator


Post New Thread Reply   
 
Thread Tools Display Modes
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Traphouse
Old 07-15-2018 , 05:18   Re: Random locations generator
Reply With Quote #31

Quote:
Originally Posted by EFFx View Post
And when we say invalid points, we mean points that players can't access, like a big box, or a build, etc..
That include is good, but I still suggest to create a customized .ini file to spawn things randomly on the map.

And for some reason, when the point is used, the code removes it, so that point will not be used again. After some rounds, it's out of points, so we must reset all points, whichfor some reason causes lag.
What's the point of having an .ini file with random coordinates?
I get spawned in glitched areas most of the time and even in water.
__________________
Knife Bounty
CS Battle Royale (PUBG)
Contact/Ticket System

Tournament Organizer Plugin PM if interested
edon1337 is online now
Send a message via Skype™ to edon1337
Ticketry
Member
Join Date: Mar 2016
Location: Sacramento, CA
Old 07-15-2018 , 20:13   Re: Random locations generator
Reply With Quote #32

Ah man I'd love to see a more efficient plugin get made granted surely issues with the odd spawns comes from the way the map was made! Ugh lol
Ticketry is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: SP, Brazil
Old 07-15-2018 , 20:59   Re: Random locations generator
Reply With Quote #33

Quote:
Originally Posted by edon1337 View Post
What's the point of having an .ini file with random coordinates?
I get spawned in glitched areas most of the time and even in water.
There was a misunderstood here. You put in the .ini file all points that you want, customizing it, but randomize it with the code, because everytime the same point? Players will always know where it will be spawned.
__________________
EFFx is offline
Send a message via Skype™ to EFFx
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Traphouse
Old 07-16-2018 , 05:58   Re: Random locations generator
Reply With Quote #34

Quote:
Originally Posted by EFFx View Post
There was a misunderstood here. You put in the .ini file all points that you want, customizing it, but randomize it with the code, because everytime the same point? Players will always know where it will be spawned.
Wouldn't using SsGetOrigin in NewRound be the same?
__________________
Knife Bounty
CS Battle Royale (PUBG)
Contact/Ticket System

Tournament Organizer Plugin PM if interested

Last edited by edon1337; 07-16-2018 at 06:19.
edon1337 is online now
Send a message via Skype™ to edon1337
EFFx
Veteran Member
Join Date: Feb 2016
Location: SP, Brazil
Old 07-16-2018 , 06:42   Re: Random locations generator
Reply With Quote #35

I meant using everytime same spawn points... Not actually the same. But as I said, sometime the code will be out of points and you must restart, which causes lag.
__________________
EFFx is offline
Send a message via Skype™ to EFFx
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 07-17-2018 , 10:44   Re: Random locations generator
Reply With Quote #36

If anyone want to modify de plugin, the idea to avoid areas outside the map is having a config file with coordinates to be avoided. Then when location is calculates, it could be checked against each zone to be avoided and if it's inside, keep search for another location.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
EFFx
Veteran Member
Join Date: Feb 2016
Location: SP, Brazil
Old 07-18-2018 , 14:40   Re: Random locations generator
Reply With Quote #37

It can be done with something like walkguard, select the area that's outside and avoid it.
__________________
EFFx is offline
Send a message via Skype™ to EFFx
Reply


Thread Tools
Display Modes

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 14:42.


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