• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux Linux Dev - Team Viewer Help Needed

Extrodus

|| Blazera.net ||
Joined
Dec 22, 2008
Messages
2,691
Solutions
7
Reaction score
549
Location
Canada
Alright so over the past 48 hours, I've installed Ubuntu 12.04 LTS - first commands entered were upgrade/update - then I installed the libraries - then I uploaded my sources, had to change some lines that contained "leaf" to other text. Finally it compiled, I have it running but currently it only loads the default map (forgotten.otbm) otherwise it will say "Segmentation fault (core dumped)" so I uploaded trunk.3884 since I know it can run the map and started to try and compile that and got faced with a "Lua header not found problem" - I proceeded to the support forum and got that figured out - now 3884 is nearly done compiling its just bringing up random errors like before with 0.3.6 when I first started compiling it. After changing what I changed the first time to get it working, it still doesn't compile and gives different errors now. So I went back to try compiling 0.3.6 again, which I had already successfully compiled once on Ubuntu to find out it now wont compile anymore either.

Another weird problem I'm having with Printers 0.3.6 Sources is that it seems to only want to read 8.5 maps, although you log in on 8.6. Although I've changed my map version to 8.5 - removed all the red tiles and it doesn't load.

If someone has the time to help me out with getting my server loading on Ubuntu that would be greatly appreciated.

Info on what I am trying to get running: 0.3.6 for 8.6 to start developing a small war server. (Map = 2.5mb) - To be completely honest, it doesn't even have to be 0.3.6 just as long as it contains the 1sqm instant push. So if you have sources for 8.6 that you are used to setting up I'll gladly just use those. Either way, I was trying to use Printers 0.3.6 sources since the SVN is no longer available.
 
i dont use linux so i cant help with Ubuntu but if you know what needs to be added to the sources ill compile it into a 0.4 for you.
since you already have 0.4 its not a big deal
 
Problem is I'm switching to Ubuntu because as 3884 is stable hosting my 105mb RL map - it crashes randomly while running my 3mb war map. Doesn't make sense, so I'm just trying to convert over to Linux to get a completely stable server environment for me to start customizing the war server without worries.
 
I mean makes sense that youre switching because of that but doesnt make sense that it doesnt work lol damn servers...
have you given rev 3777 a try? i find it more stable then 3884
 
No I havent, does it happen to have the 1sqm instant push? I know 3884 doesn't, although we could just add the line that does it.
 
As in they have to be right beside them to push them? yes. I thought all servers had that, unless its the god moving the person ofcourse.
I know in 3777 you just have to be above the protection level to push someone, not sure about 3884 never tested in it
 
No what I mean is run push. For example, I am 1sqm away - I run towards and push - you move instantly. If I stand next to you and push, it takes the set time in config.
 
That can be changed in game.cpp, don't forget the corpse bug that exists in r3777 though. :p
 
Well then I'd rather just get 0.3.6 or 3884 running on Ubuntu and start editing from there (game.cpp, etc) - so I guess still looking for a Linux Wiz to help.
 
Update for 3884 error.

Code:
root@extrodus-VirtualBox:~/Desktop/trunk3884# ./build.sh
TheForgottenServer build script- seems to speed things up ALOT.
CCache: OK
CCache binaries located in /usr/lib/ccache
Building on 1 cores, using 2 processes
make  all-am
make[1]: Entering directory `/home/extrodus/Desktop/trunk3884'
g++ -DHAVE_CONFIG_H -I.  -I/usr/include/libxml2  -O2 -fomit-frame-pointer -D__USE_MYSQL__  -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
g++ -DHAVE_CONFIG_H -I.  -I/usr/include/libxml2  -O2 -fomit-frame-pointer -D__USE_MYSQL__  -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT map.o -MD -MP -MF .deps/map.Tpo -c -o map.o map.cpp
luascript.cpp: In member function ‘bool LuaInterface::loadDirectory(const string&, Npc*, bool)’:
luascript.cpp:742:19: error: ‘p’ was not declared in this scope
luascript.cpp:745:61: error: no match for ‘operator+’ in ‘boost::filesystem3::path::filename() const() + "/"’
make[1]: *** [luascript.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/map.Tpo .deps/map.Po
make[1]: Leaving directory `/home/extrodus/Desktop/trunk3884'
make: *** [all] Error 2
root@extrodus-VirtualBox:~/Desktop/trunk3884#

Does anyone out there have the sources for a clean 0.3.6!?
 
Back
Top