02.05.2013, 03:08
(
Последний раз редактировалось Skyrise; 16.05.2013 в 03:03.
)
* Bus System *
* Theory (aka Skyrise) *
Basic Concept -
MySQL based dynamic bus system.
Dynamically set via admin.
Players can call for a bus at a station - sent to available bus driver.
^^ That was when I thought of it.
What came out:
MySQL based.
Dynamically set.
bMods can be set via RCON Admin.
Simple radio for bus drivers
Drivers can be set by RCON admin. (you can change that for bMods.)
Accounts are automatically made and loaded. No need for integration.
bMod list.
You can /bnear and see if one is nearby.
Call a bus - cancel it.
There was going to be a duty system. Still deciding.
The code was written as-is. None of it was tested.
REQUIREMENTS
SSCANF2
BlueG's Latest MySQL plugin. (r15 or r14 if you're using Linux)
Streamer
Foreach
ZCMD
Find any bugs? Report them on this thread.
[Version 4]
http://pastebin.com/rPa40rcL - Main Script
http://pastebin.com/dKkYJZ68 - bSQL [unchanged]
[Version 3]
http://pastebin.com/Wj6ecrsN - Main Script
http://pastebin.com/dKkYJZ68 - bSQL
* Theory (aka Skyrise) *
Basic Concept -
MySQL based dynamic bus system.
Dynamically set via admin.
Players can call for a bus at a station - sent to available bus driver.
^^ That was when I thought of it.
What came out:
MySQL based.
Dynamically set.
bMods can be set via RCON Admin.
Simple radio for bus drivers
Drivers can be set by RCON admin. (you can change that for bMods.)
Accounts are automatically made and loaded. No need for integration.
bMod list.
You can /bnear and see if one is nearby.
Call a bus - cancel it.
There was going to be a duty system. Still deciding.
The code was written as-is. None of it was tested.
REQUIREMENTS
SSCANF2
BlueG's Latest MySQL plugin. (r15 or r14 if you're using Linux)
Streamer
Foreach
ZCMD
Find any bugs? Report them on this thread.
[Version 4]
http://pastebin.com/rPa40rcL - Main Script
http://pastebin.com/dKkYJZ68 - bSQL [unchanged]
[Version 3]
http://pastebin.com/Wj6ecrsN - Main Script
http://pastebin.com/dKkYJZ68 - bSQL