ID:268650
 
I hate posting newbie questions about things like thus, but its very strange. I've seen flashing screens before when the screen flashes black and white, they're usually simple to fix, but this case is a little different.

All I've typed is....

mob/Login()
..()

turf/Grass
icon = 'Grass.dmi'


A very, very simple starting snippet, I was creating a demo and I just compiled to see if all goes well, then without noticing because I had gotten into some conversation with someone, I ran the program, when I looked the screen was going from normal view of the map, with the grass all over, to changing the map to all black but with the exception of showing a green chunk of the grass (the center part), so its like someone cut out the center of the grass icon and flooded the rest black and put that all over the map. Its basically, as for what I've seen, changing everything to their negatives, so when I add a blue object it shows up as red (I think thats the negative of blue) and when I add white objects they appear black...

As I said I only have those simple lines of code, theres one other exception, when I give the user an icon with the usual

mob
icon = 'Person.dmi'

and run it, the map still flashes in the same way, however the user is shown as normal and never flashes, even when I move my icon appears over the blackness.....It's very strange, I'd be happy to host and show anyone interested in further looking into the suject, thanks in advance if I dont get to later, and sorry if there's something very simple I'm missing.

P.S: I'm not going to add anything so the code stays as is until tomorow, incase anyone DOES want to try it out and see if they can help, that means if you want to talk about the problem while you're logged into the game you'll have to use the pager :(

- Conj'
The Conjuror wrote:
I hate posting newbie questions about things like thus, but its very strange. I've seen flashing screens before when the screen flashes black and white, they're usually simple to fix, but this case is a little different.

All I've typed is....

mob/Login()
..()

turf/Grass
icon = 'Grass.dmi'


A very, very simple starting snippet, I was creating a demo and I just compiled to see if all goes well, then without noticing because I had gotten into some conversation with someone, I ran the program, when I looked the screen was going from normal view of the map, with the grass all over, to changing the map to all black but with the exception of showing a green chunk of the grass (the center part), so its like someone cut out the center of the grass icon and flooded the rest black and put that all over the map. Its basically, as for what I've seen, changing everything to their negatives, so when I add a blue object it shows up as red (I think thats the negative of blue) and when I add white objects they appear black...

As I said I only have those simple lines of code, theres one other exception, when I give the user an icon with the usual

mob
icon = 'Person.dmi'

and run it, the map still flashes in the same way, however the user is shown as normal and never flashes, even when I move my icon appears over the blackness.....It's very strange, I'd be happy to host and show anyone interested in further looking into the suject, thanks in advance if I dont get to later, and sorry if there's something very simple I'm missing.

P.S: I'm not going to add anything so the code stays as is until tomorow, incase anyone DOES want to try it out and see if they can help, that means if you want to talk about the problem while you're logged into the game you'll have to use the pager :(

- Conj'

just did the same with this code:

mob/Login()
..()

turf/Grass
icon='grass.dmi'


and I jsut get the green grass showing on the map(I'm assuming you've painted down the grass on the map)

works for me...
Does the grass icon have more than one icon state? Is the icon state that it has animated?
In response to Jik
<To what Jon said>

No, the grass icon is just one single, unanimated green icon, nothing special.

<To what Jik said>

I know it works for other people, thats why Im stumped, Im assuming I've stumbled across a bug, maybe its just my computer I dont know...


<Updates>

I've figured out what the chunk of grass is....its really strange....The user doesnt have an icon and the person icon isnt defined anywhere, yet the chunk of grass that shows when it flashes is the exact parameters of the users head, its the exact shape and everything.....Im going to try and use the same code in a new environment file and see what happens but really there should be a problem in the first place, I dont get it.

Once again, if you want to actually see what Im talking about ask and I'll host.
In response to The Conjuror
IMO, the problem is a null loc.

Add:
loc=locate(1,1,1)


Also, try upgrading to 341 -- somebody said that bug was fixed in there.