SA-MP Forums Archive
[HELP ASAP] Can't change the server's name or anything. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: [HELP ASAP] Can't change the server's name or anything. (/showthread.php?tid=578536)



[HELP ASAP] Can't change the server's name or anything. - joedyjoe - 20.06.2015

Hey! Finally I got the South Central Roleplay script working, but there's one problem. I want to play on the server just for fun, fooling around with my friends. The name isn't changing when I try to change it, what's the problem? I want to create my own name for the server.

Also, when I log on I can't do anything.



PLEASE HELP, ASAP!


Re: [HELP ASAP] Can't change the server's name or anything. - Alex Magaсa - 20.06.2015

1. I noticed you forgot to import in PHPMYADMIN the .sql file.
2. Open the gamemode with PAWNO and search for this:
Quote:

#define SERVER_NAME "[0.3.7] South Central Roleplay - www.scroleplay.net"

change it to:
Quote:

#define SERVER_NAME "[0.3.7] your server name here"

compile it and done.
3. If you want to change web url open again pawno and search for this:
Quote:

#define SERVER_URL "www.scroleplay.net"

change it to:
Quote:

#define SERVER_URL "www.yourserverwebsitehere.com"

compile it and done once again.
1.1: About MYSQL show us the configuration you did.

Examples:


-Local Host- (XAMPP)

Quote:

#define SQL_HOSTNAME "127.0.0.1"
#define SQL_USERNAME "root"
#define SQL_DATABASE "scrp"
#define SQL_PASSWORD ""

-Hosted Server (VPS,Hosting Sites)-
Quote:

#define SQL_HOSTNAME "localhost"
#define SQL_USERNAME "root"
#define SQL_DATABASE "scrp"
#define SQL_PASSWORD "passwordhere"

Quote:
Originally Posted by joedyjoe
Посмотреть сообщение
The name isn't changing when I try to change it, what's the problem?
Make sure you load on server.cfg the (edited script) instead of the original script. (if you edit a script example: SC-RP.amx,SC-RP.pwn instead of original script: roleplay.amx,roleplay.pwn).


Re: [HELP ASAP] Can't change the server's name or anything. - joedyjoe - 20.06.2015

Quote:
Originally Posted by Alex Magaсa
Посмотреть сообщение
1. I noticed you forgot to import in PHPMYADMIN the .sql file.
2. Open the gamemode with PAWNO and search for this:

change it to:

compile it and done.
3. If you want to change web url open again pawno and search for this:

change it to:

compile it and done once again.
1.1: About MYSQL show us the configuration you did.

Examples:


-Local Host- (XAMMP)



-Hosted Server (VPS,Hosting Sites)-
1. How do I do that?
2. Doesn't work.


Re: [HELP ASAP] Can't change the server's name or anything. - Alex Magaсa - 20.06.2015

Quote:
Originally Posted by joedyjoe
Посмотреть сообщение
1. How do I do that?
2. Doesn't work.
1. https://www.apachefriends.org/index.html use this for local hosting.
2. Show me your gamemodes folder (screenshot) & server.cfg.


Re: [HELP ASAP] Can't change the server's name or anything. - joedyjoe - 20.06.2015

Quote:
Originally Posted by Alex Magaсa
Посмотреть сообщение
1. https://www.apachefriends.org/index.html use this for local hosting.
2. Show me your gamemodes folder (screenshot) & server.cfg.
Thanks a lot, appreciated.

Gamemodes:



server.cfg:




Re: [HELP ASAP] Can't change the server's name or anything. - Alex Magaсa - 20.06.2015

This is a silly question don't tell me you only save the file? :P

To compile a gamemode/filterscript press this: the red icon shows what to click :P!

I will give you a properly video tutorial if this issue exists.


Re: [HELP ASAP] Can't change the server's name or anything. - joedyjoe - 20.06.2015

Quote:
Originally Posted by Alex Magaсa
Посмотреть сообщение
This is a silly question don't tell me you only save the file? :P

To compile a gamemode/filterscript press this: the red icon shows what to click :P!

I will give you a properly video tutorial if this issue exists.
Thanks, you're genious. You have Skype? I can't compile the script for some reason, can you do it for me? It'd be great if you could do that. Thousands of thanks.