Giukko Posted March 20, 2018 Author Share Posted March 20, 2018 `UPDATED`Hi, mouse click on character and npcs now works properly, just do this:- inside Client code, `HandleMouseMove` on this two lines: `CurY = TileView.Top + (((Y + Camera.Top) * ((MAX_MAPY * PIC_Y) / screenY)) \ PIC_Y)` `CurX = TileView.Left + (((X + Camera.Left) * ((MAX_MAPX * PIC_X) / screenX)) \ PIC_X)`delete and paste this:`CurX = TileView.Left + ((((X + 16) + Camera.Left) * ((MAX_MAPX * PIC_X) / screenX)) \ PIC_X)` `CurY = TileView.Top + ((((Y + 16) + Camera.Top) * ((MAX_MAPY * PIC_Y) / screenY)) \ PIC_Y)`Then if you find issues at inventory, spells etc..., to fix mouse movements and clicks do this steps:- search `Call GuiDblClickSearch(X , Y)` and change it with `Call GuiDblClickSearch(X - 16, Y)`- search `Call GuiUpSearch(Button, Shift, X , Y)` and change it with `Call GuiUpSearch(Button, Shift, X - 16, Y)`- search `Call GuiMoveSearch(Button, X, Y)` and change it with `Call GuiUpSearch(Button, Shift, X - 16, Y)`- search `Call GuiDownSearch(Button, X, Y)` and change it with `Call GuiDownSearch(Button, X - 16, Y)` Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted March 20, 2018 Share Posted March 20, 2018 Thanks for the fix :) I'll give it a test when I have ER 1.9 stable lol (still breaking everything) Link to comment Share on other sites More sharing options...
Giukko Posted March 20, 2018 Author Share Posted March 20, 2018 `UPDATED` see first post Link to comment Share on other sites More sharing options...
Giukko Posted March 20, 2018 Author Share Posted March 20, 2018 @mohenjo-daro eheh :) It ok, I would like to help improve your nice work ;) Link to comment Share on other sites More sharing options...
dbr Posted April 30, 2018 Share Posted April 30, 2018 Works fine for me :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now