Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Some Bugs
Some Bugs [message #484463] Sat, 16 November 2013 16:49 Go to next message
Neijwiert is currently offline  Neijwiert
Messages: 124
Registered: October 2009
Karma: 0
Recruit
Commands->Set_Model(some object, 0);

This crashes the fds, leaving the user unaware where the problem is. Took me ages to find the root.

------------------------------------

in svrcfg_cnc.ini you have the possibility to change these variables:

TimeLimitMinutes
BaseDestructionEndsGame
BeaconPlacementEndsGame

If you set the time limit to endless you must set BaseDestructionEndsGame = true. You can't set it to false and have the win condition to be a beacon placement end.

Also it would be nice to have the ability to set the time limit to endless and everything else to false. Which enables you to make a custom win condition, instead of hooking the damage event and preventing structure damage.

------------------------------------

I'm unable to create a gamechannel on my computer using RenegadeServer.exe but if I start it with server.exe I'm fine.

Conditions:
- I had a fresh install of both Renegade and the FDS
- I'm an admin on my computer
- I run windows 8 Pro, 64-bit
- I have Renegade the first decade legal
- When I run either of the executeables, the server settings in all files are the same.
- I opened up the game port(s)
- I tried to completly disable both my virus scanner & firewall.
Also added exceptions to my virus scanner.
- I tried run as administrator.
Re: Some Bugs [message #484465 is a reply to message #484463] Sun, 17 November 2013 04:43 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

#1: setting a model to nothing.... ghee, what could possibly go wrong?

For #2: isn't there a SSGM setting that disables building damage already? I know there used to be, but I'm not 100% sure it's included in TT.

#3: I'm guessing that the patch server doesn't exist anymore, or that it tries to update and fails. Pretty much none used the renegadeserver.exe, so I don't think it's a serious issue.


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: Some Bugs [message #484466 is a reply to message #484463] Sun, 17 November 2013 06:11 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

For #1, its not surprising that it crashes if you call Set_Model(obj,0). If you want to make it have no model at all, call Set_Model(obj,"NULL"), that will cause it not to use any model.

For #2, set InvincibleBuildings=true in ssgm.ini. That will do what you want.

As for #3, just use server.exe, not renegadeserver.exe. No idea why renegadeserver.exe doesn't work, it just doesn't Smile


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Some Bugs [message #484467 is a reply to message #484463] Sun, 17 November 2013 06:33 Go to previous messageGo to next message
Neijwiert is currently offline  Neijwiert
Messages: 124
Registered: October 2009
Karma: 0
Recruit
No Message Body
Re: Some Bugs [message #484468 is a reply to message #484463] Sun, 17 November 2013 06:44 Go to previous messageGo to next message
Neijwiert is currently offline  Neijwiert
Messages: 124
Registered: October 2009
Karma: 0
Recruit
#1 then why do we use the string "NULL"? Seems more logic to me to use an actual null pointer which is also faster than string checking.

#2 I know that there is such an option in ssgm, but what im trying to say is that it doesnt have anything to do with the wincondition . You would think that having beaconplaceendsgame= true and then endless game with no base destruction would still make the game run. Becouse now you can end it only with beacons.
Yes you can block building dmg with ssgm but that seems like a stupid workaround/fix.

#3 Ok I understand, but the shortcut on desktop points to renegadeserver.exe not server.exe. Would be nice if this would automaticly change to the right one. This will avoid frustration and unneccesary forum threads of ppl that dont know whats going on.

Ps: im on a mobile device sorry for spelling
Re: Some Bugs [message #484469 is a reply to message #484463] Sun, 17 November 2013 08:25 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

The string "NULL" is special because there is a built-in render object with that name that does no rendering. Its not possible to create that particular special render object in response to passing zero instead of "NULL".

As for the building destruction thing, we dont own the right bits of code to make things work if BeaconPlacementEndsGame=true is set, BaseDestructionEndsGame=false is set and TimeLimitMinutes set to endless


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Previous Topic: Solved
Next Topic: Did TT make any changes to Flamers vs Infantry?
Goto Forum:
  


Current Time: Sun Dec 22 01:37:49 MST 2024

Total time taken to generate the page: 0.00673 seconds