I Using TFS :C 0.3.6 :/Are you using OTX? I've tried it several times on OTX with no result.
If you are using OTX move to TFS. There it should work if you follow the tutorial.
Didn't knew it was compatible with older TFS versions...I Using TFS :C 0.3.6 :/
Yes, I've made all of these changes including the one you mentioned about Creature thinking it would fix :/Didn't knew it was compatible with older TFS versions...
- Also checked the code below this line "If you are using 0.3.6 then you will also need to change this:"?
- Are you sure you've changed everything correctly? like tried compiling several times from 0?
- Also compiled otclient with the changes in map.cpp?
Yes, I've made all of these changes including the one you mentioned about Creature thinking it would fix :/
gameMapPanel:setZoom(x) - that should do.
function show()
connect(g_app, { onClose = tryExit })
modules.client_background.hide()
gameRootPanel:show()
gameRootPanel:focus()
gameMapPanel:followCreature(g_game.getLocalPlayer())
setupViewMode(0)
updateStretchShrink()
logoutButton:setTooltip(tr('Logout'))
addEvent(function()
if not limitedZoom or g_game.isGM() then
gameMapPanel:setMaxZoomOut(15)
gameMapPanel:setLimitVisibleRange(false)
gameMapPanel:setZoom(15)
else
gameMapPanel:setMaxZoomOut(15)
gameMapPanel:setLimitVisibleRange(true)
gameMapPanel:setZoom(15)
end
end)
end
hi Helliot, can i ask, how you make the spells bars? (f1-f2-f3 etc) i really need that, i know how to solve your problem pm meHello @Flatlander , I need so much your help, and if you could help me, I'll be so grateful!!
I make all this process, and added more tiles on my screen!!
But now, I want put some zoom out in the screen, like this
My normal client screen
and below how I want put my client screen
(If you notice, have a zoom out in this screen, and I need put it automatic, a function. Cause for I leave like this, I need click 'ctrl -' every time I enter in my client.
I tried to create a function in ImageView, but I failed, and now I'm asking for your help. Thanks!!
Hello @Il Knight , this bar is just "appearance", I didn't the functions yet... I'm working on it!!(f1-f2-f3 etc) i really need that, i know how
ok, post your gameinterface.lua to set the zoom that you needHello @Il Knight , this bar is just "appearance", I didn't the functions yet... I'm working on it!!
void Map::resetAwareRange()
{
AwareRange range;
range.left = 8; //Change this to = maxClientViewportX
range.top = 6; //Change this to = maxClientViewportY
range.bottom = range.top+1;
range.right = range.left+1;
setAwareRange(range);
}
void Map::resetAwareRange()
{
AwareRange range;
range.left = 9; //Change this to = maxClientViewportX
range.top = 7; //Change this to = maxClientViewportY
range.bottom = range.top+1;
range.right = range.left+1;
setAwareRange(range);
}
bump@Flatlander
I followed the tutorial to 100% on the main post, with exception of the TFS 0.3.6 stuffs because I use TFS 1.0 and my sources didn't have the functions for those anyway.
But other than that, I did everything exactly as it said.. (I even doubled the const.h value)
And it works prefect with default values..
but as soon as I increase how many tiles the screen should contain, it buggs out as hell..
This is my screen using default values:
src/client/map.cpp
C++:void Map::resetAwareRange() { AwareRange range; range.left = 8; //Change this to = maxClientViewportX range.top = 6; //Change this to = maxClientViewportY range.bottom = range.top+1; range.right = range.left+1; setAwareRange(range); }
And here's my screen adding extra tiles:
src/client/map.cpp
C++:void Map::resetAwareRange() { AwareRange range; range.left = 9; //Change this to = maxClientViewportX range.top = 7; //Change this to = maxClientViewportY range.bottom = range.top+1; range.right = range.left+1; setAwareRange(range); }
As you can see, it bugs out real good..
But pay attention, and you see that my screen doesn't go bigger at all, it stay same amount of tiles on width and height
(even when I resize the window).
So even if I did change it to be 9x7 in the sources, the client doesn't add the extra rows.
And this is very odd to me, I double checked with previous guys having similar issues, there entire game window buggs out..
But as they buggs out, they can still see the new size of the tiles anyway.. and I can't...
Anyone having any idea what's causing this?
Does/Did OTClient had any other places there you needed to change how many rows of tiles there should be?
I recommend to you, repeat all the process again... Read it slowly... Cause it's a simple error, like a code that you forgot to writebump
I did read it all, I read it 4 times before I actually tried it out.I recommend to you, repeat all the process again... Read it slowly... Cause it's a simple error, like a code that you forgot to write
Relax bro, tomorrow I can help you in Teamviewer, PM meI did read it all, I read it 4 times before I actually tried it out.
And once I tried it out, I got the result from above, I backed everything back to start and re-did it again.. same result..
I just need to have a clue about how this could happen so I can research it, because it doesn't feel like something I did, I feel like it's something off with either my TFS or the OTC