• Log in or sign up for an account here: https://www.sythe.org/login

RS world map???

master447

Active Member

Banned
Joined
Nov 5, 2007
Sythe Gold
0
Messages
169
is there a way that i can make a world map work like the one on runescape with the hole drag and move thing???
 
Thats actually rather easy. Go to runescape and download the map picture there. Put it in a picture box called picture1 and use the following code.

Code:
Dim X1, Y1

Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
X1 = X
Y1 = Y
End Sub

Private Sub Picture1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture1.Left = Picture1.Left - (X1 - X)
Picture1.Top = Picture1.Top - (Y1 - Y)
End Sub
 
Or you can make a new form and get it to connect to the site where the map is

For example..

Code:
WebBrowser1.Navigate "http://www.runescape.com/aff/runescape/worldmap/popupworldmap.ws"

Oh and you will need the anti redirection code as well..

Code:
If URL = "http://www.runescape.com/" Then Cancel = True

You should know where to put these. Anyway this is just a basic map, and needs work. Good luck with this :)
 
Just get the full picture and add it into your form. Use a code which allows you to drag accross your Form interface. :/
That way nobody has to wait for Java or anything to load. Swift and Easy as hell.

An additional tool you could add would be a Search Tool. Allow users to search for towns or places, and when a query matches, it will take them to the coordinates on the map you have included, as a bitmap image.

Goodluck!
 
Runescape Gamblingrunescape gambling
Back
Top