Poll

Should I add an auto-updater system? edit:help i'm trapped in the future

yes
90 (84.1%)
no
17 (15.9%)

Total Members Voted: 106

Author Topic: {Event_DayCycles} Events for your whole day! V16 8-27 - probably still broked :/  (Read 23583 times)

« Last Edit: August 27, 2012, 11:19:48 PM by Electrk »


fixed

well, the reloading part
i dunno about the other part
Yay! Thank you. The other part was explaining the first part, don't worry about it.

Wtf why is there no %this in fxdtsbrix::addevent?
Or is ther version on page 1 outdated

Code: [Select]
function fxDtsBrick::onRemove(%brick)
Code: [Select]
parent::onDeath(%brick);
...

Great. Now loading any save isnt loading the events. I get lots of console spam though:
Code: [Select]
Add-Ons/Event_DayCycles/package.cs (51): Unknown command aserverCmdAddEvent.
I also noticed that every time i broke a brick it gave me this error, which massively lagged when deleting multiple bricks. Might not be related:
Code: [Select]
Add-Ons/JVS_Content/server.cs (2493): Unable to find object: '' attempting to call function 'contentTypeID'
BackTrace: ->SimGroup::ChainDeleteAll->[BrickText]fxDTSBrick::onRemove->[dayCycleTime]fxDTSBrick::onRemove->[Event_Minigame]fxDTSBrick::onDeath->[MinigameSpawn]fxDTSBrick::onDeath->[RacingEvents]fxDTSBrick::onDeath->[WaterEvents]fxDTSBrick::onDeath->[ZoneEvents]fxDTSBrick::onDeath->[JVS_Content]fxDTSBrick::onDeath


base/server/scripts/allGameScripts.cs (20382): Unable to find object: '' attempting to call function 'getName'
BackTrace: ->SimGroup::ChainDeleteAll->[BrickText]fxDTSBrick::onRemove->[dayCycleTime]fxDTSBrick::onRemove->[Event_Minigame]fxDTSBrick::onDeath->[MinigameSpawn]fxDTSBrick::onDeath->[RacingEvents]fxDTSBrick::onDeath->[WaterEvents]fxDTSBrick::onDeath->[ZoneEvents]fxDTSBrick::onDeath->[JVS_Content]fxDTSBrick::onDeath->fxDTSBrick::onDeath


base/server/scripts/allGameScripts.cs (20389): Unable to find object: '' attempting to call function 'getDataBlock'
BackTrace: ->SimGroup::ChainDeleteAll->[BrickText]fxDTSBrick::onRemove->[dayCycleTime]fxDTSBrick::onRemove->[Event_Minigame]fxDTSBrick::onDeath->[MinigameSpawn]fxDTSBrick::onDeath->[RacingEvents]fxDTSBrick::onDeath->[WaterEvents]fxDTSBrick::onDeath->[ZoneEvents]fxDTSBrick::onDeath->[JVS_Content]fxDTSBrick::onDeath->fxDTSBrick::onDeath


base/server/scripts/allGameScripts.cs (20389): Unable to find object: '' attempting to call function 'onDeath'
BackTrace: ->SimGroup::ChainDeleteAll->[BrickText]fxDTSBrick::onRemove->[dayCycleTime]fxDTSBrick::onRemove->[Event_Minigame]fxDTSBrick::onDeath->[MinigameSpawn]fxDTSBrick::onDeath->[RacingEvents]fxDTSBrick::onDeath->[WaterEvents]fxDTSBrick::onDeath->[ZoneEvents]fxDTSBrick::onDeath->[JVS_Content]fxDTSBrick::onDeath->fxDTSBrick::onDeath

From what i can tell, my base/server/scripts/addGameScripts.cs is broken..

EDIT: I fixed it, was simply a typo on line 51, remove the "a" in "aserverCmdAddEvent" so its "serverCmdAddEvent". I would upload a fixed version, but its such a minor fix that you will probably get it fixed and uploaded before i do. I'm still getting the other error, however its more of a thing for a new topic, or search. Ill try reinstalling that file.
« Last Edit: August 28, 2012, 10:41:53 AM by boodals 2 »


I have no idea how to fix that or even what you mean.. Replace
Code: [Select]
function fxDtsBrick::onRemove(%brick) with
Code: [Select]
parent::onDeath(%brick); or something?

I have no idea how to fix that or even what you mean.. Replace
Code: [Select]
function fxDtsBrick::onRemove(%brick) with
Code: [Select]
parent::onDeath(%brick); or something?
No...
When the function is onRemove, why the forget would you parent onDEATH?!?!?

Replace onDeath(%brick) with onRemove(%brick)

Ooooh, looking at the code, i understand now. I've done it, testing in a sec..

Edit:
Okay, tested it with both changes. It still doesn't work after loading. Any ideas Mold or anyone?
« Last Edit: August 28, 2012, 12:17:54 PM by boodals 2 »

Itt: typos

fixed typos

boobals your problem was probably caused by my typos

try with new version
« Last Edit: August 28, 2012, 02:03:41 PM by Lugnut »

I have my doubts about how authentic these events are.

Especially with all the revisions it has had to go through.

I have my doubts about how authentic these events are.

Especially with all the revisions it has had to go through.

Audax, you like men; your argument is invalid.

I still have yet to get these events to work, tell me if this is correct

[daycycleondusk] [namedbrick] [light] [setlight] [streetlight]

Is there anything else im missing?  I have V15, so it isnt a lack of update.

is your daycycles enabled
are you getting console errors
latest version is actually 16