NGRP Gamemode

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Pottus link said:
That script has absolutely no sense of design, all the code is thrown into a single gamemode file with all the systems in individual callbacks I guess they don't know how to use include files or callback hooking. If you want to see an excellent gamemode design check this out https://github.com/Southclaw/ScavengeSurvive
Scavenge & Survive is great.
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
Pottus link said:
That script has absolutely no sense of design, all the code is thrown into a single gamemode file with all the systems in individual callbacks I guess they don't know how to use include files or callback hooking. If you want to see an excellent gamemode design check this out https://github.com/Southclaw/ScavengeSurvive
Design is not everything, if you have a good design it's good for customization and coding... but not everyone get's use of this.

If you have a good Design but an awful slow Gamemode where every Callback calls another it's pointless todo a gamemode.
 

Pottus

Member
Joined
Mar 8, 2014
Messages
15
Reaction score
0
0x688 link said:
Design is not everything, if you have a good design it's good for customization and coding... but not everyone get's use of this.

If you have a good Design but an awful slow Gamemode where every Callback calls another it's pointless todo a gamemode.

Callback hooking will have an effect too marginal to make any significant difference whereas you have all your systems in single callbacks you end up with a cluster of code. A good design isn't going affect the speed of your gamemode in any negative way. I don't know if you built a gamemode but from my experience I know that fundamental design is far superior to any marginal loss of efficiency related to callback hooking.
 

bartekdvd

