Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » server crash (in tt.dll) after dead of ai
server crash (in tt.dll) after dead of ai [message #467138] Mon, 07 May 2012 14:46 Go to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
full details :
Toggle Spoiler


bot code :
Toggle Spoiler


char script code
Toggle Spoiler


i hope this crashdump is correct its a bit older but its in tt.dll to

stealtheye said the bot tries to move while its dead however i dont understand how i can fix that


Owner of kambot TT server

kambot.freeforums.org

[Updated on: Tue, 08 May 2012 06:39]

Report message to a moderator

Re: server crash (in tt.dll) after dead of ai [message #467144 is a reply to message #467138] Mon, 07 May 2012 23:35 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4300
Registered: April 2011
Karma: 0
General (4 Stars)
What's the code you're using?

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: server crash (in tt.dll) after dead of ai [message #467145 is a reply to message #467138] Tue, 08 May 2012 01:54 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
im using C++ when i get home ill post the specific

codes as i forgot to post that last night

added the code to the first post


Owner of kambot TT server

kambot.freeforums.org

[Updated on: Tue, 08 May 2012 06:37]

Report message to a moderator

Re: server crash (in tt.dll) after dead of ai [message #467219 is a reply to message #467138] Wed, 09 May 2012 23:41 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
I suspect action complete gets called when the bot dies and then your code is trying to set a new action on it. Check the action complete reason isn't 'dead' or similar before setting the new action would be my suggestion.

http://steamsignature.com/card/1/76561197975867233.png
Re: server crash (in tt.dll) after dead of ai [message #467228 is a reply to message #467138] Thu, 10 May 2012 08:22 Go to previous messageGo to next message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma: 0
Recruit
this could be it in action complete i make it attack the target again

Owner of kambot TT server

kambot.freeforums.org
Re: server crash (in tt.dll) after dead of ai [message #467379 is a reply to message #467228] Tue, 15 May 2012 05:39 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3806
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
I'd just make the whole script remove itself on death, just make sure you do what you need done before you call the Remove_Script command lol.

Previous Topic: Open Tunnle
Next Topic: Working vehicle menus on SP maps, and how to purchase powerups from them and airdrop vehicles
Goto Forum:
  


Current Time: Sat Jul 13 18:59:22 MST 2024

Total time taken to generate the page: 0.00637 seconds