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

Entity Resources Replacement[ V 1.4 ]


Post New Thread Reply   
 
Thread Tools Display Modes
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 08-17-2020 , 11:29   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #271

Quote:
Originally Posted by HamletEagle View Post
I'll take a look and see if something is wrong. One question: the player with the first steamid doesn't get any skins at all or does he get the skins for the second steamid?
Thank you for answering.

The first steam id only sees the P and W models of the second steam id.

But the second steam sees all the skins he is suposed to see, in other words, he sees the skins i want him to see.

Its like the plugin only assumes the last steamid iīve inserterd on entities_resources_dyn_replace.ini.

I have tryied with "Steamid" , with ";" to separete lines , with all models in 1 line, with the default model in a custom folder, with Flag_ , iīve tryed everything.
And still this bug is the same.

But i noticed i downloaded all the skins associated to all steam idīs. They just dont appear.

Last edited by MAJESTIC_SZ; 08-17-2020 at 11:36.
MAJESTIC_SZ is offline
Old 08-20-2020, 06:06
MAJESTIC_SZ
This message has been deleted by MAJESTIC_SZ. Reason: Spam
Old 08-20-2020, 06:08
HamletEagle
This message has been deleted by HamletEagle.
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-20-2020 , 08:34   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #272

I would appreciate if you could just wait and not spam the topic. People have lives outside of coding, you know?

Here's a small update:
-Tentatively fixed a bug which made it impossible to give more than one player different models for the same weapon. Please confirm it works fine now and I didn't break anything else.
-#include replaced with #tryinclude
-Removed version checker

Edit: fixed w_ model too, arrays are correctly destroyed now.
Attached Files
File Type: sma Get Plugin or Get Source (entities_resources_replacement.sma - 216 views - 30.9 KB)
__________________

Last edited by HamletEagle; 08-20-2020 at 10:57.
HamletEagle is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 08-20-2020 , 13:00   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #273

Quote:
Originally Posted by HamletEagle View Post
I would appreciate if you could just wait and not spam the topic. People have lives outside of coding, you know?

Here's a small update:
-Tentatively fixed a bug which made it impossible to give more than one player different models for the same weapon. Please confirm it works fine now and I didn't break anything else.
-#include replaced with #tryinclude
-Removed version checker

Edit: fixed w_ model too, arrays are correctly destroyed now.

Im terriby sorry, you are right. Waiting is not my best quality. I dont know how to code but i too dont like when people push me. Sorry again.
I will test it now and report back here.

Thank you again Hamlet.

Last edited by MAJESTIC_SZ; 08-20-2020 at 13:00.
MAJESTIC_SZ is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 08-20-2020 , 13:32   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #274

Hamlet, its working. I tested with 3 steam ids, all online in the server.
1st and third person works.
Spectator camera works.
p , v and w models works fine.

Only one thing i noticed after i asked for help:

I cant compile it locally. I used 1.8.3 compiler, with all includes and it shows 2 errors. But on that online compiler you wrote on 1st page it compiles fine. I dont know why. Chek:

https://i.imgur.com/mW5Xvlx.jpg

And thank you again.
I can do my event now

Last edited by MAJESTIC_SZ; 08-20-2020 at 13:35.
MAJESTIC_SZ is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-20-2020 , 13:42   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #275

I don't know, maybe some of the include files from your local compiler are corrupted or something. Can you try redownloading the compiler?
__________________
HamletEagle is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 08-20-2020 , 16:10   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #276

Quote:
Originally Posted by HamletEagle View Post
I don't know, maybe some of the include files from your local compiler are corrupted or something. Can you try redownloading the compiler?
Well, i have the 1.8.3 Compiler RAR file. I extacted it to a new folder, moved your plugins includes into the include folder, i copy pasted orpheu incīs i used before when it failed to compile, but his time it compiled fine...

So, your plugin compiles fine.

Last edited by MAJESTIC_SZ; 08-20-2020 at 16:10.
MAJESTIC_SZ is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-20-2020 , 16:11   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #277

1.8.3 is an outdated build. You should update to 1.9.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 08-20-2020 , 17:12   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #278

Quote:
Originally Posted by OciXCrom View Post
1.8.3 is an outdated build. You should update to 1.9.
Yes, i know about 1.9 , but since all my servers were built on 1.8.3 , i think its better to use plugins compiled on it as well, for bug issues.

I think using plugins for example from 1.8.2 in a server built in 1.8.3 its ok.
But on the other way i think it not a good idea.

Correct me if im wrong please.
MAJESTIC_SZ is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-20-2020 , 17:26   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #279

1.8.3 is an older 1.9 build that contains a lot of more bugs and issues than 1.9. How are the plugins relevant here? You can either recompile them under 1.9 or continue using them - they will still work.

Quote:
I think using plugins for example from 1.8.2 in a server built in 1.8.3 its ok.
But on the other way i think it not a good idea.
Why? What is your logic behind this?
__________________

Last edited by OciXCrom; 08-20-2020 at 17:28.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 08-21-2020 , 06:01   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #280

Quote:
Originally Posted by OciXCrom View Post
1.8.3 is an older 1.9 build that contains a lot of more bugs and issues than 1.9. How are the plugins relevant here? You can either recompile them under 1.9 or continue using them - they will still work.



Why? What is your logic behind this?
Because i have experienced some plugins stop working after i updated my server to 1.9 in the past.
Plugins that were compiled on 1.8.3 and were working fine, stoped working after i updated files to 1.9
Dont ask me why because i dont know and i dont remember what the error said, but it hapenned.
I followed Amx website tutorial about updating files without reseting the server.

Last edited by MAJESTIC_SZ; 08-21-2020 at 06:02.
MAJESTIC_SZ is offline
Old 08-21-2020, 06:01
MAJESTIC_SZ
This message has been deleted by MAJESTIC_SZ.
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 03:22.


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