SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 30/07/2012, 05:47 AM   #1
oKzrh
Little Clucker
 
oKzrh's Avatar
 
Join Date: Jul 2012
Location: Israel
Posts: 35
Reputation: 7
Default Building a Roleplay gamemode based on Y_INI

Hi guys, how are ya'?
I was wondering... Can a Y_INI-based roleplay gamemode could be perfect? or at least, as good as a MySQL one?
If I'm correct, all of the big RP servers are based on MySQL.
What do you say?
Maybe I should move to MySQL...
Thanks
__________________

Playing games for graphics is like watching Porn for the storyline
oKzrh is offline   Reply With Quote
Old 30/07/2012, 05:57 AM   #2
Cjgogo
High-roller
 
Cjgogo's Avatar
 
Join Date: Apr 2011
Location: Romania,Brasov,Brasov
Posts: 1,019
Reputation: 88
Default Re: Building a Roleplay gamemode based on Y_INI

Well,I have started a ROlePlay Server based on Y_INI,what can I say,I like it,but if you wish(as any big RolePlay communities) to have a site and a forum,etc.,then MySQL is better,but as for SERVER only,I'd say there's pretty much no difference,JUST that,as mentioned before,you cannot acces Y_INI data through a site,as far as I'm concerned,so,if you want a site,move to MySQL,but I don't really like the language(looks weird to me LOL).I like Y_INI language better .
__________________
{POWER} + {AGILITY} + {WILL} + {NOBILITY} = "PAWN"


"A question is the key to knoweldege"

My work


Cjgogo is offline   Reply With Quote
Old 30/07/2012, 06:03 AM   #3
oKzrh
Little Clucker
 
oKzrh's Avatar
 
Join Date: Jul 2012
Location: Israel
Posts: 35
Reputation: 7
Default Re: Building a Roleplay gamemode based on Y_INI

Quote:
Originally Posted by Cjgogo View Post
Well,I have started a ROlePlay Server based on Y_INI,what can I say,I like it,but if you wish(as any big RolePlay communities) to have a site and a forum,etc.,then MySQL is better,but as for SERVER only,I'd say there's pretty much no difference,JUST that,as mentioned before,you cannot acces Y_INI data through a site,as far as I'm concerned,so,if you want a site,move to MySQL,but I don't really like the language(looks weird to me LOL).I like Y_INI language better .
Yep, I know what :P I know both languages (MySQL better), but I just want to know about the server itself, what would be better for a big community - MySQL or Y_INI?
__________________

Playing games for graphics is like watching Porn for the storyline
oKzrh is offline   Reply With Quote
Old 30/07/2012, 06:19 AM   #4
ReneG
High-roller
 
Join Date: Oct 2011
Location: Sublime Text 2
Posts: 1,981
Reputation: 337
Default Re: Building a Roleplay gamemode based on Y_INI

MySQL
  • Very high level, exactly like writing a letter to your computer.
  • It's fast, and very practical not only for useraccounts, but for houses, businesses, etc.

Also, don't use old methods of MySQL. Use threaded queries, and make use of the cache functions. A huge mode doesn't need to be coded in MySQL, but it's definitely a plus.
ReneG is offline   Reply With Quote
Old 30/07/2012, 06:34 AM   #5
oKzrh
Little Clucker
 
oKzrh's Avatar
 
Join Date: Jul 2012
Location: Israel
Posts: 35
Reputation: 7
Default Re: Building a Roleplay gamemode based on Y_INI

Quote:
Originally Posted by VincentDunn View Post
MySQL
  • Very high level, exactly like writing a letter to your computer.
  • It's fast, and very practical not only for useraccounts, but for houses, businesses, etc.

Also, don't use old methods of MySQL. Use threaded queries, and make use of the cache functions. A huge mode doesn't need to be coded in MySQL, but it's definitely a plus.
Thanks, I think I'll go with MySQL.
I need to learn about how to use threaded queries and cache functions. It would be great if you could give me a link to a thread/site that explains it with PAWN.
__________________

Playing games for graphics is like watching Porn for the storyline
oKzrh is offline   Reply With Quote
Old 30/07/2012, 06:41 AM   #6
ReneG
High-roller
 
Join Date: Oct 2011
Location: Sublime Text 2
Posts: 1,981
Reputation: 337
Default Re: Building a Roleplay gamemode based on Y_INI

http://forum.sa-mp.com/showthread.php?t=337810
ReneG is offline   Reply With Quote
Old 31/07/2012, 09:50 AM   #7
playbox12
High-roller
 
playbox12's Avatar
 
Join Date: Feb 2010
Location: Netherlands
Posts: 1,669
Reputation: 216
Default Re: Building a Roleplay gamemode based on Y_INI

Just adding to that, cache and threaded queries are actually really simple when you get used to it. Not to mention the enormous performance gain.
playbox12 is offline   Reply With Quote
Old 31/07/2012, 09:54 AM   #8
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 11,005
Reputation: 2647
Default Re: Building a Roleplay gamemode based on Y_INI

MySQL provides a lot of extra functionality within the MySQL server. But if you're not saving lots and lots of data (personally I have 21 tables at the moment) or are not using its extended functionality then you can stick to just file writing.
__________________
Vince is offline   Reply With Quote
Old 31/07/2012, 11:08 AM   #9
Slice
High-roller
 
Join Date: Mar 2008
Location: Sweden
Posts: 1,899
Reputation: 1589
Default Re: Building a Roleplay gamemode based on Y_INI

Quote:
Originally Posted by Vince View Post
MySQL provides a lot of extra functionality within the MySQL server. But if you're not saving lots and lots of data (personally I have 21 tables at the moment) or are not using its extended functionality then you can stick to just file writing.
Or SQLite, which a lot of people seem to be forgetting about.
Slice is offline   Reply With Quote
Old 01/08/2012, 03:47 AM   #10
Steven82
High-roller
 
Join Date: Nov 2009
Posts: 2,481
Reputation: 170
Default Re: Building a Roleplay gamemode based on Y_INI

Pinewood is currently using Y_INI as it's whole saving system throughout the server. I love it so far. Although I really am turning into an SQLite fanboy.

Quote:
Originally Posted by Slice View Post
Or SQLite, which a lot of people seem to be forgetting about.
You sir are the SQLite master


I am loving using SQLite on another "side" mode I am developing when I get bored with Pinewood. And I honestly love it so far. It's great. Although, at times I am getting a bit confused and have to read up on syntax and learn how to do things but that's no problem at all.
__________________
If you read my old posts; I apologize in advance.
Steven82 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GameMode] [GM] SA:RP Script - CityWide based gamemode TheShade Gamemode Scripts 55 19/10/2013 05:24 PM
Where should my next CNR gamemode be based at? stormchaser206 Everything and Nothing 22 26/07/2012 11:21 PM
Building a gamemode with includes only? Gryphus One Scripting Help 10 08/07/2012 07:00 PM
A roleplay server based on a military based war? CobraAziz General 21 05/05/2012 06:15 AM
Need a host n building a team for unique gamemode jueix Everything and Nothing 1 01/07/2011 02:43 PM


All times are GMT. The time now is 05:16 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.