Fork me on GitHub
  February 20, 2018, 09:16:08 pm
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] 2
1  Mineserver / Discussion / Re: Is it still alive ? on: January 29, 2016, 12:08:38 pm
Yuss!  Shocked
2  Mineserver / Development / Re: Mineserver Compiled on Raspberry Pi without a hitch and WORKS! Minecraft 1.3.1 on: January 21, 2013, 06:59:40 am
I haven't compiled mineserver on rpi for a while. I'm on holiday at the moment and don't have access to one.  Is there any error output when it tries to start/compile etc? Edit: it might not be starting because there was already an instance of mineserver.

Code:
ps -e |grep mineserver

Would show if its already running.
3  Mineserver / Support / Re: Importing world in 1.3.1 servers? on: January 03, 2013, 05:37:20 am
I haven't compiled mineserver in while but I think entities like cows, pigs are generated on the fly and aren't saved into the world files.

The missing animal hurt sounds are pretty simple, just need to add the code to send that packet when the event occurs.

A world importer would be very nice, not sure how easy it would be.
4  Mineserver / Discussion / Re: Raspberry Pi on Minerserver 2.0? on: January 03, 2013, 05:29:05 am
Wouldn't be hard to implement by hacking the code yourself. There isn't really much of an api to work with, c++ is like double dutch to me
5  Mineserver / Development / Re: Mineserver Compiled on Raspberry Pi without a hitch and WORKS! Minecraft 1.3.1 on: September 30, 2012, 10:27:33 am
Hi Thoquz,

The tests were performed with the GUI not set to start. I haven't really used gentoo before but was thinking about installing arch to see if there is any difference in performance.

I tested it with two players and it was initially slow (either generation or loading chunk files from the storage). I did plan to do some tweaking to the configuration and code but never got around to it  Undecided

Ill have to read up on how to change how memory is allocated to userspace/gpu too as I was not aware you could do this.
6  Mineserver / Discussion / Re: libnoise fails to compile on: August 26, 2012, 06:20:21 am
I just cloned the libnoise git repo wich includes its own cmake. or install libnoise-dev it available.
7  Mineserver / Servers / Forgotten Dynasties Mineserver on: August 23, 2012, 08:55:48 am
I just put up a testing server since no one else has:

mc.forgottendynasties.net:25567

It's running Mineserver at commit d48d6e4f29  https://github.com/fador/mineserver/commit/d48d6e4f29220fdf1bf70f88646edb314a39c3f1

Running without Minecraft.net verification so anyone can try it out.
8  Mineserver / Discussion / Re: Raspberry Pi on Minerserver 2.0? on: August 10, 2012, 06:22:29 am
I know this post is pretty old but... I've done it! Works with Minecraft 1.3.1

https://mineserver.be/forums/index.php?topic=487.0
9  Mineserver / Support / Re: minecraft server on: August 10, 2012, 05:33:58 am
Hi there,

Ill assume you're using windows. Make sure you're using this build which supports the latest 1.3.1 minecraft protocol version  Smiley

https://mineserver.be/forums/index.php?topic=488.0
10  Mineserver / Development / Re: Issue tracker down replacement suggestion on: August 08, 2012, 03:14:05 pm
Whoops completely overlooked that. Never mind then  Cheesy. You should fix the link on the homepage though  Wink
11  Mineserver / Development / Issue tracker down replacement suggestion on: August 08, 2012, 02:10:37 pm
I noticed the Minserver bug tracker is down not that I think redmine is that great.

May I suggest Flyspray http://flyspray.org/? Its pretty awesome I think and easy to setup just a simple PHP/MySQL app.

Cheers.
12  Mineserver / News / Re: Binary Releases and windows build-pack (Check the first post!) on: August 08, 2012, 12:40:48 pm
Awesome! Hopefully Ill be able to supply mac builds and *drumroll* raspberry pi builds/tutorials too  Grin
13  Mineserver / Development / Mineserver Compiled on Raspberry Pi without a hitch and WORKS! Minecraft 1.3.1 on: August 08, 2012, 11:22:32 am

It took quite a while but here is the output of the build  Smiley

