Jump to content

Error combat - What am I missing here?


Recommended Posts

Long story short,

 

In the chester family we released Party Chester right on my birthday. All was well and good up until this week. Now whenever Party Chester is summoned on the map, anybody who is not the server host gets kicked from the game.

 

Afetogbo my coder and I have gone through and searched through our files but have had no success.

 

LUA ERROR stack traceback:
scripts/components/combat.lua:2 in (field) ? (Lua) <1-3>
   self =
      inst = 100950 -  (valid:true)
      battlecryenabled = true
      _ = table: 266F8DE0
   attackrange = 3
scripts/class.lua:30 in () ? (Lua) <23-32>
   t = table: 266F8E08
   k = attackrange
   v = 3
   p = table: 266F91F0
   old = nil
scripts/components/combat.lua:26 in (field) _ctor (Lua) <21-46>
   self =
      inst = 100950 -  (valid:true)
      battlecryenabled = true
      _ = table: 266F8DE0
   inst = 100950 -  (valid:true)
scripts/class.lua:181 in (local) cmp (Lua) <171-184>
   class_tbl = table: 11311C48
   arg = nil
   obj = table: 266F8E08
scripts/entityscript.lua:512 in (method) AddComponent (Lua) <501-523>
   self (valid:true) =
      DynamicShadow = DynamicShadow (45810748)
      Transform = Transform (45810FC8)
      inlimbo = false
      actionreplica = table: 267000B8
      event_listening = table: 26701670
      actioncomponents = table: 266FF898
      lower_components_shadow = table: 266FF848
      entity = Entity (27CD9FA0)
      AnimState = AnimState (4580D728)
      Network = Network (45815088)
      persists = true
      MiniMapEntity = MiniMapEntity (45816528)
      SoundEmitter = SoundEmitter (45816108)
      pendingtasks = table: 266FDAE8
      spawntime = 35.133335165679
      Physics = Physics (4580EA48)
      replica = table: 266FF870
      event_listeners = table: 267002E8
      components = table: 266FF820
      GUID = 100950
   name = combat
   lower_name = combat
   cmp = table: 11311C48
../mods/workshop-416633789/scripts/prefabs/partychester.lua:718 in (field) fn (Lua) <674-779>
   inst = 100950 -  (valid:true)
scripts/mainfunctions.lua:148 in () ? (Lua) <137-168>
   name = partychester
   prefab = Prefab partychester - 
 
