Igen a kliens képeket kérték el. Csak egy a baj. A login teljesen devgamingesen nézett ki nem? Na most jön a baj... Mégpedig az hogy nincs is benne kép max a logo de azt nyilván nem húzták be. Tehát mégse csak a képeket \"kérték\" el? . Csak hogy örülj bemásolom miből állt az akkori loginpanel, hiszen a kedvedért vissza kerestem a régi winchesteremről.
function drawLoginRectangles ()
dxDrawRectangle (rect1.x, rect1.y, rect1.width, rect1.height, tocolor(0,0,0,155), false) -- pasek czarny gora-dol
dxDrawText (\"Felhasználónév\",rect1.x,highestY-22,rect1.x+rect1.width,highestY+3,tocolor(255,255,255,255),1, \"default-bold\",\"center\")
--dxDrawText (\"Felhasználónév\",rect1.x,highestY+8,rect1.x+rect1.width,highestY+23,tocolor(255,255,255,255),1, \"default-bold\",\"center\")
dxDrawText (\"Jelszó\",rect1.x,highestY+28,rect1.x+rect1.width,highestY+53,tocolor(255,255,255,255),1, \"default-bold\",\"center\")
dxDrawRectangle (infoRect.x, infoRect.y, infoRect.width, 17, tocolor(255,255,255,220), false)
dxDrawRectangle (infoRect.x, infoRect.y+17, infoRect.width, infoRect.height, tocolor(76,168,255,180), false) -- info o gm
dxDrawText (\"A szerver\", 61, rect1.height+1, 60+494,rect1.height+17,tocolor(0,0,0,255),1, \"default-bold\",\"center\",\"bottom\")
dxDrawText (\"A szerver\", 60, rect1.height, 60+493,rect1.height+16,tocolor(255,255,255,255),1, \"default-bold\",\"center\",\"bottom\")
dxDrawText (serverInformation,infoRect.x+3, infoRect.y+20, infoRect.width+infoRect.x-3, infoRect.height+infoRect.y+16,tocolor(0,0,0,255),1,\"default-bold\",\"center\",\"top\",false,true)
dxDrawText (serverInformation,infoRect.x+2, infoRect.y+19, infoRect.width+infoRect.x-4, infoRect.height+infoRect.y+15,tocolor(255,255,255,255),1,\"default-bold\",\"center\",\"top\",false,true)
dxDrawImage(rect1.x*1.1, rect1.y*0.9, 250, 230, \"files/v2atlatszo.png\")
dxDrawRectangle (rect1.x, infoRect.y+17+infoRect.height, rect1.width, rect1.height+infoRect.height+17, tocolor(0,0,0,155), false)
end
Itt az eredeti Dev script:
function drawLoginRectangles ()
dxDrawRectangle (rect1.x, rect1.y, rect1.width, rect1.height, tocolor(0,0,0,155), false) -- pasek czarny gora-dol
dxDrawText (\"Podaj swój login oraz hasło\",rect1.x,highestY-22,rect1.x+rect1.width,highestY+3,tocolor(255,255,255,255),1, \"default-bold\",\"center\")
dxDrawText (\"Login\",rect1.x,highestY+8,rect1.x+rect1.width,highestY+23,tocolor(255,255,255,255),1, \"default-bold\",\"center\")
dxDrawText (\"Hasło\",rect1.x,highestY+28,rect1.x+rect1.width,highestY+53,tocolor(255,255,255,255),1, \"default-bold\",\"center\")
dxDrawRectangle (infoRect.x, infoRect.y, infoRect.width, 17, tocolor(255,255,255,220), false)
dxDrawRectangle (infoRect.x, infoRect.y+17, infoRect.width, infoRect.height, tocolor(76,168,255,180), false) -- info o gm
dxDrawText (\"Informacje o systemie gry\", 61, rect1.height+1, 60+494,rect1.height+17,tocolor(0,0,0,255),1, \"default-bold\",\"center\",\"bottom\")
dxDrawText (\"Informacje o systemie gry\", 60, rect1.height, 60+493,rect1.height+16,tocolor(255,255,255,255),1, \"default-bold\",\"center\",\"bottom\")
dxDrawText (informacjeGM,infoRect.x+3, infoRect.y+20, infoRect.width+infoRect.x-3, infoRect.height+infoRect.y+16,tocolor(0,0,0,255),1,\"default-bold\",\"center\",\"top\",false,true)
dxDrawText (informacjeGM,infoRect.x+2, infoRect.y+19, infoRect.width+infoRect.x-4, infoRect.height+infoRect.y+15,tocolor(255,255,255,255),1,\"default-bold\",\"center\",\"top\",false,true)
dxDrawRectangle (rect1.x, infoRect.y+17+infoRect.height, rect1.width, rect1.height+infoRect.height+17, tocolor(0,0,0,155), false)
end