SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 30/01/2015, 03:35 PM   #1
Slice
High-roller
 
Join Date: Mar 2008
Posts: 1,831
Reputation: 1607
Spray A different type of suggestion - help the SA-MP community contribute

It's understandable that the SA-MP team can not focus on patching non-critical bugs and implementing all the features the community wants.

Some plugin developers have begun going over many of these things. It is, however, very time consuming and not at all future-proof to spend countless hours "memory hacking" the server.

Given the right prerequisites, the community would thrive in this area. By implementing low-level, but consistent, APIs for plugin developers, the SA-MP team would allow the community to keep SA-MP evolving in-between versions.

Some examples of easy to make, but very useful APIs for plugin developers:
  • Allow plugins to capture, modify, and discard incoming/outgoing RPCs
  • Make some internal structs/classes public (sync data, vehicle data, ..)
  • Disclose the list of RPCs

The reason many great plugins die is nobody has the time/effort to do the work of finding memory addresses and such with every new release.

Some things that could be achieved and future-proof with the proposed changes:
  • An NPC plugin that gives full control over the NPC
  • Fixing sync bugs as they are discovered (infinity shooting, sliding, knives, etc.)
  • Many new scripting functions (many sought-after Do/Set X ForPlayer, for instance)

One final point: doing this would slow down the currently ongoing reverse-engineering of the client/server.
Slice is offline   Reply With Quote
Old 30/01/2015, 03:47 PM   #2
Admigo
High-roller
 
Admigo's Avatar
 
Join Date: Oct 2010
Location: The Netherlands
Posts: 1,840
Reputation: 297
Default Re: A different type of suggestion - help the SA-MP community contribute

That would be great but i don't think that would be made for 0.3.7. In my opinion an open source is what sa-mp needs so we can fix bugs and add new functions but i don't think that will happen.
I hope to see more great stuff in 0.3.7.
__________________
Follow me on Instagram @brandonvanommen
Admigo is offline   Reply With Quote
Old 30/01/2015, 03:59 PM   #3
Slice
High-roller
 
Join Date: Mar 2008
Posts: 1,831
Reputation: 1607
Default Re: A different type of suggestion - help the SA-MP community contribute

Making the software open-source would help those with a malicious intent to find critical issues and wreak havoc.

The changes I propose, however, would probably have the opposite effect!

At the moment there are many open-source projects made by good-willed people, who could be used and turned around to do bad things.

If Kalcor would disclosed information he deems safe, the good-willed plugin developers wouldn't need to do memory hacking in the first place, which would slow down the reverse-engineering of the SA-MP client/server.
Slice is offline   Reply With Quote
Old 30/01/2015, 04:03 PM   #4
Admigo
High-roller
 
Admigo's Avatar
 
Join Date: Oct 2010
Location: The Netherlands
Posts: 1,840
Reputation: 297
Default Re: A different type of suggestion - help the SA-MP community contribute

Quote:
Originally Posted by Slice View Post
Making the software open-source would help those with a malicious intent to find critical issues and wreak havoc.

The changes I propose, however, would probably have the opposite effect!

At the moment there are many open-source projects made by good-willed people, who could be used and turned around to do bad things.

If Kalcor would disclosed information he deems safe, the good-willed plugin developers wouldn't need to do memory hacking in the first place, which would slow down the reverse-engineering of the SA-MP client/server.
Yes i think you are right. Maybe only trusted people should work on it. The use of hacks is a main issue of sa-mp. Sure you can make an anti-cheat system but not everything can't be stopped like sending fake packets.
__________________
Follow me on Instagram @brandonvanommen
Admigo is offline   Reply With Quote
Old 30/01/2015, 04:06 PM   #5
Whitetiger
Huge Clucker
 
Whitetiger's Avatar
 
Join Date: Nov 2007
Posts: 406
Reputation: 156
Default Re: A different type of suggestion - help the SA-MP community contribute

