Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (VoroneTZ), 766 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 8 of 32 1 2 6 7 8 9 10 31 32
Re: C# wrapper - RELEASE 1.1.0 [Re: DJBMASTER] #281215
07/26/09 07:00
07/26/09 07:00
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
Cool demo !

1.1.0.2 fixed a bug where one couldn't use functions that use Angles or Colors ^^

question 1, nope they don't have to be static and i also would say that several entites would pick up the same values if the run the same function.

question 2, currently you have to create a dummy entity to add a function to the scheduler e.g. -> "EngFun.ent_create(null, new Vector(0, 0, 0), RotateEnt);"
This will result in the engine calling this function and thus it is added to the scheduler! But if you add the funciton via ent_create you have to change the signature to "public static IEnumerable RotateEnt(IntPtr p)".


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper - RELEASE 1.1.0 [Re: Stromausfall] #281216
07/26/09 07:06
07/26/09 07:06
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
May i add your ModelViewer to the Samples ?


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper - RELEASE 1.1.0 [Re: Stromausfall] #281223
07/26/09 07:51
07/26/09 07:51
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Of course, no problem.

One other thing. Are you able to set the mouse_map? I've tried and failed, lol.

In regards to creating a dummy entity to add a function to the scheduler, are your plans in the future for something like scheduler.Addfunction(pointer)?

Last edited by DJBMASTER; 07/26/09 08:03.
Re: C# wrapper - RELEASE 1.1.0 [Re: DJBMASTER] #281224
07/26/09 08:11
07/26/09 08:11
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
Great!
hmmm yes mouse_map is indeed strange! bmap_create works perfectly but there seems to be an problem with mouse_map, I'll look into it right now.


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper - RELEASE 1.1.0 [Re: Stromausfall] #281225
07/26/09 08:44
07/26/09 08:44
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
while you're there you might wanna check passing null to a Color parameter. I'm using draw_line_3D, and the manual says if you pass 'null' to the 2nd parameter, then it just sets the point > which i want.

I've tried (Color)null, (Vector)null and just null, all cause Exception.

Last edited by DJBMASTER; 07/26/09 08:44.
Re: C# wrapper - RELEASE 1.1.0 [Re: DJBMASTER] #281294
07/26/09 16:18
07/26/09 16:18
Joined: Feb 2005
Posts: 3,687
Hessen, Germany
T
Tempelbauer Offline
Expert
Tempelbauer  Offline
Expert
T

Joined: Feb 2005
Posts: 3,687
Hessen, Germany
Sounds great, but i cant use them, cause i´m dont have a7 frown

Re: C# wrapper - RELEASE 1.1.0 [Re: Tempelbauer] #281307
07/26/09 17:26
07/26/09 17:26
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
@djbmaster: yes a function like scheduler.addfunction would be useful and will most likely be implemented in a future release.


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper - RELEASE 1.1.0 [Re: Stromausfall] #281346
07/26/09 20:04
07/26/09 20:04
Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
pararealist Offline
Senior Member
pararealist  Offline
Senior Member

Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
@Stromausfall

Seems to be a problem with

EngVar.enable_polycollision.IntValue = 1;

Please check this.

Thanks

Last edited by pararealist; 07/26/09 20:04.

A8.3x Commercial, AcknexWrapper and VS 2010 Express
○pararealist now.
Re: C# wrapper - RELEASE 1.1.0 [Re: pararealist] #281348
07/26/09 20:14
07/26/09 20:14
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
hmmm, what exactly doesn't work with enable_polycollision ?


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper - RELEASE 1.1.1.0 [Re: Stromausfall] #281360
07/26/09 21:09
07/26/09 21:09
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
I uploaded a new Version of the wrapper : 1.1.1.0 for A7.77
This update fixes two severe bugs, it also adds a function to let the user add a method to the scheduler without creating a dummy entity. And with this update the Samples got updated, the excellent contribution by DJBMASTER (to use the engine in c# forms) was added to the samples zip-archive.


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Page 8 of 32 1 2 6 7 8 9 10 31 32

Moderated by  TWO 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1