[GameMode] Simple Gamemode - the Simplest basis for a gamemode [Streamer\MySQL\SSCANF\ZCMD]
#1

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:
Reply
#2

Nice job =)
Reply
#3

Nice, but any photos? Or maybe small video?
Reply
#4

Any sample videos or pictures? This can be really helpful if there's a guide of how to use this kind of game mode.
Reply
#5

Quote:
Originally Posted by Konverse
View Post
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?
Reply
#6

Quote:
Originally Posted by lexjusto
View Post
What do you mean? Manual start or how to use it?
Any tutorial may suffice as long as it's helpful.
Reply
#7

Good for beginers
Reply
#8

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.
Reply
#9

Quote:
Originally Posted by X337
View Post
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
Reply
#10

Good work man
Reply
#11

Quote:
Originally Posted by Konverse
View Post
Any sample videos or pictures?
This.
Reply
#12

Great, 697 lines, messed-up indentation and Non-English messages. Excellent job, lad!
Reply
#13

Nice work
Reply
#14

Good Job
Reply
#15

yeah, Good job bro!

Quote:
Originally Posted by SickAttack
View Post
Great, 697 lines, messed-up indentation and Non-English messages. Excellent job, lad!
Reply
#16

Nice work
Reply
#17

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


Forum Jump:


Users browsing this thread: 2 Guest(s)