Raised This Month: $ Target: $400
 0% 

How to reduce number of items on server.


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 10-30-2013 , 14:22   How to reduce number of items on server.
Reply With Quote #1

Author of the article: Shalun ( SISA )

Hello =)

I want to share their extraordinary knowledge of CS server and about the method that to me (I think), yet no one applied.

Just say. I am a noob in this, his feet do not hit. My ZM server is made on the basis of this method and had been working for 30 days.

Why do we need this method and what its advantages?
All of you know that the replacement model means amxx creates an additional load on the server, and sometimes the cause of his fall (with a large number of replacement models).
This method allows you to change the model by means of the server itself, even using metamod (and even more so amxx). No plug-ins and other izvraschenstvo.

As well, many of you have with a limit of 512 sounds (when creating ZP servers)
This method is also possible to overcome it and to push the client to -200 (the) sound (depending on the card and the number of weapons).

What do we need?
1) Direct hands
2) Brain
3) The program WinHex (kryaknite its required)
Download: winhex.rar [1.36 Mb]

4) Plug precache_management

Let's go ...

1) Open the program
2) Find the file mp.dll (\ cstrike \ dlls)
3) We throw it in WinHex

OMG! We see a lot of confusing numbers and letters. Do not worry, we do not need =)

All further work will be carried out buttons ctrl + f (ie, search).



Replacement models.

In general:

Each weapon has three models (except knife):

v_ this model we can see at the screen while playing a first-person (as do the hands and arms)
p_ this model we see in the hands of another player
w_ this model we see on the ground or in the air (if it's a grenade)

Example:
We want to replace the model v_ (the first person) on automatic AK 47

What do we do?

Poke in WinHex search (ctrl + f) and search v_ak47.mdl

Found? Approx. Now what ...

Now we have to change the path from the original on his own.

for example: models/v_ak47.mdl on models/ts/ak7.mdl

Just want to note that your changed the way must not exceed (number of characters), the original path. That is,

models/v_ak47.mdl - 17 characters
models/ts/ak7.mdl - 17 characters

Create your own folder in the models (eg ts), throws back all of their new models and prescribe ways to mp.dll

That's it! No plug-ins, server load, and other dances with a tambourine!



Replacement sounds.

There is already difficult without dancing with a tambourine not do ...

Just want to say that "Overcome" limit of 512 sounds impossible ... I've read a lot of things, and tried to do, but the limit was not conquered.

Try to optimize the server and remove all unnecessary plugins (especially if they are not related to fashion), or they'll cut out the sound.

So where do we get the free space for our sound? The only source - it sounds from the standard weapon =)

Yes, yes ...... we take away from the sounds of prekesha standard weapons (recharge, taking out the arms squeak bombs, etc.), as all these sounds have a client and they do not need a server prekeshe as All these sounds are called model weapons.

Let's go ...

Install the plugin precache_management. What is he doing? It creates a PrecacheList.log (\ cstrike \ addons \ amxmodx \ logs) and writes it prikeshiruemye files. But he says there is not everything, and we do not need it ...

We need the very end of the log, ie

files precached

Here he shows just what a cherished number of sounds that prekeshitsya at the moment (that is, on this map.)

I note that the card itself can gobble up a lot of sounds. You can compare (for example) de_dust2 and cs_sibiria http://www.fpsbanana.com/maps/126329 and see the difference in the 35-40 sounds! When the fight is for every sound, the difference is palpable 35-40, on the need to keep the stock for saturated maps.

A little theory ...

Sam ZP (the busiest modes) in its pure form, being stuffed with the sounds of most tomatoes, loosely fit in the limit of 512 ... All the problems started when this very cluttered ZP plugins that are driven into prekesh many additional sounds.
That's just it, we shove instead of the standard sounds of weapons.

All the sounds of weapons are available here (\ cstrike \ sound \ weapons). Open the notebook and make a list of replaceable sounds. For example:

famas_boltpull.wav
famas_boltslap.wav
famas_clipin.wav
famas_clipout.wav
famas_forearm.wav
famas-burst.wav

