Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   updateboard turns Gmap tiles to water (https://forums.graalonline.com/forums/showthread.php?t=62082)

Yen 11-04-2005 10:27 PM

updateboard turns Gmap tiles to water
 
Alright..
Whenever I use the updateboard(x,y,w,h) command, it turns the updated area into water tiles. This only occurs on the gmap.

Is this a bug in the server, or what? I know I've seen it used on a gmap before, without this problem.

napo_p2p 11-04-2005 10:43 PM

I get the same thing (wrong tiles).

Updateboard works on the top left corner level of a gmap though.

ZeLpH_MyStiK 11-05-2005 12:49 AM

I believe you're updating the wrong area. It only works in the upper left corner since the coordinates are acting as if it's one level, which a gmap is not. Use onmapx and onmapy to figure out the coordinates you are updating on the gmap and update those coordinates instead.

Yen 11-05-2005 01:25 AM

That's what I originally thought. It didn't change at all when I tried that.


All times are GMT +2. The time now is 01:31 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.