View Single Post
  (#187 (permalink)) Old
Cronus-hybrid Offline
Forum Novice
 
Posts: 144
Join Date: Mar 2005
Age: 28
Re: Publish 71 - 12/7/2006 - 12-15-2006, 01:04 PM

While this is a step to combat the scripting of houses, its still easily done, just in a different form. All the people do now is script small plaster houses in certain spots, and when the house falls, just clear that particular spot.

While I haven't dabbled in UO code, couldn't there be some kind of function where it disconnects you or stops your character from opening a placement tool, pending on how many placement attempts you tried within the last seconds?

i.e. create two "counter" variables, where one is the number of placements you have attempted consecutively, and one where it records the amount of time inbetween the last placement. Then, do something to the extent of:

if (timecounter < .1)
if (placementcounter > 10)
blah.
else
placementcounter++;
else
placementcounter = 0;
   
Reply With Quote