Command and Conquer: Renegade Official Forums - RDF feed
type: channel
description: C&C: Renegade --> Dying since 2003™, resurrected in 2024!
items: Now collecting scripts 4.1 bugs
items: Re: Now collecting scripts 4.1 bugs

Now collecting scripts 4.1 bugs
type: item
description: As has been mentioned in a few threads, TT are looking into the possibility of continued scripts development for Renegade. I cant talk more about this or who might be doing the work but i want to throw open this thread to collect any bugs or issues people have in 4.1 that they want fixed or sorted. Or feautre requests they want conhsidered (e.g. building revival). I am NOT promising that anything in this thread will be implemented, just that posting it here will increase its chances of being implemented in a future scripts relesse for Renegade, if any. Feel free to either link existing threads or post directly about issues.
creator: jonwil
date: 2014-07-03T02:36:52-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: One thing I have been wanting is to use the code/logic from the sidebar but apply it to a remake of the stock pt interface. That way mappers can get the new features of the sidebar in a more familiar form factor. Also add a 5th row to the sidebar and get rid of the blank space at the top. 4 rows is very cramped. Move the refill button to the bottom of the left side instead of the top so it ends up on the same key as the stock refill button (hotkey 5) so its consistent across maps. Right now its responsible for many accidental purchases of the first item on the right side. A get_clouds, get_weather methods. There are set methods but unfortunately no way to get the current weather or the map's weather. Even just getting the maps default weather/clouds would be sufficient. This would be very useful for ion storm crates etc. Need a way to set it back to the original weather after the storm is done. A few default auxiliary keys in the default keys.cfg for scripters to use for keyhooks without making clients have to download or add them to their keys.cfg. Switch radar mode in the middle of a game or atleast between maps. We force our players to have the latest scripts version so stock clients aren't an issue. I'll put together a list of bugs in a little bit. Gotta get them together.
creator: dblaney1
date: 2014-07-03T05:12:28-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: dblaney1 wrote on Thu, 03 July 2014 06:12 A get_clouds, get_weather methods. There are set methods but unfortunately no way to get the current weather or the map's weather. Even just getting the maps default weather/clouds would be sufficient. This would be very useful for ion storm crates etc. Need a way to set it back to the original weather after the storm is done. WeatherMgrClass::Get_* does that already
creator: danpaul88
date: 2014-07-03T08:22:40-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: danpaul88 wrote on Thu, 03 July 2014 18:22 WeatherMgrClass::Get_* does that already Except that those functions aren't exposed to or accessible by scripts. Going over the requests just to advise what is and isn't possible (not to promise that any specific thing will actually be done), firstly, making it possible to use the sidebar logic with a PT-style dialog, that cant be done (the logic underlying the sidebar is too closely tied to the way the sidebar does things with the up and down arrows and such rather than the PT way of doing things with all the icons laid out) Secondly, no, extra buttons wont be added to the sidebar. Thirdly, yes it is possible to change the hot key assignments for the sidebar (or rather make them changeable with some ini keywords) so you can assign "5" to refill. The buttons wont be moved though. If weather stuff was to be added, the following engine calls would be added: (and yes they would call WeatherMgrClass::Get_* and BackgroundMgrClass::Get_* internally) void Get_Clouds(float &cloudcover, float &gloominess); void Get_Lightning(float &intensity, float &startdistance, float &enddistance, float &heading, float &distribution); void Get_Wind(float &heading, float &speed, float &variability); int Get_Precipitation(float &density); //returns 0 for rain, 1 for snow, 2 for ash or 3 for none, probably with some #defines to make it easier No plans for extra keyhooks. Switching radar mode is definatly possible, how risky it is we have yet to identify.
creator: jonwil
date: 2014-07-03T08:41:39-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: I would like a feature that allows a map to add a key to a client's key.cfg. For example, I made an Asteroids map a while back that is 4.0 capable, however the downloader isn't much good for it as it doesn't provide a way for the client to get the custom keys needed for them to play. For example it requires spacebar from all players to start the game, if someone didn't have a keys config with all the logical mappings the map needs they won't be able to play. jonwil wrote on Thu, 03 July 2014 02:41 Secondly, no, extra buttons wont be added to the sidebar. While on the topic, I think at the very least we should add the side bar key definitions so new players have at least the option by default to have a working sidebar. -------------------------------------------------------------- jonwil wrote on Thu, 03 July 2014 02:41 int Get_Precipitation(float &density); //returns 0 for rain, 1 for snow, 2 for ash or 3 for none, probably with some #defines to make it easier This doesn't seem that useful, in Rp2 there are times where its raining and snowing at the same time (IE sleet) so I don't really know how this would work for that. While on the topic of weather I'd also like to restate the request to make client specific weather. ---------------------------------------------------------------- Another feature I'd like to request is the ability to change the time of day (IE the sky color) which would be extremely useful for me when I make coop maps. Reason for request with specific example from my coop Renegade map. For example on my renegade Bear Hunter map, there is a final boss fight, it'd be great if I could change the skies color to increase the atmosphere.
creator: Jerad2142
date: 2014-07-03T13:25:36-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: jonwil wrote on Thu, 03 July 2014 01:41 If weather stuff was to be added, the following engine calls would be added: (and yes they would call WeatherMgrClass::Get_* and BackgroundMgrClass::Get_* internally) void Get_Clouds(float &cloudcover, float &gloominess); void Get_Lightning(float &intensity, float &startdistance, float &enddistance, float &heading, float &distribution); void Get_Wind(float &heading, float &speed, float &variability); int Get_Precipitation(float &density); //returns 0 for rain, 1 for snow, 2 for ash or 3 for none, probably with some #defines to make it easier This sounds like exactly what I was looking for. Hope this gets implemented. Shouldn't be too difficult since essentially everyone of these is a standard public get method for private variables that already have set functions.
creator: dblaney1
date: 2014-07-03T14:04:57-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: per-client weather isn't going to happen. I didn't even know it was possible to have multiple precipitation types going at once.
creator: jonwil
date: 2014-07-03T14:17:38-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: dynamic sky color ain't happening either, the lighting system would never be able to handle it.
creator: jonwil
date: 2014-07-03T14:18:54-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: jonwil wrote on Thu, 03 July 2014 08:18 dynamic sky color ain't happening either, the lighting system would never be able to handle it. Oh I don't care if the lighting doesn't sync up, just like the nuke sky doesn't turn anything red, its just an effect for the mood.
creator: Jerad2142
date: 2014-07-03T14:31:17-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Jerad Gray wrote on Thu, 03 July 2014 08:25 I would like a feature that allows a map to add a key to a client's key.cfg. +1 this, this would be a greatly useful feature for people that don't even know keys.cfg, or have an empty (or nonexistent) one for whatever reason. Additionally, maybe you could make the client display what keys it has bound, like in the spirit of the old "mapch" command - it might require a netcode change (which I can imagine you might not want to/can do) to send all of the Logical/Physical keys that are bound for a player, but I think it'd be greatly useful. However, if the Jerad's first request could be added, then this matters a lot less. Thanks for your work gentlemen
creator: Ethenal
date: 2014-07-03T14:52:02-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: The sidebar doesn't require any mappings in keys.cfg
creator: jonwil
date: 2014-07-04T00:11:20-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: I have had a problem since the first release of 4.1, atm I play with 4.0 patch 1 but will upgrade to the latest scripts and make a video within the next few days. The problem doesn't seem to be happening after updating
creator: dubstar
date: 2014-07-04T01:10:16-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: http://www.zunnie.nl/renegade/video/Ladder_Transition_Bug.mp4 Whenever you use the ladder and get off of it you can walk through vehicles for some reason. Entering the vehicle and exiting it fixes the collision problem.
creator: zunnie
date: 2014-07-11T09:05:12-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: I reported that bug like two years ago and it was fixed then. Odd that it's happening again.
creator: iRANian
date: 2014-07-11T11:17:50-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: zunnie wrote on Fri, 11 July 2014 03:05 http://www.zunnie.nl/renegade/video/Ladder_Transition_Bug.mp4 Whenever you use the ladder and get off of it you can walk through vehicles for some reason. Entering the vehicle and exiting it fixes the collision problem. Probably in place to keep you from colliding with the vehicle you are driving if you pass through a ladder zone.
creator: Jerad2142
date: 2014-07-11T13:47:51-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: The bug seems to be that it doesn't reset after you leave the ladder zone sometimes.
creator: jonwil
date: 2014-07-11T14:07:48-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: jonwil wrote on Fri, 11 July 2014 16:07 The bug seems to be that it doesn't reset after you leave the ladder zone sometimes. Probably because you're in a vehicle I'd say.
creator: EvilWhiteDragon
date: 2014-07-11T14:46:09-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: zunnie wrote on Fri, 11 July 2014 19:05 http://www.zunnie.nl/renegade/video/Ladder_Transition_Bug.mp4 Whenever you use the ladder and get off of it you can walk through vehicles for some reason. Entering the vehicle and exiting it fixes the collision problem. Ok, when you exit a ladder, the soldier is using a special collision type called "SOLDIER_GHOST". Basically this is what makes sure you dont collide with stuff when you first climb off (e.g. vehicles, other soldiers etc) There is code that says "if the player is not colliding with anything, switch the player back to normal collision". What this code does is to compare the bounding box of the soldier (the one in state SOLDIER_GHOST) with the bounding box of every PhysicalGameObj in the level to look for anything the soldier is colliding with. If it finds an object with an overlapping bounding box, the soldier remains in SOLDIER_GHOST state otherwise it turns to normal SOLDIER state. Among other things this means that the soldier will remain in SOLDIER_GHOST state when its worldbox collides with the worldbox of any vehicles in the scene including the Tesla Coil in the test map Zunnie has. (which seems to be rigged as a vehicle) I will be talking to Saberhawk about if there is a way we can improve this.
creator: jonwil
date: 2014-07-13T13:59:29-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: So, I've got a package which has both modified temps and objects in it, I pushed it up onto my server with the new package system, clients are able to download and join fine. I have ran into one major issue however, for some reason if I don't go into the old school "svrcfg_cnc" and put "ColonyZ416.pkg" into the "ModName" setting the server doesn't server right? For example, half the time when a player tries to join they just flat out crash, I tried debugging the player but it seems the code usually explodes somewhere in bandtest.dll. Other times the player does successfully join, and while the modified PT's show up right, and they appear as the correct spawn character, they can't use pt's or move through any of the teleports. In addition the player doesn't have any of the new weapons on the map. But if I put the package name into the svrcfg_cnc.cfg file it all works right. The only downside to this is that obviously only that one package can be rotated.
creator: Jerad2142
date: 2014-07-13T15:53:22-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: This might explain why we keep seeing infantry walking thru the service depot etc in barnz too...
creator: danpaul88
date: 2014-07-13T18:34:21-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: This 'duplicate id' is getting kind of annoying now. Is there any way to undo that change in 4.1? I mean in stock it worked fine... It's getting ridiculous nowadays. Every map at least 4-8 people crash out and have to rejoin because of it, sometimes more.
creator: zunnie
date: 2014-07-16T03:28:05-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: What is "duplicate ID" ?
creator: danpaul88
date: 2014-07-16T08:35:10-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: I'm assuming he's referring to that feature in 4.1 that causes the game to exit if it detects two objects with the same network IDs... I'm fairly sure the reason it crashes is because, you know, having identical "unique IDs" is like having non-unique primary keys in an SQL database - you won't be able to pick out the offending keys effectively, because selecting by the (supposed to be) unique ID will get you more than one entry. I presume it crashes so that it forces the map maker to fix the problem.
creator: Ethenal
date: 2014-07-16T12:00:03-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: If that is what he is referring to then yes, it deliberately crashes out to force you to fix your maps.
creator: danpaul88
date: 2014-07-16T12:55:48-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: He means crashes where the client crashdump indicates that a network object creation message was sent for one object, while an object with the same id (but a different object type!) already existed. This should never happen normally. It supposedly happens even for maps that do not have duplicate IDs. Before 4.1, this was not detected, and caused inconsistencies later in the game (missing objects for some clients, incorrect state, or crashes in hard-to-understand locations). 4.1 detects this, and crashes the client because that's the only way to handle the inconsistency without causing side-effect bugs that are hard to understand/track down, and that cause undefined behavior in the game. Apparently, in some cases inconsistencies do still happen. The right way to fix this is to find out why the client creates two objects with the same id.
creator: StealthEye
date: 2014-07-16T20:38:46-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: I noticed a bug with the ttfs. If you include an identical named ddb in a package to fix something on a map and put that package on the left so that it has the highest priority, clients read that ddb properly, however the server does not use it, but uses the one in the map itself. It should be using the one from the package as well like the clients. I suspect this make happen with models and stuff as well which may effect things like hit calculations that are done server side if a model is replaced by a package. In this example, the SampleMapFix package has a modified C&C_SampleMap.ddb in it. SampleMap: { mapName = "C&C_SampleMap"; packages = ["SampleMapFix","C&C_SampleMap","dblaney_content1"]; }; This is the entry in the tt.cfg. The clients correctly load the ddb out of the SampleMapFix package, however the server loads the one out of the C&C_SampleMap despite the fact that SampleMapFix overrides C&C_SampleMap.
creator: dblaney1
date: 2014-07-16T20:49:52-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Are you sure that it is not due to the "serverPresetsFile" setting? (It can be specified per map or globally.) The server always loads serverPresetsFile instead of objects.ddb.
creator: StealthEye
date: 2014-07-16T21:12:30-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Here is a bug that i have seen for quite some time... Meshes that have only projectile enabled on them and made into foliage like seen on my test video appear to disrupt the vehicle weapon and make it move erratically and at the same time makes the weapon unable to fire while intersecting with those projectile meshes... https://www.youtube.com/watch?v=UpFYF8QIBEc
creator: Mauler
date: 2014-07-16T23:22:53-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: StealthEye wrote on Wed, 16 July 2014 14:12 Are you sure that it is not due to the "serverPresetsFile" setting? (It can be specified per map or globally.) The server always loads serverPresetsFile instead of objects.ddb. Its not the objects.ddb I am having the issue with, its the mapname.ddb (aka temps) that are not loading on the server from the left most package. It always seems to use the one in the package for the mapname. Clients on the other hand use the one from the package with the highest priority in tt.cfg which is how it should behave on the server as well.
creator: dblaney1
date: 2014-07-17T05:11:30-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Mauler wrote on Thu, 17 July 2014 00:22 Here is a bug that i have seen for quite some time... Meshes that have only projectile enabled on them and made into foliage like seen on my test video appear to disrupt the vehicle weapon and make it move erratically and at the same time makes the weapon unable to fire while intersecting with those projectile meshes... https://www.youtube.com/watch?v=UpFYF8QIBEc So... a mesh with projectile collision enabled interacts with projectiles? That's how Westwood designed it and has been that way since 1.037 and earlier. If you don't want meshes to interact with projectiles then uncheck projectile collision.
creator: danpaul88
date: 2014-07-17T08:27:08-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: danpaul88 wrote on Thu, 17 July 2014 02:27 Mauler wrote on Thu, 17 July 2014 00:22 Here is a bug that i have seen for quite some time... Meshes that have only projectile enabled on them and made into foliage like seen on my test video appear to disrupt the vehicle weapon and make it move erratically and at the same time makes the weapon unable to fire while intersecting with those projectile meshes... https://www.youtube.com/watch?v=UpFYF8QIBEc So... a mesh with projectile collision enabled interacts with projectiles? That's how Westwood designed it and has been that way since 1.037 and earlier. If you don't want meshes to interact with projectiles then uncheck projectile collision. That is not what i meant at all... Go back and watch the video..
creator: Mauler
date: 2014-07-17T15:31:24-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Love to but I'm at work
creator: danpaul88
date: 2014-07-17T16:12:39-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: The video is an old age bug even before scripts when your vehicle or character walks into an object like a bush, your gun turret goes haywire and starts rotating up or in other directions.
creator: Xpert
date: 2014-07-17T17:20:39-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Not sure if this is a bug or something else going on but thought I'd post. When I aim my camera at a higher amount of polys (not a huge amount) you can see emitters disappear. kinda looks like lod going on with the emitters but w3d viewer shows no lod. :/ I've seen this happening for quite a while. Video: https://www.youtube.com/watch?v=RAy8GHBVID8 Would be nice to not have this happen.
creator: roszek
date: 2014-07-17T17:31:06-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: dblaney1 wrote on Thu, 17 July 2014 07:11 StealthEye wrote on Wed, 16 July 2014 14:12 Are you sure that it is not due to the "serverPresetsFile" setting? (It can be specified per map or globally.) The server always loads serverPresetsFile instead of objects.ddb. Its not the objects.ddb I am having the issue with, its the mapname.ddb (aka temps) that are not loading on the server from the left most package. It always seems to use the one in the package for the mapname. Clients on the other hand use the one from the package with the highest priority in tt.cfg which is how it should behave on the server as well. Ok, strange. All files/priorities are treated the same way, and mapname.ddb loading is treated the same on client and server afaik. Not sure what could cause what you describe. I'll leave it for the TT team to figure out.
creator: StealthEye
date: 2014-07-17T18:25:52-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: As a side note, we might want to make Renegade reload the default strings.tbl at the end of a game. I have noticed that things like team name changes and menu changes carry over from one map to the next.
creator: Jerad2142
date: 2014-07-18T20:19:19-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: What about the bug where you can keep getting killed while you are dead, and also pick up a power up when u die...
creator: roszek
date: 2014-07-26T04:30:39-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: A lot of that is badly made health regen scripts that don't check if the player is dead before healing them. You're right about the powerup thing though, I'll see about fixing that.
creator: Whitedragon
date: 2014-07-26T06:20:16-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: roszek wrote on Fri, 25 July 2014 21:30 What about the bug where you can keep getting killed while you are dead, and also pick up a power up when u die... I was able to fix this in a plugin by setting the soldierobjects skintype to blamo on killed. Completely fixed it for me. I can see reasons why this shouldn't be merged into the actual scripts code but this has worked perfectly on ultraaow/ my test server for almost 2 months now. The double/triple death bug also occurs on mutants that are in tiberium fields etc so it doesn't just apply to regeneration scripts.
creator: dblaney1
date: 2014-07-27T22:04:51-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Lots of reasons. Blamo is an armor.ini entry which might not exist in all w3d games. It's a horrible bodge. There might be legit reasons for wanting to revive infantry (see: jfw_no_fall_damage sort of things). Just saying "I bodged xyz and it works on MY SERVER for x number of months" does NOT automatically make it suitable for everyone to use. Bodges are bad.
creator: danpaul88
date: 2014-07-27T22:46:25-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: danpaul88 wrote on Sun, 27 July 2014 15:46 Lots of reasons. Blamo is an armor.ini entry which might not exist in all w3d games. It's a horrible bodge. There might be legit reasons for wanting to revive infantry (see: jfw_no_fall_damage sort of things). Just saying "I bodged xyz and it works on MY SERVER for x number of months" does NOT automatically make it suitable for everyone to use. Bodges are bad. JFW no fall damage doesn't revive infantry at all. In fact it only is called on a custom and on damage. And again I said I don't think it should be merged into the scripts. However, for server operators my solution does work like it should.
creator: dblaney1
date: 2014-07-28T01:39:06-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Kind of like splinting a leg; it'll do for the moment but it'll still need proper attention and fixing But yea as you already said yourself and as DanPaul says, this is not something you want in the actual scripts code..
creator: Omar007
date: 2014-07-28T02:21:46-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Or we could be realistic and realize that not everyone is going to know all the scripts in the world thus a lot of them will be remade regardless as to whether others would work in their map or not.
creator: Jerad2142
date: 2014-07-28T02:27:18-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: It isn't possible to damage objects that are already dead, so that Blamo thing shouldn't be doing anything.
creator: Whitedragon
date: 2014-07-28T02:47:37-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Whitedragon wrote on Sun, 27 July 2014 20:47 It isn't possible to damage objects that are already dead, so that Blamo thing shouldn't be doing anything. Yeah even if you did change the armor to blamo the damage event is still called, 0 damage just shows up (at least in 3.4.4).
creator: Jerad2142
date: 2014-07-28T03:37:19-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Whitedragon wrote on Sun, 27 July 2014 19:47 It isn't possible to damage objects that are already dead, so that Blamo thing shouldn't be doing anything. It fixes the issue. The issue generally occurs when are object is killed by a warhead with a burn effect. Ever since I added it to my plugin I haven't had any multiple death issues.
creator: dblaney1
date: 2014-07-28T05:18:57-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Well that kill think does not always happen so I'm not sure how you can say you fixed something in a way that is not possible because it works on your mpf whatever test server that is virtually empty. @Whitedragon: Happy to hear the powerup thing is fixed that was quite annoying.
creator: roszek
date: 2014-07-28T07:37:34-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: There are 3 issues I know of that can cause double kills: Picking up powerups after death. Regen scripts that don't stop on death. Reversing damage from a player in a Damaged event. (Because the kill message code is in a dumb place.)
creator: Whitedragon
date: 2014-07-28T08:23:23-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: roszek wrote on Mon, 28 July 2014 00:37 Well that kill think does not always happen so I'm not sure how you can say you fixed something in a way that is not possible because it works on your mpf whatever test server that is virtually empty. @Whitedragon: Happy to hear the powerup thing is fixed that was quite annoying. Its not just on the test server. Its on ultraaow as well.
creator: dblaney1
date: 2014-07-28T17:40:51-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Whitedragon wrote on Mon, 28 July 2014 01:23 There are 3 issues I know of that can cause double kills: Picking up powerups after death. Regen scripts that don't stop on death. Reversing damage from a player in a Damaged event. (Because the kill message code is in a dumb place.) Its not just the kill messages that repeat when the double/triple kill bug happens. The killed function on any script attached to the object is also called multiple times. For example a mutant spawning a visceroid on death would spawn it multiple times. I tried many things to eliminate this issue and the solution I gave was the only one that worked reliably. It eliminates the glitch entirely. If you are having issues with it, I recommend adding it to the kill function of all of your soldiergameobj in a plugin or in gmsoldier.
creator: dblaney1
date: 2014-07-28T17:43:16-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: dblaney1 wrote on Mon, 28 July 2014 19:43 Whitedragon wrote on Mon, 28 July 2014 01:23 There are 3 issues I know of that can cause double kills: Picking up powerups after death. Regen scripts that don't stop on death. Reversing damage from a player in a Damaged event. (Because the kill message code is in a dumb place.) Its not just the kill messages that repeat when the double/triple kill bug happens. The killed function on any script attached to the object is also called multiple times. For example a mutant spawning a visceroid on death would spawn it multiple times. I tried many things to eliminate this issue and the solution I gave was the only one that worked reliably. It eliminates the glitch entirely. If you are having issues with it, I recommend adding it to the kill function of all of your soldiergameobj in a plugin or in gmsoldier. You keep using that word, "solution" but are you aware that what you're doing isn't a solution but a work-around?
creator: EvilWhiteDragon
date: 2014-07-28T17:59:49-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: EvilWhiteDragon wrote on Mon, 28 July 2014 10:59 dblaney1 wrote on Mon, 28 July 2014 19:43 Whitedragon wrote on Mon, 28 July 2014 01:23 There are 3 issues I know of that can cause double kills: Picking up powerups after death. Regen scripts that don't stop on death. Reversing damage from a player in a Damaged event. (Because the kill message code is in a dumb place.) Its not just the kill messages that repeat when the double/triple kill bug happens. The killed function on any script attached to the object is also called multiple times. For example a mutant spawning a visceroid on death would spawn it multiple times. I tried many things to eliminate this issue and the solution I gave was the only one that worked reliably. It eliminates the glitch entirely. If you are having issues with it, I recommend adding it to the kill function of all of your soldiergameobj in a plugin or in gmsoldier. You keep using that word, "solution" but are you aware that what you're doing isn't a solution but a work-around? I never advocated actually merging this work around into the scripts code. Just gave a suggestion of a way to solve this issue in the mean time. The first post I made about it specifical addresses that. The second half of my post wasn't actually directed at you but rather roszek.
creator: dblaney1
date: 2014-07-28T18:24:18-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Right, the first 2 also cause the Killed event to be called. The third one only does the kill messages.
creator: Whitedragon
date: 2014-07-28T19:54:58-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: dblaney1 wrote on Mon, 28 July 2014 11:24 The second half of my post wasn't actually directed at you but rather roszek. The code you call a solution is not one for me. No need to continue arguing the point.
creator: roszek
date: 2014-07-28T21:46:49-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: It's avoiding the actual problem rather than actually fixing it.
creator: Xpert
date: 2014-08-03T04:17:26-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: I upgraded to the latest scripts (previous was 4.0 patch 1) and noticed a few bugs (these bugs started to happen from the first release of 4.1) The first bug I noticed was the music &or sound effects crashing, this caused the sound to play continuously in a loop Second, Eva would occasionally play random announcements Third, "Insufficient Funds" pops up occasionally on screen and with the announcement Finally there is a bug which either attempts to crash my game (hangs for a second) or crashes it. I can explain what happens when it crashes, usually a full game crash would start when there is a lot going on in game (i,e a tank battle, lots of smoke) it would freeze everything on screen (usually around 20-60 seconds) after that the game will return to being controllable but all the textures of the map/infantry and vehicles become corrupt (showing the wrong textures). To restore everything back to default I have to restart the client. I should have reported these issues a long time ago 4.0 patch 1 works perfect for me comapared to the latest and I hope some of these issues can be fixed.
creator: dubstar
date: 2014-08-23T09:11:11-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Just remembered a bug that can be fixed. The team remix fucking blows. 4.0 suppose to fix the terrible remix. It really hasn't. In fact, it is a lot worst. I played 5 games yesterday of 4 v 4 aow and the teams stayed the same for the last 5 games. Finally on the 6th game, it swapped 1 person with another. The teams didn't change much at all. Also, spawning is terrible. I've had times where I would suicide at the beginning of the map and I would re-spawn in the same spot I suicided in.
creator: Xpert
date: 2014-08-23T21:00:07-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Xpert wrote on Sat, 23 August 2014 14:00 Just remembered a bug that can be fixed. The team remix fucking blows. 4.0 suppose to fix the terrible remix. It really hasn't. In fact, it is a lot worst. I played 5 games yesterday of 4 v 4 aow and the teams stayed the same for the last 5 games. Finally on the 6th game, it swapped 1 person with another. The teams didn't change much at all. Also, spawning is terrible. I've had times where I would suicide at the beginning of the map and I would re-spawn in the same spot I suicided in. Dragonade has its own team remixing code. Maybe something similar to it could be implemented. Is there a way to intercept the spawn request and let server plugins customize the logic in which if chooses a spawn point.
creator: dblaney1
date: 2014-08-23T22:12:44-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Those issues mostly stem from bad RNG. I tried to fix it in DA, but I don't think it really helped any.
creator: Whitedragon
date: 2014-08-25T08:01:22-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Yeah its amazing how complicated random number generation can be. Its a lot more sophisticated than people think. I read a lot of stuff about one day and its pretty fascinating.
creator: dblaney1
date: 2014-08-25T18:49:35-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: I have had three crashes since I reinstalled Renegade and installed Unofficial Patch for First Decade (1.04) and this patch for Renegade. I have set administrative privileges for all the games in the First Decade Launcher. The crashes happen on the first mission for the campaign. The first happened about 2/3's through the first mission and the last two happened as I clicked the "continue" button at the screen where it lists your performance. I get the "Renegade has encountered an internal error and is unable to continue normally" notification.
creator: Hutchinman
date: 2014-09-03T03:02:27-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: That crash is already fixed (its an issue with the movie code)
creator: jonwil
date: 2014-09-03T04:40:16-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: What about the first crash? That one wasn't during any cutscene. It was in the middle of the level. How would the movie code crash it?
creator: Hutchinman
date: 2014-09-03T04:54:28-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: No idea on that crash, sorry. Its possible that whatever is causing it is already fixed.
creator: jonwil
date: 2014-09-03T13:28:25-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: What key features do you need to implement before 4.2 is pushed to the public?
creator: Hutchinman
date: 2014-09-03T22:09:50-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: You should change the way vehicle shells spawn like the way dragonade is so that it doesn't get stuck in retarded places or float in mid air.
creator: Xpert
date: 2014-09-05T01:18:58-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Xpert wrote on Thu, 04 September 2014 18:18 You should change the way vehicle shells spawn like the way dragonade is so that it doesn't get stuck in retarded places or float in mid air. There's too many things to list that should be more like dragonade lol.
creator: dblaney1
date: 2014-09-05T03:31:42-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: I don't even use dragonade. I modified SSGM myself because it was a disappointment to me on how it came out.
creator: Xpert
date: 2014-09-05T05:00:47-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: There seems to be an issue with the map timer, it works fine on stock maps, but with the packages it only seems to work on the first map then drops to 30 min on every map after. Could just be me but I get this issue on two separate severs.
creator: roszek
date: 2014-09-06T02:47:49-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: roszek wrote on Fri, 05 September 2014 22:47 There seems to be an issue with the map timer, it works fine on stock maps, but with the packages it only seems to work on the first map then drops to 30 min on every map after. Could just be me but I get this issue on two separate severs. I'm confused. How are you setting the map time?
creator: Xpert
date: 2014-09-06T04:17:44-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Xpert wrote on Fri, 05 September 2014 21:17 roszek wrote on Fri, 05 September 2014 22:47 There seems to be an issue with the map timer, it works fine on stock maps, but with the packages it only seems to work on the first map then drops to 30 min on every map after. Could just be me but I get this issue on two separate severs. I'm confused. How are you setting the map time? Well I'm using a custom timer but was pointing out that prior to that when I set the time in the svrcfg_cnc.ini it only worked on the first map unless it was a stock map.
creator: roszek
date: 2014-09-06T04:50:39-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: roszek wrote on Fri, 05 September 2014 21:50 Xpert wrote on Fri, 05 September 2014 21:17 roszek wrote on Fri, 05 September 2014 22:47 There seems to be an issue with the map timer, it works fine on stock maps, but with the packages it only seems to work on the first map then drops to 30 min on every map after. Could just be me but I get this issue on two separate severs. I'm confused. How are you setting the map time? Well I'm using a custom timer but was pointing out that prior to that when I set the time in the svrcfg_cnc.ini it only worked on the first map unless it was a stock map. I think thats actually a brenbot issue. Even with the map settings module disabled it still sets the time. You have to edit brenbots source code and remove the time set line in modules.pm
creator: dblaney1
date: 2014-09-06T06:18:14-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Oh? I wasn't aware of that issue, where have you reported that bug?
creator: danpaul88
date: 2014-09-06T12:46:57-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: you have to use time and timel. Or what ever they are called. You need to set the server time time limit then set the server time.
creator: Gen_Blacky
date: 2014-09-06T17:29:27-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Damn I never knew that, is timel persistent over map changes?
creator: Ethenal
date: 2014-09-06T22:37:27-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: dubstar wrote on Sat, 23 August 2014 02:11 I Finally there is a bug which either attempts to crash my game (hangs for a second) or crashes it. I can explain what happens when it crashes, usually a full game crash would start when there is a lot going on in game (i,e a tank battle, lots of smoke) it would freeze everything on screen (usually around 20-60 seconds) after that the game will return to being controllable but all the textures of the map/infantry and vehicles become corrupt (showing the wrong textures). To restore everything back to default I have to restart the client. Update: The above problem has nothing to do with the TT patch and is the result of my hardware over heating. I hope this has not caused any delay in 4.2's update
creator: dubstar
date: 2014-09-09T01:06:28-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Good to know, hopefully you have fixed (or replaced) the faulty hardware
creator: jonwil
date: 2014-09-09T01:40:14-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: It happens a lot that players cannot play on the server. RIGHT now for example: Join the server and your client goes into 'gameplay pending' until it drops you or you exit again. It fixes itself after a couple of minutes (sometimes). Looks like most new players that try to play in the server have it currently including myself. Any idea what causes this?
creator: zunnie
date: 2014-09-20T01:34:28-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: It's either your maps or Dragonade. I've seen this problem in Rencorner a lot also.
creator: Xpert
date: 2014-09-20T02:01:47-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: It happens usually on map change mainly if you click on start and server is in score table. It happened also on Jelly for me.
creator: ExEric3
date: 2014-09-20T13:05:11-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: We aren't referring to that bug. This bug happens during a map not between. Pretty much no new players can join for 5-10 minutes.
creator: dblaney1
date: 2014-09-21T19:35:55-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: I blame the map LOL.
creator: Xpert
date: 2014-09-21T22:59:31-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Xpert wrote on Fri, 19 September 2014 22:01 It's either your maps or Dragonade. I've seen this problem in Rencorner a lot also. Were you actually in ours, and if so do you recall when/what nick you were on? May be able to pin down if it is a map or not.
creator: shaitan
date: 2014-09-22T14:05:49-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: dblaney1 wrote on Sun, 21 September 2014 13:35 We aren't referring to that bug. This bug happens during a map not between. Pretty much no new players can join for 5-10 minutes. Does it give you some anti cheat error, or an invalid nick name error server side?
creator: Jerad2142
date: 2014-09-22T15:20:21-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: No it does not. The game goes straight into "Gameplay Pending" and stays there until you lose connection or exit the game.
creator: zunnie
date: 2014-09-22T15:40:37-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Zunnie if you get that bug you join directly or over WOL? Because on our server I have problems joining over WOL.
creator: ExEric3
date: 2014-09-22T15:43:55-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: I don't use WOL, RenList ftw This bug is really annoying though.
creator: zunnie
date: 2014-09-22T15:56:21-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: shaitan wrote on Mon, 22 September 2014 10:05 Xpert wrote on Fri, 19 September 2014 22:01 It's either your maps or Dragonade. I've seen this problem in Rencorner a lot also. Were you actually in ours, and if so do you recall when/what nick you were on? May be able to pin down if it is a map or not. Idk what smurf I used. But I remember it happening on Field_RxD and another time on Uphill_RxD.
creator: Xpert
date: 2014-09-22T19:18:32-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Another bug we found a while ago. Not gamebreaking but just funny: https://www.youtube.com/watch?v=lmLkOkUoAI0&list=UUcE_8hf3MpEk-eNhJvdaZRg&am p;index=40
creator: zunnie
date: 2014-09-24T08:48:31-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: That's a Renegade physics bug, not a 4.1 bug.
creator: iRANian
date: 2014-09-24T10:05:21-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: I feel like that could be fixed by giving them a collision type that collides with everything but their own collision type and bullets.
creator: Jerad2142
date: 2014-09-26T14:06:05-00:00

Re: Now collecting scripts 4.1 bugs
type: item
description: Set_Map seems to be bugged. Every once in a while it will change the current map index. For instance, if I'm on map 5 and use code with it in it will change the current map index to 2 (well something like that).
creator: roszek
date: 2014-11-16T18:14:24-00:00