Ir para conteúdo

fezeRa

Membro
  • Registro em

  • Última visita

Tudo que fezeRa postou

  1. Testa esse script: local function doRemoveField(cid, pos) local field = getTileItemByType(pos, ITEM_TYPE_MAGICFIELD) if(field.itemid ~=0) then doRemoveItem(field.uid) doSendMagicEffect(pos, CONST_ME_POFF) return true end doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return false end function onCastSpell(cid, var) local pos = variantToPosition(var) if(pos.x == CONTAINER_POSITION) then pos = getThingPos(cid) end if(pos.x ~= 0 and pos.y ~= 0) then return doRemoveField(cid, pos) end doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return false end Com essa tag: <rune name="Destroy Field" id="2261" allowfaruse="1" charges="3" lvl="17" maglv="3" exhaustion="1000" aggressive="0" range="5" event="script" value="support/destroy field rune.lua"/>
  2. fezeRa postou uma resposta no tópico em Playground (Off-topic)
    UIASHUISHAISHAISHASHAS carai deu nem tempo do mlk pensa em joga e ja perdeu
  3. Poste o script da sua runa e a tag no spells.xml
  4. Poderia explicar melhor no topico sobre esse evento né? O que é, como é, como starta, recompensa, essas coisas, muita gente não consegue olhar pro script e ver isso! Obrigado.
  5. Posta o script inteiro amigo, voce tirou as tags iniciais e finais, precisamos saber onde é a linha 15 exatamente...
  6. Eu sei que nesse site tem como transformar os acentos e simbolos, mas queria q fosse de uma forma automatica, porem já descobri, nem precisei add tag nem nada, é so codificar o proprio arquivo para utf-8 ou qual linguagem queria =)
  7. fezeRa postou uma resposta no tópico em Suporte Tibia OTServer
    Acho que seria fazer 1 tabela com 2 tabelas dentro, 1 pra quests outra pra skills, porem, sou leigo em tabelas.. e ainda mais colocar funções dentro
  8. fezeRa postou uma resposta no tópico em Suporte Tibia OTServer
    Can help me? '-' Coloquei os 2 .css que utilizo.. basic.css #ArtworkHelper { text-align: center; background-position: top center; background-attachment: scroll; background-repeat: no-repeat; width: 100%; height: 100%; min-width: 1000px; } /* container to implement min/max width */ #Bodycontainer { text-align: left; min-width: 1000px; max-width: 1200px; width: 100%; height: 100%; margin: 0px; margin-left: auto; margin-right: auto; padding: 0px; display: table; } #ContentRow { position: relative; top: 155px; } /* "star-HTML-hack" to correct the position of the content row */ * html #ContentRow { display: inline-block; } #MenuColumn { position: absolute; left: 0px; top: 0px; width: 180px; margin-right: 15px; margin-left: 15px; padding: 0px; font-family: Arial, sans-serif; font-size: 10pt; font-weight: bold; line-height: 12pt; } #ContentColumn { position: relative; margin: 0px; margin-left: 205px; margin-right: 205px; } #ThemeboxesColumn { text-align: center; position: absolute; top: 0px; right: 0px; width: 180px; margin: 0px; margin-right: 15px; margin-left: 25px; } #Footer { font-family: Verdana, Arial, Times New Roman, sans-serif; font-size: 7pt; font-weight: normal; text-align: center; position: relative; width: 100%; padding-bottom: 20px; color: white; } * html #Footer { padding-bottom: 120px; margin-bottom: 50px; } /* Footer linkes */ #Footer a:link { color: white; text-decoration: none; } #Footer a:visited { color: white; text-decoration: none; } #Footer a:focus { color: white; text-decoration: none; } #Footer a:active { color: white; text-decoration: underline; } #Footer a:hover { color: white; text-decoration: underline; } /** ------------------------------- * Stylesheet declarations for the * HEADER AREA * ------------------------------- */ #LeftArtwork { position: absolute; height: 140px; width: 166px; top: -140px; left: 4px; background-repeat: no-repeat; z-index:5; } #LeftArtwork #TibiaLogoArtworkTop { position: absolute; top: 20px; left: 0px; height: 82px; width: 166px; z-index: 5; cursor: pointer; } #LeftArtwork #TibiaLogoArtworkBottom { position: absolute; top: 102px; left: 0px; height: 43px; width: 166px; z-index: 5; } #LeftArtwork #Statue_1{ position: absolute; top: 0px; left: 5px; height: 30px; width: 32px; z-index:10; } #LeftArtwork #Statue_2 { position: absolute; top: 0px; right: 25px; height: 30px; width: 32px; z-index:10; } #LeftArtwork #LogoLink { position: absolute; bottom: 14px; left: 58px; height: 14px; width: 50px; z-index: 99; cursor: pointer; } #RightArtwork { text-align: left; position: absolute; top: -1px; right: 24px; width: 132px; background-repeat: no-repeat; z-index: 90; } #RightArtwork #Monster { position: absolute; height: 80px; width: 80px; top: -137px; left: 8px; z-index: 15; cursor: pointer; } #PedestalAndOnline { position: absolute; top: -105px; width: 132px; height: 111px; } #RightArtwork #PlayersOnline { font-family : Verdana, Arial, Times New Roman, sans-serif; font-size: 7pt; line-height: 8pt; text-align: center; position: absolute; width: 92px; bottom: 11px; left: 21px; color: #cfa600; border-bottom: 1px solid #010101; cursor: pointer; } /** ------------------------------- * Stylesheet declarations for the * LOGINBOX * ------------------------------- */ #Loginbox { position: relative; left: 5px; top: 8px; width: 100%; margin-bottom: 42px; background-repeat: no-repeat; } #Loginbox #LoginTop { position: absolute; left: -5px; top: -12px; height: 12px; width: 180px; background-repeat: no-repeat; } #Loginbox #LoginBottom { position: absolute; top: 52px; left: -5px; height: 12px; width: 180px; background-repeat: no-repeat; } #Loginbox .LoginBorder { position: absolute; top: 0px; height: 52px; width: 8px; background-repeat: repeat-y; z-index: 10; } #Loginbox #BorderRight { right: 9px; } #Loginbox .Loginstatus { position: relative; top: 0px; left: 5px; height: 13px; width: 160px; } #Loginbox .LoginstatusText { position: absolute; top: 1px; left: 18px; width: 124px; height: 11px; cursor: pointer; } #Loginbox #LoginstatusText_1 { top: 2px; cursor: default; } #Loginbox #LoginstatusText_2_1 { visibility: visible; } #Loginbox #LoginstatusText_2_2 { visibility: hidden; } #LoginBox #LoginButtonContainer { margin-left: 5px; height: 26px; width: 160px; background-repeat: repeat-y; } #Loginbox #LoginButton { position: relative; top: 1px; left: 12px; height: 25px; width: 135px; } #Loginbox #LoginButton .Button { position: relative; top: 0px; left: 0px; width: 135px; height: 25px; visibility: hidden; } #Loginbox #LoginButton #ButtonText { position: absolute; top: 0px; left: 0px; height: 22px; width: 135px; z-index: 15; cursor: pointer; } /** ------------------------------- * Stylesheet declarations for the * MENU * ------------------------------- */ #Menu { position: relative; left: 5px; background-repeat: no-repeat; } #MenuTop { position: absolute; left: -5px; top: -12px; height: 12px; width: 180px; background-repeat: no-repeat; } #MenuBottom { position: relative; left: -5px; bottom: 0px; height: 12px; width: 180px; background-repeat: no-repeat; } /* Menuitems */ .MenuButton { position: relative; height: 32px; width: 170px; display: block; cursor: pointer; } .Button { position: relative; height: 32px; width: 170px; visibility: hidden; display: block; } .Extend { position: absolute; top: 20px; right: -2px; height: 12px; width: 12px; background-repeat: no-repeat; } .Lights { visibility: hidden; } .Light_lu { position: absolute; top: 2px; left: 3px; height: 2px; width: 2px; background-repeat: no-repeat; } .Light_ru { position: absolute; top: 2px; right: 3px; height: 2px; width: 2px; background-repeat: no-repeat; } .Light_ld { position: absolute; height: 2px; width: 2px; top: 28px; left: 3px; } .Icon { position: absolute; height: 32px; width: 32px; top: 0px; left: 8px; } .Label { position: absolute; height: 22px; width: 116px; top: 6px; left: 42px; } /* Submenus(items) */ .LeftChain { position: absolute; top: 0px; left: -5px; height: 33px; width: 7px; background-repeat: repeat-y; } .RightChain { position: absolute; top: 0px; right: -4px; height: 33px; width: 7px; background-repeat: repeat-y; } .Submenu { position: relative; margin-left: 5px; margin-right: 5px; background-color: #0D2E2B; width: 160px; } .Submenuitem { position: relative; margin: 0px; padding: 0px; } .ActiveSubmenuItemIcon { position: absolute; top: 5px; left: 3px; width: 10px; height: 10px; background-repeat: no-repeat; visibility: hidden; } .SubmenuitemLabel { margin: 0px; border-top: 0; padding-top: 2px; padding-bottom: 2px; padding-left: 15px; border-bottom: 1px solid #4b7874; overflow: hidden; } /* Submenu links */ .Submenu a:link { color: #d7d7d7; text-decoration: none; } .Submenu a:visited { color: #d7d7d7; text-decoration: none; } .Submenu a:focus { color: #d7d7d7; text-decoration: none; } .Submenu a:active { color: white; text-decoration: none; } .Submenu a:hover { color: white; text-decoration: none; } /** ------------------------------- * Stylesheet declarations for the * CONTENT AREA * ------------------------------- */ .Content .BoxContent { padding: 20px; } /* "tanhack" for correction of IE bug */ * html .Content { top: -5px; } .Content { position: relative; top: 0px; width: 100%; } /* "star-HTML-hack" to correct the position of the content area */ * html .Content { position: relative; top: 796px; margin: 20px; border: 0px dashed #061222; border-right-width: 550px; } #ContentHelper { position: relative; } /* "star-HTML-hack" to to implement min-width in IE */ * html #ContentHelper { display: inline-block; position: relative; top: -800px; margin: -20px; margin-right: -570px; } .Content .Box { font-size: 0pt; position: relative; margin: 5px; margin-bottom: 18px; color: #5A2800; border-left: 2px solid #3a3738; border-right: 2px solid #3a3738; background-color: #debb9d; background-repeat: no-repeat; overflow: visible; } .Content .BoxContent { font-family: Verdana, Arial, Times New Roman, sans-serif; font-size: 9pt; background-color: #FFF2db; color: #5A2800; min-height: 395px; height: auto !important; height: 415px; } /* "star-HTML-hack" to correct Box width in IE */ * html .Content .Box { width: 100%; } /* "star-HTML-hack" to correct BoxContent width in IE */ * html .Content .BoxContent { width: 100%; } .Content th { font-family: Verdana, Arial, Times New Roman, sans-serif; font-size: 10pt; font-weight: bold; text-align: left; color: white; background-color: #505050; } .Content .BoxContent td { font-family: Verdana, Arial, Times New Roman, sans-serif; font-size: 10pt; color: #5A2800; } /* Content Links */ .Content a { font-family: Verdana, Arial, Times New Roman, sans-serif; font-weight: bold; color: #004294; text-decoration: none; } .Content a:hover { font-family: Verdana, Arial, Times New Roman, sans-serif; font-weight: bold; text-decoration: underline; color: #0063DC; } .Content .HelpLink { font-size: 7pt; cursor: pointer; } /* Corners */ .Content .Corner-tl { position: absolute; top: -4px; left: -5px; width: 17px; height: 17px; z-index: 50; } .Content .Corner-tr { position: absolute; top: -4px; right: -5px; width: 17px; height: 17px; z-index: 50; } .Content .BottomCornersHelper { position: absolute; width: 100%; } .Content .CornerWrapper-b { position: absolute; width:100%; } .Content .Corner-bl { position: absolute; bottom: -4px; left: -6px; width: 17px; height: 17px; z-index: 50; } .Content .Corner-br { position: absolute; bottom: -4px; right: -6px; width: 17px; height: 17px; z-index: 50; } /* Borders */ .Content .Border_1 { position: relative; height: 6px; width: 100%; background-repeat: repeat-x; } .Content .BorderTitleText { position: relative; height: 24px; background-repeat: repeat-x; } .Content .Title { position: absolute; top: 6px; left: 5px; } .Content .Border_2 { margin: 4px; padding: 0px; background-color: #793d03; } .Content .Border_3 { margin: 1px; border-top: 1px solid #793d03; border-bottom: 1px solid #793d03; } /** ------------------------------- * Stylesheet declarations for the * THEMEBOXES of the Tibia * website * ------------------------------- */ .Themebox { position: relative; margin-bottom: 10px; top: -4px; width: 180px; height: 154px; } #Themeboxes div { font-size: 10pt; background-repeat: no-repeat; } #Themeboxes .ThemeboxButton { position: absolute; bottom: 20px; left: 22px; height: 25px; width: 137px; cursor: pointer; } #Themeboxes .Bottom { position: absolute; bottom: 0px; left: 0px; height: 12px; width: 180px; } /* "star-HTML-hack" to correct the position of the bottom element */ * html #Themeboxes .Bottom { bottom: -3px; } #Themeboxes #PremiumBox { height: 164px; } #Themeboxes #ScreenshotBox #ScreenshotContent { position: relative; height: 111px; width: 170px; top: 31px; left: 0px; margin-left: 5px; margin-right: 5px; border: 0; cursor: pointer; } #Themeboxes #CurrentPollBox #CurrentPollText { font-family: Verdana, Arial, sans-serif; font-weight: bold; line-height: 11pt; color: #5A2800; position: absolute; height: 70px; width: 150px; top: 37px; left: 15px; padding-top: 5px; overflow: hidden; } #Themeboxes #SkyscraperBanner { border: 0; } /** ------------------------------- * OLD Stylesheet declarations for * the CONTENT AREA * ------------------------------- */ .Content .BoxContent td .white { color: #EFEFEF; visibility: visible; } .Content .BoxContent td .whites { color: #EFEFEF; visibility: visible; font-size: 9pt; } .Content .BoxContent .white { color : #EFEFEF; visibility : visible; } .Content .BoxContent td .green { color : #00BF00; } .Content .BoxContent td .yellow { color : #FFBB05; } .Content .BoxContent td .red { color : #EF0000; } .Content .BoxContent td .grey { color : #808080; } /** ------------------------------- * OLD Stylesheet declarations for * the CONTENT AREA (forum) * ------------------------------- */ .Content .BoxContent .ff_info { font-family : Verdana, Arial, Times New Roman, sans-serif; font-size : 10pt; color : #5A2800; visibility : visible; } .Content .ff_white a { color: #FFFFFF; } .Content .BoxContent .ff_white { font-family : Verdana, Arial, Times New Roman, sans-serif; color : #EFEFEF; visibility : visible; font-size : 7pt; font-weight: bold; } .Content .BoxContent .ff_red { font-family : Verdana, Arial, Times New Roman, sans-serif; color : #EF0000; visibility : visible; font-size : 8pt; font-weight: bold; } .Content .BoxContent .ff_whitelarge { font-family : Verdana, Arial, Times New Roman, sans-serif; color : #EFEFEF; visibility : visible; font-size : 9pt; font-weight: bold; } .Content .BoxContent .ff_info { font-family : Verdana, Arial, Times New Roman, sans-serif; font-size : 8pt; color : #5A2800; visibility : visible; } .Content .BoxContent .ff_infotext { font-family : Verdana, Arial, Times New Roman, sans-serif; font-size : 8pt; color : #5A2800; visibility : visible; line-height: 12pt; } .Content .BoxContent .ff_smallinfo { font-family : Verdana, Arial, Times New Roman, sans-serif; font-size : 7pt; color : #5A2800; visibility : visible; } .Content .BoxContent .ff_large { font-family : Verdana, Arial, Times New Roman, sans-serif; font-size : 12pt; color : #5A2800; visibility : visible; } .Content .BoxContent .ff_pagetext { font-family : Verdana, Arial, Times New Roman, sans-serif; font-size : 9pt; color : #5A2800; visibility : visible; line-height: 13pt; } .Content .BoxContent .ff_pagetextgrey { font-family : Verdana, Arial, Times New Roman, sans-serif; font-size : 9pt; color : #505050; visibility : visible; line-height: 13pt; } .Content .BoxContent .ff_pagetextred { font-family : Verdana, Arial, Times New Roman, sans-serif; font-size : 9pt; color : #F00; visibility : visible; line-height: 13pt; } .Content .BoxContent .ff_correct { font-family : Verdana, Arial, Times New Roman, sans-serif; font-size : 11pt; color : #FF0000; visibility : visible; font-weight: bold; } /** -------------------------------------- * ### not final versions for tests * ### concerning the new payment process * -------------------------------------- */ /* new error handling concept tests */ .FormFieldError { font-size: 8pt; color: red; } .SmallBox { position: relative; font-size: 1px; } .SmallBox .ErrorMessage { font-size: 8pt; position: relative; color: red; height: 100%; background-color: #d4c0a1; padding: 5px; padding-left: 43px; } .SmallBox .Message { font-size: 10pt; position: relative; height: 100%; background-color: #d4c0a1; padding: 10px; } .SmallBox .ErrorMessage ul { padding-left: 15px; } .SmallBox .BoxFrameHorizontal { position: relative; height: 4px; } .SmallBox .BoxFrameVerticalRight { position: absolute; right: 0px; top: 0px; width: 3px; background-repeat: repeat-y; height: 100%; } .SmallBox .BoxFrameVerticalLeft { position: absolute; left: 0px; top: 0px; width: 3px; background-repeat: repeat-y; height: 100%; } .SmallBox .MessageContainer { position: relative; height: 100%; } .SmallBox .BoxFrameEdgeLeftTop { position: absolute; left: -1px; top: -1px; width: 5px; height: 5px; } .SmallBox .BoxFrameEdgeLeftBottom { position: absolute; left: -1px; bottom: -1px; width: 5px; height: 5px; } .SmallBox .BoxFrameEdgeRightTop { position: absolute; right: -1px; top: -1px; width: 5px; height: 5px; } .SmallBox .BoxFrameEdgeRightBottom { position: absolute; right: -1px; bottom: -1px; width: 5px; height: 5px; } .SmallBox .AttentionSign { position: absolute; top: 3px; left: 8px; width: 30px; height: 26px; } /** --------------------------------- * ### not finished versions for the * ### payment process PROGRESS BAR * --------------------------------- */ #ProgressBar #Headline { text-align: center; font-size: 12pt; font-weight: bold; margin-bottom: 5px; } #ProgressBar #MainContainer { position: relative; top: 10px; height: 50px; margin-bottom: 25px; } #ProgressBar #BackgroundContainer { position: relative; width: 100%; } #ProgressBar #BackgroundContainerLeftEnd { position: absolute; float: left; } #ProgressBar #BackgroundContainerCenter { position: absolute; left: 0px; top: 0px; height: 17px; width: 100%; } #ProgressBar #BackgroundContainerCenterImage { position: relative; margin-left: 25px; margin-right: 25px; height: 17px; } #ProgressBar #BackgroundContainerRightEnd { position: absolute; right: 0px; top: 0px; float: right; } #ProgressBar #TubeLeftEnd { position: absolute; left: 25px; top: 4px; } #ProgressBar #TubeRightEnd { position: absolute; right: 25px; top: 4px; z-index: 0; } #ProgressBar .Steps { position: relative; height: 39px; font-size: 9px; float: left; top: -11px; ; } #ProgressBar #StepsContainer1 { text-align: right; margin-left: 92px; margin-right: 40px; height: 10px; } #ProgressBar #StepsContainer2 { width: 100%; height: 10px; } #ProgressBar .TubeContainer { position: relative; padding-right: 47px; } #ProgressBar .Tube { position: relative; top: 16px; left: 0px; width: 100%; height: 7px; background: #FFFFFF none repeat scroll 0%; } * html #ProgressBar .Tube { top: 13px; } #ProgressBar .SingleStepContainer { position: absolute; top: 0px; width: 47px; height: 30px; right: 0px; text-align: center; } #ProgressBar #FirstStep .SingleStepContainer { left: 45px; width: 47px; position: absolute; } #ProgressBar .StepIcon { position: absolute; right: 0px; } * html #ProgressBar .StepIcon { right: -1px; } #ProgressBar #FirstStep .StepIcon { top: 0px; left: 0px; } #ProgressBar .StepText { top: 40px; position: absolute; width: 200px; right: -77px; } /** ------------------------------- * Stylesheet declarations for the * NEW TABLES * ------------------------------- */ .TableContainer { border: 1px solid black; position: relative; width: 100%; } .TableContainer .Odd { background-color: #f1e0c6; } .TableContainer .Even { background-color: #d5c0a1; } /* TABLEHEADER DECORATION */ .TableContainer .CaptionContainer { position: relative; background-color: #5f4d41 !important; height: 100%; width: 100%; text-align: left; } .TableContainer .CaptionContainer .CaptionInnerContainer { position: relative; background-color: #5f4d41; width: 100%; height: 100%; padding-top: 3px; padding-bottom: 4px; } .TableContainer .CaptionContainer .Text { font-family: Verdana, Arial, Times New Roman, sans-serif; font-weight: bold; text-align: left; color: white; padding-left: 10px; padding-top: 0px; padding-bottom: 0px; } .TableContainer .CaptionContainer .CaptionEdgeLeftTop { position: absolute; width: 5px; height: 5px; top: -2px; left: -2px; z-index: 50; } .TableContainer .CaptionContainer .CaptionEdgeRightTop { position: absolute; width: 5px; height: 5px; top: -2px; right: -2px; z-index: 50; } .TableContainer .CaptionContainer .CaptionEdgeLeftBottom { position: absolute; width: 5px; height: 5px; left: -2px; bottom: -3px; z-index: 50; } .TableContainer .CaptionContainer .CaptionEdgeRightBottom { position: absolute; width: 5px; height: 5px; right: -2px; bottom: -3px; z-index: 50; } .TableContainer .CaptionContainer .CaptionBorderTop { position: absolute; width: 100%; height: 4px; left: 0px; top: -1px; } .TableContainer .CaptionContainer .CaptionBorderBottom { position: absolute; width: 100%; height: 4px; left: 0px; bottom: -2px; } .TableContainer .CaptionContainer .CaptionVerticalLeft { position: absolute; height: 100%; width: 3px; left: -1px; top: 0px; } .TableContainer .CaptionContainer .CaptionVerticalRight { position: absolute; height: 100%; width: 3px; right: -1px; top: 0px; } * html .TableContainer .CaptionContainer .CaptionEdgeRightTop { right: -3px; } * html .TableContainer .CaptionContainer .CaptionEdgeLeftBottom { bottom: -4px; } * html .TableContainer .CaptionContainer .CaptionEdgeRightBottom { right: -3px; bottom: -4px; } * html .TableContainer .CaptionContainer .CaptionBorderBottom { bottom: -3; } * html .TableContainer .CaptionContainer .CaptionVerticalRight { right: -2px; } /* TABLE CONTENT */ .TableContentContainer { border: 1px solid #5F4D41; position: relative; margin-right: 4px; height: 100%; background-color: #d4c0a1; padding: 0px; } .TableContent { width: 100%; border-collapse: collapse; } .TableContent td { padding-left: 5px; padding-top: 2px; padding-right: 5px; padding-bottom: 2px; } /* INNERLYOUT 1 */ .TableContainer .Table1 { width: 100%; background-color: #d4c0a1; border: 2px solid #55636c; } .TableContainer .Table1 .InnerTableContainer { padding: 5px; } /* INNERLYOUT 2 */ .TableContainer .Table2 { width: 100%; border: 2px solid #55636c; background-color: #f1e0c5; padding: 0px; margin: 0px; border-collapse: collapse; } .TableContainer .Table2 td { padding: 0px; margin: 0px; } .TableContainer .Table2 .InnerTableContainer { margin-top: 1px; } .TableContainer .Table2 .InnerTableContainer table { border-collapse: collapse; } .TableContainer .Table2 .InnerTableContainer td { padding-top: 2px; padding-left: 5px; padding-bottom: 2px; padding-right: 5px; border: 1px solid #faf0d7; } /* INNERLYOUT 3 */ .TableContainer .Table3 { width: 100%; border: 2px solid #55636c; background-color: #f1e0c5; } .TableContainer .Table3 .InnerTableContainer { width: 100%; position: relative; margin-top: 5px; margin-left: 3px; } .TableContainer .Table3 .TableContentAndRightShadow td { border: 1px solid #faf0d7; } /* INNERLYOUT 4 */ .TableContainer .Table4 { width: 100%; border: 2px solid #55636c; background-color: #f1e0c5; } .TableContainer .Table4 .InnerTableContainer { width: 100%; position: relative; margin-top: 3px; } .TableContainer .Table4 .TableContentAndRightShadow .TableContent td { padding-left: 4px; padding-top: 2px; padding-bottom: 2px; } /* INNERLYOUT 5 */ .TableContainer .Table5 { width: 100%; border: 2px solid #55636c; background-color: #f1e0c5; } .TableContainer .Table5 .InnerTableContainer { width: 100%; position: relative; margin-top: 5px; margin-left: 3px; } .TableContainer .Table5 .TableContentAndRightShadow .TableContent td { padding-left: 4px; padding-top: 2px; padding-bottom: 2px; } /* SHADOWS */ .TableShadowContainerRightTop { position: relative; top: 0px; right: 3px; margin-right: 0px; float: right; z-index: 99; } .TableShadowRightTop { position: absolute; top: 0px; right: 0px; width: 4px; height: 5px; z-index: 99; } .TableContentAndRightShadow { position: relative; background-repeat: repeat-y; background-position: top right; margin-right: 3px; } .TableShadowContainer { position: relative; widht: 100%; margin-right: 5px; } .TableBottomShadow { position: relative; height: 5px; width: 100%; padding: 0px; margin: 0px; } .TableBottomLeftShadow { position: relative; height: 5px; width: 4px; float: left; padding: 0px; margin: 0px; } .TableBottomRightShadow { position: relative; float: right; right: -2px; top: 0px; height: 5px; width: 4px; } /* LABELS */ .LabelV { font-weight: bold; padding-right: 10px; white-space: nowrap; vertical-align: top; } .LabelH { font-weight: bold; padding-right: 10px; white-space: nowrap; background-color: #d5c0a1; } .LabelH td { background-color: #d5c0a1; padding-left: 5px; padding-top: 2px; padding-right: 5px; padding-bottom: 2px; } /* BUTTONS */ .InnerTableButtonRow { width: 100%; padding-left: 1px; padding-right: 0px; padding-bottom: 4px; border: 0px; } .InnerTableButtonRow td { padding-right: 4px; } .BigButton { position: relative; width: 135px; height: 25px; z-index: 10; } .BigButtonOver { position: absolute; top: 0px; left: 0px; width: 137px; height: 25px; visibility: hidden; z-index: 15; } .ButtonText { position: absolute; top: 0px; left: 0px; height: 25px; width: 135px; z-index: 20; } .TopButtonContainer { position: relative; right: 4px; top: 4px; z-index: 60; } * html .TopButtonContainer { right: 27px; } .TopButtonContainer .TopButton { position: absolute; right: 0px; z-index: 55; } .Content .BoxContent .Odd { background-color: #D4C0A1; padding: 2px; } .Content .BoxContent .Even { background-color: #F1E0C6; padding: 2px; } .Content .NewsCategoryIconSmall { position: absolute; top: 1px; left: 1px; height: 16px; width: 16px; background-repeat: no-repeat; } .Content .BoxContent .Odd { background-color: #D4C0A1; padding: 2px; } .Content .BoxContent .Even { background-color: #F1E0C6; padding: 2px; } .Content .NewsCategoryIconSmall { position: absolute; top: 1px; left: 1px; height: 16px; width: 16px; background-repeat: no-repeat; } .Content .BoxContent .Odd { background-color: #D4C0A1; padding: 2px; } .Content .BoxContent .Even { background-color: #F1E0C6; padding: 2px; } .Content .NewsCategoryIconSmall { position: absolute; top: 1px; left: 1px; height: 16px; width: 16px; background-repeat: no-repeat; } /* News Ticker */ .Content #NewsTicker .BoxContent { padding: 5px; min-height: 90px; height: auto !important; height: 100px; } .Content #NewsTicker .BoxContent .Row { position: relative; width: 100%; } .Content #NewsTicker .NewsTickerIcon { position: absolute; top: 1px; left: 1px; height: 16px; width: 16px; background-repeat: no-repeat; } .Content #NewsTicker .NewsTickerText { position: relative; margin-left: 20px; } .Content #NewsTicker .NewsTickerDate { position: absolute; top: 0px; float: left; } .Content #NewsTicker .NewsTickerShortText { margin-left: 85px; height: 14px; } .Content #NewsTicker .NewsTickerFullText { margin-left: 85px; margin-right: 20px; display: none; } .Content #NewsTicker .NewsTickerExtend { position: relative; right: 0px; top: 1px; right: 1px; height: 12px; width: 12px; background-repeat: no-repeat; float: right; cursor: pointer; z-index: 10; } /* Featured Article */ .Content #FeaturedArticle .BoxContent { position:relative; height: 100px; padding: 5px; padding-left: 10px; min-height: 100px; height: auto !important; height: 110px; line-height: 10.5pt; } .Content #FeaturedArticle #TeaserThumbnail { position: relative; top: 0px; right: 0px; height: 100px; width: 150px; margin-left: 10px; background-color: black; z-index: 90; float: right; } #ContentHelper #FeaturedArticle:first-child .BoxContent { padding: 10px; } .Content #FeaturedArticle #TeaserText { height: 100px; overflow: hidden; z-index: 0; } .Content #FeaturedArticle #Link { position: absolute; top: 0px; right: 0px; margin: 89 165 0 0; z-index: 99; } .Content #FeaturedArticle .NewsHeadlineBackground { position: relative; height: 28px; margin-bottom: 5px; background-repeat: repeat-x; border-left: 1px solid #000000; border-right: 1px solid #000000; } .Content #FeaturedArticle .NewsHeadlineIcon { position: absolute; top: -1px; left: 0px; margin-left: 5px; margin-right: 5px; float:left; } .Content #FeaturedArticle .NewsHeadlineDate { position: absolute; top: 9px; left: 50px; width: 85px; color: white; } .Content #FeaturedArticle .NewsHeadlineText { position: relative; top: 8px; left: 135px; font-weight: bold; color: white; } /* News */ .Content #News .BoxContent { min-height: 100px; height: auto !important; height: 110px; } .Content #News .NewsHeadlineBackground { position: relative; height: 28px; margin-bottom: 5px; background-repeat: repeat-x; border-left: 1px solid #000000; border-right: 1px solid #000000; } .Content #News .NewsHeadlineIcon { position: absolute; top: -1px; left: 0px; margin-left: 5px; margin-right: 5px; } .Content #News .NewsHeadlineDate { position: absolute; top: 10px; left: 50px; width: 85px; color: white; } .Content #News .NewsHeadlineText { position: relative; top: 7px; left: 135px; font-weight: bold; color: white; } /* News Archive */ .Content #NewsArchive .NewsHeadlineBackground { position: relative; height: 28px; margin-bottom: 50px; background-repeat: repeat-x; border-left: 1px solid #000000; border-right: 1px solid #000000; } .Content #NewsArchive .NewsHeadlineIcon { position: absolute; top: -1px; left: 0px; margin-left: 5px; margin-right: 5px; } .Content #NewsArchive .NewsHeadlineDate { position: absolute; top: 9px; left: 50px; width: 85px; color: white; } .Content #NewsArchive .NewsHeadlineText { position: relative; top: 7px; left: 135px; font-weight: bold; color: white; } default.css @charset "utf-8"; /* Elemental Layout Coded By Bufo Designed By Squidy (c) No rights reserved. */ /* General CSS Settings */ * {margin:0; padding:0;} a {color:#b26400;} a img {border:0;} a:active {outline:none;} a:focus {outline:none; -moz-outline-style:none;} a:hover {color:white; text-decoration:none;} object {outline:none; -moz-outline-style:none;} p {margin:1.8em 0;} p.lead {margin-top:0;} em em {font-style:normal;} .relative {position:relative;} .left {float:left;} .right {float:right;}1 /* Page show */ html {} body { background: #000000 url('../_img/background/background.jpg') top center no-repeat; -webkit-background-size: cover; -moz-background-size: cover; o-background-size: cover; background-size: cover; font-size: 11px; color: #524b3a; font-family: 'Arial', Trebuchet MS, Helvetica, Tahoma, sans-serif; padding: 0px; margin: 0px; text-shadow: 0.5px 0px #000; } #page { margin: auto; width: 990px; margin-top: -32px; } #top_bar { background: url('../_img/bar/top_bar.png') top center repeat-x; margin: auto; height: 48px; } #logo-box { margin: auto; width: 1000px; height: 300px; } #fotter { background: url(../_img/content/bottom_frame.png) no-repeat; width: 591px; height: 100px; color: #fff; padding-top: 10px; font-weight: bold; text-align: center; text-shadow: 1px 1px #000; } #online { background: url('../_img/status/online.png') center no-repeat; margin: auto; height: 100%; width: 100%; } #offline { background: url('../_img/status/offline.png') center no-repeat; margin: auto; height: 100%; width: 100%; } #bottom_bar { background: url('../_img/bar/bottom_bar.png') top center repeat-x; margin: auto; height: 74px; } #title { color: #f9aa72; padding-top: 15px; font-weight: bold; text-align: center; text-shadow: 1px 1px #000; } #status_box { color: #dbbd6e; background: url('../_img/content/status_box.png') top center no-repeat; margin: auto; height: 233px; width: 580px; } /*=================*/ /*Content Container*/ /*=================*/ #cnt-box { width: 1000px; float: left; } #cnt-container { width: 1000px; margin: auto; } #cnt-left { width: 200px; float: left; } /*=========*/ /* Content */ /*=========*/ #content-cnt { width: 591px; float: left; } #content-bg { background: url(../_img/content/content.png) repeat-y; min-height: 630px; } #content-text { width: 526px; margin: auto; } /*===================*/ /*Menu left Container*/ /*===================*/ ul { padding: 0px; margin: 0px; list-style: none; } #bg_menu { width: 200px; background: url(../_img/menu_left/background.png) repeat-y; float: left; } #menu { margin: 6px; font-size: 12px; font-weight: bold; text-align: justify; float: left; } #menu-top { width: 188px; height: 34px; background: url(../_img/menu_left/nav-top.png) no-repeat; color: #e79a20; font-size: 15px; text-align: center; padding-top: 7px; text-shadow: 2px 2px #000; } #menu-bottom { margin: -4px 0px 0px -2px; width: 205px; height: 49px; background: url(../_img/menu_left/nav-bottom.png) no-repeat; float: left; color: #CCCCCC; padding-left: 20px; padding-top: 15px; } #menu li { padding: 0px 0 4px 0px; display: block; width: 178px; background: url(../_img/menu_left/menu-li-bg.png) no-repeat bottom; } #menu .last { margin-bottom: 6px; } #menu li a { color: #CEA04B; padding: 5px 0px 0 20px; text-decoration: none; display: block; width: 100%; background: url(../_img/menu_left/menu-li-a-bg-hover.png) no-repeat 2px 2px; } #menu li a:hover { color: #DDD; text-decoration: none; display: block; width: 100%; background: url(../_img/menu_left/menu-li-a-bg.png) no-repeat 2px 2px; } /*====================*/ /*Menu Right Container*/ /*====================*/ #bg_menu2 { width: 200px; background: url(../_img/menu_right/background.png) repeat-y; float: left; } #menu2 { margin: 6px; font-size: 12px; font-weight: bold; text-align: justify; float: left; } #menu-top2 { width: 188px; height: 34px; background: url(../_img/menu_right/nav-top.png) no-repeat; color: #6ad3ff; font-size: 15px; text-align: center; padding-top: 7px; text-shadow: 2px 2px #000; } #menu-bottom2 { margin: -4px 0px 0px -2px; width: 205px; height: 49px; background: url(../_img/menu_right/nav-bottom.png) no-repeat; float: left; color: #CCCCCC; padding-left: 20px; padding-top: 15px; } #menu2 li { padding: 0px 0 4px 0px; display: block; width: 178px; background: url(../_img/menu_right/menu-li-bg.png) no-repeat bottom; } #menu2 .last { margin-bottom: 6px; } #menu2 li a { color: #288ba5; padding: 5px 0px 0 20px; text-decoration: none; display: block; width: 100%; background: url(../_img/menu_right/menu-li-a-bg-hover.png) no-repeat 2px 2px; } #menu2 li a:hover { color: #4adbff; text-decoration: none; display: block; width: 100%; background: url(../_img/menu_right/menu-li-a-bg.png) no-repeat 2px 2px; } input.acc { background: url(../_img/buttons/acc.png) no-repeat; width:176px; height:21px; color:white; margin-bottom:5px; border: 0px; } input.pass { background: url(../_img/buttons/pass.png) no-repeat; width:176px; height:21px; color:white; margin-bottom:5px; border: 0px; } input.login { background: url(../_img/buttons/login.png) no-repeat; width:71px; height:26px; color:white; margin-bottom:5px; border: 0px; } .white { color: #FFF; font-weight: bold; } .whites { color: #FFF; font-weight: bold; }
  9. fezeRa postou uma resposta no tópico em Suporte Tibia OTServer
    Queria fazer com que isso: http://prntscr.com/420aeh Ficasse assim: http://prntscr.com/420ahc Parte do skills e quests do meu characters.php: if($config['site']['show_skills_info']) { $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=1 WIDTH=100%>'; $main_content .= '<TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Skills</B></TD></TR>'; $main_content .= '<TR BGCOLOR="'.$config['site']['darkborder'].'"><TD width=75%>Magic:</TD><TD>'.$player->getMagLevel().'</TD></TR>'; $main_content .= '<TR BGCOLOR="'.$config['site']['lightborder'].'"><TD>Fisting:</TD><TD>'.$player->getSkill(0).'</TD></TR>'; $main_content .= '<TR BGCOLOR="'.$config['site']['darkborder'].'"><TD>Club:</TD><TD>'.$player->getSkill(1).'</TD></TR>'; $main_content .= '<TR BGCOLOR="'.$config['site']['lightborder'].'"><TD>Sword:</TD><TD>'.$player->getSkill(2).'</TD></TR>'; $main_content .= '<TR BGCOLOR="'.$config['site']['darkborder'].'"><TD>Axe:</TD><TD>'.$player->getSkill(3).'</TD></TR>'; $main_content .= '<TR BGCOLOR="'.$config['site']['lightborder'].'"><TD>Distance:</TD><TD>'.$player->getSkill(4).'</TD></TR>'; $main_content .= '<TR BGCOLOR="'.$config['site']['darkborder'].'"><TD>Shielding:</TD><TD>'.$player->getSkill(5).'</TD></TR>'; $main_content .= '<TR BGCOLOR="'.$config['site']['lightborder'].'"><TD>Fishing:</TD><TD>'.$player->getSkill(6).'</TD></TR>'; $main_content .= '</TABLE>'; } $main_content .= '</TABLE></td></tr></table><br />'; //quest status by ballack13 $id = $player->getCustomField("id"); $number_of_quests = 0; $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=1 WIDTH=70%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Quests</B></TD></TR>'; $quests = $config['site']['quests']; foreach ($quests as $storage => $name) { if(is_int($number_of_quests / 2)) $bgcolor = $config['site']['darkborder']; else $bgcolor = $config['site']['lightborder']; $number_of_quests++; $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD WIDTH=100%>'.$storage.'</TD>'; $quest = $SQL->query('SELECT * FROM player_storage WHERE player_id = '.$id.' AND `key` = '.$quests[$storage].';')->fetch(); if($quest == false) { $main_content .= '<TD><img src="images/false.png"/></TD></TR>'; } else { $main_content .= '<TD><img src="images/true.png"/></TD></TR>'; } } $main_content .= '</TABLE></td></tr></table><br />'; // end quest status http://prntscr.com/420aeh
  10. fezeRa postou uma resposta no tópico em Suporte Tibia OTServer
    Meu site numa tabela de top frag guilds tem essa tag: <ul> <? foreach($SQL->query('SELECT `g`.`id` AS `id`, `g`.`name` AS `name`, `g`.`logo_gfx_name` AS `logo`, COUNT(`g`.`name`) as `frags` FROM `killers` k LEFT JOIN `player_killers` pk ON `k`.`id` = `pk`.`kill_id` LEFT JOIN `players` p ON `pk`.`player_id` = `p`.`id` LEFT JOIN `guild_ranks` gr ON `p`.`rank_id` = `gr`.`id` LEFT JOIN `guilds` g ON `gr`.`guild_id` = `g`.`id` WHERE `k`.`unjustified` = 1 AND `k`.`final_hit` = 1 GROUP BY `name` ORDER BY `frags` DESC, `name` ASC LIMIT 0, 5;') as $guild) echo '<li><a href="?subtopic=guilds&action=show&guild=' . $guild['id'] . '">' . $guild['name'] . '&nbsp;&nbsp;&nbsp;(' . $guild['frags'] . ' kills)</a></li>'; ?> </ul> Porem no site, na tabela, fica um erro enorme, e não aparece as tops guilds... porq? erro: query('SELECT `g`.`id` AS `id`, `g`.`name` AS `name`, `g`.`logo_gfx_name` AS `logo`, COUNT(`g`.`name`) as `frags` FROM `killers` k LEFT JOIN `player_killers` pk ON `k`.`id` = `pk`.`kill_id` LEFT JOIN `players` p ON `pk`.`player_id` = `p`.`id` LEFT JOIN `guild_ranks` gr ON `p`.`rank_id` = `gr`.`id` LEFT JOIN `guilds` g ON `gr`.`guild_id` = `g`.`id` WHERE `k`.`unjustified` = 1 AND `k`.`final_hit` = 1 GROUP BY `name` ORDER BY `frags` DESC, `name` ASC LIMIT 0, 5;') as $guild) echo ' ' . $guild['name'] . ' (' . $guild['frags'] . ' kills) '; ?>
  11. Ele morre toda hora q tenta logar? Ele deve estar iniciando com life 0, de uma olhada na sua database
  12. Provavelmente se baixar um tfs 0.4 ja terá
  13. Baixe um distro 0.4, deve resolver esse problema e varios no futuro.
  14. Mude nas sources ou mude seu distro
  15. Realmente o refugia ta na mão duns babacas agora, só tem 5 players que ainda jogam aquilo e são os VIPS... mas esse sv ai é o atual dele? ou aquele editado pelo subwat zuadão?
  16. Porque tudo que eu escrevo no layout.php fica com problemas nos acentos? Eu sei que tem 1 tag que coloca no inicio que concerta, alguem sabe?
  17. Mas fera, a berserk potion e mastermind, não são potions como "health potion", "mana potion" que tem a opção "use with..." então elas não funcionam com qualquer script, ainda mais pra healar mana XD
  18. Não funfa com a berserk e mastermind =s
  19. Eu já postei isso aqui em outro topico, mas ninguem responde lá, então vou fazer denovo... Eu queria um sistema de task simples Ex: Hi, mission, yes Dai o player mata o X bicho em Y quantidade e recebe exp e um item! Porem aqueles sistemas de task que tem aqui no TK não da, pois eu quero fazer 1 npc por task, e não aquelas 50 task num NPC só. E eu ja testei o Simple Task 3.0, porem se eu coloco ele em 1 npc, e faço outro NPC usando outro sistema simple task 3.0 mesmo eu mudando tudo o nome das funções e etc, quando eu coloco esses 2 npcs, os 2 dão a mesma missao, ou seja, nao da pra fazer com mais de 1 npc, esse esta sendo o problema...
  20. fezeRa postou uma resposta no tópico em Suporte Tibia OTServer
    No caso da magia deve ser por causa do prem="1" tente usar "0"
  21. fezeRa postou uma resposta no tópico em Suporte Tibia OTServer
    bump.
  22. fezeRa postou uma resposta no tópico em Suporte Tibia OTServer
    Aqui esta local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_EARTHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 8) setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 6, 7, 8, 9) local area = createCombatArea(AREA_CROSS6X6) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end
  23. fezeRa postou uma resposta no tópico em Suporte & Pedidos
    Não acha que ficaria melhor colocar bordas nessas partes da montanha? Se não fica essa montanha reta meio fora da natureza..

Informação Importante

Confirmação de Termo