ChainsBoy

Cybermob Changelog

Oct 18th, 2014
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 KB | None | 0 0
  1. CyberMob-Changelog
  2.  
  3.  
  4. 09.14
  5. - Added a config file to more easily change server settings and more.
  6. - Added a main.nut file, will be calling all files from there, so some variables can be shared to other places.
  7. - Populated config file with some global variables and arrays
  8. - Moving over and redoing things from Cybermob.nut to Main.nut
  9. - Created a new array for player stats
  10. - Created a Player class, will be setting, getting player stats and more.
  11. - Created a construction for the class and added a Player class initiation in playerConnect
  12. - Added in the following functions to the Player class:
  13. * getName
  14. * getSerial
  15. * getIP
  16. * setControls
  17. * Clear - Clears the player table so next player won't get their stats
  18. - Created a functions file which will contain frequently used functions throughout the code.
  19.  
  20. 09.15
  21. - Populated the Player class with some more functions:
  22. * getWeather
  23. * setWeather
  24. * getVehicleTimerAmount
  25. * setVehicleTimerAmount
  26. * setCMDState
  27. * getCMDState
  28. * chatSpamProtect
  29. * resetSpawnSets
  30. * vehicleSpawned
  31. - Rewrote the weather system, takes now up less space in code and is more efficient
  32. - Created a class for Vehicles, to easier handle them (Spawn, Respawn, Destroy, Change stats etc):
  33. * destroy - Can either send with a vehicle ID to destroy or the string "ALL" to destroy all vehicles.
  34. * getColor - Returns either Primary or Secondary color or both.
  35. * setColor - Can set color by either color Name (i.e Yellow, Ice-White etc) or by id (RGB)
  36. * setEmpty - Sets vehicle empty state
  37. * isEmpty - Checks if vehicle is empty
  38. - Rewrote the Main file, optimized and fixed up couple of things.
  39. - Started rewriting the Commands file
  40. - 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.
  41. - Added a check if a vehicle contains a player or not.
  42. - Removed couple of timers and merged its functions with another timer
  43.  
  44.  
  45. 09.16
  46. - Populated Vehicle class with more functions:
  47. * setTune
  48. - Added a function to player class:
  49. * Notify - To better control the text that's being sent to the user.
  50. - Rewrote /tune command
  51. - Added in help commands from old script and cleaned them up a bit.
  52.  
  53.  
  54. 09.17
  55. - Populated the Vehicle class with some more functions:
  56. * setWheels
  57. * setStats - Can set either all vehicle stats or just one (wheel texture, tune etc)
  58. - Moved over some more commands from older files and cleaned them up.
  59.  
  60.  
  61. 09.18
  62. - Rewrote /pm, /me and /s commands
  63. - Rewrote the /poke command
  64. - Changed how the system checks for spam in chat and while poking.
  65. - Rewrote the /wheels command
  66.  
  67.  
  68. 09:19
  69. - Rewrote the /countdown command
  70. - Added in so the function Notify also can notify all players
  71. - Populated the Vehicle class with some more functions:
  72. * setRespawnTimer - Can set when vehicle is supposed to respawn
  73. * getRespawnTimer - Returns the respawn time.
  74. - Added in so vehicles auto respawn after X amount of minutes (Currently it's set to 5 minutes)
  75. - 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).
  76. - Added a function which convert an array with its values to either INT, STRING or FLOAT
  77. - Fixed some bugs that arose from previous changes and addons.
  78.  
  79.  
  80. 09:21
  81. - Created a function to check the type of string, to check if its either integer, float, bool etc.
  82. - Created a function which checks type of values in an array, returns true if all values are the same type.
  83. - 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.
  84. - 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.
  85. - Moved over rest of the older commands in the old file and cleaned them up in the new file.
  86.  
  87.  
  88. 09.22
  89. - Populated the Player class with some more functions:
  90. * isAdmin
  91. * setAdmin
  92. * getAdmin
  93. - Rewrote the login & logout commands for admins
  94.  
  95.  
  96. 09.24
  97. - Rewrote the help command for admins, easier to add in more commands to the list.
  98. - Rewrote /kick & /ban cmds for admin
  99. - Populated player class with following:
  100. - Kick
  101. - Ban
  102. - inVehicle
  103. - getVehicle
  104. - getID
  105. - setMoney
  106. - giveMoney
  107. - takeMoney
  108. - getMoney
  109. - Rewrote to player and get player teleport commands
  110. - Rewrote the lock and unlock commands
  111. - Rewrote the admin money commands
  112. - Rewrote the kill command for admins, mostly cleaned it up a bit
  113. - Rewrote the admin chat command, both cleaning and optimizing.
  114. - Almost all of the admin commands have now been rewritten, only need to redo the ajail command which i'll do a little later.
  115. - 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