Fork me on GitHub
  May 22, 2018, 02:40:47 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  Mineserver / Support / Re: NullPointerException Client Crashes on: February 17, 2011, 04:40:14 pm
I really don't think this is related to the server in any way.  It's just a NullPointerException Notch hasn't taken care of, nothing you can fix server end.  Even if data is received by the client that doesn't protocol, it shouldn't crash.  Notch needs to take counter-measures for situations like that.

Also, this is a fairly common error.

That might be an acceptable answer if this didn't happen 95% of the time when I connect to mineserver, and virtually never when connecting to the vanilla server.
2  Mineserver / Support / NullPointerException Client Crashes on: February 17, 2011, 03:43:36 am
I can't believe the frequency at which I'm struck by this bug. As such, I'd like to get a sense of how many people are also affected. The full error message is as follows:

http://codepad.org/4iLktGjl

Using tcpdump I've generated a pcap file of this transaction which you can find here:

http://dl.dropbox.com/u/19282465/minecraft.pcap

Looking through the transaction in Wireshark, I don't see anything that sticks out as a problem, but then again I'm not sure what's happening in the underlying Minecraft protocol. It might be useful for someone with the minecraft-dissector plugin for Wireshark to see what's actually happening there.

System Info:
Code:
ncoffield-mbp:~ ncoffield$ java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)
ncoffield-mbp:~ ncoffield$ uname -a
Darwin ncoffield-mbp.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386

Anyway post here if you're experiencing the same crash.
3  Mineserver / Development / Re: Moron help ;) on: February 07, 2011, 02:21:27 am
However, I'm too much of a moron to actually learn to use Git (there's no simple "how to use" book, no simple GUI windows app...) and I severely dislike other-than-mine code style.

From the Github help pages:

Windows
http://help.github.com/win-git-installation/
http://help.github.com/msysgit-key-setup
http://help.github.com/working-with-key-passphrases
http://help.github.com/dealing-with-lineendings

Simple Howto book:
http://progit.org/book/

So ... what's stopping you again? ;]
4  Mineserver / Development / Re: Transaction Logging (Anti-grief) on: January 21, 2011, 10:30:18 pm
Just got this working with the new plugin API let me know if you have any problems using it! Also I added a binlogdump cli tool to allow you to inspect the content of your binlog. xP

There are still more features I'd like to add like the /playback command, and possibly a command to determine who last modified a particular block.
5  Mineserver / Support / Re: Some issues on: December 15, 2010, 01:55:38 am
Make sure you start mineserver from the bin/ directory, I was having problems with the configuration that were resolved this way.

Code:
cd bin/
./minserver config.cfg
6  Mineserver / Discussion / Re: Facebook on: December 15, 2010, 12:31:42 am
:] yay facebook!
7  Mineserver / Development / Transaction Logging (Anti-grief) on: December 14, 2010, 12:10:04 pm
So I mentioned this in another post, but wanted to give it a dedicated topic.

Finally finished the code for this feature. I'm now able to rollback changes to the server with the following commands:

Code:
# Rollback all changes stored in the binary log
/rollback
# Rolback changes to a specific point in time (epoch)
/rollback <timestamp>
# Rollback changes based on timestamp (epoch) and user nickname
/rollback <timestamp> <nick>

Check it out here, https://github.com/nathacof/mineserver Cheesy Next, to improve performance I am looking into adding indices on timestamp, and timestamp + user nickname.

Configuration Options:
(boolean) enable_binary_logging: enables transaction logging
(string) binary_log: the name of the binary log file

One bug I have seen, is that trees that are grown from saplings only have their bottom's reverted. Should be simple enough to detect that and remove any wood blocks that are above that block, then the leaf decay should take care of the rest. Also the binlog in it's current state is architecture dependent so it may not be easy to move binlogs from one arch to another.

Here's a video of it in action:

http://www.youtube.com/watch?v=3MaApuaSVMM
8  Mineserver / Development / Re: A Proper Statistics / Detailed SQL Log System. on: December 14, 2010, 09:52:51 am
http://codepad.org/B1EJ86DS

So I've got the data needed to rollback changes to the server, hopefully over the weekend I can implement a /rollback <time> [user] command. Perhaps it would also be helpful to have a /log (suggestions for a better name?) command that actually displays the last few actions in chat as well? I don't know if this is something that is up to par with the rest of the code, but if it works I'll be a happy camper! xP

Finally finished the code for this feature. I'm now able to rollback changes to the server with the following commands:

Code:
# Rollback all changes stored in the binary log
/rollback
# Rolback changes to a specific point in time (epoch)
/rollback <timestamp>
# Rollback changes based on timestamp (epoch) and user nickname
/rollback <timestamp> <nick>

Check it out here, https://github.com/nathacof/mineserver Cheesy Next, to improve performance I am looking into adding indices on timestamp, and timestamp + user nickname.
9  General / Off Topic / Re: Introduction, who are you? on: November 30, 2010, 02:08:03 am
I started this mineserver project mostly because I needed some lightweight server for myself and I was sure I could do a better job than Notch Wink But for some reason other people got interested and here we are =D

I <3 you!
10  General / Off Topic / Re: Introduction, who are you? on: November 28, 2010, 02:51:33 am
Hey Guys,

My name is Nathan Coffield, and here's my infos!

- Location: Mountain View, California
- Server management experience: Worked for Dell tech support during high school, moved on to work at HostMySite.com|Hosting.com first as a Dedicated Server Engineer, and finally as an Sr. Operations Technician, and, currently working as an Operations Engineer for Facebook
- Programming experience: 2 years AP Computer Science (C++) in HS, some experience with C, very experienced in PHP, and learning to love Python.
- Age (if you dare): 25
- Possibly other hobbies: I'm going to be a daddy! Smiley
11  Mineserver / Development / Re: A Proper Statistics / Detailed SQL Log System. on: November 28, 2010, 02:39:04 am
http://codepad.org/B1EJ86DS

So I've got the data needed to rollback changes to the server, hopefully over the weekend I can implement a /rollback <time> [user] command. Perhaps it would also be helpful to have a /log (suggestions for a better name?) command that actually displays the last few actions in chat as well? I don't know if this is something that is up to par with the rest of the code, but if it works I'll be a happy camper! xP
12  Mineserver / Development / Re: A Proper Statistics / Detailed SQL Log System. on: November 27, 2010, 01:47:17 am
I'm actually playing around with this concept already. I've got all the information I need to reliably roll back changes to blocks on the server, all I need to do now is associate an entity id with the changes, and plug a timestamp in an viola, the logging bit is done. However this doesn't log player movements/actions. Tongue

The first feature I want to implement, after getting the basic logging down, is a command to rollback changes based on a players name.

If it works decently well I'll fork the server on github and submit the code for proper peer review.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!