TWLan Forum
All in One v7.0 - Printable Version

+- TWLan Forum (https://twlan.org)
+-- Forum: Legacy (https://twlan.org/forumdisplay.php?fid=61)
+--- Forum: TWLan 1.x (DSLan) (https://twlan.org/forumdisplay.php?fid=62)
+---- Forum: Deutsche Community (https://twlan.org/forumdisplay.php?fid=65)
+----- Forum: Fragen & Probleme (https://twlan.org/forumdisplay.php?fid=7)
+----- Thread: All in One v7.0 (/showthread.php?tid=4112)

Pages: 1 2 3


RE: All in One v7.0 - Botond95 - 21.04.2011

[Image: printscreenk.jpg]
Code:
<table style="background-color: #f8edce; border: 0px solid #f8edce;" cellspacing="0" cellpadding="0" class="map">
    
        <?php $_from = $this->_tpl_vars['y_coords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['y']):
?>
            <tr>
                <td width="20"><?php echo $this->_tpl_vars['y']; ?>
</td>
                
            <?php $_from = $this->_tpl_vars['x_coords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['x']):
?>
                <?php if (! $this->_tpl_vars['cl_map']->getVillage($this->_tpl_vars['x'],$this->_tpl_vars['y'])): ?>
                    <?php
                        $rand = rand(0,30);
                     ?>
                    <td id="tile_<?php echo $this->_tpl_vars['x']; ?>
_<?php echo $this->_tpl_vars['y']; ?>
" class="<?php echo $this->_tpl_vars['cl_map']->getClass($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
"><img src="graphic/map/
                    <?php
                        if($rand <=28)
                        {
                            echo "gras4.png";
                        }                    
                        else if($rand==29)
                        {
                            echo "forest0000.png";
                        }
                        if ($rand==30)
                        {
                            echo "see.png";
                        }
                     ?>
                    " alt="" /></td>
                <?php else: ?>

         <td id="tile_<?php echo $this->_tpl_vars['x']; ?>_<?php echo $this->_tpl_vars['y']; ?>" class="<?php echo $this->_tpl_vars['cl_map']->getClass($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
" style="background-color:rgb(<?php echo $this->_tpl_vars['cl_map']->getColor($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
)"><a href="game.php?village=<?php echo $this->_tpl_vars['village']['id']; ?>
&amp;screen=info_village&amp;id=<?php echo $this->_tpl_vars['cl_map']->getvillageid($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
"><img src="graphic/map/<?php echo $this->_tpl_vars['cl_map']->graphic($this->_tpl_vars['x'],$this->_tpl_vars['y']);  if (get_bonus($this->_tpl_vars[x], $this->_tpl_vars[y])) echo 'b.png'; ?>" onmouseover="map_popup('<?php echo $this->_tpl_vars['cl_map']->getVillage($this->_tpl_vars['x'],$this->_tpl_vars['y'],'name'); ?>
(<?php echo $this->_tpl_vars['x']; ?>
|<?php echo $this->_tpl_vars['y']; ?>
) K <?php echo $this->_tpl_vars['cl_map']->getcon($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
', <?php echo $this->_tpl_vars['cl_map']->getvillage($this->_tpl_vars['x'],$this->_tpl_vars['y'],'points'); ?>
, <?php echo $this->_tpl_vars['cl_map']->playerinfo($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
, <?php echo $this->_tpl_vars['cl_map']->getally($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
, false, <?php echo $this->_tpl_vars['x']; ?>
, <?php echo $this->_tpl_vars['y']; ?>
, <?php echo $this->_tpl_vars['village']['id']; ?>
, <?php echo $this->_tpl_vars['cl_map']->getvillage($this->_tpl_vars['x'],$this->_tpl_vars['y']); ?>
)" onmouseout="map_kill()" alt="" /></a></td>    

                <?php endif; ?>
          
            <?php endforeach; endif; unset($_from); ?>
            
            </tr>
        <?php endforeach; endif; unset($_from); ?>
            
        <tr>
            <td height="20"></td>
            <?php $_from = $this->_tpl_vars['x_coords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['x']):
?>
                <td><?php echo $this->_tpl_vars['x']; ?>
</td>
            <?php endforeach; endif; unset($_from); ?>
    </tr></table>

I think the problem is the stamme.css
recovers the original with stamme.css


RE: All in One v7.0 - snake 9 - 21.04.2011

if its a problem whitht the stamm.css please load it up but pleas to this url because i cannot download the all in one from your webspace

ples load up the stamm.css and the game.tpl to http://www.file-upload.net/

sorry for bad english


RE: All in One v7.0 - Botond95 - 21.04.2011

original stamme.css with 7.0 without: [Image: originalcn.jpg]


RE: All in One v7.0 - snake 9 - 21.04.2011

yes but please load them up i will look for fails


RE: All in One v7.0 - Botond95 - 21.04.2011

http://www.file-upload.net/download-3376402/stamm.css.html


RE: All in One v7.0 - snake 9 - 21.04.2011

and please the game.tpl too


RE: All in One v7.0 - Botond95 - 21.04.2011

http://www.file-upload.net/download-3376415/game.tpl.html


RE: All in One v7.0 - snake 9 - 21.04.2011

thanks i will look for fails now
i think its mot a problem whith the stamm.css



RE: All in One v7.0 - Botond95 - 21.04.2011

sure there is a bug


RE: All in One v7.0 - Molt - 21.04.2011

@snake: Ich würd mal bei table- oder td-Tags nach "padding" (oder "margin") suchen, vllt. liegt der Fehler da.


RE: All in One v7.0 - snake 9 - 21.04.2011

mach ich thx möltieleinchen
Botond95 please load up the game_map.tpl


RE: All in One v7.0 - Botond95 - 21.04.2011

http://www.file-upload.net/download-3376661/game_map.tpl.html


RE: All in One v7.0 - snake 9 - 21.04.2011

thank you
I think you have to take this game.tpl: http://www.file-upload.net/download-3376688/game_map.tpl.html

please test it

sorry for bad english


RE: All in One v7.0 - Botond95 - 21.04.2011

bad...
[Image: print1b.jpg]


RE: All in One v7.0 - snake 9 - 21.04.2011

sorry but i don't know an other idea


RE: All in One v7.0 - Botond95 - 21.04.2011

sure that there is a problem in the stamm.css


RE: All in One v7.0 - snake 9 - 21.04.2011

if i put the stamm.css in my htdocs folder there is noc problem whith the map


RE: All in One v7.0 - Botond95 - 21.04.2011

http://www.file-upload.net/download-3376741/stamm.css.html


RE: All in One v7.0 - snake 9 - 21.04.2011

i have got the stamm.css

i don't need it


RE: All in One v7.0 - Botond95 - 21.04.2011

something is not good for me