[GameMode] [Base] Scarlett Roleplay
#1

Scarlett Roleplay
by Hash/Viih

Well. This WOULD be the gamemode that I had done from scratch to the Advanced Roleplay, the biggest roleplay server to date in Brazil. As I got out the staff, they didn't want to use this script, and I didn't had enough time to finish it, and the server staff I'm now (Outset-Gaming) , is with an almost complete gamemode, so here it comes.
Well, as I'm out of time here, I can't do a big Change-log explaining the systems. The gamemode runs with SQL, and creates logs in .txt @Scriptfiles folder (Edit it if you want). It's a good base for that who really knows the pawn language but doesn't want to create a scratch gamemode. I do not think it's a good deal to newbies @ the language to manage this gamemode: You'll find a lot of trouble ahead.

A few screenshots (To be done more)
http://u.cubeupload.com/victorferraresi/samp006.png
http://u.cubeupload.com/victorferraresi/samp007.png
http://u.cubeupload.com/victorferraresi/samp008.png
http://u.cubeupload.com/victorferraresi/samp005.png



About the weapon system with different damage, weight and etcetera.

Just read the comments at the top of the gamemode. There, I let the functions you'll need to manage to understand/create/delete weapons. The system works like this: The desert eagle might have variables, saved on the player and they can't be changed until you get a new weapon. So, the Eagle might be a Glock 23, or a Smith& Wesson, or another handgun. They're all diferent, and on my function FriskPlayer, you'll find how to print the real weaponnames in /frisk (The gamemode language actually is Portuguese(not the variables)). You can do this to every weapon (rifles, subs, etc).

About the credits.

@The top of the gamemode. You already know, do not remove my credits. No one is going to see your's script, and for you that thinks that the credits are ugly, it's most ugly to remove the credits from someone's works. I'm releasing it by my own. So, I hope you understand.

About the Databases

Inside the server's folder, you'll find a scrp.sql. The DB is all there. Andddddddd, do not forget to edit the victor.inc with the mysql host infos and the database name aswell.

Is the gamemode ready for roleplay?

NO. There still lacks a LOT of commands, but they're way SIMPLE to script. The base is DONE.

The first house/car/biz created is bugging. What the hell?

I don't know what kind of bug from the MYSQL it is, but if it happens, just create another initial row in each database without infos. Trust me, it works.

My faction got no ranks. It's bugged.

Create a new row in the factioninfo and edit the faction as you want. Simple.

ChangeLog:
Quote:

Done the database again and posted. If you get some server-crash, read the mysql.log and check the row that lacks. If possible, tell me =D.

Server:
http://www.mediafire.com/?ajrn45lm3i3bswn

Gamemode only (Pastebin):
http://pastebin.com/50s9e6cH

Well... That's all folks.
Cheers, Hash//Viiih//VictorFerraresi.
Reply
#2

Not going to use it but from looking at the code in pastebin it shows you've clearly worked hard on it.
Good work.
Reply
#3

Only if it would be in English...
Reply
#4

Quote:
Originally Posted by rhds
Посмотреть сообщение
Only if it would be in English...
Same.
Reply
#5

can you make it in english it will be better
Reply
#6

That's not English except the Login/Logout part
Reply
#7

Thinking about translating it...
Reply
#8

Can't even get inside the server. Just enters a connect loop...

I enter the server and all I get is this in a loop:
Quote:

[18:37:40] >> mysql_query_callback( Connection handle: 1 )
[18:37:40] Passing query SELECT * FROM `playerinfo` WHERE `Name` = 'Joseph Valachi' AND `Accepted` = '1' LIMIT 1 | d
[18:37:40] ProcessQueryThread(CheckAccount) - Query was successful. (SELECT * FROM `playerinfo` WHERE `Name` = 'Joseph Valachi' AND `Accepted` = '1' LIMIT 1)
[18:37:40] ProcessQueryThread(CheckAccount) - Data caching enabled.
[18:37:40] CMySQLHandler::StoreResult() - Result was stored.
[18:37:40] CMySQLHandler::FreeResult() - Result was successfully free'd.
[18:37:40] CMySQLHandler::ProcessQueryThread() - Data is getting passed to ->ProcessTick()
[18:37:40] CheckAccount(d) - Threaded function called.
[18:37:40] >> cache_get_data( Connection handle: 1 )
[18:37:40] ProcessTick() - The cache has been cleared.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)