Need help with MCLawl source!

Need help with MCLawl source!

Postby Leeizazombie » 28 Jul 2013, 20:15

1) When I compile and run the software it shows the following output in console:
Code: Select all
(20:13:01) Starting Server
(20:13:04) MySQL settings have not been set! Please reference the MySQL_Setup.txt file on setting up MySQL!
(20:13:04) !!!Error! See logs/errors/2013-07-28error.log for more information.
I have no idea how to set up SQL at all, can someone please explain in steps to make it work for MCLawl?

2) How do I completly change the namespace? so that custom commands have to be using "MyServerNameSpace".
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Re: Need help with MCLawl source!

Postby ismellike » 29 Jul 2013, 03:56

This really doesn't have to do with anything of mcdzienny, so I moved it to off-topic.

Anyways, go to your properties>server.

Make sure UseMySql is set to false.

You will have to search the project for the place where the file is created, and default it to false.
What a beast...
User avatar
ismellike
Coder
 
Posts: 731
Joined: 31 Oct 2012, 04:04
Location: Kansas

Re: Need help with MCLawl source!

Postby Clowny » 29 Jul 2013, 03:58

ismellike wrote:This really doesn't have to do with anything of mcdzienny, so I moved it to off-topic.

Anyways, go to your properties>server.

Make sure UseMySql is set to false.

You will have to search the project for the place where the file is created, and default it to false.

and as for the namespace?
Founder Of MC Classic Hosting Community http://mcclassichosting.webs.com
Founder of MC Classic Software MCReborn http://mcreborn.tk
Professional Hoster and Basic C# Coder
Image
User avatar
Clowny
 
Posts: 112
Joined: 14 Jul 2013, 03:53

Re: Need help with MCLawl source!

Postby ismellike » 29 Jul 2013, 04:14

This is roughly how you would do it; I don't really want to open vs.

Right click on "MCLawl", after the namespace, and right click>refractor>rename>"Put your name".
What a beast...
User avatar
ismellike
Coder
 
Posts: 731
Joined: 31 Oct 2012, 04:04
Location: Kansas

Re: Need help with MCLawl source!

Postby Leeizazombie » 29 Jul 2013, 22:36

ismellike wrote:This is roughly how you would do it; I don't really want to open vs.

Right click on "MCLawl", after the namespace, and right click>refractor>rename>"Put your name".


Thanks, but the namespace seems to give me problems, there's one more thing, I don't know how to allow email names I tried changing:
Code: Select all
  public static bool ValidName(string name)
        {
            string allowedchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567890._";
            foreach (char ch in name) { if (allowedchars.IndexOf(ch) == -1) { return false; } } return true;
        }

and added a @ but it still wont work!
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Re: Need help with MCLawl source!

Postby HETAL » 29 Jul 2013, 22:43

and how do you add multiple namespaces without vs
YOU HAVENT SEEN THE LAST OF ME ISMELLIKE
HETAL
 
Posts: 397
Joined: 24 May 2013, 12:10

Re: Need help with MCLawl source!

Postby Leeizazombie » 30 Jul 2013, 01:29

I seemed to fix the illegal name problem by removing the code that reviews the players name, but now email players are still shown with the full email in chat
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.


Return to Off-Topic

Who is online

Users browsing this forum: No registered users and 2 guests

cron