Skilled Illusionist
- Joined
- Dec 27, 2008
- Messages
- 311
- Reaction score
- 205
That has nothing to do with this thread
~/Kepler# make
Scanning dependencies of target Kepler
[ 2%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/array.c.o
[ 4%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/common.c.o
[ 6%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/deque.c.o
[ 8%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/hashset.c.o
[ 10%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/hashtable.c.o
[ 12%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/list.c.o
[ 14%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/pqueue.c.o
[ 16%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/queue.c.o
[ 18%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/slist.c.o
[ 20%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/stack.c.o
[ 22%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/treeset.c.o
[ 24%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/treetable.c.o
[ 26%] Building C object CMakeFiles/Kepler.dir/src/lib/cthreadpool/thpool.c.o
[ 28%] Building C object CMakeFiles/Kepler.dir/src/main.c.o
In file included from /root/Kepler/src/main.c:6:0:
/root/Kepler/src/server/server_listener.h:1:10: fatal error: uv.h: No such file or directory
#include "uv.h"
^~~~~~
compilation terminated.
CMakeFiles/Kepler.dir/build.make:374: recipe for target 'CMakeFiles/Kepler.dir/src/main.c.o' failed
make[2]: *** [CMakeFiles/Kepler.dir/src/main.c.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Kepler.dir/all' failed
make[1]: *** [CMakeFiles/Kepler.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Good luck with this and hope to see more updates and whatnot. I would definitely use this when it's finished.
Upon testing, I received this error during installation.
Code:~/Kepler# make Scanning dependencies of target Kepler [ 2%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/array.c.o [ 4%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/common.c.o [ 6%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/deque.c.o [ 8%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/hashset.c.o [ 10%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/hashtable.c.o [ 12%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/list.c.o [ 14%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/pqueue.c.o [ 16%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/queue.c.o [ 18%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/slist.c.o [ 20%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/stack.c.o [ 22%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/treeset.c.o [ 24%] Building C object CMakeFiles/Kepler.dir/src/lib/collections/treetable.c.o [ 26%] Building C object CMakeFiles/Kepler.dir/src/lib/cthreadpool/thpool.c.o [ 28%] Building C object CMakeFiles/Kepler.dir/src/main.c.o In file included from /root/Kepler/src/main.c:6:0: /root/Kepler/src/server/server_listener.h:1:10: fatal error: uv.h: No such file or directory #include "uv.h" ^~~~~~ compilation terminated. CMakeFiles/Kepler.dir/build.make:374: recipe for target 'CMakeFiles/Kepler.dir/src/main.c.o' failed make[2]: *** [CMakeFiles/Kepler.dir/src/main.c.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Kepler.dir/all' failed make[1]: *** [CMakeFiles/Kepler.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
$ sudo apt-get install git
$ sudo apt-get install automake
$ sudo apt-get install libtool
$ git clone https://github.com/libuv/libuv.git
$ cd libuv
$ sh autogen.sh
$ ./configure
$ make
$ make check
$ make install
You didn't install libuv correctly, "uv.h" is a header file associated with libuv. If you followed my installation guide you should be able to compile it perfectly fine.
Installing libuv Library
Install the required packages first:
Code:$ sudo apt-get install git $ sudo apt-get install automake $ sudo apt-get install libtool
Download the libuv source code.
Code:$ git clone https://github.com/libuv/libuv.git
Enter the libuv directory.
Code:$ cd libuv
Configure and compile it.
Code:$ sh autogen.sh $ ./configure $ make $ make check $ make install
root@v13:~/Kepler# ./Kepler
[Kepler] Kepler Habbo server...
[Kepler] Written by Quackster
[Kepler]
[Kepler] Testing SQLite connection...
[Kepler] Database does not exist, creating...
[Kepler] Executing queries...
[Kepler] The connection to the database was successful!
[Kepler]
[Kepler] Starting managers...
[Kepler] Starting server...
Thanks, I might have missed a step. I am at the part of executing the emulator and I have:
Code:root@v13:~/Kepler# ./Kepler [Kepler] Kepler Habbo server... [Kepler] Written by Quackster [Kepler] [Kepler] Testing SQLite connection... [Kepler] Database does not exist, creating... [Kepler] Executing queries... [Kepler] The connection to the database was successful! [Kepler] [Kepler] Starting managers... [Kepler] Starting server...
Is it supposed to hang at "Starting server..."? Also, is it okay to do a basic LAMP stack on the machine without the MySQL portion since you're using SQLite so I can use it as a localhost machine? Sorry to sound dumb as well, how would I go about start, stop, restart the emulator via command line?
Yeah, that's suppose to hang on "Starting server..." because it's blocking the main thread. I think if I move it to another thread I can fix that output. And yeah, no MySQL installation is required.
Also to start and stop it, you'd need to type CTRL+C on the keyboard which cancels it, and to start it, you'd need to type ./Kepler to run the executable again.
Here's my DCR's (including loader) by the way:You must be registered to see links
Awesome, thank you. I purchased a domain and whatnot to run some testing on it. I set up everything, renamed your /v13/ directory to /dcr/, opened TCP ports 12321 & 30001 (inbound), started the emulator. However, I disconnect when trying to register. Did I miss something?
It looks really great!
Thanks, I'm not sure what to do next, whether that be doing catalogue purchases next and the hand/item handling or start with Habbo Club, etc.
I should really make a feature list of what I've done so far.
SQLite isn't slow, lol, it's much faster than MySQL.
Does /dev/null support sharding?Just want to offer my two cents on this; I actually disagree because /dev/null is a lot faster. Have you considered using it? /dev/null is even web scale.
Awesome Work , so the Lido works with tickets ?
Looking great as always!
CMakeFiles/Kepler.dir/src/game/player/player.c.o: In function `player_send':
player.c.text+0x347): undefined reference to `check_uv'
collect2: error: ld returned 1 exit status
CMakeFiles/Kepler.dir/build.make:1706: recipe for target 'Kepler' failed
make[2]: *** [Kepler] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Kepler.dir/all' failed
make[1]: *** [CMakeFiles/Kepler.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Im new to this but I believe I followed the tutorial correctly but every time it comes to using the make command after cmake . I get this error
$ git clone https://github.com/Quackster/Kepler/