Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Do you know C#? Looking for coders...
#25

Nasir Wrote:Holy crap. :eek:


(not that that's a bad thing. Carding practically tought me my first bits of C#.)

OMG! :eek: a grammar mistake:badgrin:
i have a dream...
#26

Rob Wrote:If you know Assembly and C then you shouldn't have a problem with C#. C# is like C/C++ on training wheels. Just powerful enough but doesn't let you really break anything.

I enjoy assembly, it's really interesting to see what instructions your high level code breaks down to and it's the only language where a goto (JMP/jump) isn't considered a bad practice.

Rob, don't tell me you are one of the few guys out there that still play corewar ???!!???
#27

Bl00dH0unD Wrote:OMG! :eek: a grammar mistake:badgrin:
i have a dream...

Grammar is quite different than spelling Wink

Yankovic - "... Oh Nasir, sorry, you are teh greatest. I'm a fool, you were right all the time. please forgive me. ..." (possibly out of context)
#28

Rackull Wrote:Rob, don't tell me you are one of the few guys out there that still play corewar ???!!???

I had to google that to see what it was. Nope never played it but I do have a computer engineering degree from Virginia Tech that required 2 classes in Microprocessor design with x86 assembly.
#29

Rob Wrote:I had to google that to see what it was. Nope never played it but I do have a computer engineering degree from Virginia Tech that required 2 classes in Microprocessor design with x86 assembly.

Well then you should be more than able to write some redcode and place your best program against mine Wink

I'm ranked on http://corewar.co.uk with an alias from old old times Wink and no I will not say what alias it is Wink
#30

Rob Wrote:I had to google that to see what it was. Nope never played it but I do have a computer engineering degree from Virginia Tech that required 2 classes in Microprocessor design with x86 assembly.

mmmm microprocessor.... assembly haha

go ALU! haha

Quote:code SEGMENT
main PROC

ASSUME cs:code,ds:data

mov ax,data
mov ds,ax

mov al,5
add al,7
lea di,msg1
call outstring ;sbr to print string
call outbyte ;sbr to display value in al

main ENDP
code ENDS

data SEGMENT
msg1 db "The sum is = ",04,0dh
data ENDS

END

how i don't miss the days of assembly lol

Quote:I enjoy assembly, it's really interesting to see what instructions your high level code breaks down to and it's the only language where a goto (JMP/jump) isn't considered a bad practice.

haha when our teacher started C he said "this is the only time i will show you a goto statement. you are never allowed to use it after today. last year's class got hooked on it and didnt use anything else"

we were all pissed we couldn't use goto because our asm codes were absolutely full of jmp, ja,jb, etc

Thanks,
GM Pande
[SIGPIC][/SIGPIC]
#31

Hey, I've got a question relating to RunUO and C# scripts.

So I got the source code and and MVC# and all that, but whenever I make a change and want to test it, for some reason it needs to compile the whole source, even though I just made the change to one file. Now, with C and C++, the makefiles are usually smart enough to only compile the files that have changed. Is there anyway to accomplish the same thing in C#? Because I can't imagine myself accomplishing much if I have to wait two minutes every time I want to test my code...
#32

I'm not a developer but yeah, I'm almost certain you have to compile all RunUO scripts even if you just make a change to one file.
#33

My three month vacation starts soon i might have som free time.
Will help out as much as i can if i just could remember my username and password to the SVN.
#34

Quote:I'm not a developer but yeah, I'm almost certain you have to compile all RunUO scripts even if you just make a change to one file.

That's no good.
#35

Fallzone, catch me on MSN. I might have removed your SVN access when I restructured everything.
#36

Jonny Wrote:Hey, I've got a question relating to RunUO and C# scripts.

So I got the source code and and MVC# and all that, but whenever I make a change and want to test it, for some reason it needs to compile the whole source, even though I just made the change to one file. Now, with C and C++, the makefiles are usually smart enough to only compile the files that have changed. Is there anyway to accomplish the same thing in C#? Because I can't imagine myself accomplishing much if I have to wait two minutes every time I want to test my code...

Well with C and C++ the compiler generates object files that it then links all together to make a lib or dll. And java has the class files that it makes and it puts into a jar. So when you do a build make is smart enough to only rebuild the object files/class files for the source files that have changed. But with C# I don't think the compiler generates intermediate files that are then linked together to form the Scripts.dll and it's actually make that does that anyway. The scripts aren't built with make, they are built using the c# compiler internally in runuo. You could probably write a makefile to build scripts.dll and pass in server.exe as a reference. But compiling the scripts doesn't take that long at all anyway, < 5 sec for me. The annoying part was the world loading. At some point I did make it so that I could only compile but I don't really remember what I did, pretty sure it was a core change though.

Does that make sense?


Forum Jump:


Users browsing this thread: 2 Guest(s)