Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-07-10 14:54:16

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 966
Website

[Question] EEphysics - Setup

Hi there guys.

I'm fiddling around with some things in a test bot. One think I want to get working is EEphysics.
I looked at the wiki on how to start the thing. There comes my first problem >.<

In the wiki it says that I have to put the 'physicsWorld.HandleMessage(m);' in the message handler.
The problem is that whenever I start the bot and connect it to my world it crashes...
I have no idea what I am doing wrong. Is the .dll outdated? I got it from here > URL to github

Some help would be nice //forums.everybodyedits.com/img/smilies/smile


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

#2 2016-07-10 15:17:55

Jesse
Member
From: Antartica?
Joined: 2015-02-16
Posts: 69
Website

Re: [Question] EEphysics - Setup

Try downloading EEPhysics from Nuget, if you're using Visual Studio 2012 or above goto: Project > Manage Nuget Packages > Browse  and search for "EEPhysics"

You should see this:

Image

When you installed the latest version (v1.4.4.1 as todays post).
You can use this example source: http://pastebin.com/5jmjeKpK


Thanks a lot, Sensei1, for drawing this amazing avatar for me <3

Sig.php

Offline

#3 2016-07-10 16:03:52

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 966
Website

Re: [Question] EEphysics - Setup

Thanks you!

Because I'm an idiot I use the 2010 version (The one used in the tutorial) XD
I have the newest visual studio 2015 too but I feel like it works slower (starting a debug for example).

I downloaded the Nuget Packet and copied the .dll's into my own project //forums.everybodyedits.com/img/smilies/big_smile
Everything works fine now //forums.everybodyedits.com/img/smilies/smile

Thank you again //forums.everybodyedits.com/img/smilies/tongue


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

#4 2016-07-10 17:23:03, last edited by MartenM (2016-07-10 17:23:22)

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 966
Website

Re: [Question] EEphysics - Setup

ERROR... //forums.everybodyedits.com/img/smilies/sad

Everything works fine. Except when I let the bot move (I move too) it crashes in the EEphysics.dll somewhere. Shouldn't the bot id thingy prevent this?


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

#5 2016-07-11 14:22:45

DarkDragon4900
Member
Joined: 2015-03-17
Posts: 251

Re: [Question] EEphysics - Setup

You should probably post the error you got.

Offline

Wooted by: (2)

#6 2016-07-11 22:31:44, last edited by MartenM (2016-07-11 22:43:05)

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 966
Website

Re: [Question] EEphysics - Setup

As you guys requested. Here is the all the 'info' I can get from this error.

The error it self

Happens when I run this code and move at the same time:

Yeah this code

And seems to take place in the EEphysics DLL

As shown here.

So it seems like it takes track of the bot too for some reason I think, is it supposed to be like this?
Everything else like the getting players positions works great. It only crashes when I move the bot and I my self move too. (Yeah I tested it while standing still...)

So any idea on how to fix this?
Exluding the bot from the whole EEphysics thing might work...

EDIT:
I might have found the problem. It has to do with a block (ID: 1042 (the moraphle half blocks of the domestic pack)). Whenever you jump move on it EEphysics crashes.


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

#7 2016-07-11 23:41:56

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: [Question] EEphysics - Setup

MartenM wrote:
Lots of text

Off-topic: Lel, didn't know you were also Dutch

On-topic: If it's because You move both the bot and yourself at the same time, I think it's best you file in the bug so he can fix it (though I think he uses player id and not username).
If it's because of the half blocks... you should also file in the bug so he can fix it, don't forget it's helpful you give him all the information he needs so he can reproduce it, meaning a piece of the map where it goes wrong and the code you use.

Offline

Wooted by:

#8 2016-07-12 00:48:10

Jesse
Member
From: Antartica?
Joined: 2015-02-16
Posts: 69
Website

Re: [Question] EEphysics - Setup

Yes, I have to agree with den3107, I wasn't able to reproduce the bug.
Do you also get this bug when you're using the example source I gave?


Thanks a lot, Sensei1, for drawing this amazing avatar for me <3

Sig.php

Offline

#9 2016-07-12 12:07:46, last edited by MartenM (2016-07-12 12:40:40)

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 966
Website

Re: [Question] EEphysics - Setup

This is the best way I can share what happens
Please use fullscreen, its 1080P80FPS //forums.everybodyedits.com/img/smilies/smile

So the ERROR is thrown when someone moves on one of those half slabs. I used the example of EEphysics that jesse posted in the first response

Jesse wrote:

You can use this example source: http://pastebin.com/5jmjeKpK

This should be enough to recreate the bug your selfs guys. I can't fix this bug because I have no idea what's going on in the EEphysics DLL :/


I think a lot of bots crash due to this bug (including bombot maybe?)


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

Wooted by: (2)

#10 2016-07-12 15:06:04

Thanel
Member
Joined: 2015-02-18
Posts: 713

Re: [Question] EEphysics - Setup

I've published pull request with a potential fix for @MartenM's crashes. https://github.com/cap9/EEPhysics/pull/15
It stopped crashing for me after that.

Offline

Wooted by: (3)

#11 2016-07-12 17:37:12

Jesse
Member
From: Antartica?
Joined: 2015-02-16
Posts: 69
Website

Re: [Question] EEphysics - Setup

Thank you Thanel.

I've merged Thanel's pull request and updated EEPhysics on nuget.

You should now be able to update to EEPhysics v1.4.4.3


Thanks a lot, Sensei1, for drawing this amazing avatar for me <3

Sig.php

Offline

#12 2016-07-12 18:25:24

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 966
Website

Re: [Question] EEphysics - Setup

Everything works now. Thank you guys!


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

#13 2016-07-12 20:08:16

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: [Question] EEphysics - Setup

God bless developers that help with stuff and social developer stuff and stuff.
Yep.
Don't forget to close the thread, Marten, as I assume it's fixed now?

Offline

den31071468350496612291

Board footer

Powered by FluxBB

[ Started around 1711693252.7137 - Generated in 0.066 seconds, 12 queries executed - Memory usage: 1.57 MiB (Peak: 1.77 MiB) ]