Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO Event System] EventLogic Bugfix


Whackeddie99
 Share

Recommended Posts

UpdateEventLogic was placed inside a For Next by accident…needs to be changed.

server side, server loop:

Find where it calls this sub:

```

UpdateEventLogic

```

move it below the next like this:

```

Next

UpdateEventLogic

```

![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
Link to comment
Share on other sites

~~Thanks for bugfix publishing. ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)~~

Hate my net. xD

p.s. This fix will take less cpu because of not updating event logic serveral times but just only once when needed?
Link to comment
Share on other sites

Its small optimisations like this which make the difference in overall performance and stability. I do however wish there was just one single topic where we could house them all instead of having all these random topics scattered all-over the place.

Nevertheless thank you.
Link to comment
Share on other sites

Actually, this was not a bug in my first write-up of the event logic. Afterwards, though, I split it up into 4-5 different subs which cycled through the players causing the original code to be less optimized….. Good find ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)
Link to comment
Share on other sites

> Is it in the right place pasted?
>
> ![](http://img832.imageshack.us/img832/9840/questionx.png)

Yeah, that's it lol.

> Actually, this was not a bug in my first write-up of the event logic. Afterwards, though, I split it up into 4-5 different subs which cycled through the players causing the original code to be less optimized….. Good find ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)

Thanks (: I actually found it by mistake, and the thing is it really would not be noticed unless there was more than 1 player online, and we all know how rare that is for an eclipse game *smirk*
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...