[GameMode] Monolith RP - Continued [SQL-Base]
#1

Monolith Roleplay
•About•

I will be further maintaining this project, adding bits and pieces here and there.

Original topic: https://sampforum.blast.hk/showthread.php?tid=505752

Quote:
Originally Posted by Scaleta
Посмотреть сообщение
Starting this project on the dawn of this year, I have not actually progressed that far. However, I am always working on this in my spare time and just love doing it. Originally going to be a CnR-styled server called The Heist, I diverted from the original idea. Many beginning features were very roleplay in nature, and I realized that I really wasn't into continuing it as a CnR whilst developing RP features. All the code is mine, except otherwise stated within the script and a portion of The Heist was taken out/re-written.

Although containing no original code, this comes from my first project (GF2) and a project called Project-Alpha (something I contributed to with a friend from NGG).
The Script Is Modular! It is not hard to revert, but it is also easier to add/remove scripts to the GM in the current format.

•Features• •Requirements•
•Downloads• •Config•

Configurations can be located in the Git.



•Original Credits•
  • Scaleta - Project Leader
  • Emmet - Independent Developer
  • Shane - Independent Developer
  • Kindred - Tester & Founder of The Heist
  • Basssiiie - Tester
  • Thoth - Tester
  • iZN - Tester
  • linuxthefish - Tester
  • Admigo - Tester
  • Riddy - Tester
  • Fred - Tester
  • AviRaj - Tester
  • Twized - Tester
  • Khanz - Tester
•Current•
  • Jack Smalls - Project Maintainer
  • maximthepain - Tester
Reply
#2

Finally , btw what make this GM different from the original?
Reply
#3

Quote:
Originally Posted by RaeF
Посмотреть сообщение
Finally , btw what make this GM different from the original?
Yeah I was wondering that too.
Reply
#4

I assume that you have released it without permission from the original author to gain some reputation. that's not the right way of getting reps. either way nice gamemode.
Reply
#5

Can you tell what've you added? Lol
Reply
#6

Quote:
Originally Posted by RaeF
Посмотреть сообщение
Finally , btw what make this GM different from the original?
Quote:
Originally Posted by WhoIsYourDaddy
Посмотреть сообщение
Yeah I was wondering that too.
Quote:
Originally Posted by hhaaoo123
Посмотреть сообщение
Can you tell what've you added? Lol
Nothing. I plan on maintaining the open source project, as stated in the opening. The planned additions are uniform with the original, including making the house and door system more user-friendly while also adding the base for the factions system.

Quote:
Originally Posted by DemME
Посмотреть сообщение
I assume that you have released it without permission from the original author to gain some reputation. that's not the right way of getting reps. either way nice gamemode.
I have no care for reputation. Also, I have collaborator access to the Git (and will be shortly finding things to start doing). Even if, this is released code. If I wanted to do the same thing, I'd only have to change the name. There is a license at the top of all major source files, stating what should and should not be done with the code, also including a liability of course.
Reply
#7

What's the differents between this and the original?
Reply
#8

Quote:
Originally Posted by AzaMx
Посмотреть сообщение
What's the differents between this and the original?
I have already answered this question. Currently, I have only pushed one commit with the basis of the faction system. The point is, I am maintaining the project. It's not a full-release and neither was the original. It's a continuation.
Reply
#9

Sorry to be asking,but how to change the mysql configs?
[Im New]
Edit: I Changed the Configs in finsert.pwn in gamemodes,and config.pwn on gamemodes > but i still dont know what to do, my localhost/phpmyadmin user and pw is root root , and my sql database name is test...
But still dont know what to do...
[13:27:54] [ERROR] mysql_connect - empty connection data specified
[13:27:54] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[13:27:54] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[13:27:54] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[13:27:54] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[13:27:54] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[13:27:54] [ERROR] mysql_tquery - invalid connection handle (id: 0)
Reply
#10

Oh, finsert is not the main GM. MRP.pwn is.

The finsert file was just for inserting tons of blank data. That is not necessary, due to the SQL structure given to you has the blank data.

--

Currently, I have (none of this has been committed yet)
  • Finished what was supposed to be the house storage system
  • Started on anti-weapon hacks.
  • Continuing the factions dialog.




--
Update 3/12/2015 - 12:41 (yes, American date format)

Faction dialog base finished. I do say base, as what I am coding right now is the basis of a faction system, not a full-part system.. yet.

There are 10 factions with 10 available ranks. The numbers can be adjusted, but the code would have to be changed as well, in regards to loops. Again, none of this has been committed as of now.