indeed, it's time to accept that reverse engineering the samp server is a big part of samp in 2015. Samp has benefited greatly from the rnpc and ysf plugins all created from reverse engineers who are trying to benefit samp. If kye can look at all the structs and approve the ones plugin developers can use, we wouldn't need to use hacky methods that might break in future versions.

Considering the ysf plugin hasn't been deleted from the samp forums yet it seems like kye approves of this kind of reversing of the samp server. Not everyone who knows how to reverse engineer in samp is making hacks. A lot of us want to benefit samp.
__________________
GitHub

Author of SA-MP AC

Whitetiger is offline   Reply With Quote
Old 30/01/2015, 05:17 PM   #6
gtakillerIV
Gangsta
 
gtakillerIV's Avatar
 
Join Date: Sep 2011
Location: UAE, Sharjah.
Posts: 985
Reputation: 201
Default Re: A different type of suggestion - help the SA-MP community contribute

That'd be great!

Though I doubt it would happen, anyways...
gtakillerIV is offline   Reply With Quote
Old 30/01/2015, 08:50 PM   #7
QuaTTrO
Gangsta
 
QuaTTrO's Avatar
 
Join Date: Aug 2009
Posts: 516
Reputation: 75
Default Re: A different type of suggestion - help the SA-MP community contribute

+1 for this.
QuaTTrO is offline   Reply With Quote
Old 31/01/2015, 03:27 AM   #8
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,118
Reputation: 197
Default Re: A different type of suggestion - help the SA-MP community contribute

Dont go straight to open source discussion...there are always pros and cons.

Anyway a solid API would help allot and its a great suggestion
DRIFT_HUNTER is offline   Reply With Quote
Old 31/01/2015, 10:26 AM   #9
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 913
Reputation: 635
Default Re: A different type of suggestion - help the SA-MP community contribute

Would be very good

Would be big help with ysf
__________________
I don't play and have ANY interest in SA:MP anymore! Please do not ask for help, because I'm not going to reply.
kurta999 is offline   Reply With Quote
Old 21/02/2015, 08:22 PM   #10
Kaperstone
Banned
 
Join Date: May 2011
Location: Russia
Posts: 3,004
Reputation: 824
Default Re: A different type of suggestion - help the SA-MP community contribute

Quote:
Originally Posted by Slice View Post
Making the software open-source would help those with a malicious intent to find critical issues and wreak havoc.

The changes I propose, however, would probably have the opposite effect!

At the moment there are many open-source projects made by good-willed people, who could be used and turned around to do bad things.

If Kalcor would disclosed information he deems safe, the good-willed plugin developers wouldn't need to do memory hacking in the first place, which would slow down the reverse-engineering of the SA-MP client/server.
On the other hand, you can see where you can improve and where you can make it more safe.

I, personally, don't see what's wrong with making SAMP open source.
Is he afraid other people will open more samp projects ?
MTA already is open source, people can copy their source and open their SAMP/MTA version.


Making it open source will give players of SAMP who have knowledge in memory hacking and C++ the option to constribute and improve samp, nevertheless, add an in-built anti-cheats, help remove the exploits and maybe even minimize the ping of the players. ( improving net management )


Can RakNet copyright be the issue why SAMP isn't open source ?
Kaperstone 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
Before I post this suggestion, 'Pirates Suggestion' I wanted to hear your opinion. dimitri8 Everything and Nothing 9 02/09/2014 06:13 PM
Are arrays reference-type or value-type in PAWN? Cameryn Scripting Help 2 16/06/2013 07:50 PM
Argument type mismatch type 1 help gnoomen2 Scripting Help 6 07/10/2012 05:44 PM
Argument type mismatch (Type 2) R3G1ST3R Help Archive 15 09/06/2011 12:22 PM
[SOLVED] Enable Textdraw when type a command and disable when type the ...... RyDeR` Help Archive 2 11/08/2009 09:02 PM


All times are GMT. The time now is 02:57 AM.


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