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

Entity Resources Replacement[ V 1.4 ]


Post New Thread Reply   
 
Thread Tools Display Modes
Depresie
Veteran Member
Join Date: Nov 2013
Old 03-06-2016 , 04:08   Re: Entity Resources Replacement[ V 1.3 - Must See ]
Reply With Quote #141

I think they cannot be replaced because they are not precached by the server...
I think it's the model that is calling them not server... for example there are weapons calling their sounds via weapon's model, not via server..

But im not sure tho..
__________________

Last edited by Depresie; 03-06-2016 at 04:11.
Depresie is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 03-11-2016 , 13:40   Re: Entity Resources Replacement[ V 1.3 - Must See ]
Reply With Quote #142

Can you check this version and tell if it is still crashing? Remember it's just a test version, so some code may not make full sense or has to be removed.

A note, it was a typo in the dynamic replacement file name, so make sure to rename it properly, to: entites_resources_dyn_replace.ini
Attached Files
File Type: sma Get Plugin or Get Source (entities_resources_replacement.sma - 589 views - 31.8 KB)
__________________
HamletEagle is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 03-11-2016 , 13:50   Re: Entity Resources Replacement[ V 1.3 - Must See ]
Reply With Quote #143

Quote:
Originally Posted by HamletEagle View Post
Can you check this version and tell if it is still crashing? Remember it's just a test version, so some code may not make full sense or has to be removed.

A note, it was a typo in the dynamic replacement file name, so make sure to rename it properly, to: entites_resources_dyn_replace.ini
but i was using complete replacer
__________________
JusTGo is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 03-11-2016 , 14:03   Re: Entity Resources Replacement[ V 1.3 - Must See ]
Reply With Quote #144

I know, was just pointing the mistake I made. Try and tell me if it works.
__________________
HamletEagle is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-20-2016 , 09:41   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #145

Plugin updated to version 1.4:
Code:
+Fixed DefaultDeploy() signature, it should be more reliable now.
+Fixed a crash with unpatching memory in certain situations.
+Fixed a crash that happened when plugin was paused.
+Fixed a typo in dynamic replacement file name.
+Fixed a bug that occured while trying to get the changelog. Plugin was priting error messages when it was not the case.
+Code was completely rewritten, now it's easier to maintain and understand. Also it makes more sense now.
+Added sprite replacement in dynamic replacement mode.
+Proper checks are enforced on resources.
+Configuration files were rewritten, instructions are much more clear, for the sake of usability.
+Probably much more things that I can't remember.
Finally, code was rewritten. Also, this will be the final version, unless someone find bugs or need a specific feature to be added.

I would ask everyone to update to this new version.

ALSO REMOVE YOUR OLD CONFIGURATION FILEs AND DOWNLOAD NEW ONES. THEY WERE REWRITTEN, ALSO A TYPO IN DYNAMIC REPLACEMENT FILE NAME WAS FIXED.
__________________

Last edited by HamletEagle; 04-20-2016 at 09:43.
HamletEagle is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 04-20-2016 , 10:05   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #146

Quote:
Originally Posted by HamletEagle View Post
Plugin updated to version 1.4:
Code:
+Fixed DefaultDeploy() signature, it should be more reliable now.
+Fixed a crash with unpatching memory in certain situations.
+Fixed a crash that happened when plugin was paused.
+Fixed a typo in dynamic replacement file name.
+Fixed a bug that occured while trying to get the changelog. Plugin was priting error messages when it was not the case.
+Code was completely rewritten, now it's easier to maintain and understand. Also it makes more sense now.
+Added sprite replacement in dynamic replacement mode.
+Proper checks are enforced on resources.
+Configuration files were rewritten, instructions are much more clear, for the sake of usability.
+Probably much more things that I can't remember.
Finally, code was rewritten. Also, this will be the final version, unless someone find bugs or need a specific feature to be added.

I would ask everyone to update to this new version.

ALSO REMOVE YOUR OLD CONFIGURATION FILEs AND DOWNLOAD NEW ONES. THEY WERE REWRITTEN, ALSO A TYPO IN DYNAMIC REPLACEMENT FILE NAME WAS FIXED.
sorry for not replying back couldn't reproduce the problem again cause i lost my old files so you reproduced the problem ?
__________________
JusTGo is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-20-2016 , 10:22   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #147

Yes, I was able to reproduce the problem and fix it.
__________________
HamletEagle is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 04-20-2016 , 12:36   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #148

Quote:
Originally Posted by HamletEagle View Post
Yes, I was able to reproduce the problem and fix it.
add a cvar or a define for the features of socket module cause 90% of the time when both socket and orpheu module are installed they cause server to crash.
__________________
JusTGo is offline
axfalcon
Junior Member
Join Date: Apr 2016
Old 04-22-2016 , 06:52   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #149

I have the weapons models working, however I'm having trouble with the sprites.

They simply don't seem to work. My server doesn't like orpheu_amxx.dll so we're working on that. Could that be it? Models work but sprites need this to work?

Or perhaps it's my code:

Code:
;SPRITES:
;old_sprite new_sprite
;You must include sprites/ in path.

sprites/awp.spr sprites/awh.spr
sprites/sniper_scope.spr sprites/sniper_scoph.spr
sprites/640hud7.spr sprites/640hid7.spr
AWESOME work btw thank you!!
axfalcon is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-22-2016 , 07:06   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #150

In what file are you trying to replace the sprites? comp or dynamic one?
__________________
HamletEagle 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 00:47.


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