SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 08/05/2018, 05:45 PM   #11
AdrianGraber
Big Clucker
 
AdrianGraber's Avatar
 
Join Date: Mar 2013
Location: Germany
Posts: 97
Reputation: 102
Default Re: samp-compat: Backwards and forward compatibility libraries between server-client (Old IsClient03DL)

I just finished the 0.3.7 version (for 0.3.DL servers) and updated the thread to make it generic for both versions.

https://github.com/AGraber/samp-037-compat

Enjoy!
AdrianGraber is offline   Reply With Quote
Old 08/05/2018, 08:51 PM   #12
iAmir
Big Clucker
 
iAmir's Avatar
 
Join Date: May 2017
Posts: 69
Reputation: 113
Default Re: samp-compat: Backwards and forward compatibility libraries between server-client (Old IsClient03DL)

Great job tho! but how about custom objects? what happens when add model RPC is sent and what happens to custom objects in RPC_CreateObject?


EDIT : You must spread some Reputation around before giving it to AdrianGraber again.
__________________
iAmir is offline   Reply With Quote
Old 09/05/2018, 05:31 PM   #13
AdrianGraber
Big Clucker
 
AdrianGraber's Avatar
 
Join Date: Mar 2013
Location: Germany
Posts: 97
Reputation: 102
Default Re: samp-compat: Backwards and forward compatibility libraries between server-client (Old IsClient03DL)

Quote:
Originally Posted by iAmir View Post
Great job tho! but how about custom objects? what happens when add model RPC is sent and what happens to custom objects in RPC_CreateObject?


EDIT : You must spread some Reputation around before giving it to AdrianGraber again.
All the new RPCs are ignored by the client (fortunately), so they don't require any patching. But now that I think about it, it should be better to drop them to at least save some bandwidth since it can get big.

Custom objects spawn with the ? model, as SA-MP already handles invalid model IDs that way. I'm thinking of adding support to use base IDs for them, but it would require some checking for every AddModel RPC which may impact performance, as SA-MP doesn't have any methods of retrieving the base ID (unless it gets retrieved with some plugin), and hooking AddSimpleModel the PAWN way wouldn't work with filterscripts or models added through the .txt file.
AdrianGraber is offline   Reply With Quote
Old 09/05/2018, 06:57 PM   #14
Exhibit
Little Clucker
 
Join Date: Dec 2015
Location: The hallows of Death
Posts: 47
Reputation: 1
Default Re: samp-compat: Backwards and forward compatibility libraries between server-client (Old IsClient03DL)

How do I install the package? I'm confused.
Exhibit is offline   Reply With Quote
Old 09/05/2018, 10:29 PM   #15
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,373
Reputation: 1208
Default Re: samp-compat: Backwards and forward compatibility libraries between server-client (Old IsClient03DL)

Just going to say this seems like a lot of work for a feature that could be useless tomorrow although that probably won't happen! Just think if there is updates to lagcomp for instance or vehicle surfing code which could result in significant differences between clients.

Edit - I should have mentioned that if there is a critical server exploit found that runs rampant all your efforts could be quashed in a blink of an eye until you update.

Last edited by Pottus; 15/05/2018 at 09:54 PM.
Pottus is offline   Reply With Quote
Old 15/05/2018, 12:58 PM   #16
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 491
Reputation: 56
Default Re: samp-compat: Backwards and forward compatibility libraries between server-client (Old IsClient03DL)

You may want to add the link to your git repos in the main thread,as not all people here is using sampctl
__________________
Dice_ is offline   Reply With Quote
Old 15/05/2018, 01:41 PM   #17
BigETI
Gangsta
 
BigETI's Avatar
 
Join Date: Mar 2010
Location: Germany
Posts: 972
Reputation: 269
Default Re: samp-compat: Backwards and forward compatibility libraries between server-client (Old IsClient03DL)

sampctl is a great tool for package management in PAWN

http://sampctl.com/
BigETI is offline   Reply With Quote
Old 17/05/2018, 01:04 PM   #18
Romz
High-roller
 
Romz's Avatar
 
Join Date: Jun 2013
Location: Ukraine
Posts: 1,014
Reputation: 55
Default Re: samp-compat: Backwards and forward compatibility libraries between server-client (Old IsClient03DL)

Correct the error that occurs with interiors and virtual worlds for the version of samp-037-compat
__________________
Romz is offline   Reply With Quote
Old 19/05/2018, 11:57 PM   #19
Sew_Sumi
Godfather
 
Join Date: Jun 2008
Location: Azerbaijan
Posts: 5,989
Reputation: 494
Default Re: samp-compat: Backwards and forward compatibility libraries between server-client (Old IsClient03DL)

This sounds good.

As for you guys that are having issues, you need to EXPLAIN what your issue is, as otherwise, you're not telling anyone anything, and chances are, it's YOUR code, not this.


And even if it is this, saying "Oh there's something wrong" and not saying about what it actually is or what's it's doing, is like saying there'as a needle in the hayfield... when you mean it's in the haystack.

Please report issues appropriately.
Sew_Sumi 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
How to port forward samp server using ptcl broadband router hassan12345 Server Support 4 25/07/2017 02:11 AM
SAMP for x64(Client, Server) Cherbet General 3 14/06/2017 03:15 PM
Editing samp client and server? GunZsmd Scripting Help 11 14/08/2016 11:29 PM
Backwards compatibility Voxel Scripting Help 10 22/01/2014 08:15 AM


All times are GMT. The time now is 03:51 AM.


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