Member
Joined
Jan 24, 2014
Messages
20
Reaction score
5
Pottus link said:
Callback hooking will have an effect too marginal to make any significant difference whereas you have all your systems in single callbacks you end up with a cluster of code. A good design isn't going affect the speed of your gamemode in any negative way. I don't know if you built a gamemode but from my experience I know that fundamental design is far superior to any marginal loss of efficiency related to callback hooking.
PAWN is very powerful language. Due to very often updates of it to the newest possible version in samp server we can totally focus on design instead of patching bugs existing for decades. What is more, there is no commonly used library that single update can break its functionality, because it uses exploits in PAWN in order to access server memory that is not supposed to be accessed through amx code.
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
Pottus link said:
[quote author=0x688 link=topic=5630.msg36940#msg36940 date=1396617982]
Design is not everything, if you have a good design it's good for customization and coding... but not everyone get's use of this.

If you have a good Design but an awful slow Gamemode where every Callback calls another it's pointless todo a gamemode.

Callback hooking will have an effect too marginal to make any significant difference whereas you have all your systems in single callbacks you end up with a cluster of code. A good design isn't going affect the speed of your gamemode in any negative way. I don't know if you built a gamemode but from my experience I know that fundamental design is far superior to any marginal loss of efficiency related to callback hooking.
[/quote]

Where I said that you're not allowed to have a good Structure.
You can still sort it out trough Functions, and yes I did / im doing my own Gamemode.
But I also dont use "expermintal" things to play around, with every action you do to expand PAWN in a way it is not designed to makes it unstable.

Callback hooking in that way is just in-efficient for me, if you do some plug & play Includes for giggles ok, but as whole Gamemode ? No.

Everything you do in your Gamemode affect's the Servers performance and Sync.

Even if it's only a little bit, it stacks up to be a huge problem on very large gamemodes.
It's the same with the "Plugin" "Gamemodes", everyone think's its efficient because it's in c++ using sampgdk, but infact it is not that efficient if you need to call pawn registered functions everytime and can't access the internal structures.
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
0x688 link said:
[quote author=Pottus link=topic=5630.msg36944#msg36944 date=1396622973]
[quote author=0x688 link=topic=5630.msg36940#msg36940 date=1396617982]
Design is not everything, if you have a good design it's good for customization and coding... but not everyone get's use of this.

If you have a good Design but an awful slow Gamemode where every Callback calls another it's pointless todo a gamemode.

Callback hooking will have an effect too marginal to make any significant difference whereas you have all your systems in single callbacks you end up with a cluster of code. A good design isn't going affect the speed of your gamemode in any negative way. I don't know if you built a gamemode but from my experience I know that fundamental design is far superior to any marginal loss of efficiency related to callback hooking.
[/quote]

Where I said that you're not allowed to have a good Structure.
You can still sort it out trough Functions, and yes I did / im doing my own Gamemode.
But I also dont use "expermintal" things to play around, with every action you do to expand PAWN in a way it is not designed to makes it unstable.

Callback hooking in that way is just in-efficient for me, if you do some plug & play Includes for giggles ok, but as whole Gamemode ? No.

Everything you do in your Gamemode affect's the Servers performance and Sync.

Even if it's only a little bit, it stacks up to be a huge problem on very large gamemodes.
It's the same with the "Plugin" "Gamemodes", everyone think's its efficient because it's in c++ using sampgdk, but infact it is not that efficient if you need to call pawn registered functions everytime and can't access the internal structures.
[/quote]

To skip to the point: The core problem is that both PAWN and SA-MP are very inefficient.
 

Pottus

Member
Joined
Mar 8, 2014
Messages
15
Reaction score
0
You have some points there and I would agree that you could organize your gamemode effectively by using functions and I would say that is an acceptable approach if your comfortable with it.

I also 100 agree using c++, php, java etc to build your gamemode is silly for the reasons you have listed.

"Even if it's only a little bit, it stacks up to be a huge problem on very large gamemodes."
What I don't agree with is this statement completely because as I mentioned the difference is very small I have hundreds of hooks in my gamemode and there is no sync issues. However for someone who has a limited CPU on their host and a beefy gamemode there is a possibility that this could affect them. I think overall and for most people and most gamemodes using hooking far outweighs any negative aspects.

At any rate I do appreciate your opinion it is always interesting to see another persons views expressed and compared against your own.
 

TRDeniz1467

Member
Joined
Apr 3, 2014
Messages
10
Reaction score
0
Grandpa Ze link said:
[quote author=Pottus link=topic=5630.msg36935#msg36935 date=1396615802]
That script has absolutely no sense of design, all the code is thrown into a single gamemode file with all the systems in individual callbacks I guess they don't know how to use include files or callback hooking. If you want to see an excellent gamemode design check this out https://github.com/Southclaw/ScavengeSurvive
Scavenge & Survive is great.
[/quote]

We translated this GM to Turkish and opened a server. But It's closed now, and yes; That's very sexy gamemode.
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Speaking of which, I am looking for a gamemode scripter. Complex, advanced roleplay mode, and idea goes far from what we've seen so far. If you feel like you are ready to become a server director and manager, ye, contact me on Skype (thezerots).

Sum sexy GM der to b c;
 

_0mAr_

Active member
Joined
Feb 22, 2014
Messages
37
Reaction score
0
So let me get this clear, you are at sa-mp hacking forums and want a scripter and don't except him to scam you ? Lol, dude go ask on samp forums.
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
DaNigga link said:
So let me get this clear, you are at sa-mp hacking forums and want a scripter and don't except him to scam you ? Lol, dude go ask on samp forums.

HAIL NATION! HAIL! LET'S LAUGH AT THIS PARTICULAR INDIVIDUAL AND HIS NONSENSE!

When one says "Hacking = Crossing someone over", then we, sane people, laugh. Are you implying that Opcode is a person who would scam you? Are you implying that Springfield is so too? Are you implying that 25Ghz, Monstercat, 0x688, Xzytro, ThermaL are scammers and robbers?

Let's laugh.

I am not asking on SA-MP forums for a reason. I know how marketing works, and trust me, I know.
 

Jayy

Active member
Joined
May 16, 2014
Messages
26
Reaction score
0
I have the NGRP 2014 Gamemode just that the MySQL is not set up and I dont know how to set it up.
 

dope

Active member
Joined
Jan 11, 2014
Messages
37
Reaction score
0
I'll save Pottus the time

Incase you don't know who he is.



The gamemode has 100's of thousands of redundant code (yes more than 60% of code does nothing)

The whole admin system is ass.
The whole ban system is ass.
The faction system, drug system, VIP

I could go on for a couple posts.
 

McAwesome

Well-known member
Joined
Apr 7, 2014
Messages
208
Reaction score
1
Jayy link said:
I have the NGRP 2014 Gamemode just that the MySQL is not set up and I dont know how to set it up.
give me skype i'll help you to set it up  :urtheman:
 
Top