Items in Localhost?
May 30, 2016 at 3:59 pm #6090
Since it doesn’t seem like any public servers will be popping up anytime soon, I was wondering how hard it is to spawn in items on a localhost server. I’m using the Nexus2 client, which I’m pretty sure doesn’t have the commands to spawn NPCs and items like Ion or LUR. How hard would it be to make the single-player client so you can spawn in items?May 30, 2016 at 9:03 pm #6095
Client doesn’t matter (As long as it’s a complete client e.g. Nexus2 or BlastClient), server version is what will change items equipping NPCs spawning etc.
May 31, 2016 at 8:28 pm #6104
- This reply was modified 4 months, 3 weeks ago by HappyAngryCatfish. Reason: Typo
What server should I get for it? I’m using the LUNI 0.5.1 server, but I’m fairly comfortable doing some setup if that’s necessary.May 31, 2016 at 9:18 pm #6105
0.5.1 is just world exploration, if you want to equip items etc you’ll need 0.8
The official version: https://github.com/LUNIServer/UniverseServer?files=1
Non-official version, but with more features (The LU Reborn server version)
https://bitbucket.org/Alanzote/lurebornserver/srcJune 1, 2016 at 12:56 am #6106
Thanks a ton! I have it all set up except for one thing (this is going to seem really stupid, but I’d appreciate it a lot if someone could give me an actual answer). I’ve been reading Jaller200’s guide while setting this up, and it says to run the LUNI server and register your account. What/where is the LUNI server? I have a MySQL and Apache running on XAMPP and have successfully imported luni.spl on the phpMyAdmin page. I tried opening the admin console from XAMPP and entering register but it said it wasn’t a known command, so I’m assuming that’s not it. I’m using universeserver. If anyone could help that’d be great, I’m almost done.
June 1, 2016 at 10:26 am #6109
- This reply was modified 4 months, 3 weeks ago by Rybat117.
You need to compile these versions. So find the .sln file and build/run it.June 1, 2016 at 5:02 pm #6110
I got these errors when building it in Visual Studio 2015:
Error C3688 invalid literal suffix ‘PRINTF_TIME_MODIFIER’; literal operator or literal operator template ‘operator “”PRINTF_TIME_MODIFIER’ not found RakNet c:\users\ryan\documents\lego universe\universeserver-master\source\raknet\packetlogger.cpp 81
Error C1189 #error: Macro definition of snprintf conflicts with Standard Library function declaration LUNI Server c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\stdio.h 1927June 1, 2016 at 6:35 pm #6111
Which version did you download?
Right click on LUNI server (Should be on the right side under “Solution Explorer”) while viewing the .sln in Visual Studio, go to properties, the C/C+++ and try disabling SDL checks.June 1, 2016 at 7:35 pm #6112
Tried it, still didn’t work. I’m using the latest version of Visual Studio and Universe Server.June 1, 2016 at 8:55 pm #6113
I got the build to complete by using Visual Studio 2013 instead of 2015. Worked perfectly.
Hopefully this is the final issue, because I’m getting really sick of this. When I try to start the LUNI server.exe that the build created, it says that it can’t start because libmysql.dll is missing from my computer. I’ve verified that it’s there in Source\MySql\lib, and I downloaded all the files in that folder again directly from the site and replaced the old ones, but it still comes up with the same error message. I’m almost there and I want to get this done.June 1, 2016 at 9:25 pm #6114
I copied the libmysql.dll into the directory that the server.exe launches from and it started up. I registered an account on the server but now, when I start up LU and try to log in, it can’t connect to authentication. I set the authserverip in the boot.cfg of my client to both localhost and 127.0.0.1 and my redirectip for the server is still localhost, but neither of them will work.June 1, 2016 at 9:57 pm #6115
Need to know if you are using Xipho’s or the LU Reborn version. (I’ve never setup the LUR version so I’d need to take a look at it first myself)June 1, 2016 at 10:12 pm #6116
Xipho’s/ the official versionJune 2, 2016 at 9:10 am #6122
Never go full retard. You my good sir, just went full retard.June 2, 2016 at 1:09 pm #6124
I’m not sure what else to do if you’ve set all that correctly. I’ll run through the steps for you here just to make sure.
1: Import the database.
2: Start luniserver.exe make sure it connects to database.
3: Register account.
4: In the server config.INI set to local host.
5: Set AUTH and PATCHSERVER IP’s to localhost.
6: Attempt to login.
You must be logged in to reply to this topic.