Android tests
#71
You can send any data through the pipe. And you can have many pipes. So perhaps one pipe from the server carrying logs, another pipe to the server carrying commands, and another pipe from the server carrying command responses. or status, or whatever. Or even combine everything onto a single pipe in each direction.
Reply
Thanks given by:
#72
Then I guess I don't know what pipes are.. Sad
Reply
Thanks given by:
#73
Pipe, in a Unix environment, is a an object that supoprts one-way character-based FIFO communication. You create a pipe using pipe() function, it returns two file descriptors, one for writing and one for reading. What you write to the write-end, you can read on the read end. You can even pass those file descriptors to other processes; that's how inter-process output redirection works (schematically). So next time you use "ls -al | grep MCS", know that the pipe character ("|") means that you're creating a pipe between the two processes.
For our purposes, both ends of the pipe would stay inside the app, just the write end would be used by the logger and the read end by the java thread that would poll it for data (the reading function blocks when there's no data to read, so it's effective).

http://www.cse.ohio-state.edu/~mamrak/CI...notes.html
Reply
Thanks given by:
#74
Could we have a simple step-by-step "Installing and running on Android" instruction?
I would like to test MCS on my new Ainol Aurora 2 (1 Gb, 2 cores, wowowow!)
Reply
Thanks given by:
#75
Download APK attached to FakeTruth's post above to phone, install. Run. That's it Wink
If you want to tinker with the config, it's on the SD card in mcserver folder
Reply
Thanks given by: Taugeshtu
#76
Pretty much yes.. Just install the APK and run it once. It will create the folders it needs (unfortunately it uses a really slow world gen by default).
Then stop the server, and change the settings that are stored on you SD card
Reply
Thanks given by: Taugeshtu
#77
Interesting... With default world.ini I get 2.7 chunks/s generation speed, with fine-tuned config like that:
Code:
[Storage]
Schema=Anvil

[Generator]
BiomeGen=DistortedVoronoi
DistortedVoronoiCellSize=250
DistortedVoronoiBiomes=
BiomeGenCacheSize=64
HeightGen=Biomal
HeightGenCacheSize=64
CompositionGen=Biomal
BiomalSeaLevel=40
Structures=DualRidgeCaves,OreNests,Trees
Finishers=SprinkleFoliage,Ice,Snow,Lilypads,BottomLava
BottomLavaLevel=10
DualRidgeCavesThreshold=0.300000
I got only 0.7 chunks/s Smile
All done with "normal" cpu mode settings.
With "perfomance" cpu mode setting I got 1.3 chunk/s on same "fine" config.

And one more thing: WebAdmin is running perfectly, accessable from mobile device too Smile
Reply
Thanks given by:
#78
You're using DualRidgeCaves, aren't those supposed to be super slow?
Reply
Thanks given by:
#79
yes why are you using dualridge?Tongue if you use wormnestcaves it will be much faster.Big Grin
Reply
Thanks given by:
#80
Well, because I canBig Grin
Here's test result in Perfomance CPU mode with wormnestcaves:
17 chunks per second !!!

Awesome, I thinkBig Grin Now I have a proof that I choosed the right tabletTongue
Reply
Thanks given by:




Users browsing this thread: 67 Guest(s)