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

Entity Resources Replacement[ V 1.4 ]


Post New Thread Reply   
 
Thread Tools Display Modes
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 12-06-2014 , 05:56   Re: Entity Resources Replacement[ BIG UPDATE ]
Reply With Quote #61

The skipped error still occures, while the orpheu error has been fixed.

Here is one example where the "string doesn't have the same size" occurs :

"models/v_m249.mdl string could not be replaced by models/x/mg3.mdl"

and in my entities_resources_comp_replace.ini i have :

models/v_m249.mdl models/x/mg3.mdl

Last edited by bLacK-bLooD; 12-06-2014 at 05:56.
bLacK-bLooD is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-06-2014 , 06:09   Re: Entity Resources Replacement[ BIG UPDATE ]
Reply With Quote #62

They don't have the SAME SIZE. From this update, they need to have exact the same size, not lower or equal to, so no bug here.
__________________
HamletEagle is offline
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 12-06-2014 , 06:13   Re: Entity Resources Replacement[ BIG UPDATE ]
Reply With Quote #63

Holy moly, ok. This is going to be tough, thanks for the update.

Late edit: Will it interfere with players models by connor or any other player model changer? Because I am using connor's and when i activate yours the connor's stops working.

Last edited by bLacK-bLooD; 12-06-2014 at 06:14.
bLacK-bLooD is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 12-06-2014 , 06:19   Re: Entity Resources Replacement[ BIG UPDATE ]
Reply With Quote #64

Quote:
Originally Posted by bLacK-bLooD View Post
Holy moly, ok. This is going to be tough, thanks for the update.

Late edit: Will it interfere with players models by connor or any other player model changer? Because I am using connor's and when i activate yours the connor's stops working.
Well, of course. You patch the memory, while Connor's (I assume) searches models with constant hardcoded string values.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-06-2014 , 06:39   Re: Entity Resources Replacement[ BIG UPDATE ]
Reply With Quote #65

Quote:
Originally Posted by GuskiS View Post
Well, of course. You patch the memory, while Connor's (I assume) searches models with constant hardcoded string values.
You are right. But mine also do connor's one job( dynamic replacement style ), he he. But you can a little trick: in the connor's plugin file use the new replaced model and not the original one, but I can't see why you would replace a model with my one then replace it again with "player models".

@bLacK-bLooD, orpheu doesn't allow us to replace strings lower than the origin ones, only strings with the same size. I had problems hooking DefaultDeploy with okapi, and to use both modules doesn't seems to be resonable.
__________________

Last edited by HamletEagle; 12-06-2014 at 06:59.
HamletEagle is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-06-2014 , 09:04   Re: Entity Resources Replacement[ BIG UPDATE ]
Reply With Quote #66

So far I remember, there is no such restriction.
__________________
Arkshine is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-06-2014 , 09:07   Re: Entity Resources Replacement[ BIG UPDATE ]
Reply With Quote #67

Quote:
Originally Posted by Arkshine View Post
So far I remember, there is no such restriction.
Are you talking about string size ? I remember that orpheu just throw an error if they don't have the same size, strange... I guess that this is something to test again.
__________________

Last edited by HamletEagle; 12-06-2014 at 09:23.
HamletEagle is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-06-2014 , 09:25   Re: Entity Resources Replacement[ BIG UPDATE ]
Reply With Quote #68

That's something you can check yourself on Orpheu source code, but no, there is not such restriction. Same as Okapi.
__________________
Arkshine is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-06-2014 , 09:43   Re: Entity Resources Replacement[ BIG UPDATE ]
Reply With Quote #69

Quote:
Originally Posted by Arkshine View Post
That's something you can check yourself on Orpheu source code, but no, there is not such restriction. Same as Okapi.
I can say for sure that okapi has such restriction, and it has a param for passing this restriction. I'm going to test again for orpheu.
__________________

Last edited by HamletEagle; 12-06-2014 at 09:44.
HamletEagle is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-06-2014 , 09:50   Re: Entity Resources Replacement[ BIG UPDATE ]
Reply With Quote #70

Quote:
orpheu doesn't allow us to replace strings lower than the origin ones
We are talking about the new size < original. Please don't mix everything.
__________________
Arkshine is offline
Reply



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 13:07.


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