ID:268310
 
Ok, I don't think my code has anything to do with it, but here goes:
mob
Login()
login_count++
if(login_count==1)
src.icon='red.dmi'

turf
test
icon='test.dmi'



var/login_count = 0
</dmi>

the var is in another code file.

When I log in, my map blinks black, then aqua (the color of test.dmi) and it won't stop!
wow interesting
In response to Soldierman
I accidentally hit enter, but I edited my post now.
wow. I just got mine to run in Dream Seeker and i am getting the same problem. I was actually just about to ask about that.
You're using mob/Login() wrong. What you're looking for is client/New()
mob
icon = 'blue.dmi'
specialPerson
icon = 'red.dmi'

client
New()
for(var/client/C)
if(C != src)
mob = new /mob/
break
if(!mob)
mob = new /mob/specialPerson
In response to Garthor
do you think you could comment on what that stuff does. I understand what it does in the end, but I'd like some detail on how each piece works.
In response to Dragon of Ice
is that whats causing it to blink? I've been coding on and off between a year or two and i've never seen it blink like that before.
In response to Polaris139
I don't think so. I may do a clean install of byond.... see if that helps.
In response to Dragon of Ice
i did that, thats when it started. I couldnt even get dream maker to run dream seeker and i re-installed it, thats when the screen started blinking.
In response to Polaris139
I think there might be something similar going on with Leftley's old Treasure Seeker source code too.
figured it out, thanks to reading another post on someone having a black screen. at the end of the login procedure, you need to add
..()


here's the original post: ID: 264947