SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 22/06/2017, 03:27 PM   #21
Astralis
Guest
 
Posts: n/a
Default Re: Dynamic biz system v2.0

Worth using since it's MySQL!
  Reply With Quote
Old 04/04/2018, 03:28 AM   #22
Salvador75
Banned
 
Join Date: Aug 2017
Posts: 7
Reputation: 0
Default Re: Dynamic biz system v2.0

Where is mysql of this filterscript
Salvador75 is offline   Reply With Quote
Old 04/04/2018, 09:00 AM   #23
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,920
Reputation: 258
Default Re: Dynamic biz system v2.0

https://github.com/Dayrion/Release/b...biz_system.pwn
You have to change line 74 to 77 by your own SQL informations.
__________________
actor_plus - v5.0.2
I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath
Dayrion is offline   Reply With Quote
Old 13/04/2018, 03:08 AM   #24
GeorgeLimit
Big Clucker
 
GeorgeLimit's Avatar
 
Join Date: Mar 2018
Location: Anywhare
Posts: 92
Reputation: 0
Default Re: Dynamic biz system v2.0

How to fix this

Quote:
C:\Users\ACER\Desktop\q\pawno\include\YSI_data\..\ YSI_Internal\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)")
C:\Users\ACER\Desktop\q\filterscripts\biz.pwn(767) : error 075: input line too long (after substitutions)
C:\Users\ACER\Desktop\q\filterscripts\biz.pwn(76 : error 037: invalid string (possibly non-terminated string)
C:\Users\ACER\Desktop\q\filterscripts\biz.pwn(76 : warning 215: expression has no effect
C:\Users\ACER\Desktop\q\filterscripts\biz.pwn(76 : error 001: expected token: ";", but found "`"
C:\Users\ACER\Desktop\q\filterscripts\biz.pwn(76 : error 029: invalid expression, assumed zero
C:\Users\ACER\Desktop\q\filterscripts\biz.pwn(76 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
GeorgeLimit is offline   Reply With Quote
Old 13/04/2018, 05:23 PM   #25
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,920
Reputation: 258
Default Re: Dynamic biz system v2.0

Quote:
Originally Posted by GeorgeLimit View Post
How to fix this
Isnull isn't used here. Have you the latest version of YSI? What's the lines of remainders errors?
__________________
actor_plus - v5.0.2
I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath
Dayrion is offline   Reply With Quote
Old 14/04/2018, 05:20 PM   #26
GeorgeLimit
Big Clucker
 
GeorgeLimit's Avatar
 
Join Date: Mar 2018
Location: Anywhare
Posts: 92
Reputation: 0
Default Re: Dynamic biz system v2.0

Quote:
Originally Posted by Dayrion View Post
Isnull isn't used here. Have you the latest version of YSI? What's the lines of remainders errors?
how I fix it?
GeorgeLimit is offline   Reply With Quote
Old 03/06/2019, 02:17 PM   #27
OuDayas
Big Clucker
 
Join Date: Jan 2019
Posts: 78
Reputation: 0
Default Re: Dynamic biz system v2.2

Quote:
Originally Posted by Dayrion View Post
Dynamic biz system v2.2

Hello!
Before the presentation of this filterscript, you have to know this script is a new version of my previous one (here). There is a lot of modifications. So I prefer to made a new thread, let the previous version available (Y_INI version, that's why). I'll take the previous presentation, there is no more feature on the version 2.0 (more feature are coming).


Features:
- Saved biz system : Investor & Biz (MySQL R41)
- 6 basic type of biz available (Total : 29 interiors)
- Create an infinity of custom interior
- Customizable name for each biz
- Deposit/withdraw money on your biz
- Make people pay when they enter in your biz
- Admin commands
- Make your friends investors
- Make your investor earn money
- Add unlimited cool objects for your biz

Include:
Code:
#include <a_samp>
#include <a_mysql>
#include <izcmd> // you can also use <zcmd> - Both are working
#include <sscanf2>
#include <YSI_data\y_foreach>
#include <YSI\y_va>
#include <easyDialog>

Credits to original author for each include.
RCON commands:
/createbiz : Create a biz with an interior, everything are explain IG.
/destroybiz : destroy a biz or every biz
/closestbiz : get the ID of closest biz
/editbiz : Edit a biz like /biz + you can change type & interior
/editinvestor: Edit investor's right of a specific biz
/aeditinvestor: Set an investor for a biz. You need to enter the player's name and not the ID.
/gotobiz : Explicit
/createinterior : Explicit
/editinterior : Explicit
/interiorlist : Explicit

Non-RCON commands:
/buybiz : buy a biz
/sellbiz : sell a biz
/biz : manage your biz
/modifinvestor : Edit investor's rights of your biz
/makeinvestor : Make someone an investor
/ibiz : Edit a biz as an investor
/biz_object [create/move/delete/list]: Create/move/delete an object in your biz or get a list of all objects in your biz



Configuration:

- Biz's params
Code:
#define		MAX_BIZ			100			// Number of biz
#define		MAX_OBJECTS_PER_BIZ	50			// Max amount of object per biz
#define		MAX_BALANCE		1000000			// Max amount of money in a biz
#define		MAX_BIZ_NAME		MAX_PLAYER_NAME*2	// The max lengh of a biz's name
#define		INVALID_BIZ_ID		(MAX_BIZ+10)*2		// Don't change this
- Pickup ID
Code:
#define 	ICON_BIZ_CLOSED			19133
#define		ICON_BIZ_OPEN			1318
#define		ICON_BIZ_PENDING_OPEN		1272
#define		ICON_BIZ_PENDING_CLOSED		19523
#define		ICON_BIZ_INTERIOR		1239
MySQL configuration:
Code:
#define 		MYSQL_HOST        			"localhost" 
#define 		MYSQL_USER        			"root" 
#define 		MYSQL_DATABASE    			"myserver"
#define 		MYSQL_PASSWORD   			""

What changes between version 1.1 & version 2.0 ?
- Switched to MySQL R41
- Minors changes
- Minors & majors bugs solved

Version 2.1 2.2 update:
Code:
- Adding objects system
	* Adding table 'Biz_Object'
	* You can add object by modelid, move the position or delete it.
- You can use STREAMER plugin for objects
- One commands added:
	* /biz_object
- Alias added:
	* /b_o = /biz_object
	* /biz = /managebiz
	* /cinterior = /createinterior
- Minor code changes
- No bugs found for this version - Let me know if you find anything
- You need to delete all table from the previous version to update the filterscript or made SQL code to update them!

Screenshoots:
http://hpics.li/26d9a2b
http://hpics.li/922e065
http://hpics.li/bb7a609
http://hpics.li/cb13e93

Script: https://github.com/Dayrion/Release/b...biz_system.pwn
Good script, but can u update the download link? I want test it
OuDayas is offline   Reply With Quote
Old 06/06/2019, 03:51 PM   #28
KeyOfKey
Huge Clucker
 
KeyOfKey's Avatar
 
Join Date: Apr 2019
Posts: 235
Reputation: 12
Default Re: Dynamic biz system v2.0

Excuse me but where's R41 MySQL version? The link you posted:

https://gist.github.com/Dayrion/1753...bcd995a41042db

Is using Y_INI.

NVM, here is version 2.3 of the script using R41: https://gist.github.com/Dayrion/9d81...047186b2fd4381
KeyOfKey is offline   Reply With Quote
Old 17/06/2019, 01:15 PM   #29
OuDayas
Big Clucker
 
Join Date: Jan 2019
Posts: 78
Reputation: 0
Default Re: Dynamic biz system v2.0

Quote:
Originally Posted by KeyOfKey View Post
Excuse me but where's R41 MySQL version? The link you posted:

https://gist.github.com/Dayrion/1753...bcd995a41042db

Is using Y_INI.

NVM, here is version 2.3 of the script using R41: https://gist.github.com/Dayrion/9d81...047186b2fd4381
Yes is the MySQL version, but idk why in compiling will gert blocked on pawno
OuDayas is offline   Reply With Quote
Old 17/06/2019, 01:27 PM   #30
PiLLoW
Huge Clucker
 
PiLLoW's Avatar
 
Join Date: Jun 2014
Location: https//:localhost
Posts: 268
Reputation: 21
Default Re: Dynamic biz system v2.0

Great release
__________________
Need This Hit Me Up To Have This

PiLLoW 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
[FilterScript] Dynamic House System v0.5 (w/Dialog Builder System+Customizable) ABKPot Filterscripts 19 27/01/2015 05:56 PM
[FilterScript] Dynamic Box [Vip System/Help System/2 previous script all in dBox!] JaKe Elite Filterscripts 6 28/11/2014 04:48 AM
[FilterScript] Jueix's bank system and Dynamic ATM system. jueix Filterscripts 23 30/03/2014 11:44 PM
[FilterScript] DWS - Dynamic Weapon System (Gun object, Saving system,...More) JusstinRoller Filterscripts 15 31/07/2013 10:02 AM


All times are GMT. The time now is 07:12 PM.


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