[00:08:50]: SCRIPT ERROR! Showing error screen
[00:08:50]: RakNet detected a missing replica (27677)
[00:08:50]: RakNet detected a missing replica (15875)
[00:08:50]: RakNet detected a missing replica (66314)
[00:08:50]: RakNet detected a missing replica (253411)
[00:08:50]: RakNet detected a missing replica (150943)
[00:08:50]: RakNet detected a missing replica (160574)
[00:08:50]: RakNet detected a missing replica (29203)
[00:08:50]: RakNet detected a missing replica (233785)
[00:08:50]: RakNet detected a missing replica (74497)
[00:08:50]: RakNet detected a missing replica (102379)
[00:08:50]: RakNet detected a missing replica (197796)
[00:08:50]: RakNet detected a missing replica (128742)
[00:08:50]: RakNet detected a missing replica (230338)
[00:08:50]: RakNet detected a missing replica (52593)
[00:08:50]: RakNet detected a missing replica (107934)
[00:08:50]: RakNet detected a missing replica (242414)
[00:08:50]: RakNet detected a missing replica (54541)
[00:08:50]: RakNet detected a missing replica (253435)
[00:08:50]: RakNet detected a missing replica (6399)
[00:08:50]: RakNet detected a missing replica (101278)
[00:08:50]: RakNet detected a missing replica (137595)
[00:08:50]: RakNet detected a missing replica (109084)
[00:08:50]: RakNet detected a missing replica (151573)
[00:08:50]: RakNet detected a missing replica (121106)
[00:08:50]: RakNet detected a missing replica (201940)
[00:08:50]: RakNet detected a missing replica (170983)
[00:08:50]: RakNet detected a missing replica (235876)
[00:08:50]: RakNet detected a missing replica (49500)
[00:08:50]: RakNet detected a missing replica (143854)
[00:08:50]: RakNet detected a missing replica (54123)
[00:08:50]: RakNet detected a missing replica (192332)
[00:08:50]: RakNet detected a missing replica (158915)
[00:08:50]: RakNet detected a missing replica (32958)
[00:08:50]: RakNet detected a missing replica (89347)
[00:08:50]: RakNet detected a missing replica (5352)
[00:08:50]: RakNet detected a missing replica (235044)
[00:08:50]: RakNet detected a missing replica (237489)
[00:08:50]: RakNet detected a missing replica (239)
[00:08:50]: RakNet detected a missing replica (46105)
[00:08:50]: RakNet detected a missing replica (74962)
[00:08:50]: RakNet detected a missing replica (159954)
[00:08:50]: RakNet detected a missing replica (171410)
[00:08:50]: RakNet detected a missing replica (34519)
[00:08:50]: RakNet detected a missing replica (186768)
[00:08:50]: RakNet detected a missing replica (230653)
[00:08:50]: RakNet detected a missing replica (138176)
[00:08:50]: RakNet detected a missing replica (40965)
[00:08:50]: RakNet detected a missing replica (65800)
[00:08:50]: RakNet detected a missing replica (6432)
[00:08:50]: RakNet detected a missing replica (93807)
[00:08:50]: RakNet detected a missing replica (249297)
[00:08:50]: RakNet detected a missing replica (5958)
[00:08:50]: RakNet detected a missing replica (104861)
[00:08:50]: RakNet detected a missing replica (90927)
[00:08:50]: RakNet detected a missing replica (177597)
[00:08:50]: RakNet detected a missing replica (259798)
[00:08:50]: RakNet detected a missing replica (253067)
[00:08:50]: RakNet detected a missing replica (90480)
[00:08:50]: RakNet detected a missing replica (178397)
[00:08:50]: RakNet detected a missing replica (14327)
[00:08:50]: RakNet detected a missing replica (220440)
[00:08:50]: RakNet detected a missing replica (94318)
[00:08:50]: RakNet detected a missing replica (248253)
[00:08:50]: RakNet detected a missing replica (202310)
[00:08:50]: RakNet detected a missing replica (186903)
[00:08:50]: RakNet detected a missing replica (90977)
[00:08:50]: RakNet detected a missing replica (35005)
[00:08:50]: RakNet detected a missing replica (45078)
[00:08:50]: RakNet detected a missing replica (20489)
[00:08:50]: RakNet detected a missing replica (249957)
[00:08:50]: RakNet detected a missing replica (141079)
[00:08:50]: RakNet detected a missing replica (115433)
[00:08:50]: RakNet detected a missing replica (230368)
[00:08:50]: RakNet detected a missing replica (202554)
[00:08:50]: RakNet detected a missing replica (40447)
[00:08:50]: RakNet detected a missing replica (144786)
[00:08:50]: RakNet detected a missing replica (12544)
[00:08:50]: RakNet detected a missing replica (126976)
[00:08:50]: RakNet detected a missing replica (142698)
[00:08:50]: RakNet detected a missing replica (32821)
[00:08:50]: RakNet detected a missing replica (32842)
[00:08:50]: RakNet detected a missing replica (12916)
[00:08:50]: RakNet detected a missing replica (232132)
[00:08:50]: RakNet detected a missing replica (106864)
[00:08:50]: RakNet detected a missing replica (213464)
[00:08:50]: RakNet detected a missing replica (39301)
[00:08:50]: RakNet detected a missing replica (216165)
[00:08:50]: RakNet detected a missing replica (24653)
[00:08:50]: RakNet detected a missing replica (40978)
[00:08:50]: RakNet detected a missing replica (172491)
[00:08:50]: RakNet detected a missing replica (73522)
[00:08:50]: RakNet detected a missing replica (230571)
[00:08:50]: RakNet detected a missing replica (65103)
[00:08:50]: RakNet detected a missing replica (208596)
[00:08:50]: RakNet detected a missing replica (244245)
[00:08:51]: RakNet detected a missing replica (27677)
[00:08:51]: RakNet detected a missing replica (11266)
[00:08:51]: RakNet detected a missing replica (106247)
[00:08:51]: RakNet detected a missing replica (22001)
[00:08:51]: RakNet detected a missing replica (22436)
[00:08:51]: RakNet detected a missing replica (109084)
[00:08:51]: RakNet detected a missing replica (151573)
[00:08:51]: RakNet detected a missing replica (121106)
[00:08:51]: RakNet detected a missing replica (69588)
[00:08:51]: RakNet detected a missing replica (32222)
[00:08:51]: RakNet detected a missing replica (260568)
[00:08:51]: RakNet detected a missing replica (216376)
[00:08:51]: RakNet detected a missing replica (260372)
[00:08:51]: RakNet detected a missing replica (170139)
[00:08:51]: RakNet detected a missing replica (91150)
[00:08:51]: RakNet detected a missing replica (20672)
[00:08:51]: RakNet detected a missing replica (236367)
[00:08:51]: RakNet detected a missing replica (2663)
[00:08:51]: RakNet detected a missing replica (51005)
[00:08:51]: RakNet detected a missing replica (92114)
[00:08:51]: RakNet detected a missing replica (197747)
[00:08:51]: RakNet detected a missing replica (108839)
[00:08:51]: RakNet detected a missing replica (175227)
[00:08:51]: RakNet detected a missing replica (95683)
[00:08:51]: RakNet detected a missing replica (60990)
[00:08:51]: RakNet detected a missing replica (224198)
[00:08:51]: RakNet detected a missing replica (227151)
[00:08:51]: RakNet detected a missing replica (155900)
[00:08:51]: RakNet detected a missing replica (77178)
[00:08:51]: RakNet detected a missing replica (26604)
[00:08:51]: RakNet detected a missing replica (102912)
[00:08:51]: RakNet detected a missing replica (41773)
Link to comment
Share on other sites

Here's the whole file for ya, it only happens to the people who are not the host of the server. We've gone over the codes line by line but there doesn't 'seem' to be anything amiss. Granted we could just have been looking at the codes for so long we missed something. Not sure.

 

I would include the mod itself but the forums wont let me upload that.

log.txt

Link to comment
Share on other sites

    if not TheWorld.ismastersim then        inst:DoTaskInTime(0, function()        inst.replica.container:WidgetSetup("chester")        end)        return inst -- missing    end    inst.entity:SetPristine()

The return inst is missing.

Clients spawn something with all components, in this case, combat causes a crash.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...