Fcraft Source Code Compiling

For all mod-related questions and custom code.
Post Reply
Crazykitteh
Offline
Posts: 15
Joined: August 11th, 2011, 7:26 pm

Fcraft Source Code Compiling

Post by Crazykitteh »

hi, I downloaded the fcraft source code, and got some help off a friend of myne on how to make coloured names, like multi coloured.

I did that but Now im left with a problem, How do i Compile it into a .dll so i can use it?

Any help will be Appreciated ALOT.

User avatar
boblol0909
SupOP
Offline
Posts: 314
Joined: June 24th, 2011, 10:27 pm

Re: Fcraft Source Code Compiling

Post by boblol0909 »

Step 1. Open in visual c#
Step 2. Press F6

Crazykitteh
Offline
Posts: 15
Joined: August 11th, 2011, 7:26 pm

Re: Fcraft Source Code Compiling

Post by Crazykitteh »

i built it and it said build sucessful but theres no .dll file.

User avatar
boblol0909
SupOP
Offline
Posts: 314
Joined: June 24th, 2011, 10:27 pm

Re: Fcraft Source Code Compiling

Post by boblol0909 »

You dont need the .dll. Go to bin/release (or debug whichever yours is set on) / fcraftUI. Double click it.

Crazykitteh
Offline
Posts: 15
Joined: August 11th, 2011, 7:26 pm

Re: Fcraft Source Code Compiling

Post by Crazykitteh »

Thanks soo much man, the colors failed but thats because of the version its r702, I think i can find r701. but thaks man :)

Crazykitteh
Offline
Posts: 15
Joined: August 11th, 2011, 7:26 pm

Re: Fcraft Source Code Compiling

Post by Crazykitteh »

No :( i need to downgrade for the colors to work, but the source code version is actually r702 not r701 :(

User avatar
Lim-Dul
The Necromancer
Offline
Posts: 663
Joined: May 21st, 2011, 10:21 pm

Re: Fcraft Source Code Compiling

Post by Lim-Dul »

Actually colors are in no version. You need to add them manually. Also, you do need an fcraft.dll - that's where the actual server is. The executables are just front-ends, so to speak.
War does not determine who is right - only who is left. - Bertrand Russell

User avatar
boblol0909
SupOP
Offline
Posts: 314
Joined: June 24th, 2011, 10:27 pm

Re: Fcraft Source Code Compiling

Post by boblol0909 »

Lim-Dul wrote: Also, you do need an fcraft.dll - that's where the actual server is. The executables are just front-ends, so to speak.
I meant to say thats not what he was looking for.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: Fcraft Source Code Compiling

Post by fragmer »

r701 and r702 are pretty much identical, that doesn't matter. After you build the project (in Release configuration), fresh binaries will be in /bin/Release/ folder.

User avatar
xanderortiz
Offline
Posts: 19
Joined: August 2nd, 2011, 9:27 am

Re: Fcraft Source Code Compiling

Post by xanderortiz »

I ended up helping Crazykitteh away from here. But for the sake of helping the noobs, C# uses the & symbol in place of the % sign when dealing with colors. And that was his error after he finally found where the .dll file was being exported to.

Crazykitteh
Offline
Posts: 15
Joined: August 11th, 2011, 7:26 pm

Re: Fcraft Source Code Compiling

Post by Crazykitteh »

lol xander thanks :D, and thanks to everyone else :)

Post Reply