Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
lexjusto - 12.07.2015
Hello everyone, I represent to your attention its base game mode for beginners learners pawn - SIMPLE GAMEMODE.
What is inside:
- Save and load all the player data through MySQL R39-3 (by pBlueg),
- Registration dialogs (Password, email, gender of the character, the skin of the character, the player who invited him),
- The simplest spawn after registration and login,
- System pickups in dynamic areas (Streamer),
- Warning system error related to MySQL (though errors themselves now of course not),
- System RolePlay chat. (a bit unusual system - learn when look
),
- The simplest command /mymenu to check the performance of teams and the use of this template to add commands in the future.
That's not all, all the little things you can find directly in your code.
Plugins which are used in this game mode:
At the time of writing topics the server itself and include game modes are on version SA-MP 0.3.7.
I think some will be easier for beginners to understand the basics of PAWN and MYSQL with this game mode! Thank you for your attention. Ismenias for the clumsy at times the translation
Most likely going to continue development! Wait for updates 
Offer what you want to see in this game mode. (Can offer ready-made code, but not necessarily)
Download (Repository): https://github.com/lexjusto/SA-MP-0.3.7-Simple-Gamemode
My contacts:
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
Darge - 13.07.2015
Nice job =)
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
SWAT4 - 13.07.2015
Nice, but any photos? Or maybe small video?
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
Konverse - 13.07.2015
Any sample videos or pictures? This can be really helpful if there's a guide of how to use this kind of game mode.
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
lexjusto - 13.07.2015
Quote:
Originally Posted by Konverse
Any sample videos or pictures? This can be really helpful if there's a guide of how to use this kind of game mode.
|
What do you mean? Manual start or how to use it?
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
Konverse - 13.07.2015
Quote:
Originally Posted by lexjusto
What do you mean? Manual start or how to use it?
|
Any tutorial may suffice as long as it's helpful.
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
Cyber123 - 13.07.2015
Good for beginers
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
X337 - 13.07.2015
Very nice, but most of the dialog, message and label is in russian.
Can you convert that thing to english?
I see this code in .pwn file, i didn't understand what's this and how it works.
Code:
@___If_u_can_read_this_u_r_nerd();
@___If_u_can_read_this_u_r_nerd()
{
#emit stack 0x7FFFFFFF
#emit inc.s cellmax
static const ___[][] = {"made with love by | lexjusto |"};
#emit retn
#emit load.s.pri ___
#emit proc
#emit proc
#emit fill cellmax
#emit proc
#emit stor.alt ___
#emit strb.i 2
#emit switch 4
#emit retn
L1:
#emit jump L1
#emit zero cellmin
}
Can you explain this code mate?
Thanks.
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
lexjusto - 13.07.2015
Quote:
Originally Posted by X337
Very nice, but most of the dialog, message and label is in russian.
Can you convert that thing to english?
I see this code in .pwn file, i didn't understand what's this and how it works.
Code:
@___If_u_can_read_this_u_r_nerd();
@___If_u_can_read_this_u_r_nerd()
{
#emit stack 0x7FFFFFFF
#emit inc.s cellmax
static const ___[][] = {"made with love by | lexjusto |"};
#emit retn
#emit load.s.pri ___
#emit proc
#emit proc
#emit fill cellmax
#emit proc
#emit stor.alt ___
#emit strb.i 2
#emit switch 4
#emit retn
L1:
#emit jump L1
#emit zero cellmin
}
Can you explain this code mate?
Thanks.
|
About the translation - Yes, soon translate.
About the weird code at the top is an unusual way AntiDeAmx (used opcodes compiler) that protects mod from decompiling. When you try decompiling the program, the attacker will consume
100% of the RAM and he most likely will not be able to complete without rebooting
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
Kucin666 - 15.07.2015
Good work man
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
Cookland - 15.07.2015
Quote:
Originally Posted by Konverse
Any sample videos or pictures?
|
This.
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
SickAttack - 15.07.2015
Great, 697 lines, messed-up indentation and Non-English messages.
Excellent job, lad!
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
BladeFire - 15.07.2015
Nice work
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
SNAKE12 - 15.07.2015
Good Job
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
justice96 - 15.07.2015
yeah,
Good job bro!
Quote:
Originally Posted by SickAttack
Great, 697 lines, messed-up indentation and Non-English messages. Excellent job, lad!
|
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
BladeFire - 15.07.2015
Nice work
Re: Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD] -
lexjusto - 16.07.2015
Thanks all

Suggest what to do in the new version and soon I will make it!