open.mp icon indicating copy to clipboard operation
open.mp copied to clipboard

[Behaviour Difference] open.mp doesn't support symlink folder/files

Open ohmypxl opened this issue 2 years ago • 0 comments
trafficstars

Describe the bug As the title says, The current stable release of open.mp is incapable of entering/detecting the symlink folder, unlike SA:MP which capable of entering/detecting the symlink. This bug occurs in both Windows and Linux:

To Reproduce Steps to reproduce the behavior:

  1. Download open.mp RC2 and SA:MP
  2. Create folder that saves .amx somewhere else, don't forget to compile .pwn files to .amx
  3. Symlink that folder into your open.mp root folder named gamemodes
  4. See the log

Expected behavior The gamemode should've been printed/or available to be used.

Screenshots and/or logs open.mp

Starting open.mp server (1.0.1.2409) from commit dcd0190a91e67c99217e8ed3254baeb86733a0e4
Loaded 21 component(s) from /home/pxl/Desktop/MCVE-BehaviourDiff/open.mp/components
[2023-07-07T13:58:29+0700] [Info] Legacy Network started on port 7777
[2023-07-07T13:58:34+0700] [Info] Failed to announce legacy network to open.mp list

SA:MP:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[14:12:01] filterscripts = ""  (string)
[14:12:01] 
[14:12:01] Server Plugins
[14:12:01] --------------
[14:12:01]  Loaded 0 plugins.

[14:12:01] 
[14:12:01] Filterscripts
[14:12:01] ---------------
[14:12:01]   Loaded 0 filterscripts.

[14:12:01] MCVE Behaviour Diff v0.1
[14:12:01] Let's see if this print is called
[14:12:01] Number of vehicle models: 0

Release version RC2

Additional information

  • You can use this repo https://github.com/ohmypxl/mcve-behaviour-diff for easier testing, but for now it's only available for linux.
  • The bug isn't just related to gamemodes or the folders only, but it's also incapable of reading the files.

ohmypxl avatar Jul 07 '23 07:07 ohmypxl