SA-MP Forums Archive
[GameMode] [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) (/showthread.php?tid=22818)

Pages: 1 2 3 4 5 6 7


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Janekk - 01.06.2010

This map is for a samp 0.3a or 0.2.X? I have a problem. If I will turn on my server, server going down [have crash, automaticly turn off]. Here you are a server's log:

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3a R7, ©2005-2010 SA-MP Team

[11:17:48] filterscripts = "" (string)
[11:17:48] 
[11:17:48] Server Plugins
[11:17:48] --------------
[11:17:48] Loading plugin: sampmysql
[11:17:48] 
/*************************************************/
/* SAMP-MySQL v0.15 Plugin loaded successfully ! */
/*************************************************/

[11:17:48]  Loaded.
[11:17:48] Loaded 1 plugins.

[11:17:48] 
[11:17:48] Filter Scripts
[11:17:48] ---------------
[11:17:48]  Loaded 0 filter scripts.

[11:17:48] MYSQL: Attempting to connect to server...
[11:17:48] 
Connection to MySQL database: Successfull !
[11:17:48] MYSQL: Database connection established.



Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Roxan_Almighty - 01.06.2010

This shouldn't close your server, this means that it will run, if it doesn't run make sure you have converted it from 0.2x to 0.3a

THIS SCRIPT IS 0.2x


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Janekk - 04.06.2010

Who have converted Moderntopia 0.3a?

I need this.


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - killer__577 - 07.06.2010

Quote:
Originally Posted by xkniives
This script sucks. It doesn't let me login.
Lolz. Im having the same problem i can reigster and i can try login with the wrong pass. As soon as i enter the right one the server crashes. Anyone know how to fix?


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - piratu - 11.06.2010

you have to convert it to 0.3 .... is not allready converted and wil not function with mode 0.3 .
y tested it function grate but on 0.2 .


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Roxan_Almighty - 12.06.2010

Quote:
Originally Posted by Janekk
Who have converted Moderntopia 0.3a?

I need this.
iits not hard to convert just remove / replace what needs to be there to be honest, if you can't figure it out guys, don't even try using SQL scripts, and dont try 0.2x scripts on 0.3a


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - vitalez06 - 13.06.2010

Код:
D:\Rockstar Games\GTA San Andreas\gamemodes\mtrpfinal.pwn(9844) : error 017: undefined symbol "SetDisabledWeapons"
D:\Rockstar Games\GTA San Andreas\gamemodes\mtrpfinal.pwn(37873) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
why?


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Ziggy88888 - 11.07.2010

C:\Users\Mat\Desktop\Our Game Matt\LSLRP\LSLRP\gamemodes\Untitled.pwn(9844) : error 017: undefined symbol "SetDisabledWeapons"
C:\Users\Mat\Desktop\Our Game Matt\LSLRP\LSLRP\gamemodes\Untitled.pwn(37873) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


what do i do im new to this whole scripting thing please


Respuesta: Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - GroX0r - 16.07.2010

Quote:
Originally Posted by Ziggy88888
View Post
C:\Users\Mat\Desktop\Our Game Matt\LSLRP\LSLRP\gamemodes\Untitled.pwn(9844) : error 017: undefined symbol "SetDisabledWeapons"
C:\Users\Mat\Desktop\Our Game Matt\LSLRP\LSLRP\gamemodes\Untitled.pwn(37873) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


what do i do im new to this whole scripting thing please
pawn Code:
SetDisabledWeapons(43,44,45);
Remplace By

pawn Code:
//SetDisabledWeapons(43,44,45);
--------------------------------------------------------------------------

pawn Code:
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
    return 0;
}
Remplace By

pawn Code:
//public OnPlayerPrivmsg(playerid, recieverid, text[])
//{
    //return 0;
//}



Re: Respuesta: Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Brian_Furious - 16.07.2010

Quote:
Originally Posted by GroX0r
View Post
pawn Code:
SetDisabledWeapons(43,44,45);
Remplace By

pawn Code:
//SetDisabledWeapons(43,44,45);
--------------------------------------------------------------------------

pawn Code:
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
    return 0;
}
Remplace By

pawn Code:
//public OnPlayerPrivmsg(playerid, recieverid, text[])
//{
    //return 0;
