Raised This Month: $51 Target: $400
 12% 

Programming Plugins In C#


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
haza55
Member
Join Date: Jul 2005
Old 01-01-2006 , 01:07   Programming Plugins In C#
#1

Dose anyone know if it is possible to program a plugin in C# because i dont know C++?
haza55 is offline
SeLfkiLL
Member
Join Date: Nov 2005
Old 01-01-2006 , 04:03  
#2

Actually, all plugins are coded in the Proper English Pseudo-Gaben Code Language.
For example:

Code:
If a player is acting naughty
then ask him to please behave more appropriately.
notice the below will generate a syntax error because it is missing a punctuation mark:
Code:
Dear Server,
I would like all players to wear funny hats
how to make all players conform to server admin standards:
Code:
Since I like icecream cones
all users who do not like icecream cones must be banned.
Go to www.gaben-compiler.com to compile this code.
</sarcasm>

C# is another way for Microsoft to spread their proprietary money-making agenda. I wouldn't stick with watered-down languages such as C# since it's unsupported on other platforms and probably not very efficient, which is critical for game programming.

As for an answer to your question, refer to this thread for an already on-going discussion about it: http://forums.alliedmods.net/showthread.php?t=39478
SeLfkiLL is offline
Send a message via AIM to SeLfkiLL
ichthys
Veteran Member
Join Date: Dec 2004
Location: []*[]
Old 01-01-2006 , 16:30  
#3

lmao
__________________
ichthys is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 01-01-2006 , 18:07  
#4

Quote:
Originally Posted by SeLfkiLL
Actually, all plugins are coded in the Proper English Pseudo-Gaben Code Language.
For example:

Code:
If a player is acting naughty
then ask him to please behave more appropriately.
notice the below will generate a syntax error because it is missing a punctuation mark:
Code:
Dear Server,
I would like all players to wear funny hats
how to make all players conform to server admin standards:
Code:
Since I like icecream cones
all users who do not like icecream cones must be banned.
Go to www.gaben-compiler.com to compile this code.
</sarcasm>

C# is another way for Microsoft to spread their proprietary money-making agenda. I wouldn't stick with watered-down languages such as C# since it's unsupported on other platforms and probably not very efficient, which is critical for game programming.

As for an answer to your question, refer to this thread for an already on-going discussion about it: http://forums.alliedmods.net/showthread.php?t=39478
Classic!
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
haza55
Member
Join Date: Jul 2005
Old 01-09-2006 , 17:49  
#5

lol
haza55 is offline
haza55
Member
Join Date: Jul 2005
Old 01-09-2006 , 17:59  
#6

SeLfkiLL u might want to try this code
Code:
using A.Brain;
using Big.Cock;

class UrMuma 
{
	public static void Main() 
	{
         string brainbuffer;
         string output;
         try
          {
            A.Brain urmumsbrain = new A.Brain(brainbuffer);
            urmumsbrains.ToString(output);
          }
         catch
          {
           Console.WriteLine("No Brain Was Detected");
           }
         Console.WriteLine("This is the output of ur mums brain is:{0}",        output);
       }
}
The Ouput on the console is:
Code:
This is the output of ur mums brain is: Im a fucking whore and i rape ur brother hardcore. Im a big fat slut.
haza55 is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 01-09-2006 , 18:17  
#7

L. Duke is offline
cybermind
Senior Member
Join Date: Oct 2004
Old 01-09-2006 , 20:45  
#8

Quote:
Originally Posted by SeLfkiLL
stuff regarding gaben missing punctuation hats
Well, C# isn't strictly an MS language, but the official open spec for it requires a standard architecture and object framework behind it, which SURPRISE OMG Microsoft happened to have at the time (.NET). Must be coincidence.

Both Mono (which I didn't realize was being made by Novell ) and DotGNU/Portable.NET are getting there, but aren't perfect (but then again, neither is MS' implementation).

But enough about that, on to the bannedlolol
cybermind is offline
SeLfkiLL
Member
Join Date: Nov 2005
Old 01-10-2006 , 03:53  
#9

Coincidence indeed! But even so, I'd still rather code my plugins in "Mattie's Event Script" than in C#. What a waste of effort.
SeLfkiLL is offline
Send a message via AIM to SeLfkiLL
BAILOPAN
Join Date: Jan 2004
Old 01-10-2006 , 04:24  
#10

loooooool

C# is a very well designed language (in some aspects moreso than C++). With interop it should be possible to make plugins in it.

However, I don't know how feasible this is since you'd need to interop SourceHook API in a weird and possibly impossible way.

You'd probably need a middle-man to make SourceHook usable from C#.

Mono IMO is a very good, I run my main C# program in it flawlessly (well, I did find one bug in Mono for AMD64 but it was minor). It even supports the JIT. The only thing it can't do is Windows.Forms I think.
__________________
egg
BAILOPAN is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode