| Mirage Source http://web.miragesource.net/forums/ |
|
| Error With Layers http://web.miragesource.net/forums/viewtopic.php?f=201&t=4263 |
Page 1 of 1 |
| Author: | Doomy [ Fri Sep 05, 2008 6:19 pm ] |
| Post subject: | Error With Layers |
Ive decided to use ms3 again because the people who can help me are more familar with it and well i am not a good scripter so i need their help so i am doing the layers with ms3 now can someone help me Every time i try to do the layers in the server with the layers tutorial i always get this error ( this is the tutorial viewtopic.php?f=75&t=1090 ) Variable Not Defined Error Message Then it highlights For y = 0 To MAX_MAPY For x = 0 To MAX_MAPX With Map.Tile(x, y) Packet = Packet & .Ground & SEP_CHAR & .Mask & SEP_CHAR & .Anim & SEP_CHAR & .Mask2 & SEP_CHAR & .M2Anim & SEP_CHAR & .Fringe & SEP_CHAR & .FAnim & SEP_CHAR & .Fringe2 & SEP_CHAR & .F2Anim & SEP_CHAR & .Type & SEP_CHAR & .Data1 & SEP_CHAR & .Data2 & SEP_CHAR & .Data3 & SEP_CHAR End With Next x Next y Also this is when editing the server part |
|
| Author: | Rian [ Fri Sep 05, 2008 6:25 pm ] |
| Post subject: | Re: Error With Layers |
then define it. in this case, our variable "packet" happens to be a string. Code: Dim Packet As String
|
|
| Author: | Matt [ Fri Sep 05, 2008 6:46 pm ] |
| Post subject: | Re: Error With Layers |
If you're using the tutorial on here and using ms4, you won't get anywhere. As the layer code is different. If you're using ms303, then the tutorial will work fine. If it doesn't, I suggest you either a) Learn why or b) quit programming. |
|
| Author: | Kousaten [ Fri Sep 05, 2008 10:43 pm ] |
| Post subject: | Re: Error With Layers |
You just explained why the tut won't work on MS4. But yeah, define the variable like Sonire said. If you're going through the tuts, I'd recommend using an older version that they're already compatible with... ...or just learning how they work and going from there. |
|
| Author: | Matt [ Fri Sep 05, 2008 11:02 pm ] |
| Post subject: | Re: Error With Layers |
Kousaten wrote: You just explained why the tut won't work on MS4. But yeah, define the variable like Sonire said. If you're going through the tuts, I'd recommend using an older version that they're already compatible with... ...or just learning how they work and going from there. I'm aware. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|