Gamestudio Links
Zorro Links
Newest Posts
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
folder management functions
by 7th_zorro. 04/15/24 10:10
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
SGT_FW
by Aku_Aku. 04/10/24 16:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, Quad), 373 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 20 of 32 1 2 18 19 20 21 22 31 32
Re: C# wrapper - A7.80 V1.0.7 [Re: pararealist] #291299
09/24/09 12:33
09/24/09 12:33
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
Glad to hear that ^^


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 - A7.80 V1.0.7 [Re: Stromausfall] #291843
09/28/09 13:08
09/28/09 13:08
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Hey Stromausfall,

i am getting an error if i try to compile the project,

Error 1 The command "CD C:\
C:\Program Files\GStudio7\WED.exe -p "C:\Users\Quadraxas\Desktop\test\testproj\testproj\bin\Debug\\testproj.exe"" exited with code 9009. testproj

post build command-line:
CD C:\
C:\Program files\GStudio7\WED.exe -p "$(TargetDir)\$(TargetFileName)"

i guess ijust saw this someone else asking this but i lost it, ill be glad if you could help.

edit:k, i changed post-build command line to this:

CD C:\Program Files\GStudio7\
WED.exe -p $(TargetDir)$(TargetFileName)

and it worked.

Last edited by Quadraxas; 09/28/09 13:41.

3333333333
Re: C# wrapper - A7.80 V1.0.8 [Re: Quad] #291970
09/29/09 12:47
09/29/09 12:47
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
I've just uploaded version 1.0.8 of the C# wrapper for A7.80
This version fixes a bug where a negative value X for "yield return" didn't result in pausing the method for X seconds, but only for a few frames.
example :
Code:
yield return -1; //pause the method for 1 second
yield return 1; //pause the method for 1 frame


The new version now fixes this bug.

Last edited by Stromausfall; 09/29/09 12:51.

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 - A7.80 V1.0.9 [Re: Stromausfall] #292312
10/01/09 20:44
10/01/09 20:44
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
I've just uploaded version 1.0.9 of the C# wrapper for A7.80
This version removes the two functions :
Scheduler.NewFirstEventVoid(EventVoid MethodToSchedule)
Scheduler.NewLastEventVoid(EventVoid MethodToSchedule)
and instead offers a new system to control when a function should be executed.
I've also uploaded a small demo project to show how the new scheduler priority feature which works with 5 different lists and should imitate the proc_mode feature of lite-c, works !
here's the link to the demo project :
http://acknexwrapper.matthias-auer.net/7_80/1_0/WrapperTestApp1_0_9_A7_80.zip
One should also notice that each change from one SchedulerList to another results in the function waiting for one frame, just like yield return 1 !

another thing that changed with 1.0.9 is, that all standard constructors from EngineObjects were removed - to ensure that they don't fool one to believe that it is possible to create for example an ENTITY object without the help of for example ent_create !

If one didn't use standard constructors for EngineObjects or used the two functions introduced in 1.0.6, this update should be 100% downward compatible !

Big thanks go to pararealist, who helped me in deciding to rework the two functions (NewFirstEventVoid and NewLastEventVoid) to the new scheduler priority feature !

Last edited by Stromausfall; 10/01/09 20:49.

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 - A7.80 V1.1.0 [Re: Stromausfall] #292654
10/05/09 18:57
10/05/09 18:57
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
I'v just uploaded version 1.1.0 of the c# wrapper for A7.80

- This version adds several Vectors to access Vars like skill_x, skill_y and skill_z additionally easier
- String to STRING operator changed from explicit to implicit

Big thanks to pararealist, who told me that some Vectors to access Vars easier weren't implemented !


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.2 [Re: Stromausfall] #293958
10/15/09 05:39
10/15/09 05:39
Joined: May 2009
Posts: 258
Chicago
J
Jaeger Offline
Member
Jaeger  Offline
Member
J

Joined: May 2009
Posts: 258
Chicago
Wow! Looks like this project is coming along nicely!

Been away for quite a while, since I don't use 3DGS anymore, but wanted to come back for a visit. I'm thoroughly impressed with this project though, and think this is going to make the engine a very finely polished piece of machinery! laugh

I got into C# a while back, and I've totally embraced it as my primary language. My productivity over C++ has been amazing. So I think this is definitely a step in the right direction for the community. It would be awesome to see this formally supported by the developers (if they aren't already, and I'm unaware)!

I've got some serious projects going on, so I've been extremely busy. But I hope I'll have time to contribute to something like this some day. Great work, and my applause to all of you who've developed this though! wink

One suggestion I'd like to make though is to look into some security measures. We all (I hope) know how easy it is to decompile .NET, which would make people's games easy to hack. :-/ There are lots of good obfuscators out there, but I don't feel it's enough, personally. I've developed my own measures for this, but it would be foolish to elaborate on. So do look into it, please! It would suck to see someone get screwed after releasing their game! frown

Re: C# wrapper - RELEASE 1.1.1.2 [Re: Jaeger] #294038
10/15/09 18:36
10/15/09 18:36
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
Thanks - but you also have to thank the community, as quite a large part of the wrapper was implemented after I got input from the community ^^

I have to admit that you caught me off guard ^^ I didn't knew about decompiling .net programs smirk
I will try to look in this issue in my spare time - but right now I would expect that this is not a wrapper issue.
If even a good obfuscator can't stop someone from hacking the game, then I don't know what can frown


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.2 [Re: Stromausfall] #297591
11/08/09 15:54
11/08/09 15:54
Joined: May 2009
Posts: 258
Chicago
J
Jaeger Offline
Member
Jaeger  Offline
Member
J

Joined: May 2009
Posts: 258
Chicago
No, the wrapper itself isn't the/a problem. The problem is in how people will deploy their games. I can't look now, since I've given away my 3DGS license key (and don’t even have it installed anymore), but I think even Lite-C games can be easily patched/reversed/cracked/etc.

Without revealing too much of my personal "insurance policy", I'll try to give a bit of an explanation...

#1) Good obfuscators are a MUST! Dotfuscator should be sufficient in repelling the majority of attacks. But don't kid yourself into thinking it's invincible. eek

The key is verbosity and ambiguity. Good obfuscators will let you control what lengths it goes to. With a good one, any program (like Reflector) which tries to parse the IL, metadata and generate source code will get a whacky jumble of practically meaningless code. It is hard enough to understand clean code without documentation and comments, but this ups the ante. The only thing you really have to worry about is using System.Reflection in your assemblies, which can cause unexpected bugs in obfuscated CIL.

#2) Next is encryption. You can have all of your strings encrypted, of course. But you can also fully encrypt your assemblies with certain tools (or on your own). wink They key to this is just making sure there's a way for the CLR to decrypt and understand the code, so it can be JIT'ed. Believe it or not, there are still even ways to precompile .NET to native binary! However, portability is a HUGE concern, and you lose the power of CLR management. So I really wouldn't think of that, honestly.

So I think there's two possible options. There's raising community awareness about possible attacks on their .NET games, and there's creating a tool to prevent it. The former, I think, needs to be done in any case. People need to understand what's possible BEFORE they start working on a serious project.

I'm very experienced with .NET and know most of the intricacies of the CLR. I've also got a pretty strong arsenal of knowledge pertaining to native assembly language, and how it relates to programmers concerned with security. When we were teenagers, my friends and I would even exchange Win32 "crackme" applications and try to crack/patch/keygen each other's code. laugh And I still probe my own native code for weaknesses with a good ol' debugger. Even native can be frighteningly easy to crack. :-/ The trick is to make it so time consuming that the attacker will give up and move on.

If wanted, I can make time soon to do some articles/tutorials about such topics, and .NET/CLR themselves. I think that could shed some light on different vulnerabilities and possibilities. So if people are interested, please let me know, and what topics you would like to know more about. I can even do general C# stuff too, since I’ve noticed that most people try to make C# code “just work”, instead of work correctly and efficiently. I.e., making fields public (static) for external access. Ewww! *shudders* laugh

But on top of this, there are even less forceful ways to impede cheaters and crackers. Those pertain to the actual design of the software itself. This is especially true for online game networking; where a good client/server architecture can make cheating nearly impossible!

Oops, sorry for MY verbosity, heheh… But let me know. I’ll be around frequently.

Re: C# wrapper - RELEASE 1.1.1.2 [Re: Jaeger] #302170
12/17/09 05:27
12/17/09 05:27
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Hey guys, remember when we were talking about buidling assemblies on the fly and executing them. I was messing around earlier and it works pretty well...

http://www.youtube.com/watch?v=A5tTo11xp8w

Last edited by DJBMASTER; 12/17/09 08:28.
Re: C# wrapper - RELEASE 1.1.1.2 [Re: DJBMASTER] #302196
12/17/09 13:50
12/17/09 13:50
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
Impressive application !! That 'Dynamic-lite-c' is a really interesting use of the engine sdk!



Last edited by Stromausfall; 12/17/09 13:52.

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 20 of 32 1 2 18 19 20 21 22 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