Windows Server HE
From SA-MP Wiki
Contents |
דרישות
- גישה לאינטרנט (שרת מלא עם 100 שחקנים צורך 4MB לשניה)
- פורט UDP פתוח (7777 הוא ברירת המחדל) | מדריך
- כתובת אייפי סטאטית (לא חובה, אבל רצוי)
הקמת השרת
השגת הקבצים
הצעד הראשון בהקמת שרת ה - SAMP שלך הוא להוריד את קבצי השרת של חלונות מעמוד ההורדות של SA-MP את הגרסא האחרונה של קבצי השרת תמצא תחת התווית Windows Server - זכור לשים את הקבצים במקום נגיש.
הגדרת השרת שלך
Once the files are downloaded, extract (using program that can extract .rar files) the files (there's no need to have them in a certain folder, as the server doesn't need to see whether you have GTA:SA and SA-MP installed to run itself). Now, proceed to editing your server.cfg file.
Find server.cfg in the root folder for your server files and open it in Notepad or other text editor. This file should appear to you as readable English. This file is for the configuration of your server, here you can specify if lanmode is on or off, the max players, the server port, host name, game modes, filterscripts*, weburl and your rcon password.
Executing the Server
Once you have configured your server you can run it. To run it you can simply just click samp-server.exe and your server will be running.
LAN - רשת תקשורת מקומית
לחץ כאן אם ברצונך לפתוח שרת מקומי
Keeping the Server Online
With limited anti-crash options available in the SA-MP Server, there is a large possibility of receiving Segmentation Faults or any other error generated by your (Pawn) gamemode. This will shutdown the server, and you'll have to start it up yourself again.
This program will restart the samp-server.exe process if the SA-MP server crashes. All you need to do is to save a textfile with the ending .bat with the following content:
:Start samp-server.exe goto start
Put the file into the directory where samp-server.exe is located and start it. Type exit into the server console to test if it is working.