Code:
pi@raspberrypi ~/src/mineserver/bin $ ./mineserver
Parser opening file /home/pi/src/mineserver/bin/config.cfg
Parser opening file /home/pi/src/mineserver/bin/item_alias.cfg
mineserver.cpp:251::Mineserver(): Using config: /home/pi/src/mineserver/bin/config.cfg
[11:52:30] mineserver.cpp:289::Mineserver(): Welcome to Mineserver v0.1.18 (Alpha)
[11:52:30] mineserver.cpp:290::Mineserver(): Using zlib 1.2.7 libevent 2.0.19-stable
[11:52:30] mineserver.cpp:292::Mineserver(): Generating RSA key pair for protocol encryption
[11:52:31] mineserver.cpp:300::Mineserver(): RSA key pair generated.
[11:52:31] mineserver.cpp:333::Mineserver(): ServerID: 93cfbe92c73bbbeb
[11:52:31] Plugin: Loading: plugins/commands.so
[11:52:31] plugin.commands: Loaded commands!
[11:52:31] Plugin: Loading: plugins/filelog.so
[11:52:31] plugin.filelog: Loaded Filelog
[11:52:31] plugin.filelog: Logging to mineserver.log
[11:52:31] plugin.filelog: Logging chat to mineserver_chat.log
[11:52:31] Plugin: Loading: plugins/flatpermissions.so
[11:52:31] plugin.flatpermissions: Loaded flatpermissions!
[11:52:31] Plugin: Loading: plugins/nBreak.so
[11:52:31] plugin.nBreak: Loaded nBreak!
[11:52:31] Plugin: Loading: plugins/nether.so
[11:52:31] plugin.nether: Loaded nether!
[11:52:31] Plugin: Loading: plugins/passiveMobs.so
[11:52:31] plugin.passiveMobs: Loaded passiveMobs!
[11:52:31] map.cpp:228::init(): Using world: A-world
[11:52:31] Map: Warning: Map directory not found, creating it now.
[11:52:31] Map: Warning: level.dat not found, creating it now.
[11:52:31] Map: No Trees in level.dat, creating..
[11:52:31] mineserver.cpp:514::run(): Generating spawn area...
[11:52:46] mineserver.cpp:549::run(): 11/121 done. 1305ms per chunk
[11:52:46] mineserver.cpp:549::run(): 22/121 done. 69ms per chunk
[11:52:47] mineserver.cpp:549::run(): 33/121 done. 66ms per chunk
[11:52:58] mineserver.cpp:549::run(): 44/121 done. 944ms per chunk
[11:53:00] mineserver.cpp:549::run(): 55/121 done. 174ms per chunk
[11:53:00] mineserver.cpp:549::run(): 66/121 done. 63ms per chunk
[11:53:02] mineserver.cpp:549::run(): 77/121 done. 125ms per chunk
[11:53:03] mineserver.cpp:549::run(): 88/121 done. 90ms per chunk
[11:53:04] mineserver.cpp:549::run(): 99/121 done. 129ms per chunk
[11:53:06] mineserver.cpp:549::run(): 110/121 done. 159ms per chunk
[11:53:12] mineserver.cpp:549::run(): 121/121 done. 519ms per chunk
[11:53:12] Map: Spawn area ready!
[11:53:12] mineserver.cpp:622::run(): Listening on:
[11:53:12] mineserver.cpp:633::run(): 127.0.1.1:25565

Connecting, breaking/placing blocks and chat all work fine. When generating new chunks it uses about 97% CPU and constantly stays at about 46% memory usage. If you stand in one place only 1.6% cpu usage. Meaning as long as chunks aren't being generated, its perfectly playable.

It might be possible to add a throttle to limit the chunk generation to a certain radius to remove the issue completely.

If you want to try install Mineserver your Raspberry Pi check out the article I've written.
https://mineserver.be/wiki/Raspberry_Pi


14  Mineserver / Development / (Re)-Porting to MacOS on: August 01, 2012, 12:02:32 pm
Spent a bit of time fiddling in the man pages to try make ms1 build on mac. Fixed to files but simply changing

Code:
#ifdef linux //adding mac ifdefs
#endif

Couldn't find a suitable function for tools.cpp:392 clock_gettime(CLOCK_MONOTONIC, &now); as the CLOCK_MONOTONIC and clock_gettime functions aren't there. Just made the function return 0 for now. After getting it to compile and link I was rewarded with a Bus Error  Angry

Code:
(gdb) run
Starting program: /Users/tim/src/mineserver/bin/mineserver
Reading symbols for shared libraries +++++. done
Config not found
Parser opening file
Couldn't open file:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000100000008
0x00000001000052a8 in __gnu_cxx::__atomic_add (__mem=0x100000008, __val=1) at atomicity.h:55
55   { __sync_fetch_and_add(__mem, __val); }
(gdb) bt
#0  0x00000001000052a8 in __gnu_cxx::__atomic_add (__mem=0x100000008, __val=1) at atomicity.h:55
#1  0x00000001000052d6 in __gnu_cxx::__atomic_add_dispatch (__mem=0x100000008, __val=1) at atomicity.h:98
#2  0x0000000100005b80 in std::tr1::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy (this=0x100000000) at boost_shared_ptr.h:134
#3  0x0000000100005bb8 in std::tr1::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count (this=0x7fff5fbff458, __r=@0x1005002a0) at boost_shared_ptr.h:307
#4  0x0000000100022e4d in std::tr1::__shared_ptr<Logger, (__gnu_cxx::_Lock_policy)2>::__shared_ptr (this=0x7fff5fbff450) at boost_shared_ptr.h:504
#5  0x0000000100022e6d in std::tr1::shared_ptr<Logger>::shared_ptr (this=0x7fff5fbff450) at boost_shared_ptr.h:974
#6  0x0000000100022e93 in Mineserver::logger (this=0x100500110) at mineserver.h:196
#7  0x0000000100080c93 in main (argc=1, argv=0x7fff5fbff548) at /Users/tim/src/mineserver/src/mineserver.cpp:132
(gdb)

Well meh.
15  Mineserver / Development / Re: Reviving Mineserver 1 on: August 01, 2012, 11:04:32 am
This is great news I might see if I can build the source now. I guess it's a shame deoxxa couldn't commit more time into ms2 because the code was more organised.
Pages: [1] 2
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!