Ezzz-dev / Nostalrius

Nostalrius is a 7.7 Tibia Clone Project based on The Forgotten Server 1.2 and CipSoft files.
99 stars 67 forks source link

linux file system #19

Closed ghost closed 5 years ago

ghost commented 5 years ago

apparently everything works smooth on windows, but when it comes to linux, the filesystem reads the npc files, items.srv etc in reversed order, so there will be issues when talking to npc or trying to create items, maby more files will get affected idk.

Ezzz-dev commented 5 years ago

My server has been running on Linux for over 1 year and we have never had this issue. Filesystem is only used in the server to load the files from the folder, it does not affect the loading of the NPC's content.

ghost commented 5 years ago

which linux are you using?

Ezzz-dev commented 5 years ago

We've been using Debian and Ubuntu, and like I've said, filesystem is only used to load NPC filenames, the filesystem is not used on the interpreter or the script system.

ghost commented 5 years ago

which one so i know which one i should reinstall to? i used Debian 8 (Jessie)

Olddies710 commented 5 years ago

True i use ubuntu 14 and it doesnt work atleast the create items or summon commands dont work but it does work in windows

Ezzz-dev commented 5 years ago

True i use ubuntu 14 and it doesnt work atleast the create items or summon commands dont work but it does work in windows

The system that loads script files (LUA) has nothing to do with boost::filesystem, this system is only used to obtain the filenames of the NPCs inside the npc folder, your issue is related to something else.

which one so i know which one i should reinstall to? i used Debian 8 (Jessie)

We've used Debian 8+.