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

Members Online

»
0 Active | 9 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 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 4
Category: CoD4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Disallow Prone "Trigger"
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Saturday, Feb. 21, 2009 09:09 pm
I only had it happen once on my server. It does not not happen when running from a mod on map test. It happens when running a Public Server.

Mods that crash Server:

ACE <--- Reported by Server Admins.

AWE <--- Happened once to me. (Server hung, and all players stuck in weapon choice menu on map start. Never looked at what error was in console, had to restart the server Pronto, and it overwrote, console_mp.log. But it was for sure the Drown Script, said something about Spawn in trigger)

Possibly more Mods??


Here is the basis of the crash. Sent to me by an ACE user.

Code:
******* script runtime error *******
removed entity is not an entity: (file 'maps/mp/mp_cypress_swamp_drown.gsc', line 149)
  self.progressbackground destroy();
       *
Error: started from:
(file 'maps/mp/mp_cypress_swamp_drown.gsc', line 148)
  wait 0.05;
  *
Error: ************************************

******* script runtime error *******
removed entity is not an entity: (file 'maps/mp/mp_cypress_swamp_drown.gsc', line 150)
  self.progressbar destroy();
       *
Error: started from:
(file 'maps/mp/mp_cypress_swamp_drown.gsc', line 148)
  wait 0.05;
  *
Error: ************************************

******* script runtime error *******
removed entity is not an entity: (file 'maps/mp/mp_cypress_swamp_drown.gsc', line 151)
  water_vision destroy();
  *
Error: started from:
(file 'maps/mp/mp_cypress_swamp_drown.gsc', line 148)
  wait 0.05;
  *
Error: ************************************

******* script runtime error *******
removed entity is not an entity: (file 'maps/mp/mp_cypress_swamp_drown.gsc', line 41)
 while (self istouching(trigger) && !self istouching(dceiling))
        *
Error: started from:
(file 'maps/mp/mp_cypress_swamp_drown.gsc', line 155)
 wait .05;
 *



Maybe this is happening because multiple players are trying to access the same script at exactly the same time??

edited on Feb. 21, 2009 04:11 pm by DeekCiti
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Saturday, Feb. 21, 2009 09:26 pm
ask IW what a removed entity exactly is and why this error comes up
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Saturday, Feb. 21, 2009 09:50 pm
Sevenz writes...
Quote:
ask IW what a removed entity exactly is and why this error comes up


[biggrin]
I would but, would an answer even come my way? [duh]

Anyways, I've ended up scrapping the Drown script for that map, and moved on. Started this thread trying to disallow prone in the water, but since that won't work, I'll just leave the water alone. Oh well...
Share |
_INSANE_
General Member
Since: Nov 7, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 Scripting
Posted: Sunday, Feb. 22, 2009 06:58 am
Hmmmm...... Unbind their prone key if they are in the water ?
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Sunday, Feb. 22, 2009 07:58 am
you'd have to bind it after they left it, and not everybody used the default bindings
Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Sunday, Feb. 22, 2009 11:03 am
Heres a modified drown script that will work with spawns underwater and with mods

The Shift + , key really needs to be fixed :/

http://www.kill3rcreations.com/kill3r_custom/_drown.gsc

edited on Feb. 22, 2009 06:05 am by .KiLL3R.
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Sunday, Feb. 22, 2009 12:39 pm
Are you 100% on that KILL3R? [tongue]

I'm curious because I'll buddy it up against this other modified Drown script I sent to a guy with ACE, and he said it still crashed the server. There are a couple versions floating around, but I'll take your word for it and do some testing pronto. Thank you.

Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Sunday, Feb. 22, 2009 01:16 pm
The script error you posted earlier is caused when a player disconnects while still in the water because the scripts are trying to remove hud elems that were already removed when the player disconnected and also checking if the disconnected player is touching the trigger
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 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

»