Jump to content

[REL] GTW-RPG v3.0-beta2 + AI


Mr_Moose

Recommended Posts

Yes, fuel is also loaded from "VehicleFuel" saved as element data for each vehicle. As mentioned earlier, there's no point in asking about "missing features" as in features you'll find in RageQuit communitys server vs the GTW-RPG project, it's two different things even if it's going to be merged or completely rewritten from scratch. We're making a new vehicle hud currently that should fit all screen resolutions without overlapping so a fuel system will soon be implemented as well.

Link to comment

Yes, fuel is also loaded from "VehicleFuel" saved as element data for each vehicle. As mentioned earlier, there's no point in asking about "missing features" as in features you'll find in RageQuit communitys server vs the GTW-RPG project, it's two different things even if it's going to be merged or completely rewritten from scratch. We're making a new vehicle hud currently that should fit all screen resolutions without overlapping so a fuel system will soon be implemented as well.

Link to comment

For that you would have to modify the countdown timer or simply kill it and make a new one as soon more players enters or leave the turfs. I like the idea so it might get implemented in an upcoming version. You'll find similar functionality in GTWjail when a prisoner hits a guard and get extended jail time as a punishment.

Link to comment

Hi All,

I'm new on the mtasa community, and a already have a SAMP server.

I want to know how can i install this gamemode ? I need your help here :(

I already installed the MTA Server but i don't know where to put the mode files.

I must add all the lines as requested on the INSTALL ???

Please NEED Your attention nd your Help

Thanks in advance

Link to comment
Hi All,

I'm new on the mtasa community, and a already have a SAMP server.

I want to know how can i install this gamemode ? I need your help here :(

I already installed the MTA Server but i don't know where to put the mode files.

I must add all the lines as requested on the INSTALL ???

Please NEED Your attention nd your Help

Thanks in advance

MTA Folder -> /server/mods/deathmatch/resources

there.

Link to comment

Sounds like a bug, ironically that feature has never been tested without any cop online so I'm not quiet sure what value is returned by getNearestCop when there is no cops online and how the wanted level system is dealing with that. But you're right, you should not be jailed if there is nobody online to jail you.

Link to comment

a little suggestion make all wanted had a blip if they are wanted and nametags like [wanted 1 - 6]Playername

new bug when I taze someone who has a wanted points it doesn't effect if I punch near to him with a tazer gun in my hand it will works and the camera fading doesn't unfade you need to kill the tazed player to unfade it..

Link to comment

The whole idea with the police job is that you shouldn't be able to know your the opponents exact location all the time, it's a benefit that the police job also includes some actual search and teamwork rather than heavy guns on both sides which leads to a war zone every time someone is getting arrested like we seen on servers where everyone know the location of everyone else. If you like to play that way then there is a turf system for gang wars. Besides this can be modified in GTWplayerblips by ignoring the validation function and make it return true always.

You need to have patience with the tazer, once a suspect get's shot he'll be out for 20 seconds (could be longer if your server or client suffers from lag as it uses timers). There's also a distance check so that the tazer only works on a very short distance, it's supposed to be used when someone is trying to run away and not to take down a maniac with heat seeking rpg or similar heavy weapons.

Link to comment
  • 4 weeks later...
The whole idea with the police job is that you shouldn't be able to know your the opponents exact location all the time, it's a benefit that the police job also includes some actual search and teamwork rather than heavy guns on both sides which leads to a war zone every time someone is getting arrested like we seen on servers where everyone know the location of everyone else. If you like to play that way then there is a turf system for gang wars. Besides this can be modified in GTWplayerblips by ignoring the validation function and make it return true always.

You need to have patience with the tazer, once a suspect get's shot he'll be out for 20 seconds (could be longer if your server or client suffers from lag as it uses timers). There's also a distance check so that the tazer only works on a very short distance, it's supposed to be used when someone is trying to run away and not to take down a maniac with heat seeking rpg or similar heavy weapons.

Mr_Moose, Installation manual process has been completed, but still go wrong.

================================================================== 
= Multi Theft Auto: San Andreas v1.5.2 
================================================================== 
= Server name      : Default MTA Server 
= Server IP address: auto 
= Server port      : 22003 
=  
= Log file         : ..1212/server/mods/deathmatch/logs/server.log 
= Maximum players  : 32 
= HTTP port        : 22005 
= Voice Chat       : Disabled 
= Bandwidth saving : Medium 
================================================================== 
[2016-05-16 01:44:19] Resources: 90 loaded, 0 failed 
[2016-05-16 01:44:19] Server password set to '110' 
[2016-05-16 01:44:19] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso " 
[2016-05-16 01:44:19] Starting resources.... 
[2016-05-16 01:44:19] ERROR: [GTW]\[resources]\GTWgui\s_refresh.lua:26: bad argument #1 to 'pairs' (table expected, got nil) 
[2016-05-16 01:44:19] Server minclientversion is now 1.5.2-9.07967.0.000 
[2016-05-16 01:44:20] ERROR: modshop GUI/client.luac is invalid. Please re-compile at [url=https://luac.multitheftauto.com/]https://luac.multitheftauto.com/[/url] 
[2016-05-16 01:44:21] Creating new DB table bank_accounts 
[2016-05-16 01:44:22] Loaded path map paths/maps/san_andreas in 773 ms 
[2016-05-16 01:44:22] Loaded all path maps in 773 ms 
[2016-05-16 01:44:22] Querying MTA master server... success! (Auto detected IP:175.45.226.146) 
[2016-05-16 01:44:22] Server started and is ready to accept connections! 
[2016-05-16 01:44:22] To stop the server, type 'shutdown' or press Ctrl-C 
[2016-05-16 01:44:22] Type 'help' for a list of commands. 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWgroups\group_s.lua:37: dbExec failed; (1046) No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWgroups\group_s.lua:38: dbExec failed; (1046) No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWgroups\group_s.lua:39: dbExec failed; (1046) No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWgroups\group_s.lua:100: dbPoll failed; No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWgroups\group_s.lua:118: dbPoll failed; No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWgroups\group_s.lua:128: dbPoll failed; No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWgrouplogs\logs.lua:27: dbExec failed; (1046) No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWgrouplogs\logs.lua:28: dbExec failed; (1046) No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWgrouplogs\logs.lua:38: dbPoll failed; No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWgrouplogs\logs.lua:52: dbPoll failed; No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWturf\server.lua:22: dbExec failed; (1046) No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWturf\server.lua:337: dbPoll failed; No database selected 
[2016-05-16 01:44:22] WARNING: [GTW]\[resources]\GTWvehicleshop\vehicle_s.lua:69: dbExec failed; (1046) No database selected 
[2016-05-16 01:45:35] CONNECT: Yann connected (IP: 172.16.23.5  Serial: 6C8D1E3E0F23589CB569374B69ABAB32  Version: 1.5.2-9.07981.6) 
[2016-05-16 01:45:35] JOIN: Yann joined the game (IP: 172.16.23.5) 
[2016-05-16 01:45:38] BANK: Yann, received: $1,000 
[2016-05-16 01:45:40] [BANK] Current bank balance for: Yann is: $0 
[2016-05-16 01:45:40] LOGIN: (Developer, Supporter, Admin, Everyone) Yann successfully logged in as 'Yann' (IP: 172.16.23.5  Serial: 6C8D1E3E0F23589CB569374B69ABAB32) 
[2016-05-16 01:45:40] BANK: Yann, received: $49,581,032 
[2016-05-16 01:45:43] WARNING: [GTW]\[resources]\GTWvehicleshop\vehicle_s.lua:122: dbPoll failed; No database selected 
[2016-05-16 01:45:50] WARNING: [GTW]\[resources]\GTWvehicleshop\vehicle_s.lua:53: dbExec failed; (1046) No database selected 
[2016-05-16 01:45:50] BANK: Yann, paid: $76,860 
[2016-05-16 01:45:56] WARNING: [GTW]\[resources]\GTWvehicleshop\vehicle_s.lua:122: dbPoll failed; No database selected 
[2016-05-16 01:47:53] BANK: Yann, paid: $87,710 
[2016-05-16 01:47:53] WARNING: [GTW]\[resources]\GTWvehicleshop\vehicle_s.lua:53: dbExec failed; (1046) No database selected 
[2016-05-16 01:47:58] BANK: Yann, paid: $87,710 
[2016-05-16 01:47:59] WARNING: [GTW]\[resources]\GTWvehicleshop\vehicle_s.lua:53: dbExec failed; (1046) No database selected 
[2016-05-16 01:48:00] WARNING: [GTW]\[resources]\GTWvehicleshop\vehicle_s.lua:122: dbPoll failed; No database selected 
[2016-05-16 01:51:37] NETWORK: packet loss: Yann, begin: 570 ticks ago 
[2016-05-16 01:51:37] NETWORK: packet loss: Yann ended: 596 ticks ago 
[2016-05-16 01:54:21] WARNING: [GTW]\[resources]\GTWturf\server.lua:31: dbPoll failed; No database selected 
[2016-05-16 01:59:31] WARNING: [GTW]\[resources]\GTWgroups\s_exports.lua:21: dbExec failed; (1046) No database selected 
[2016-05-16 01:59:31] WARNING: [GTW]\[resources]\GTWgroups\group_s.lua:100: dbPoll failed; No database selected 
[2016-05-16 01:59:31] WARNING: [GTW]\[resources]\GTWgroups\group_s.lua:100: dbPoll failed; No database selected 
[2016-05-16 01:59:31] WARNING: [GTW]\[resources]\GTWgroups\group_s.lua:236: dbExec failed; (1046) No database selected 
[2016-05-16 01:59:31] WARNING: [GTW]\[resources]\GTWgroups\group_s.lua:218: dbExec failed; (1046) No database selected 
[2016-05-16 02:04:21] WARNING: [GTW]\[resources]\GTWturf\server.lua:31: dbPoll failed; No database selected 
[2016-05-16 02:05:35] WARNING: [GTW]\[resources]\GTWvehicleshop\vehicle_s.lua:122: dbPoll failed; No database selected 
[2016-05-16 02:05:39] NETWORK: packet loss: Yann, begin: 508 ticks ago 
[2016-05-16 02:05:49] QUIT: Yann left the game [Timed out] 
[2016-05-16 02:05:49] WARNING: [GTW]\[resources]\GTWvehicleshop\vehicle_s.lua:101: dbPoll failed; No database selected 
[2016-05-16 02:06:19] CONNECT: Yann connected (IP: 172.16.23.5  Serial: 6C8D1E3E0F23589CB569374B69ABAB32  Version: 1.5.2-9.07981.6) 
[2016-05-16 02:06:21] JOIN: Yann joined the game (IP: 172.16.23.5) 
[2016-05-16 02:06:27] [BANK] Current bank balance for: Yann is: $0 
[2016-05-16 02:06:27] LOGIN: (Developer, Supporter, Admin, Everyone) Yann successfully logged in as 'Yann' (IP: 172.16.23.5  Serial: 6C8D1E3E0F23589CB569374B69ABAB32) 
[2016-05-16 02:06:27] BANK: Yann, received: $49,329,752 
[2016-05-16 02:06:38] WARNING: [GTW]\[resources]\GTWvehicleshop\vehicle_s.lua:53: dbExec failed; (1046) No database selected 
[2016-05-16 02:06:38] BANK: Yann, paid: $76,860 
[2016-05-16 02:06:44] WARNING: [GTW]\[resources]\GTWvehicleshop\vehicle_s.lua:122: dbPoll failed; No database selected 
  

i dont where to do ,no database selected!help me ! :oops:

Link to comment

MySQL should work without external modules so you can start by disable those, after that you need to make sure that your MySQL login credentials are correct and last but not least, the database has to be installed manually. This used to be very complex so we decided to just add the sql file with truncated tables to github as it is. All you have to to is to run this SQL script in your database: https://github.com/404rq/GTW-RPG/blob/master/db.sql to have the tables installed. Turfs are included in this file as a bonus.

Link to comment
  • 3 months later...
  • 1 month later...
  • 4 weeks later...
  • 1 month later...

==================================================================
= Multi Theft Auto: San Andreas v1.5.3
==================================================================
= Server name      : Default MTA Server
= Server IP address: auto
= Server port      : 22003

= Log file         : ...5.3/server/mods/deathmatch/logs/server.log
= Maximum players  : 32
= HTTP port        : 22005
= Voice Chat       : Disabled
= Bandwidth saving : Medium
==================================================================
[2016-12-31 13:23:17] Resources: 91 loaded, 0 failed
[2016-12-31 13:23:17] Starting resources......
[2016-12-31 13:23:31] Admin access list successfully updated 
[2016-12-31 13:23:31] INFO: Admin added 490 missing rights
[2016-12-31 13:23:32] Server minclientversion is now 1.5.3-9.10835.0
[2016-12-31 13:23:55] WARNING: alternate_hud/client.lua(Line 53) [Client] showPlayerHudComponent is deprecated and may not work in future versions. Please replace with setPlayerHudComponentVisible.
[2016-12-31 13:23:55] Some files in 'alternate_hud' use deprecated functions.
[2016-12-31 13:23:55] Use the 'upgrade' command to perform a basic upgrade of resources.
[2016-12-31 13:23:55] ERROR: modshop GUI/client.luac is invalid. Please re-compile at https://luac.multitheftauto.com/
[2016-12-31 13:24:10] WARNING: GTWaccounts/c_intro.lua(Line 74) [Client] showPlayerHudComponent is deprecated and may not work in future versions. Please replace with setPlayerHudComponentVisible.
[2016-12-31 13:24:10] Some files in 'GTWaccounts' use deprecated functions.
[2016-12-31 13:24:10] Use the 'upgrade' command to perform a basic upgrade of resources.
[2016-12-31 13:24:15] Loaded path map paths/maps/san_andreas in 2801 ms
[2016-12-31 13:24:15] Loaded all path maps in 2808 ms
[2016-12-31 13:24:15] Querying MTA master server... success! (Auto detected IP:6.6.6.6)
[2016-12-31 13:24:15] Authorized serial account protection is enabled for the ACL group(s): `Admin`  See https://mtasa.com/authserial
[2016-12-31 13:24:15] Server started and is ready to accept connections!
[2016-12-31 13:24:15] To stop the server, type 'shutdown' or press Ctrl-C
[2016-12-31 13:24:15] Type 'help' for a list of commands.


help me fix this error

Edited by Saiyd
Link to comment

PUT ALL COMMANDS ADMIN EX /business /createhouse etc 

i need command put gas station in my serve not have 

and house system 
WARNING: [misc]\housesystem\server.lua:642: Access denied @ 'executeCommandHandler'

Edited by Saiyd
Link to comment
  • 2 weeks later...

Those "errors" are only there to inform about a deprecated function, there should be replacements available in wiki already. House system needs access to the command ' executeCommandHandler' which can be set in acl.xml. The compiled file is simply outdated and unfortunately a third party resource I don't have access too, developers name should be available in it's meta file. Some location data can be modified via commands while others will require a modification of a table or XML file, most commands are listed in /help except for the admin commands.

Link to comment
  • 2 months later...

  
Help me ! :oops:
 

[2017-03-26 01:21:50] WARNING: [resources]\GTWturf\data.lua:27: Bad usage @ 'dbConnect' [Can't connect to MySQL server on 'localhost' (10061)]
[2017-03-26 01:21:51] WARNING: [resources]\GTWvehicleshop\vehicle_s.lua:22: Bad usage @ 'dbConnect' [Can't connect to MySQL server on 'localhost' (10061)]
On 5/15/2016 at 21:15, Mr_Moose said:

MySQL should work without external modules so you can start by disable those, after that you need to make sure that your MySQL login credentials are correct and last but not least, the database has to be installed manually. This used to be very complex so we decided to just add the sql file with truncated tables to github as it is. All you have to to is to run this SQL script in your database: https://github.com/404rq/GTW-RPG/blob/master/db.sql to have the tables installed. Turfs are included in this file as a bonus.


Hi :D
How i add MySQL to my server !! to not get error 


 

 

Link to comment
4 hours ago, Mr_Moose said:

Error 10061 is a database error, see this thread for more details: http://stackoverflow.com/questions/119008/cant-connect-to-mysql-server-on-localhost-10061


:oops::oops::oops::oops::oops::oops:i go there:-o:-o:-o:-o but not understand any thing ! :( 

Another Q

Now after i download GTW-RPG v3

To INSTALL :
1) Edit in  mtaserver.conf
2) Copy [maps] & [misc] & [resources] & [traffic]  To mods/deathmatch/resources/

3) i found file db.sql with GTW-RPG v3 !!! What i do with him !! 

  • Like 1
Link to comment

The file db.sql contains all database tables and structures required. Currently these won't be created automatically when using MySQL so you'll have to import that file into your database. What management software are you using? PhpMyAdmin, MySQL workbench, command line or anything else. Methods to setup a database properly varies between these.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...