script bug - crash when using *repair command

Forum Archive - from http://theuniversal.net
Locked
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

script bug - crash when using *repair command

Post by zaroba »

Software:Universal Client
Version Number:current
________________________________________________________________________
Location
zoric
________________________________________________________________________
Description:
have a script set up to repair your vehicle.

*repair %player%


it seems to cause the client to illeagle operation.

________________________________________________________________________
Steps to Replicate:
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

Event("Useitem", "Repair Pack")
{
*msg %player% Inspecting your vehicle.
Sleep (20)
*msg %player% Repairs will take 30 secs
*msg %player% you will be unable to fire weaps while repairing
*msg %player% Beginning repairs on your vehicle
*gagweapons %player%
sleep (100)
*msg %player% ...repairing...
sleep (100)
*msg %player% ...repairing...
sleep (100)
*repair %player%
*gagweapons %player%
*msg %player% ...repairs complete.
}


works up until it hits the *repair command. at that time the client just illegal operations.
the *repair command works fine when typed via the client.

client also crashes when the *repair command is used via the server console to repair somebody.
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

thanks for the report, zar.. Fixed in client 0.51.7

(Funky script too.. :] )
Locked