Reply
#11

Quote:
Originally Posted by Jack_SMalls
Посмотреть сообщение
Oh, finsert is not the main GM. MRP.pwn is.

The finsert file was just for inserting tons of blank data. That is not necessary, due to the SQL structure given to you has the blank data.
What about the config.pwn file...? i tried it, still wont work,any solution...?
Reply
#12

Are you compiling the MRP.pwn only or are you trying to compile each file? Only MRP.pwn should be compiled.

An example of a basic config of a local server.
pawn Код:
#define SQL_SERVER  "localhost"
#define SQL_USER    "root"
#define SQL_DB      "mrp"
#define SQL_PASS    "" // pass not set by default
--
Update: 0.9.3 is now live, adding in a couple of new things.
  • Your guns now save.
  • You can now store 7 guns inside of a house.
  • Defaulted a bunch of unsaved values.
  • New functions regarding weapons.
  • New function to save the server, rather than re-coding loops.
  • Server auto-save every 15 minutes (/saveserver command resets this).
  • Completed base faction dialog (previews in my last comment).
NOTE ** The configuration for the SQL is now in the head file (MRP.pwn)!!
Reply
#13

Quote:
Originally Posted by Jack_SMalls
Посмотреть сообщение
Are you compiling the MRP.pwn only or are you trying to compile each file? Only MRP.pwn should be compiled.

An example of a basic config of a local server.
pawn Код:
#define SQL_SERVER  "localhost"
#define SQL_USER    "root"
#define SQL_DB      "mrp"
#define SQL_PASS    "" // pass not set by default
--
Update: 0.9.3 is now live, adding in a couple of new things.
  • Your guns now save.
  • You can now store 7 guns inside of a house.
  • Defaulted a bunch of unsaved values.
  • New functions regarding weapons.
  • New function to save the server, rather than re-coding loops.
  • Server auto-save every 15 minutes (/saveserver command resets this).
  • Completed base faction dialog (previews in my last comment).
NOTE ** The configuration for the SQL is now in the head file (MRP.pwn)!!
Thank you very much for the update & keeping this project alive. I'm working either to find bugs and fix as much as possiable. I wont release it public as you do, however you are true contributor to this project.
Two questions:
1) Why there is 3 separate SQL files instead of adding everything into one? so people wont confuse which to execute. for example the user_account.sql is not necessary its prebuild in datastruct.sql, just add/change it.
2) What about the weapons anti-cheat? You showed that too and didn't mention it in the release note.
Reply
#14

Quote:
Originally Posted by maximthepain
Посмотреть сообщение
Thank you very much for the update & keeping this project alive. I'm working either to find bugs and fix as much as possiable. I wont release it public as you do, however you are true contributor to this project.
Two questions:
1) Why there is 3 separate SQL files instead of adding everything into one? so people wont confuse which to execute. for example the user_account.sql is not necessary its prebuild in datastruct.sql, just add/change it.
2) What about the weapons anti-cheat? You showed that too and didn't mention it in the release note.
The 1st file is the older structure, but has the data. The other two are updated structures. Regarding the weapon-cheat, I had an idea on it. Currently, there is only prevention from keeping them and storing them. The idea will be explored before 1.0. Thanks for your support.

This goes to anyone... If you want to help maintain the project, I am needing people who want to help. You will be given collaborator on the Git. PM me for more, if interested.

--
Patch: A patched has been pushed to the repository. All issues and/or suggestions were reported by maximthepain. #listeningtothecommunity
  • Updated SQL structure (one full file) -> fixes an issue with stricter
    SQL server setups.
  • Updated the AFK timer. 2 minutes was pointed out to be too harsh.
  • Adjusted the MAX values to reflect the SQL data (was causing bound
    issues).
  • Added bounds checks to SQL loadings that required it.
  • Adjusted the text on /ooc syntax.
Reply
#15

Hi tehre are drugs and others jobs? you ahven't specified it. Business also? Thanks Great work
Reply
#16

What's the point on bumping the thread of your work? you might as well just release the gamemode ones it's done.
Reply
#17

Really nice gamemode! I really like the features of the script, as well as the coding style.

#MySQLforpresident.
Reply
#18

Quote:
Originally Posted by fonia5
Посмотреть сообщение
What's the point on bumping the thread of your work? you might as well just release the gamemode ones it's done.
Is a gamemode every really done?

