openmultiplayer / openmultiplayer/open.mp
[Behaviour Difference] open.mp doesn't support symlink folder/files
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 641
- Forks
- 208
- PR merge metrics
- No merged PRs in 30d
Description
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:
- Download open.mp RC2 and SA:MP
- Create
folderthat saves.amxsomewhere else, don't forget to compile .pwn files to .amx - Symlink that
folderinto your open.mp root folder namedgamemodes - 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
gamemodesor thefoldersonly, but it's also incapable of reading thefiles.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the linked mcve-behaviour-diff reproduction on Linux and compare open.mp RC2's handling of the symlinked gamemodes and files with SA:MP. Trace the server's folder and file discovery entry points from the resulting log, then verify that symlink targets are detected on the supported Windows and Linux environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100