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

Solved Deathrun Player Skins dont work ... thx to CookieCrumbler


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 04-11-2018 , 08:01   Deathrun Player Skins dont work ... thx to CookieCrumbler
Reply With Quote #1

Hello, i am running an deathrun server. So i tried two plugins..

https://forums.alliedmods.net/showthread.php?t=106094 (
Players Models 1.3.1 ( 13 nov 2010 ) )

players ini file :

Code:
; replace default skins
;"defaultname" "newname"

"leet" "leet_new" 
"terror" "terror_new" 
"arctic""arctic_new"
"guerilla" "guerilla_new" 
"urban" "urban_new"   
"gsg9" "gsg9_new" 
"gign" "gign_new"  
"sas" "sas_new"    

; set skin according to steamid
;"STEAM_0:1:23456789" "terrorist_model" "ct_model"
;"BOT" "bot_te_model" "bot_ct_model"
and

https://forums.alliedmods.net/showthread.php?t=224001 ( [CS 1.6] Deathrun Skins v1.0.1 by djaa2807 [19/08/2013] ))

Code:
here works only the knife skins
Both dont work. And i dont know why. I added the new models etc, i downloaded them from server when i connected but the skins dont change, they are all original.. So what i am doing wrong? Any Solutions? Running rehlds server.

Last edited by Godofwar; 04-12-2018 at 08:22.
Godofwar is offline
CookieCrumbler
Senior Member
Join Date: Feb 2013
Location: Australia
Old 04-11-2018 , 20:45   Re: Deathrun Player Skins dont work ...
Reply With Quote #2

I have not looked into or used rehlds before but perhaps its using different natives for player models.

Fakemeta should work for both rehlds and normal hlds

With the player models 1.3.1 plugin :
Is the name of the model in the folder the same as the folder name. They both have to be the same Example :
terror_new/terror_new.mdl
leet_new/leet_new.mdl
gign_new/gign_new.mdl

Alternatively if no plugin works (orpheu wont work either because the binary differs) you can try this

Download HxD Hex Editor . open the mp.dll with HxD

From the Menu goto search and type in the names of the model.

Replace the name of the model with a name that is either smaller than or the exact same length as the original model name:

so leet/leet.mdl has to be something like let1/let1.mdl or urban/urban.mdl has to be something like urbn1/urbn1.mdl

leet cannot be leet1/leet1.mdl or leet_new/leet_new.mdl if you use this method.

Save - Reupload mp.dll - Restart server.

Make sure you STOP server before re-uploading the edited mp.dll

.
__________________
--------------------------------------------------
C is for cookie ... thats good enuff 4 me

Last edited by CookieCrumbler; 04-11-2018 at 22:11.
CookieCrumbler is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 04-12-2018 , 03:27   Re: Deathrun Player Skins dont work ...
Reply With Quote #3

thx for your long answer. i will try the two ways. When i am done with it i will give feedback.

but i am realla confused... the ini file = "defaultname" "newname" like "sas" "sas_new.mdl"

The Server dont download the new mdl namens but he tried to download sas/sasT.mdl -> i never added this name anywhere with T at the end aabout sasT.. So maybe the plugin is bugged? The Logs dont show any of errors about the plugin.

i will try now this with HEX Editor.

about Reupload mp.dll -->> i dont have this file in Server Files, i need them? When yes Where i have to upload this then ? mp.dll i found it in my steam cstrike folder but not in my ftp server files.

Last edited by Godofwar; 04-12-2018 at 03:34.
Godofwar is offline
CookieCrumbler
Senior Member
Join Date: Feb 2013
Location: Australia
Old 04-12-2018 , 04:52   Re: Deathrun Player Skins dont work ...
Reply With Quote #4

Plugin works fine as I am using it on my server.

Your player_models.ini should look like this
PHP Code:
replace default skins
;"defaultname" "newname"

"leet" "leet_new" 
"terror" "terror_new" 
"arctic""arctic_new"
"guerilla" "guerilla_new" 
"urban" "urban_new"   
"gsg9" "gsg9_new" 
"gign" "gign_new"  
"sas" "sas_new"    

set skin according to steamid
;"STEAM_0:1:23456789" "terrorist_model" "ct_model"
;"BOT" "bot_te_model" "bot_ct_model" 
And the files in your directory should be exactly like this ;
PHP Code:
cstrike/models/player/leet_new/leet_new.mdl 
cstrike
/models/player/terror_new/terror_new.mdl
cstrike
/models/player/arctic_new/artic_new.mdl
cstrike
/models/player/guerilla_new/guerilla_new.mdl
cstrike
/models/player/urban_new/urban_new.mdl  
cstrike
/models/player/gsg9_new/gsg9_new.mdl 
cstrike
/models/player/gign_new/gign_new.mdl 
cstrike
/models/player/sas_new/sas_new.mdl 
The folder name of the model has to be the same as the model name you cant do this as an example

