SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 22/01/2018, 11:32 AM   #1
Weponz
Big Clucker
 
Weponz's Avatar
 
Join Date: Sep 2013
Location: Australia
Posts: 155
Reputation: 47
Default Dynamic Fire-Bin System by Weponz - Great for Survival Servers!

Dynamic Fire-Bin System by Weponz



Features

100% Dynamic (Create & Delete Fire Bins In-Game)
SQLite Database (Choose to Save/Load from SQLite Database)
Object Code Log (Simply Copy/Paste Object Code into Script)
Choose Output (Choose either CreateObject or CreateDynamicObject)


Database Location: scriptfiles/firebins.db (Automatically Created)
Code Log Location: scriptfiles/firebins.txt (Automatically Created)


Example Video



Download: https://pastebin.com/mY9YXqVR
(Uses Incognito's Streamer Plugin + ZCMD)
__________________

Creator of the famous NVCNR

Releases: http://wiki.sa-mp.com/wiki/User:Weponz



Last edited by Weponz; 24/01/2018 at 06:06 AM. Reason: Database/Log Locations Added
Weponz is offline   Reply With Quote
Old 22/01/2018, 12:16 PM   #2
Sayed3b
Banned
 
Join Date: Aug 2017
Location: Egypt
Posts: 54
Reputation: 13
Default Re: Dynamic Fire-Bin System by Weponz - Great for Survival Servers!

Good Work
Sayed3b is offline   Reply With Quote
Old 23/01/2018, 03:55 PM   #3
DonaldDuck
Banned
 
Join Date: Jun 2017
Location: Phillipines
Posts: 361
Reputation: 91
Default Re: Dynamic Fire-Bin System by Weponz - Great for Survival Servers!

Great i like it. Rep
DonaldDuck is offline   Reply With Quote
Old 23/01/2018, 04:07 PM   #4
iLearner
Gangsta
 
iLearner's Avatar
 
Join Date: Apr 2017
Posts: 651
Reputation: 133
Default Re: Dynamic Fire-Bin System by Weponz - Great for Survival Servers!

Don't mean to be a dick, but this is pretty easy to be done and ain't useful at all.
iLearner is offline   Reply With Quote
Old 23/01/2018, 11:22 PM   #5
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,418
Reputation: 1240
Default Re: Dynamic Fire-Bin System by Weponz - Great for Survival Servers!

Quote:
Originally Posted by iLearner View Post
Don't mean to be a dick, but this is pretty easy to be done and ain't useful at all.
It is true that this is just a map manager and not a very good map manager. I mean by the look of your code you are capable of a lot more than this so not all is bad there is a lot of potential for a real project. This however is just a weekend project you dumped on the forum.
Pottus is offline   Reply With Quote
Old 24/01/2018, 06:21 AM   #6
Weponz
Big Clucker
 
Weponz's Avatar
 
Join Date: Sep 2013
Location: Australia
Posts: 155
Reputation: 47
Default Re: Dynamic Fire-Bin System by Weponz - Great for Survival Servers!

Quote:
Originally Posted by iLearner View Post
Don't mean to be a dick, but this is pretty easy to be done and ain't useful at all.
Quote:
Originally Posted by Pottus View Post
It is true that this is just a map manager and not a very good map manager. I mean by the look of your code you are capable of a lot more than this so not all is bad there is a lot of potential for a real project. This however is just a weekend project you dumped on the forum.
I made this script because there is no other script like it (or any direct source to find the fire/coordinates etc.) and can be very useful for survival servers. Although it only took a couple tries to line it up with the ground but this script makes it very easy to create them. You can either create them and leave them for the database to handle or simply use the code it logs. It's a very simple yet handy tool and yes you can pretty much use this script to create any object in-game by duplicating the process.

EDIT:

Quote:
Originally Posted by Pottus View Post
I mean by the look of your code you are capable of a lot more than this
I've been working on the very first SoD server for SA-MP since 2014, which went public in 2015. So, yes I am capable of much more than a "dynamic" command, but lately I've been very fussy with my code efficiency so I don't "half-ass" my work in any way.
__________________

Creator of the famous NVCNR

Releases: http://wiki.sa-mp.com/wiki/User:Weponz


Weponz is offline   Reply With Quote
Old 24/01/2018, 11:57 AM   #7
iLearner
Gangsta
 
iLearner's Avatar
 
Join Date: Apr 2017
Posts: 651
Reputation: 133
Default Re: Dynamic Fire-Bin System by Weponz - Great for Survival Servers!

You could've add EditDynamicObject at creation and save pos under OnplayerEditDynamicObject if you had to make it.

What if the land is not plain?
iLearner is offline   Reply With Quote
Old 25/01/2018, 02:05 AM   #8
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,418
Reputation: 1240
Default Re: Dynamic Fire-Bin System by Weponz - Great for Survival Servers!

Quote:
Originally Posted by Weponz View Post
I made this script because there is no other script like it (or any direct source to find the fire/coordinates etc.) and can be very useful for survival servers. Although it only took a couple tries to line it up with the ground but this script makes it very easy to create them. You can either create them and leave them for the database to handle or simply use the code it logs. It's a very simple yet handy tool and yes you can pretty much use this script to create any object in-game by duplicating the process.

EDIT:



I've been working on the very first SoD server for SA-MP since 2014, which went public in 2015. So, yes I am capable of much more than a "dynamic" command, but lately I've been very fussy with my code efficiency so I don't "half-ass" my work in any way.
Seems to be very redundant to me, now I would like to suggest a useful direction for you to take. You should make this script capable of defining multi-object entities that you can place anywhere with some useful callbacks.

Code:
forward OnPlayerApproachEntity(playerid, entityid);
forward OnPlayerDepartEntity(playerid, entityid);
forward OnPlayerTouchEntity(playerid, entityid);
forward OnPlayerActivateEntity(playerid, entityid);
I can't back down from my stance that there is potential but currently this script is bullshit because it falls short of any real usefulness.

Prove me otherwise, your reply does not convince me of anything in fact all you have done is told me what I already know. What I already know is what this script does which is bullshit nothing more than a specific action when there is a much broader frontier to cover.

Don't be discouraged by my frankness I'm telling you how it is, I don't hate you, I don't want to put you down and I don't want you to feel that your efforts are wasted. Lets just face it that if I say there is a problem here I know what I am talking about and if you don't want to believe that then that is it's own problem all on it's own.
Pottus is offline   Reply With Quote
Old 25/01/2018, 04:29 AM   #9
Weponz
Big Clucker
 
Weponz's Avatar
 
Join Date: Sep 2013
Location: Australia
Posts: 155
Reputation: 47
Default Re: Dynamic Fire-Bin System by Weponz - Great for Survival Servers!

Quote:
Originally Posted by Pottus View Post
Seems to be very redundant to me, now I would like to suggest a useful direction for you to take. You should make this script capable of defining multi-object entities that you can place anywhere with some useful callbacks.

Code:
forward OnPlayerApproachEntity(playerid, entityid);
forward OnPlayerDepartEntity(playerid, entityid);
forward OnPlayerTouchEntity(playerid, entityid);
forward OnPlayerActivateEntity(playerid, entityid);
I can't back down from my stance that there is potential but currently this script is bullshit because it falls short of any real usefulness.

Prove me otherwise, your reply does not convince me of anything in fact all you have done is told me what I already know. What I already know is what this script does which is bullshit nothing more than a specific action when there is a much broader frontier to cover.

Don't be discouraged by my frankness I'm telling you how it is, I don't hate you, I don't want to put you down and I don't want you to feel that your efforts are wasted. Lets just face it that if I say there is a problem here I know what I am talking about and if you don't want to believe that then that is it's own problem all on it's own.
Calm your farm cowboy it's a "firebin" creation command not a "perform ridiculous results to your satisfaction" command (which is irrelevant to the whole point of this script). It is a simple(and tell me not efficient) way to "create firebins in-game" and nothing else.
__________________

Creator of the famous NVCNR

Releases: http://wiki.sa-mp.com/wiki/User:Weponz


Weponz is offline   Reply With Quote
Old 25/01/2018, 06:33 AM   #10
iLearner
Gangsta
 
iLearner's Avatar
 
Join Date: Apr 2017
Posts: 651
Reputation: 133
Default Re: Dynamic Fire-Bin System by Weponz - Great for Survival Servers!

Quote:
Originally Posted by Weponz View Post
Calm your farm cowboy it's a "firebin" creation command not a "perform ridiculous results to your satisfaction" command (which is irrelevant to the whole point of this script). It is a simple(and tell me not efficient) way to "create firebins in-game" and nothing else.
That's exactly what he's saying, its only a "create firebins in-game" script, which in itself is useless. He's simply trying to help you to make it useful.
iLearner is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Map] Pizza Stack [ Great for RP servers] rohancoolking Maps 2 31/08/2012 06:14 AM
[FilterScript] Vehicle Radio System! Easy To Edit! Great for RP Servers Tomer Amar Filterscripts 19 15/02/2012 05:14 PM
[Map] [MAP] Terrorist HQ - Great for DM Servers. Rickzor14 Maps 20 22/09/2011 01:51 PM


All times are GMT. The time now is 08:22 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.