//}

ye he can put this

pawn Code:
//public OnPlayerPrivmsg(playerid, recieverid, text[])
//{
    //return 0;
//}
or delete it


Respuesta: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - DarkChildren - 16.07.2010

Good Job!!


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - ahmed_master23 - 16.07.2010

Quote:
Originally Posted by Moderntopia
View Post

IMPORTANT: To compile and run the script on your game server, you're going to need to grab the SA-MP MySQL plugin and include files (by ADreNaLiNe-DJ) from this thread. You also need a working MySQL server, which I expect you to have a basic understanding of already. The database.sql file contains the database structure, just execute the SQL queries in that file on your DB.
this link send me to the home page


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Brian_Furious - 17.07.2010

Quote:
Originally Posted by ahmed_master23
View Post
this link send me to the home page
Ye beacouse is a old link


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - GaB1TzZzu - 19.07.2010

I install Moderntopia and i have some errors when i compile.

C:\Users\GaB1TzZzu\Desktop\samp03asvr_R8_win32\gam emodes\mtrp-final.pwn(11749) : error 012: invalid function call, not a valid address
C:\Users\GaB1TzZzu\Desktop\samp03asvr_R8_win32\gam emodes\mtrp-final.pwn(11749) : warning 215: expression has no effect
C:\Users\GaB1TzZzu\Desktop\samp03asvr_R8_win32\gam emodes\mtrp-final.pwn(11749) : error 001: expected token: ";", but found ")"
C:\Users\GaB1TzZzu\Desktop\samp03asvr_R8_win32\gam emodes\mtrp-final.pwn(11749) : error 029: invalid expression, assumed zero
C:\Users\GaB1TzZzu\Desktop\samp03asvr_R8_win32\gam emodes\mtrp-final.pwn(11749) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

Help please.



//---------------------GIVE MATS-----------------
if(strcmp(cmd, "/givemats", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 4)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /givemats [playerid/PartOfName] [amount]");
return 1;
}
//giveplayerid = strval(tmp);
giveplayerid = ReturnUser(tmp);

The last is line 11749.(giveplayerid = ReturnUser(tmp)


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Spinningtop5 - 19.07.2010

can some one just send me everything put together i cant figure out my sql or anything


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Brian_Furious - 19.07.2010

Quote:
Originally Posted by Spinningtop5
View Post
can some one just send me everything put together i cant figure out my sql or anything
We can't , couse You need to have your MySql for put in the .pwn file for access.


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Brian_Furious - 19.07.2010

Quote:
Originally Posted by GaB1TzZzu
View Post
I install Moderntopia and i have some errors when i compile.

C:\Users\GaB1TzZzu\Desktop\samp03asvr_R8_win32\gam emodes\mtrp-final.pwn(11749) : error 012: invalid function call, not a valid address
C:\Users\GaB1TzZzu\Desktop\samp03asvr_R8_win32\gam emodes\mtrp-final.pwn(11749) : warning 215: expression has no effect
C:\Users\GaB1TzZzu\Desktop\samp03asvr_R8_win32\gam emodes\mtrp-final.pwn(11749) : error 001: expected token: ";", but found ")"
C:\Users\GaB1TzZzu\Desktop\samp03asvr_R8_win32\gam emodes\mtrp-final.pwn(11749) : error 029: invalid expression, assumed zero
C:\Users\GaB1TzZzu\Desktop\samp03asvr_R8_win32\gam emodes\mtrp-final.pwn(11749) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

Help please.



//---------------------GIVE MATS-----------------
if(strcmp(cmd, "/givemats", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 4)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /givemats [playerid/PartOfName] [amount]");
return 1;
}
//giveplayerid = strval(tmp);
giveplayerid = ReturnUser(tmp);

The last is line 11749.(giveplayerid = ReturnUser(tmp)
You need to re-downlaod all files and put the right includes...


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - Carlos2 - 20.05.2011

where can i get Utils include?


- myass - 25.06.2011

Good job


Re: [GM] Moderntopia Roleplay: Los Santos 1.0 (MySQL) - BuliTop_MkD - 07.10.2011

fatal error 100: cannot read from file: "a_sampmysql" how can i fix this ?