View Issue Details

IDProjectCategoryView StatusLast Update
0004342Multi Theft Auto : San AndreasClientpublic2009-05-28 19:15
ReporterDragon Assigned ToArc  
Status resolvedResolutionfixed 
OSWindows XP Home Edition 
Fixed in Version1.0 
Summary0004342: createWater has huge problems with minus values and the 0 0 axes

When using createWater like in the following examples the water appears graphically but doesn't work correctly and its much bigger than it's supposed to be. This happens server and client side. Water which doesn't cover any area in positive values (or hits 0 on any axis) doesn't do anything at all.

Steps To Reproduce

tested with runcode:

createWater(-5,-5,4, 0,-5,4, -5,0,4, 0,0,4)
createWater(-5,-5,10, 5,-5,10, -5,5,10, 10,10,10)
(covered the world with water (not working but graphically) from 0 0 to more than 600 600)

createWater(-1,10,5, 1,10,5, -1,12,5, 1,12,5)
createWater(-1,6,5, 1,6,5, -1,8,5, 1,8,5)
(both create stripes of water (not working but graphically) which end somewhere at 600x)

createWater(20,-20,25, 30,-20,25, 20,-10,25, 30,-10,25)
createWater(-10,-10,7, -5,-10,7, -10,-5,7, -5,-5,7)
(don't seem to do anything at all(except for returning the "created" water element))

Additional Information

only water with just positive values (or 0) works correctly (also the sound only works for these examples):
createWater(5,5,5, 10,5,5, 5,10,5, 10,10,5)
createWater(0,0,4, 5,0,4, 0,5,4, 5,5,4)

TagsNo tags attached.



2009-05-21 21:04

updater   ~~0009297

It seems you swapped the second and the third water edge to me. according to the wiki, it should be


whereas yours is like
2 4
|\ |
| |
1 3


2009-05-21 22:25

reporter   ~~0009298

not really, and as far as i remember it returns false if you give the edges in wrong order


2009-05-22 23:31

administrator   ~~0009335

Last edited: 2009-05-22 23:38

This one only happens in release mode. Funny.

Issue History

Date Modified Username Field Change