Running server in Linux (Ubuntu)
#1

Ok, hi guys... i want to try to run my server in Linux.

What i did:

- Downloaded the samp server package for Linux servers
- Installed Wine (for running samp.exe and other .exe files)
- I edited the server.cfg, copied all the gamemodes/filterscripts/... to a Linux samp map
- Edited plugins line in server.cfg
Код:
plugins streamer.so sscanf.so
- Read samp-wiki , but i don't understand the codes (where it must etc ...) (link)

What i want:
- In Windows, if you click on the samp-server.exe then you see a prompt but as i see i don't see that on Linux
- Playing samp on Linux
- Maybe i need step 5 in the vid (below) ? I can't find that ...

What works ?
- Well, when i click on samp03svr (on Linux ofcourse) ... and i look to my signature Then i see it's online...


Here a few ss:

Lol, this i don't understand it all: how i get this ? xD It's not explained in wiki :-/


This is when i start samp.exe with whine:

That "popup" is in Dutch, but the title is: Program Error

This is when i want to join a server:

The resolution changed + crash

whaha: running samp-server.exe with wine:



So if you can help me reply ^^

If you need more info, reply !

EDIT:

PS: i followed this (GOOD) tut:
[ame]http://www.youtube.com/watch?v=scSrNixCndY&list=FLLIm7igRwasc&index=1[/ame]
Reply
#2

You need to use terminal application to start the server.
Reply
#3

Quote:
Originally Posted by linuxthefish
Посмотреть сообщение
You need to use terminal application to start the server.
And what i have to type in there ?!
Reply
#4

Quote:
Originally Posted by Michael@Belgium
Посмотреть сообщение
And what i have to type in there ?!
Код:
cd ~
wget http://team.sa-mp.com/files/samp03csvr_R...9838137tar -xsf samp03csvr_R2-2.tar.gz
cd samp03
Then open up your home folder, and edit the server.cfg. Then back to Terminal;

Код:
nohup ./samp03svr &
press enter again

Код:
exit
The instructions on the wiki are old, and suck. You can also use Wine to run the server, though that would be stupid!
Reply
#5

Quote:
Originally Posted by linuxthefish
Посмотреть сообщение
Код:
cd ~
wget http://team.sa-mp.com/files/samp03csvr_R...8822251tar -xsf samp03csvr_R2-2.tar.gz
cd samp03
Then open up your home folder, and edit the server.cfg. Then back to Terminal;

Код:
nohup ./samp03svr &
press enter again

Код:
exit
The instructions on the wiki are old, and suck. You can also use Wine to run the server, though that would be stupid!
Lol you should make a tut linuxthefish ;p
Anyway: i did it ... but a question: for what was that for ? xp
Reply
#6

to PLAY you need wine on ubuntu
to run a server in linux, is what you are being told post above !
Reply
#7

Quote:
Originally Posted by Tenshi
Посмотреть сообщение
to PLAY you need wine on ubuntu
to run a server in linux, is what you are being told post above !
I have Wine but as you see in the screenshot it crashes x)
and about the second: oh i thought it was for something else xD i just need a prompt like in Windows where the log is comming in x)
Reply
#8

Quote:
Originally Posted by Michael@Belgium
Посмотреть сообщение
I have Wine but as you see in the screenshot it crashes x)
and about the second: oh i thought it was for something else xD i just need a prompt like in Windows where the log is comming in x)
You don't get a live log, you can make one though!
Reply
#9

Quote:
Originally Posted by linuxthefish
Посмотреть сообщение
You don't get a live log, you can make one though!
OMG xD Why can't the SAMP developers make a Linux Client Dx This is so difficult ...
And how to do it then ? xD Im so noob in Linux ...
Reply
#10

keep opening the server_log.txt file as fast as you can! Or install a webserver and and create a PHP script to read the server log and refresh the page every second.
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)