• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Question] Many questions regarding open-mp
#8
I can sympathise with your frustration so I've typed up some information below that might help you.  I was in your situation some time ago so I know how it feels when something you care about stops working!  Unfortunately there's not much life here on the forum, it's quite desolate so you might get more support on the Open.MP Discord channels.  Also it may help to search in Discord for specific problems like 'function is deprecated' and other issues you have because I've found many solutions that way so you could try that Jason.

After I installed Open.MP and loaded omp-server.exe I did get many errors but I don't remember everything I did to fix those errors.  But like you I tried to search online and on the Open.MP website but it's too difficult to find solutions and honestly there is no clear and simple guidance for beginners or even quite experienced programmers like myself to make the transition to Open.MP compatibility.  I know I had to edit one include file but that was related to const strings I think.  I've been coding my game mode since 2010 and when I learned about Open.MP I did the same thing as you however I don't use Qawno to edit or compile my script, compilation takes about 12 seconds compared to 2 seconds in Sublime which is linked to the standard 'pawno/pawncc.exe' listed inside the Pawn.sublime-build file stored inside SublimeText3\Data\Packages for Sublime.

More relevant to your situation is that Qawno gives me errors (I just tried it) that I don't get in the other Pawno compiler however that's probably related to missing or old include files inside the Qawno include folder.  Perhaps I should be using Qawno and some experts may recommend that but I know I can run my amx with samp-server.exe or omp-server.exe without warnings and my script compiles now without warnings or errors in Sublime.  So I know my game mode loads and functions using SA:MP or Open.MP (server) and last year I tested my server online with plenty of players without problems.

Looking at some of your warnings and errors, firstly search inside the Open.MP Discord channels because many of your errors are actually there and I can see now that there are other people having the same identical error issues, I hope you find some answers.  Anyway some small suggestions:

• Function is deprecated (symbol "Something") Use `SomethingElse`
I can see spelling differences between some words in your linked PasteBin file so you may need to carefully search for and swap the function words to what's recommended - for example '(symbol "PlayerTextDrawColor") Use `PlayerTextDrawColour'` < notice the spelling of colour compared to the Americanised color.  So some of those errors relate to the spelling of colour.  Another option may be to update the eSelection.inc to the latest version.

• Tag mismatch: expected tag "bool"
Yesterday on Discord Y-Less suggested using true/false instead of numbers (example 0/1) so see if that makes a difference if you alter those lines of code or update the include version?

• Regarding server.cfg file, is it still necessary or I need to edit the config.json in the root folder? If so, how I can list the filterscripts/plugins to use?
When running my game mode (amx) using the omp-server.exe it reads my server.cfg but if the server crashes then it switches to the config.json (don't know why) so I keep them both identical.  I don't use any filterscripts but search for the line 'legacy_plugins' inside the config.json file and list your plugins there.

• My players will know about the difference between Samp and OpenMP? I mean, when they connect to my server.
They should just connect as usual and experience the same server.

• Is a client planned to be released?
Many people are waiting, could be released sooner now that we know the SA-MP is closing its Hosted tab within the SA-MP client so it won't be so easy for new players to find and join servers.

• Hosted tab is still needed? I mean what's the ratio between SaMp and OpenMP with/without hosted tab?
Years ago it was possible to announce your server and have it appearing on the Internet tab but then that was removed meaning the only option server owners had was to pay to have their servers on the Hosted tab but that will close soon however check the work by Markski at https://markski.ar/samonitor

For linking a compiler inside Sublime I followed instructions in the links below, perhaps these might help and I can post code for my Pawn.sublime-build file and more information if you need it but I'm running out of time tonight so here are links:
https://github.com/Southclaws/pawn-sublime-language
https://sampforum.blast.hk/showthread.php?tid=626423

Some further advice, take back up copies of your files before making changes (just zip your whole C:\Users\testuser\Desktop\Server folder) and then if things go wrong you can restore your precious files.  I spent this evening examining your problems instead of coding so I hope some this helps you Jason, good luck!
  Reply


Messages In This Thread
Many questions regarding open-mp - by JasonDeRue - 2023-08-25, 12:51 PM
RE: Many questions regarding open-mp - by Markski - 2023-08-27, 11:39 PM
RE: Many questions regarding open-mp - by Shadeush - 2023-09-04, 07:44 PM

Forum Jump: