Fortress Forever

Go Back   Fortress Forever > Editing > Mapping > Lua

Reply
 
Thread Tools Display Modes
Old 12-14-2007, 02:15 PM   #1
A1win
Nutcracker
 
A1win's Avatar
 
Join Date: Sep 2007
Location: Kuopio, Finland
Posts Rated Helpful 0 Times
Send a message via MSN to A1win
Flag carrier disconnect: server crash (fixed!)

Every time the flag carrier disconnects in my map ff_hold, the server crashes with no errors. I haven't looked much into the lua yet but I'll post this already, in case I don't find the problem.

The baseflag:ondrop and baseflag:onloseitem functions seem to be pretty identical to those functions in other maps, so I doubt the problem is there.

edit: Fixed!

flag:Drop needs to be in baseflag:ownerdie. If it's in player_killed, the server will crash. This is how it's done in the official maps, I just had changed it for some feature that I didn't use anyway.

Last edited by A1win; 12-14-2007 at 03:19 PM.
A1win is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:03 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.