Quote:
Originally Posted by iSkyline
Посмотреть сообщение
Really nice gamemode! I really like the features of the script, as well as the coding style.

#MySQLforpresident.
Thanks. More is definitely planned! As to the coding style, I've generally been keeping with the original.
Reply
#19

Hi,
I have problem

Quote:

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[15:51:38] password = "" (string)
[15:51:38] filterscripts = "" (string)
[27/03/2015 15:51:38]
[27/03/2015 15:51:38] Server Plugins
[27/03/2015 15:51:38] --------------
[27/03/2015 15:51:38] Loading plugin: crashdetect.dll
[27/03/2015 15:51:38] CrashDetect v4.15.1 is OK.
[27/03/2015 15:51:38] Loaded.
[27/03/2015 15:51:38] Loading plugin: mysql.dll
[27/03/2015 15:51:38] >> plugin.mysql: R33 successfully loaded.
[27/03/2015 15:51:38] Loaded.
[27/03/2015 15:51:38] Loading plugin: Whirlpool.dll
[27/03/2015 15:51:38]
[27/03/2015 15:51:38] ==================
[27/03/2015 15:51:38]
[27/03/2015 15:51:38] Whirlpool loaded
[27/03/2015 15:51:38]
[27/03/2015 15:51:38] ==================
[27/03/2015 15:51:38]
[27/03/2015 15:51:38] Loaded.
[27/03/2015 15:51:38] Loading plugin: streamer.dll
[27/03/2015 15:51:38]

*** Streamer Plugin v2.7.5.2 by Incognito loaded ***

[27/03/2015 15:51:38] Loaded.
[27/03/2015 15:51:38] Loading plugin: sscanf.dll
[27/03/2015 15:51:38]

[27/03/2015 15:51:38] ===============================

[27/03/2015 15:51:38] sscanf plugin loaded.

[27/03/2015 15:51:38] Version: 2.8.1

[27/03/2015 15:51:38] © 2012 Alex "Y_Less" Cole

[27/03/2015 15:51:38] ===============================

[27/03/2015 15:51:38] Loaded.
[27/03/2015 15:51:38] Loading plugin: gvar.dll
[27/03/2015 15:51:38]

*** GVar Plugin v1.3 by Incognito loaded ***

[27/03/2015 15:51:38] Loaded.
[27/03/2015 15:51:38] Loaded 6 plugins.

[27/03/2015 15:51:38]
[27/03/2015 15:51:38] Filterscripts
[27/03/2015 15:51:38] ---------------
[27/03/2015 15:51:38] Loaded 0 filterscripts.

[27/03/2015 15:51:38] OnGameo
[27/03/2015 15:51:38]
[27/03/2015 15:51:38]
[27/03/2015 15:51:38]
[27/03/2015 15:51:38] =======================================
[27/03/2015 15:51:38] | |
[27/03/2015 15:51:38] | YSI version 3.09.0684 |
[27/03/2015 15:51:38] | By Alex "Y_Less" Cole |
[27/03/2015 15:51:38] | |
[27/03/2015 15:51:38] =======================================
[27/03/2015 15:51:38]
[27/03/2015 15:51:38]
[27/03/2015 15:51:38]
[27/03/2015 15:51:38] [DEBUG] Loading ATMs...
[27/03/2015 15:51:38] [DEBUG] Loading Doors...
[27/03/2015 15:51:38]
---------------------------------------------
[27/03/2015 15:51:38] Monolith RP (Public Release) by Scaleta!
[27/03/2015 15:51:38] ---------------------------------------------

[27/03/2015 15:51:38] Number of vehicle models: 0
[27/03/2015 15:51:39] Incoming connection: 127.0.0.1:52617
[27/03/2015 15:51:39] Incoming connection: 127.0.0.1:52618
[27/03/2015 15:51:39] Incoming connection: 127.0.0.1:52619
[27/03/2015 15:51:39] [npc:join] Julio has joined the server (2:127.0.0.1)
[27/03/2015 15:51:39] [npc:join] Frank has joined the server (0:127.0.0.1)
[27/03/2015 15:51:39] [npc:join] Juan has joined the server (1:127.0.0.1)
[27/03/2015 15:51:39] [DEBUG] Frank's on stage.

Server dont connect to mysql database...

#define SQL_SERVER "localhost"
#define SQL_USER "root"
#define SQL_DB "rp"
#define SQL_PASS ""

Database was created right.

I used mysql plugin R33, can anyone help mi to solve this problem?
Reply
#20

Have a big Difference With mysql to SQL.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)