Raised This Month: $12 Target: $400
 3% 

[ISSUE][AMXX + REGAME] get_gamerules_*


Post New Thread Reply   
 
Thread Tools Display Modes
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-03-2017 , 23:42   Re: [ISSUE][AMXX + REGAME] get_gamerules_*
Reply With Quote #11

Quote:
Originally Posted by Depresie View Post
As Prostostem@ said, the get_gamerules_* natives are incompatible with regame, since the offsets were shifted by 8 bytes..
All you need is modified gamedata then. There's no incompatibility.
klippy is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-04-2017 , 04:38   Re: [ISSUE][AMXX + REGAME] get_gamerules_*
Reply With Quote #12

Kind of silly to add new members at this place :/.

If you go with customizing the gamedata, you should duplicate the concerned files in /gamadata/custom/ directory, and keeping its directories structure (e.g. /gamadata/custom/common.games/gamerules.games/offsets-chalflifemultiplay.txt)
__________________

Last edited by Arkshine; 12-04-2017 at 04:39.
Arkshine is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 12-04-2017 , 14:04   Re: [ISSUE][AMXX + REGAME] get_gamerules_*
Reply With Quote #13

Or maybe, just maybe, we could add in the dev build, for the *_gamerules_* gamedata an offset difference for regame, since every offset shifted with 8 bytes.. just like for linux..

Quote:
There's no incompatibility
So you wanna tell me that gamedata used in amxx for the respective natives is compatible with regame ?
__________________

Last edited by Depresie; 12-04-2017 at 14:06.
Depresie is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-04-2017 , 14:26   Re: [ISSUE][AMXX + REGAME] get_gamerules_*
Reply With Quote #14

Quote:
Originally Posted by Depresie View Post
So you wanna tell me that gamedata used in amxx for the respective natives is compatible with regame ?
Quote:
the get_gamerules_* natives are incompatible with regame
You said that natives are incompatible, which isn't true. It's only that data which is read from files isn't accurate. All you have to do is what Arkshine wrote in his last post.

Last edited by klippy; 12-04-2017 at 14:27.
klippy is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 12-04-2017 , 14:41   Re: [ISSUE][AMXX + REGAME] get_gamerules_*
Reply With Quote #15

Well, if the gamedata, which is mandatory for using the natives isn't accurate, then technically the natives are not compatible, no ?

Quote:
All you have to do is what Arkshine wrote in his last post.
Ahm, well, i can do that, but i think this should be covered by "support for rehlds/regame"
__________________

Last edited by Depresie; 12-04-2017 at 14:42.
Depresie is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-04-2017 , 14:57   Re: [ISSUE][AMXX + REGAME] get_gamerules_*
Reply With Quote #16

AMXX can't reasonably track and add exceptions all the time. To start, this is ReGameDLL fault to not keep backward compatibility with the original game and potentially breaking AMXX. Though here it's only the gamedata, that's something the user can fix himself since this is not the official game version, that's the purpose of such files! If an API was available AMXX would use it though, but not going to happen. This should be documented as you said, either by fixing the data yourself or by using ReAPI.
__________________
Arkshine is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-04-2017 , 15:15   Re: [ISSUE][AMXX + REGAME] get_gamerules_*
Reply With Quote #17

What ReGameDLL maintainers could do is provide updated gamedata for their binaries.
klippy is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 12-04-2017 , 15:15   Re: [ISSUE][AMXX + REGAME] get_gamerules_*
Reply With Quote #18

You are right, and i totally agree with you here
Quote:
AMXX can't reasonably track and add exceptions all the time.
I was just asking since i saw you guys decided to add support for ReHLDS / ReGame

Quote:
potentially breaking AMXX.
This is why i was telling in the previous posts that i prefer to rely only on amxx methods when it comes to scripting
__________________

Last edited by Depresie; 12-04-2017 at 15:16.
Depresie is offline
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

Forum Jump


All times are GMT -4. The time now is 09:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode