Julian09123 Posted February 15, 2013 Share Posted February 15, 2013 Hola, Bueno este es mi problema pongo start scoreboard y me voy al server y apreto tab y nada Y en la console me dice ERROR: ¨[Gameplay]/scoreboard/dxscoreboard_Client.lua :25: attemp to call Global "tocolor" Me ayudan? Link to comment
Alexs Posted February 15, 2013 Share Posted February 15, 2013 Posteanos desde tu linea 20 a la 30 (aproximadamente). (También revisa que este en client en el meta.xml) Link to comment
Julian09123 Posted February 15, 2013 Author Share Posted February 15, 2013 ok Si el meta esta bien dxscoreboard_Client: teamHeaderFont = "clear" contentFont = "default-bold" columnFont = "default-bold" serverInfoFont = "default" rmbFont = "clear" cBlack = tocolor( 0, 0, 0 ) cWhite = tocolor( 255, 255, 255 ) cSettingsBox = tocolor( 255, 255, 255, 150 ) MAX_PRIRORITY_SLOT = 500 scoreboardColumns = {} Link to comment
Alexs Posted February 15, 2013 Share Posted February 15, 2013 Publica todo el código. Link to comment
Julian09123 Posted February 15, 2013 Author Share Posted February 15, 2013 Como todo? Es demaciado largo men muy largo Link to comment
Alexs Posted February 15, 2013 Share Posted February 15, 2013 Ok, desde la linea 0 hasta la 50. Link to comment
Julian09123 Posted February 15, 2013 Author Share Posted February 15, 2013 triggerKey = "tab" -- default button to open/close scoreboard settingsKey = "F7" -- default button to open the settings window drawOverGUI = true -- draw scoreboard over gui? seperationSpace = 80 -- the space between top/bottom screen and scoreboard top/bottom in pixels -- BUT DON'T TOUCH THESE scoreboardToggled = false scoreboardForced = false scoreboardDrawn = false forceScoreboardUpdate = false useAnimation = true scoreboardIsToggleable = false showServerInfo = false showGamemodeInfo = false showTeams = true useColors = true drawSpeed = 1 scoreboardScale = 1 teamHeaderFont = "clear" contentFont = "default-bold" columnFont = "default-bold" serverInfoFont = "default" rmbFont = "clear" cBlack = tocolor( 0, 0, 0 ) cWhite = tocolor( 255, 255, 255 ) cSettingsBox = tocolor( 255, 255, 255, 150 ) MAX_PRIRORITY_SLOT = 500 scoreboardColumns = {} resourceColumns = {} scoreboardDimensions = { ["width"] = 0, ["height"] = 0, ["phase"] = 1, ["lastSeconds"] = 0 } scoreboardTicks = { ["lastUpdate"] = 0, ["updateInterval"] = 500 } scoreboardContent = {} firstVisibleIndex = 1 sortBy = { ["what"] = "__NONE__", ["dir"] = -1 } -- -1 = dec, 1 = asc sbOutOffset, sbInOffset = 1, 1 sbFont = "clear" sbFontScale = 0.68 serverInfo = {} fontScale = { -- To make all fonts be equal in height ["default"] = 1.0, ["default-bold"] = 1.0, ["clear"] = 1.0, ["arial"] = 1.0, ["sans"] = 1.0, ["pricedown"] = 0.5, ["bankgothic"] = 0.5, ["diploma"] = 0.5, ["beckett"] = 0.5 Link to comment
Alexs Posted February 15, 2013 Share Posted February 15, 2013 Prueba poniendo el alpha: cBlack = tocolor( 0, 0, 0, 255 ) cWhite = tocolor( 255, 255, 255, 255 ) Link to comment
Julian09123 Posted February 15, 2013 Author Share Posted February 15, 2013 Sigue diciendo lo mismo en la console y no aparece Te muestro mi meta <meta> <info author="Julian" type="script" name="scoreboard" /> <script src="dxscoreboard_client.lua" type="server"/> <script src="dxscoreboard_clientsettings.lua" type="server"/> <script src="dxscoreboard_rt.lua" type="client"/> <script src="dxscoreboard_shared.lua" type="client"/> <script src="colorpicker/colorpicker.lua" type="server"/> <file src="colorpicker/alpha.png" /> <file src="colorpicker/palette.png" /> <file src="rt_blend.fx" /> <file src="settings.xml" /> <file src="arrow.png" /> <file src="f/ac.png" /> <file src="f/ad.png" /> <file src="f/ae.png" /> <file src="f/af.png" /> <file src="f/ag.png" /> <file src="f/ai.png" /> <file src="f/al.png" /> <file src="f/am.png" /> <file src="f/an.png" /> <file src="f/aq.png" /> <file src="f/ar.png" /> <file src="f/at.png" /> <file src="f/au.png" /> <file src="f/aw.png" /> <file src="f/ax.png" /> <file src="f/az.png" /> <file src="f/ba.png" /> <file src="f/bb.png" /> <file src="f/bd.png" /> <file src="f/be.png" /> <file src="f/bf.png" /> <file src="f/bg.png" /> <file src="f/bh.png" /> <file src="f/bi.png" /> <file src="f/bj.png" /> <file src="f/bm.png" /> <file src="f/bn.png" /> <file src="f/bo.png" /> <file src="f/br.png" /> <file src="f/bs.png" /> <file src="f/bt.png" /> <file src="f/bv.png" /> <file src="f/bw.png" /> <file src="f/by.png" /> <file src="f/bz.png" /> <file src="f/ca.png" /> <file src="f/cc.png" /> <file src="f/cd.png" /> <file src="f/cf.png" /> <file src="f/cg.png" /> <file src="f/ch.png" /> <file src="f/ci.png" /> <file src="f/ck.png" /> <file src="f/cl.png" /> <file src="f/cm.png" /> <file src="f/cn.png" /> <file src="f/co.png" /> <file src="f/cr.png" /> <file src="f/cs.png" /> <file src="f/cu.png" /> <file src="f/cv.png" /> <file src="f/cx.png" /> <file src="f/cy.png" /> <file src="f/cz.png" /> <file src="f/de.png" /> <file src="f/dj.png" /> <file src="f/dk.png" /> <file src="f/dm.png" /> <file src="f/do.png" /> <file src="f/dz.png" /> <file src="f/ec.png" /> <file src="f/ee.png" /> <file src="f/eg.png" /> <file src="f/eh.png" /> <file src="f/er.png" /> <file src="f/es.png" /> <file src="f/et.png" /> <file src="f/eu.png" /> <file src="f/fi.png" /> <file src="f/fo.png" /> <file src="f/fr.png" /> <file src="f/ga.png" /> <file src="f/gb.png" /> <file src="f/gd.png" /> <file src="f/gl.png" /> <file src="f/gm.png" /> <file src="f/gr.png" /> <file src="f/gw.png" /> <file src="f/gy.png" /> <file src="f/hr.png" /> <file src="f/hu.png" /> <file src="f/id.png" /> <file src="f/ie.png" /> <file src="f/il.png" /> <file src="f/in.png" /> <file src="f/iq.png" /> <file src="f/is.png" /> <file src="f/it.png" /> <file src="f/jm.png" /> <file src="f/jp.png" /> <file src="f/kw.png" /> <file src="f/kz.png" /> <file src="f/lr.png" /> <file src="f/lt.png" /> <file src="f/lu.png" /> <file src="f/lv.png" /> <file src="f/ly.png" /> <file src="f/ma.png" /> <file src="f/mc.png" /> <file src="f/md.png" /> <file src="f/mg.png" /> <file src="f/mh.png" /> <file src="f/mk.png" /> <file src="f/mt.png" /> <file src="f/mx.png" /> <file src="f/my.png" /> <file src="f/ng.png" /> <file src="f/nl.png" /> <file src="f/no.png" /> <file src="f/nr.png" /> <file src="f/pa.png" /> <file src="f/pe.png" /> <file src="f/ph.png" /> <file src="f/pk.png" /> <file src="f/pl.png" /> <file src="f/pr.png" /> <file src="f/ps.png" /> <file src="f/pt.png" /> <file src="f/qa.png" /> <file src="f/re.png" /> <file src="f/ro.png" /> <file src="f/rs.png" /> <file src="f/ru.png" /> <file src="f/rw.png" /> <file src="f/sa.png" /> <file src="f/se.png" /> <file src="f/si.png" /> <file src="f/sj.png" /> <file src="f/sk.png" /> <file src="f/sl.png" /> <file src="f/so.png" /> <file src="f/sy.png" /> <file src="f/td.png" /> <file src="f/tn.png" /> <file src="f/to.png" /> <file src="f/tr.png" /> <file src="f/tv.png" /> <file src="f/tw.png" /> <file src="f/ua.png" /> <file src="f/uk.png" /> <file src="f/um.png" /> <file src="f/un.png" /> <file src="f/us.png" /> <file src="f/uy.png" /> <file src="f/ve.png" /> <file src="f/vn.png" /> <file src="f/wf.png" /> <file src="f/ws.png" /> <file src="f/ye.png" /> <file src="f/yt.png" /> <file src="f/yu.png" /> <file src="f/za.png" /> </meta> Link to comment
Alexs Posted February 15, 2013 Share Posted February 15, 2013 ... LO TIENES EN EL LADO INCORRECTO MADRE MIAH! Ponle: y asegúrate de que los otros también estén en el lado correcto. Link to comment
Julian09123 Posted February 15, 2013 Author Share Posted February 15, 2013 ahora me dice. http://oi45.tinypic.com/ejuclx.jpg Meta: <script src="dxscoreboard_client.lua" type="client"/> <script src="dxscoreboard_clientsettings.lua" type="server"/> <script src="dxscoreboard_rt.lua" type="client"/> <script src="dxscoreboard_shared.lua" type="client"/> <script src="colorpicker/colorpicker.lua" type="server"/> Link to comment
Alexs Posted February 15, 2013 Share Posted February 15, 2013 (edited) Postea todo ese archivo y estas seguro de que el colorPicker es server side? (Podrías probar poniéndolo en client side) Edited February 15, 2013 by Guest Link to comment
JuanM27 Posted February 15, 2013 Share Posted February 15, 2013 ahora me dice.http://oi45.tinypic.com/ejuclx.jpg Meta: <script src="dxscoreboard_client.lua" type="client"/> <script src="dxscoreboard_clientsettings.lua" type="server"/> <script src="dxscoreboard_rt.lua" type="client"/> <script src="dxscoreboard_shared.lua" type="client"/> <script src="colorpicker/colorpicker.lua" type="server"/> este tambien ponelo en el lado cliente por Link to comment
Alexs Posted February 15, 2013 Share Posted February 15, 2013 Eso es del dxscoreboard normal, para que lo tengas en cuenta. Link to comment
Julian09123 Posted February 15, 2013 Author Share Posted February 15, 2013 Posteo el Resource. http://www.mediafire.com/?3i1ck0q4hpdjh Link to comment
FraN-724 Posted February 15, 2013 Share Posted February 15, 2013 Una pregunta, Editaste el Scoreboard como cambiándole el color, las font etc ? Link to comment
Julian09123 Posted February 15, 2013 Author Share Posted February 15, 2013 No solo le queria agregar las banderitas para ubircar de donde eran de que pais pero nose que pasa. Link to comment
FraN-724 Posted February 15, 2013 Share Posted February 15, 2013 Para eso se te hubiese sido más fácil crear el script aparte y ponerle un export al scoreboard. Link to comment
Julian09123 Posted February 15, 2013 Author Share Posted February 15, 2013 y como seria eso?.. Link to comment
FraN-724 Posted February 15, 2013 Share Posted February 15, 2013 Para el export es exports [ 'scoreboard' ]:addScoreboardColumn ( 'Pais' ) Link to comment
Recommended Posts