For$
<!-- begin site header -->
<div id=

Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Development / Re: Issue tracker down replacement suggestion
« Last post by Timatooth on August 08, 2012, 03:14:05 pm »
Whoops completely overlooked that. Never mind then  :D. You should fix the link on the homepage though  ;)
72
Development / Re: Issue tracker down replacement suggestion
« Last post by Fador on August 08, 2012, 02:21:42 pm »
We have Github issues too ;)
73
Development / Issue tracker down replacement suggestion
« Last post by Timatooth 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.
74
News / Re: Binary Releases and windows build-pack (Check the first post!)
« Last post by Timatooth on August 08, 2012, 12:40:48 pm »
Awesome! Hopefully Ill be able to supply mac builds and *drumroll* raspberry pi builds/tutorials too  ;D
75
News / Binary Releases and windows build-pack (Check the first post!)
« Last post by Fador on August 08, 2012, 12:37:33 pm »
I'm trying to post the latest builds here. I'll build new releases whenever I feel we have significant new features / bugfixes or if I'm requested to ;)

Here you go:
Win32:
4d25eeab - 2013-03-23 (Minecraft 1.5) <- LATEST
57944083 - 2013-03-18 (Minecraft 1.5)
8ca6578c - 2012-12-29 (Minecraft 1.4.6)
d48d6e4f - 2012-08-25 (Minecraft 1.3.2)
e973517e - 2012-08-08 (Minecraft 1.3.1)

For building mineserver on windows (with VS2013 or others), I've compiled a package with all the needed .lib, .dll and header files.
Includes a .bat build script.
VS2010 Build-pack with OpenSSL + PThread libraries (Modified 2012-08-08)

VS2013 Build-pack with OpenSSL + PThread + Libevent2 libraries (Modified 2016-01-06)
76

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

Code: [Select]
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


77
Development / (Re)-Porting to MacOS
« Last post by Timatooth 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: [Select]
#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  >:(

Code: [Select]
(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.
78
Development / Re: Reviving Mineserver 1
« Last post by Timatooth 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.
79
Discussion / Re: Server question and Website error
« Last post by Fador on July 20, 2012, 12:16:51 pm »
And captcha fixed, it didn't like to run an unsecure (http) javascript from secure (https) site ;)
80
Discussion / Re: Server question and Website error
« Last post by Fador on July 20, 2012, 12:06:14 pm »
Welcome to our small community ;) I might look at that captcha problem, thank you for informing about it =)

Yes, the game mode is not implemented. I would say it would be relatively easy to do..

Mineserver2 has quite a lot cleaner base code but there's not so much functionality =/
https://github.com/Mineserver/mineserver2

Mineserver1 is much more functional server (currently running test server at mineserver.be) but the code is messy =)

Well, have fun!
Pages: 1 ... 6 7 [8] 9 10