Guest User

Untitled

a guest
Mar 29th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.72 KB | None | 0 0
  1.  
  2. --[[-------------------------------------------------------------------
  3. Lightsaber Combat System:
  4. An intuitively designed lightsaber combat system.
  5. Powered by
  6. _ _ _ ___ ____
  7. __ _(_) | |_ / _ \/ ___|
  8. \ \ /\ / / | | __| | | \___ \
  9. \ V V /| | | |_| |_| |___) |
  10. \_/\_/ |_|_|\__|\___/|____/
  11.  
  12. _____ _ _ _
  13. |_ _|__ ___| |__ _ __ ___ | | ___ __ _(_) ___ ___
  14. | |/ _ \/ __| '_ \| '_ \ / _ \| |/ _ \ / _` | |/ _ \/ __|
  15. | | __/ (__| | | | | | | (_) | | (_) | (_| | | __/\__ \
  16. |_|\___|\___|_| |_|_| |_|\___/|_|\___/ \__, |_|\___||___/
  17. |___/
  18. ----------------------------- Copyright 2017, David "King David" Wiltos ]]--[[
  19.  
  20. Lua Developer: King David
  21. Contact: www.wiltostech.com
  22.  
  23. -- Copyright 2017, David "King David" Wiltos ]]--
  24.  
  25.  
  26. wOS = wOS or {}
  27. wOS.ExperienceTable = {}
  28.  
  29. --Your MySQL Data ( Fill in if you are using MySQL Database )
  30. --DO NOT GIVE THIS INFORMATION OUT! Malicious users can connect to your database with it
  31. wOS.SkillDatabase = wOS.SkillDatabase or {}
  32. wOS.SkillDatabase.Host = "web-mach01-dal"
  33. wOS.SkillDatabase.Port = 3306
  34. wOS.SkillDatabase.Username = "genesis_sabers"
  35. wOS.SkillDatabase.Password = "nC313OgUtZnjDrBy"
  36. wOS.SkillDatabase.Database = "genesis_sabers"
  37. wOS.SkillDatabase.Socket = ""
  38.  
  39.  
  40. --How often do you want to save player progression ( in seconds )
  41. wOS.SkillDatabase.SaveFrequency = 60
  42.  
  43. --Do you want to use MySQL Database to save your data?
  44. --PlayerData ( text files in your data folder ) are a lot less intensive but lock you in on one server
  45. --MySQL Saving lets you sync with many servers that share the database, but has the potential to increase server load due to querying
  46. wOS.ShouldSkillUseMySQL = true
  47.  
  48. --Should XP gained from Vrondrakis also be used for the skill point system?
  49. wOS.VrondrakisSync = false
  50.  
  51. --How many levels do you need to progress in order to get skill points?
  52. wOS.LevelsPerSkillPoint = 2
  53.  
  54. --How many skill points do you get when you achieve those levels above?
  55. wOS.SkillPointPerLevel = 1
  56.  
  57. --How long before we award free xp just for playing in seconds? ( set this to false if you don't want to do this )
  58. wOS.TimeBetweenXP = 175
  59.  
  60. --Should we award skill points based on level when they reset, or how much they spent currently?
  61. wOS.ResetBasedOnLevel = false
  62.  
  63. --[[
  64. Distribute the XP per usergroup here. The additions may be subject to change
  65. but the general format is:
  66.  
  67. wOS.ExperienceTable[ "USERGROUP" ] = {
  68. Meditation = XP Per meditation tick ( every 3 seconds ),
  69. PlayerKill = XP for killing another player,
  70. NPCKill = XP for killing an NPC,
  71. XPPerInt = The XP gained from the playing internval above,
  72. }
  73.  
  74. ]]--
  75.  
  76. --Default is the DEFAULT xp awarded if they aren't getting special XP. Only change the numbers for this one!
  77.  
  78.  
  79. --[[-------------------------------------------------------------------------
  80. MESSAGE FROM DERPES, FOR GENESIS JvS EDITORS!!
  81. ------------------
  82. I was unable to use these variables for the stuff I've coded other than map/boss NPCs for some reason.
  83. If you are trying to edit any XP rewards you can't find here, here's where to find the configs for them:
  84.  
  85. Holocron Returning / Stealing ==== addons/jvs_autoruns/lua/entities/ent_vault/init.lua
  86.  
  87. Vault Shield Capture ==== addons/jvs_autoruns/lua/entities/ent_vault_capture/init.lua
  88.  
  89. Conquest Point Capture ==== addons/jvs_autoruns/lua/entities/ent_capture/init.lua
  90.  
  91. Sorry for any awkwardness, but I had to do this.
  92. ---------------------------------------------------------------------------]]
  93. wOS.ExperienceTable[ "Default" ] = {
  94. Meditation = 3,
  95. PlayerKill = 125,
  96. NPCKill = 50,
  97. BossKill = 475,
  98. XPPerHeal = 2,
  99. XPPerInt = 175, --XP per TimeBetweenXP when set
  100. }
  101.  
  102. wOS.ExperienceTable[ "bronzevip" ] = {
  103. Meditation = 4,
  104. PlayerKill = 130,
  105. NPCKill = 55,
  106. BossKill = 485,
  107. XPPerHeal = 4,
  108. XPPerInt = 180, --XP per TimeBetweenXP when set
  109. }
  110.  
  111. wOS.ExperienceTable[ "silvervip" ] = {
  112. Meditation = 5,
  113. PlayerKill = 135,
  114. NPCKill = 60,
  115. BossKill = 490,
  116. XPPerHeal = 5,
  117. XPPerInt = 185, --XP per TimeBetweenXP when set
  118. }
  119.  
  120. wOS.ExperienceTable[ "goldvip" ] = {
  121. Meditation = 7,
  122. PlayerKill = 150,
  123. NPCKill = 70,
  124. BossKill = 500,
  125. XPPerHeal = 6,
  126. XPPerInt = 190, --XP per TimeBetweenXP when set
  127. }
  128.  
  129. wOS.ExperienceTable[ "owner" ] = {
  130. Meditation = 7,
  131. PlayerKill = 150,
  132. NPCKill = 70,
  133. BossKill = 500,
  134. XPPerHeal = 6,
  135. XPPerInt = 190, --XP per TimeBetweenXP when set
  136. }
  137.  
  138. wOS.ExperienceTable[ "superadmin" ] = {
  139. Meditation = 7,
  140. PlayerKill = 150,
  141. NPCKill = 70,
  142. BossKill = 500,
  143. XPPerHeal = 6,
  144. XPPerInt = 190, --XP per TimeBetweenXP when set
  145. }
Add Comment
Please, Sign In to add comment