Jump to content

Server crash after reset data

Closed 1.4.13

m3dus4
m3dus4

Posted

Hi,

 

one of my player bet the max lvl and server crashed when he recieved the max lvl.

 

i think its the reset data cmd is here anything wrong?

 

      "200": {
        "List of commands and chat messages that the player receives when reaching the specified level [Left = command. Right = Private message to player]. {id} = steam ID. {name} == name.": {
          "say <color=#ffae00>{name}</color> reached level <color=#4cff03>200</color>!": "Finaly u did it END LVL 200!",
          "curr bc give {id} 15": "u claimed 15 BUGS (check Shop) /shop",
          "grant.group {id} LVL200 7d": "GG inGAME TAGG Added + 7 Day LEGEND VIP",
          "resetdata {name}": "Time for reset GG Rolback to lvl 0"
        },
        "List of commands that are fired off when the player data is reset": [
          "say Test data reset.",
          "resetdata {name}",
          "givesp {name} 900"
        ]
      }

2024-04-20-024743.normal.jpg?ex=66247fde

 

 at Oxide.Plugins.SkillTree.RunResetCommands (string,int) [0x001d2] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.SkillTree.HandleDataReset (BasePlayer) [0x00060] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.SkillTree.ResetXPConsole (ConsoleSystem/Arg) [0x00095] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.SkillTree.DirectCallHook (string,object&,object[]) [0x02fe8] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod,object[]) [0x00083] in <87ce9ac9776a48658bc55eae6debe38b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (string,object[]) [0x000dc] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (string,object[]) [0x00063] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0
  at Oxide.Game.Rust.Libraries.Command/<>c__DisplayClass9_0.<AddConsoleCommand>b__0 (ConsoleSystem/Arg) [0x00016] in <e2356bbe006b4dcb9dfd1a1b1412d080>:0
  at Oxide.Game.Rust.Libraries.Command/ConsoleCommand.HandleCommand (ConsoleSystem/Arg) [0x00022] in <e2356bbe006b4dcb9dfd1a1b1412d080>:0
  at ConsoleSystem.Internal (ConsoleSystem/Arg) [0x00067] in <ed328a6deb224f61b6c506aa2285cefc>:0
  at ConsoleSystem.Run (ConsoleSystem/Option,string,object[]) [0x00036] in <ed328a6deb224f61b6c506aa2285cefc>:0
  at Oxide.Game.Rust.Libraries.Server.Command (string,object[]) [0x00007] in <e2356bbe006b4dcb9dfd1a1b1412d080>:0
  at Oxide.Plugins.SkillTree.RunResetCommands (string,int) [0x001d2] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.SkillTree.HandleDataReset (BasePlayer) [0x00060] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.SkillTree.ResetXPConsole (ConsoleSystem/Arg) [0x00095] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.SkillTree.DirectCallHook (string,object&,object[]) [0x02fe8] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod,object[]) [0x00083] in <87ce9ac9776a48658bc55eae6debe38b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (string,object[]) [0x000dc] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (string,object[]) [0x00063] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0
  at Oxide.Game.Rust.Libraries.Command/<>c__DisplayClass9_0.<AddConsoleCommand>b__0 (ConsoleSystem/Arg) [0x00016] in <e2356bbe006b4dcb9dfd1a1b1412d080>:0
  at Oxide.Game.Rust.Libraries.Command/ConsoleCommand.HandleCommand (ConsoleSystem/Arg) [0x00022] in <e2356bbe006b4dcb9dfd1a1b1412d080>:0
  at ConsoleSystem.Internal (ConsoleSystem/Arg) [0x00067] in <ed328a6deb224f61b6c506aa2285cefc>:0
  at ConsoleSystem.Run (ConsoleSystem/Option,string,object[]) [0x00036] in <ed328a6deb224f61b6c506aa2285cefc>:0
  at Oxide.Game.Rust.Libraries.Server.Command (string,object[]) [0x00007] in <e2356bbe006b4dcb9dfd1a1b1412d080>:0
  at Oxide.Plugins.SkillTree.GiveRewards (BasePlayer,int) [0x00184] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.SkillTree.GiveLevelRewards (BasePlayer,int,int) [0x0000b] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.SkillTree.CheckLevel (BasePlayer) [0x001e1] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.SkillTree.AwardXP (BasePlayer,double,BaseEntity,bool,bool,string) [0x00210] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.SkillTree.AwardXP (BasePlayer,double,string,bool) [0x00047] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.SkillTree.DirectCallHook (string,object&,object[]) [0x00b29] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod,object[]) [0x00083] in <87ce9ac9776a48658bc55eae6debe38b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (string,object[]) [0x000dc] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (string,object[]) [0x00063] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0
  at Oxide.Core.Plugins.Plugin.Call (string,object[]) [0x00003] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0
  at Oxide.Plugins.HeliSignals.GiveXP (ulong,double,string) [0x001d3] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.HeliSignals.ProcessRewards (ulong,ulong,string) [0x00311] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Plugins.HeliSignals/<>c__DisplayClass63_0.<OnEntityTakeDamage>b__0 () [0x00018] in <11b077ec6c5944aea97b9f5ac6501f4b>:0
  at Oxide.Core.OxideMod.OnFrame (single) [0x00051] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0
  at Oxide.Core.Unity.UnityScript.Update () [0x00015] in <7c80e4af35e346a1bc843b5e98e25d87>:0
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x0002c] in <4889cca7f3644a7fa341501beb4caacb>:0

 

m3dus4

Posted

ok maybe its trhe double command?

"List of commands that are fired off when the player data is reset":

[
"say Test data reset.",
"resetdata {name}",
"givesp {name} 900"
]
}

imthenewguy

Posted

Yeah don't run "resetdata {name}"

That's causing the issue.

 

imthenewguy

Posted (edited)

I have added native support for prestige systems in the next release.

You are welcome to join my discord and get it early.

Edited by imthenewguy
  • Like 1
m3dus4

Posted

oki done u can close the ticket thx 🙂

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.