Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
0 Active | 121 Guests
Online:

LATEST FORUM THREADS

»
run artillery on maps
CoD+UO Map + Mod Releases
Call of DutyŽ: WWII
CoD WW2 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Weird Lags With a Script
Samuel033
General Member
Since: Dec 10, 2009
Posts: 484
Last: Dec 25, 2015
[view latest posts]
Level 5
Category: CoD2 Scripting
Posted: Thursday, Apr. 14, 2011 11:56 am
For cod4 (I assume cod2 is the same) the minimum wait time is 0.05, which includes the moveto and rotateto functions. Also, any number not a multiple of 0.05 is rounded. So 0.89 is rounded up to 0.9 and 0.12 is rounded down to 0.1 etc.

For stealing the scripts, try live streaming so they are not compiled into the ff. afaik they cannot be taken when loaded that way but I could be wrong.
Share |
Ni3ls
General Member
Since: Nov 7, 2008
Posts: 256
Last: Sep 9, 2017
[view latest posts]
Level 5
Category: CoD2 Scripting
Posted: Thursday, Apr. 14, 2011 12:26 pm
cresuso writes...
Quote:
I gave up with this script.....because of the lags. And some noob russians stole my script months ago, now lot of zom servers on cod2 copied it....these bunch of tards.

And i guess ur using my script probably..

Anyway, i didnt find any solution for that lag problem. I tried everything.


What script do u mean?
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Thursday, Apr. 14, 2011 01:19 pm
Samuel033 writes...
Quote:
For cod4 (I assume cod2 is the same) the minimum wait time is 0.05, which includes the moveto and rotateto functions. Also, any number not a multiple of 0.05 is rounded. So 0.89 is rounded up to 0.9 and 0.12 is rounded down to 0.1 etc.

For stealing the scripts, try live streaming so they are not compiled into the ff. afaik they cannot be taken when loaded that way but I could be wrong.

Not entirely true, the waittime is 0.05 because sv_fps is 20 by default. If you are able to up this value, the minimal waittime will be reduced.

Also, 0.12 will be rounded (ceil'd) to 0.15
Share |
Samuel033
General Member
Since: Dec 10, 2009
Posts: 484
Last: Dec 25, 2015
[view latest posts]
Level 5
Category: CoD2 Scripting
Posted: Thursday, Apr. 14, 2011 05:01 pm
Hmmmm

I thought various tests I ran showed the numbers rounded up or down with 0.05 minimum. Some time based movement calculations required adding an extra frame so total time could round up if needed but not down. But it's been awhile since I did that and I tend to forget things. [casanova]

So if server fps is raised from 20 the wait times can be smaller? How does that affect the infinite loop catches?
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»