Here's what for need these sounds in 6 prekeshe server, one hell knows ...

Now what?

To begin, create a folder in the (\ cstrike \ sound \ weapons). For example, let's call her st

In this folder, we will store all the extra sounds from the plug-ins.

Open the plug-in, for example, "Chainsaw". Edrene-loaf, as much as 9 sounds!

We change them the way to the weapons / st /

Actually sound names themselves are formed in the process, depending on how long the source (sound exchangeable).

Well, after all, by analogy with the models. We find in WinHex (eg weapons / famas_boltpull.wav) and change it to weapons/st/chain_depl1.wav

weapons / famas_boltpull.wav - 26 characters
weapons/st/chain_depl1.wav - 26 characters

Here we got the first name to sound "chain_depl1.wav"

Now the plugin appends it and do the same with the other sounds.

That's all =)


Translated from russian to english in google translate. taken from zombie-mod.ru.

this is not my idea. i just wanted to post it here so other can see.

EDIT :

Created this topic to help others who have problems with 512, you can use these plugins too, they help ALOT, i got all the weapons i want, items, menus, everything i want with these 3 plugins :

precache_limit.amxx
unprecache2.amxx
anti-limit.amxx

If u want these plugins, contact me in pm, or add me on steam. (Cant post them here due to rules?)

SteamName : Bikzzan

Or just enter chatroom, and invite me on this steamgroup :
http://steamcommunity.com/groups/1nfinityGaming

Then i will give u the link!

I think thats all !

Got some files u might need for this tutorial.. below
Attached Files
File Type: sma Get Plugin or Get Source (precache_management.sma - 821 views - 3.4 KB)
File Type: log PrecacheList.log (133 Bytes, 252 views)
__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 11-04-2013 at 02:25. Reason: This is better
SkumTomteN is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 10-30-2013 , 14:52   Re: How to reduce the 512 limit on server.
Reply With Quote #2

Hope it works ;)
I will try it for sure!
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science
oxygen935 is offline
Send a message via Skype™ to oxygen935
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 10-30-2013 , 14:56   Re: How to reduce the 512 limit on server.
Reply With Quote #3

Where is the plugin?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 10-30-2013 , 15:03   Re: How to reduce the 512 limit on server.
Reply With Quote #4

Quote:
Originally Posted by YamiKaitou View Post
Where is the plugin?
i guess that this is just a tutorial, not a plugin
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science
oxygen935 is offline
Send a message via Skype™ to oxygen935
Old 10-31-2013, 03:10
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: you continue
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 11-01-2013 , 12:54   Re: How to reduce the 512 limit on server.
Reply With Quote #6

Quote:
Originally Posted by LordOfNothing View Post
this is a tutorial ? please trash
yes actually it is, so stfu. Anyway it is quite old tutorial and it only helps a lil bit. Instead of modifying the library, you could just use the Orpheu.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 11-01-2013 , 16:40   Re: How to reduce the 512 limit on server.
Reply With Quote #7

Quote:
Originally Posted by NiHiLaNTh View Post
yes actually it is, so stfu. Anyway it is quite old tutorial and it only helps a lil bit. Instead of modifying the library, you could just use the Orpheu.
Oh, yes I had to say the samething, anyway like NiHiLaNTh said, just match the memory with orpheu, you don't have to do a huge edit like that ..
TheDS1337 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-01-2013 , 18:11   Re: How to reduce the 512 limit on server.
Reply With Quote #8

You don't need orpheu : http://forums.alliedmods.net/showthr...78#post1020078
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 11-02-2013 , 13:52   Re: How to reduce the 512 limit on server.
Reply With Quote #9

Quote:
Originally Posted by ConnorMcLeod View Post
Or simple use the OrpheuMemoryReplace.
__________________
kiki33hun is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 10-31-2013 , 04:36   Re: How to reduce the 512 limit on server.
Reply With Quote #10

Useless, if user want new sounds or models, replacing in localy, useless this, and bad topic
__________________
kiki33hun 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 08:38.


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