Ones in C:\MCSharp (I moved the server to the C: Drive instead of on my desktop), and ones in C:\MCSharp\ranks.
The rank .TXT's in C:\MCSharp are updated as I give people ranks or ban people, but the TXT's in C:\MCSharp are never updated.
Because of this, I constantly copy the TXT's in C:\MCSharp and paste them into the "ranks" folder.
I'm not sure why that happens, but I believe when you promote or ban someone, MCSharp is not set to record these changes in the TXT files in C:\MCSharp\ranks, and instead creates new TXT files in C:\MCSharp.
Just something that needs to be checked, I guess.
And that loss of rank for Advbuilders problem needs to be fixed too :tongue.gif:
Just found this out. This is quite the problem. I recently restarted my server to add a new level I made in Omen. What happened was just pathetic. Apparently, when you exit MCSharp and subsequently shutdown your server, it clears the Players.DNA file. What this means, is when you re-start the server, you have to go through and re-rank everyone, and even re-ban the people and IP addresses you originally banned.
Can something not be done to stop Players.DNA from clearing itself when you shut down your server? I don't want to have to continually re-ban everyone that I had banned before, and re-rank everyone who I gave ranks to everytime I restart my server.
I'll bet you get into a lot of fights because you're so hardcore. I wouldn't want to cross you in a dark alley. Heck, even in a lit alley, I bet that'd be pretty dangerous.
Don't worry about the crazy players.dna, next stable release it will be totally removed. Map memory has be finally cut down to size and I've been toying with a simple map generator for the last few days.
Canadian_x360a: Players.dna doesn't do ANYTHING, it doesn't affect ranks, it doesn't affect the server in anyway other than idiotic errors due to poor programming. It will be removed and you won't have to worry about it anymore.
Rollback Post to RevisionRollBack
Minecraft Name: KakashiSuno
I'm known as Kakashi, Kaka, KS, and the Coal Ninja =)
(Coding question) Do you have to do anything to incoming packets? and how is it you get the incoming packets from the system.net.sockets?
Experimenting with my bot, and even when the server closes i get random BS packets, and I'm using a timer to get the packets because i have no clue how else to do it. and even if I'm connected to the server, i tend to get random BS packets..
byte[] tempbuffer = new byte[0xFF];
socket.BeginReceive(tempbuffer, // buffer to receive to
0, // offset
tempbuffer.Length, // maximum amount to receive
SocketFlags.None,
new ASyncCallback(Receive),
this);
private void Receive(IAsyncResult result)
{
socket.EndReceive(result);
// parse packets
socket.BeginReceive(tempbuffer, // buffer to receive to
0, // offset
tempbuffer.Length, // maximum amount to receive
SocketFlags.None,
new ASyncCallback(Receive),
this);
}
basically, when I receive the packet, I hand it off to a new function which will parse it. After handing it off I then loop back and repeat.
Rollback Post to RevisionRollBack
Minecraft Name: KakashiSuno
I'm known as Kakashi, Kaka, KS, and the Coal Ninja =)
Yea I don't think public = false is working, orginialy I planned for my server to be private but it never removed it from the server list after putting it in the config.
Features (that I can remember)
- uses less RAM (30,000kb with a couple of maps loaded)
- fixed a major issue concerning an infinite loop
- maps now contain two permission parameters (one for building and one for visiting). They can be set via the /perbuild and /pervisit commands (TODO: Merge these commands into one)
- Doors are more stable now and can be activated by anyone (apparently only op and up were able to :/)
- New level generator using the fault algorithm. It can generate Mountain, Ocean, Island, and Flat terrains (activated via /newlvl)
- Logger no longer crashes (thank goodness)
Features (that I can remember)
- uses less RAM (30,000kb with a couple of maps loaded)
- fixed a major issue concerning an infinite loop
- maps now contain two permission parameters (one for building and one for visiting). They can be set via the /perbuild and /pervisit commands (TODO: Merge these commands into one)
- Doors are more stable now and can be activated by anyone (apparently only op and up were able to :/)
- New level generator using the fault algorithm. It can generate Mountain, Ocean, Island, and Flat terrains (activated via /newlvl)
- Logger no longer crashes (thank goodness)
Downloading now, how did I not see this for an hour?
EDIT: Oh god, it's so awesome, 3GB chopped down to 300MB 98MB, no discernible CPU usage while idle with nobody on, no more players.dna, and MOTD fixed! Now all I need is my /copy and selective /restore commands and this would be perfect.
Suggestion: right now I can set visit rights to guest but guests cant use /goto. Best solution would be to have portals that could be set what rank can use them. However, I imagine the easier solution would be to enable guests to use /goto to travel to worlds that have the visit right set to guest.
Yes! Update!
I am slightly disappoint by the lack of bots, but it is still good to have an update nonetheless.
DISREGARD THAT, I AM AN IDIOT. Thank you so much!
Awesome! That works great. Now I've run into a new problem. Is it possible to allow anyone to open doors without having build permission? I like to make doors.
EDIT:
Unrelated question: Do you prefer we use the day7tech forum or this thread?
i've been using mcsharp for a while now running my own server on and off, and i must say it is an EPIC server software, i was wondering if you could add a few things, the possibility to change what ranks can use what commands, and possibly what ranks have what colours. Another thing that would be nice to see is the ability to add ranks and such, i get a bit dissapointed when someone is an advbuilder, and they just built the coolest thing ever xD
anyways, im glad to see that MCsharp is still being worked on :smile.gif: just figured i'd put my two cents in :biggrin.gif:
Definitely not a girl.
Remember I said I have 2 sets of rank files?
Ones in C:\MCSharp (I moved the server to the C: Drive instead of on my desktop), and ones in C:\MCSharp\ranks.
The rank .TXT's in C:\MCSharp are updated as I give people ranks or ban people, but the TXT's in C:\MCSharp are never updated.
Because of this, I constantly copy the TXT's in C:\MCSharp and paste them into the "ranks" folder.
I'm not sure why that happens, but I believe when you promote or ban someone, MCSharp is not set to record these changes in the TXT files in C:\MCSharp\ranks, and instead creates new TXT files in C:\MCSharp.
Just something that needs to be checked, I guess.
And that loss of rank for Advbuilders problem needs to be fixed too :tongue.gif:
Just found this out. This is quite the problem. I recently restarted my server to add a new level I made in Omen. What happened was just pathetic. Apparently, when you exit MCSharp and subsequently shutdown your server, it clears the Players.DNA file. What this means, is when you re-start the server, you have to go through and re-rank everyone, and even re-ban the people and IP addresses you originally banned.
Can something not be done to stop Players.DNA from clearing itself when you shut down your server? I don't want to have to continually re-ban everyone that I had banned before, and re-rank everyone who I gave ranks to everytime I restart my server.
I'm known as Kakashi, Kaka, KS, and the Coal Ninja =)
Experimenting with my bot, and even when the server closes i get random BS packets, and I'm using a timer to get the packets because i have no clue how else to do it. and even if I'm connected to the server, i tend to get random BS packets..
D3 Server! [Advanced, Custom physics / Anti-Greif / RP]
Server Status:
basically, when I receive the packet, I hand it off to a new function which will parse it. After handing it off I then loop back and repeat.
I'm known as Kakashi, Kaka, KS, and the Coal Ninja =)
I'm known as Kakashi, Kaka, KS, and the Coal Ninja =)
What about adding an option so that it doesnt list itself on the servers page (like the vanilla server does)?
EDIT: PLEASE take the time to read both this topic and the readme included with the release before asking any further questions
I'm known as Kakashi, Kaka, KS, and the Coal Ninja =)
New version hot off the... compiler...
Features (that I can remember)
- uses less RAM (30,000kb with a couple of maps loaded)
- fixed a major issue concerning an infinite loop
- maps now contain two permission parameters (one for building and one for visiting). They can be set via the /perbuild and /pervisit commands (TODO: Merge these commands into one)
- Doors are more stable now and can be activated by anyone (apparently only op and up were able to :/)
- New level generator using the fault algorithm. It can generate Mountain, Ocean, Island, and Flat terrains (activated via /newlvl)
- Logger no longer crashes (thank goodness)
http://day7tech.com/minecraft
I'm known as Kakashi, Kaka, KS, and the Coal Ninja =)
If this is an April fools joke...
Downloading now, how did I not see this for an hour?
EDIT: Oh god, it's so awesome, 3GB chopped down to
300MB98MB, no discernible CPU usage while idle with nobody on, no more players.dna, and MOTD fixed! Now all I need is my /copy and selective /restore commands and this would be perfect.I am slightly disappoint by the lack of bots, but it is still good to have an update nonetheless.
DISREGARD THAT, I AM AN IDIOT. Thank you so much!
I'm known as Kakashi, Kaka, KS, and the Coal Ninja =)
i currently use hyvebuild but i have resource issues. i like what your doing here but i have grown fond of the use of portals.
Support Forum
or
IRC
i reject your reality and substitute my own -Adam Savage
I'm known as Kakashi, Kaka, KS, and the Coal Ninja =)
EDIT:
Unrelated question: Do you prefer we use the day7tech forum or this thread?
i've been using mcsharp for a while now running my own server on and off, and i must say it is an EPIC server software, i was wondering if you could add a few things, the possibility to change what ranks can use what commands, and possibly what ranks have what colours. Another thing that would be nice to see is the ability to add ranks and such, i get a bit dissapointed when someone is an advbuilder, and they just built the coolest thing ever xD
anyways, im glad to see that MCsharp is still being worked on :smile.gif: just figured i'd put my two cents in :biggrin.gif:
continue with the awesome work!