cstrike/models/player/leet/leet_new.mdl
or
cstrike/models/player/new_models/leet_new.mdl


If that fails the mp.dll is in the dll folder of your server files if your server is running on windows.
mp.so if your server is running on linux
__________________
--------------------------------------------------
C is for cookie ... thats good enuff 4 me

Last edited by CookieCrumbler; 04-12-2018 at 06:18.
CookieCrumbler is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 04-12-2018 , 05:18   Re: Deathrun Player Skins dont work ...
Reply With Quote #5

Code:
; replace default skins
;"defaultname" "newname"

"leet" "leet_new"
"terror" "terror_new"
"arctic" "arctic_new"
"guerilla" "guerilla_new"
"urban" "urban_new"
"gsg9" "gsg9_new"
"gign" "gign_new"
"sas" "sas_new"

; set skin according to steamid
;"STEAM_0:1:23456789" "terrorist_model" "ct_model"
;"BOT" "bot_te_model" "bot_ct_model"
Thats the ini file.

Code:
models/player/arctic_new/arctic_new.mdl
models/player/gign_new/gign_new.mdl
etc, like the other.

When i join the server, nothing happens, no downloading files. I really dont know why. to the module mp.so is not at my server added. Its Linux. And i dont find this module in net. It would be cool without this module editing. Maybe the Plugin is bad coded for newer versions?

could u upload your players_models.sma file? that i can try ur plugin?

Last edited by Godofwar; 04-12-2018 at 05:37.
Godofwar is offline
CookieCrumbler
Senior Member
Join Date: Feb 2013
Location: Australia
Old 04-12-2018 , 05:38   Re: Deathrun Player Skins dont work ...
Reply With Quote #6

The plugin is not badly coded, it uses the second best method (fakemeta) to do what it does without memory patching. It just probably wasn't coded in a way to work with ReHLDS. That doesn't make it poorly coded.

The first best method is memory patching with orpheu which is better but as your using ReHLDS that is not possible.

Editing the mp.so or mp.dll file is essentially doing the same thing memory patching would do but with out the "patching" concept as it is changing the binary directly without the need to patch it.

You have to have a mp.so or mp.dll or else your server wouldn't work .

Goto on your server files cstrike/dll/ folder and you should see either mp.dll or mp.so
Attached Files
File Type: sma Get Plugin or Get Source (players_models.sma - 639 views - 6.6 KB)
__________________
--------------------------------------------------
C is for cookie ... thats good enuff 4 me

Last edited by CookieCrumbler; 04-12-2018 at 06:52.
CookieCrumbler is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 04-12-2018 , 05:45   Re: Deathrun Player Skins dont work ...
Reply With Quote #7

i edited sma and maked

from //#define SET_MODELINDEX to -->> #define SET_MODELINDEX

after it server downloaded files but it didnt changed the models.

Yes i found mp.dll in dll folder ...
Godofwar is offline
CookieCrumbler
Senior Member
Join Date: Feb 2013
Location: Australia
Old 04-12-2018 , 05:50   Re: Deathrun Player Skins dont work ...
Reply With Quote #8

I added my sma to my last post

If its not setting models it may be because the way ReHLDS sets models differs from the conventional way AMXX does it

Which AMXX version are using by the way ReAMXX or AMXX 1.8.3 because i believe you don't need to use Re-AMXX as 1.8.3 dev works with ReHLDS according to a post i think arkshine said sometime ago but cant be sure.

The owner of ReHLDS comes on this forum so maybe he will be able to assist you in a solution. But the Hexxing should do the trick.
By the way if your using linux it uses mp.so not the mp.dll - DLL files are for windows only
__________________
--------------------------------------------------
C is for cookie ... thats good enuff 4 me

Last edited by CookieCrumbler; 04-12-2018 at 05:56.
CookieCrumbler is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 04-12-2018 , 06:04   Re: Deathrun Player Skins dont work ...
Reply With Quote #9

mh also your plugin is the self like my. i will try this with mp.so i need to find the module for first.

When this dont work too i will give up. But thanks for your help.
Godofwar is offline
CookieCrumbler
Senior Member
Join Date: Feb 2013
Location: Australia
Old 04-12-2018 , 06:12   Re: Deathrun Player Skins dont work ...
Reply With Quote #10

Question : Are you just clicking the Get Plugin button or are you downloading the plugin Source (sma) and compiling it locally .... because the Get Plugin button compiles it under 1.8.2 and it wont work ... you have to compile locally using 1.8.3 or reamxx '" compile.exe "

If you want to send me your GamePanel and FTP login in a private PM i will take a look for you.
__________________
--------------------------------------------------
C is for cookie ... thats good enuff 4 me

Last edited by CookieCrumbler; 04-12-2018 at 06:13.
CookieCrumbler 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 10:31.


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