Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CyberMob-Changelog
- 09.14
- - Added a config file to more easily change server settings and more.
- - Added a main.nut file, will be calling all files from there, so some variables can be shared to other places.
- - Populated config file with some global variables and arrays
- - Moving over and redoing things from Cybermob.nut to Main.nut
- - Created a new array for player stats
- - Created a Player class, will be setting, getting player stats and more.
- - Created a construction for the class and added a Player class initiation in playerConnect
- - Added in the following functions to the Player class:
- * getName
- * getSerial
- * getIP
- * setControls
- * Clear - Clears the player table so next player won't get their stats
- - Created a functions file which will contain frequently used functions throughout the code.
- 09.15
- - Populated the Player class with some more functions:
- * getWeather
- * setWeather
- * getVehicleTimerAmount
- * setVehicleTimerAmount
- * setCMDState
- * getCMDState
- * chatSpamProtect
- * resetSpawnSets
- * vehicleSpawned
- - Rewrote the weather system, takes now up less space in code and is more efficient
- - Created a class for Vehicles, to easier handle them (Spawn, Respawn, Destroy, Change stats etc):
- * destroy - Can either send with a vehicle ID to destroy or the string "ALL" to destroy all vehicles.
- * getColor - Returns either Primary or Secondary color or both.
- * setColor - Can set color by either color Name (i.e Yellow, Ice-White etc) or by id (RGB)
- * setEmpty - Sets vehicle empty state
- * isEmpty - Checks if vehicle is empty
- - Rewrote the Main file, optimized and fixed up couple of things.
- - Started rewriting the Commands file
- - Rewrote the /vehicle command, optimized it more and made it more readable codewise. It also now shows how many seconds are left when trying to spawn another vehicle.
- - Added a check if a vehicle contains a player or not.
- - Removed couple of timers and merged its functions with another timer
- 09.16
- - Populated Vehicle class with more functions:
- * setTune
- - Added a function to player class:
- * Notify - To better control the text that's being sent to the user.
- - Rewrote /tune command
- - Added in help commands from old script and cleaned them up a bit.
- 09.17
- - Populated the Vehicle class with some more functions:
- * setWheels
- * setStats - Can set either all vehicle stats or just one (wheel texture, tune etc)
- - Moved over some more commands from older files and cleaned them up.
- 09.18
- - Rewrote /pm, /me and /s commands
- - Rewrote the /poke command
- - Changed how the system checks for spam in chat and while poking.
- - Rewrote the /wheels command
- 09:19
- - Rewrote the /countdown command
- - Added in so the function Notify also can notify all players
- - Populated the Vehicle class with some more functions:
- * setRespawnTimer - Can set when vehicle is supposed to respawn
- * getRespawnTimer - Returns the respawn time.
- - Added in so vehicles auto respawn after X amount of minutes (Currently it's set to 5 minutes)
- - Rewrote the /color command and changed some of the color functions i Vehicle class, can now both set vehicle color by color name and color id (RGB).
- - Added a function which convert an array with its values to either INT, STRING or FLOAT
- - Fixed some bugs that arose from previous changes and addons.
- 09:21
- - Created a function to check the type of string, to check if its either integer, float, bool etc.
- - Created a function which checks type of values in an array, returns true if all values are the same type.
- - Changed the Notify function in Player class, it now automatically breaks message up into several rows if its longer than 128 characters. Currently used almost everywhere except in the regular chat, will not be able to use it there until Aaron gives us more control over the chat.
- - Rewrote the /go command, now you can much more easily teleport around and its also a lot easier to add more teleports without changing the /go cmd. You now do not have to write out the entire location name, for example if you want to teleport to police station, then you can just type /go pol, or /go po, or /go police etc. Also fixed so you can now teleport with vehicles as well, but coordinates need a bit of adjustment for vehicles.
- - Moved over rest of the older commands in the old file and cleaned them up in the new file.
- 09.22
- - Populated the Player class with some more functions:
- * isAdmin
- * setAdmin
- * getAdmin
- - Rewrote the login & logout commands for admins
- 09.24
- - Rewrote the help command for admins, easier to add in more commands to the list.
- - Rewrote /kick & /ban cmds for admin
- - Populated player class with following:
- - Kick
- - Ban
- - inVehicle
- - getVehicle
- - getID
- - setMoney
- - giveMoney
- - takeMoney
- - getMoney
- - Rewrote to player and get player teleport commands
- - Rewrote the lock and unlock commands
- - Rewrote the admin money commands
- - Rewrote the kill command for admins, mostly cleaned it up a bit
- - Rewrote the admin chat command, both cleaning and optimizing.
- - Almost all of the admin commands have now been rewritten, only need to redo the ajail command which i'll do a little later.
- - Added a /stats command, currently only shows model, cash and position, will expand this one more later.
Advertisement
Add Comment
Please, Sign In to add comment