Six
Guru
- Joined
- Jan 21, 2007
- Sythe Gold
- 12
- Messages
- 1,482
Had to make 3 posts because its so freaking long
-
-
-
-
This thread is all of my scripts and tutorials. I hope this helps people as i see posts asking about autospammers and world switchers all the time. Along with things people always want to know about I have a tutorial on how to use INI files which i find to be very useful, especially for a client. XCLIENT itself stores 22 settings and variables in an INI file.
If you find errors make sure you tell me so i can fix them. If you have suggestions for tutorials PM/AIM/MSN me and i'll try to make it happen.
*This thread is locked to keep people from asking things here. If you have a question or want to report an error PM/AIM/MSN me.
Quick Links:
[Tutorial #1] World Switcher
[Tutorial #2] AutoSpammer
[Tutorial #3] Reading/Writing INI Files
[Tutorial #4] StealRS2
[Tutorial #5] AutoClicker
[Tutorial #6] Multi-User Auth System (PHP & MySQL)
[Tutorial #1] World Switcher (might be out-dated)
Alot of people want to include this in their client, and what would a client be without it. This tutorial explains how to make a world switcher two similar ways.
Skill Level: Medium
What you will need:
Visual Basic Standard/Pro/Enterprise (Im Using Version 6 Enterprise)
Basic Knowledge of Visual Basic
About 15 Minutes
Steps:
Step 1: Setting up the Form
You can set this up a few ways. You can use pictures, buttons, labels, alot of things. It doesnt matter what you use as long as they are named server1, server2, and so on.
Step 2: The Code
This is a function to get the worlds prefix. I recommend using this as its the easiest to update. You give this function a world number 1 through 121 and it returns that worlds prefix. (This method required you use the loadworld function given below and use the loadworld() code for the buttons/labels/whatever you use)
This code is for the buttons/menu. As stated above your buttons must be labeled to match the code. (server1, server2, and so on) The variable, quality, is an integer and if it is 1 low-quality is used and if it is 0 high-quality is used. (This must be defined before the buttons are clicked, on form load or something)
There should be a peice of code like this for each button/menu item:
The following code is for the loadworld function. This function takes a world number and loads the given world. Using this function requires you have the getprefix function from the beginning of the tutorial. As before, quality is either 1 for low-quality or 0 for high-quality. The tempprefix variable is created by the getprefix function and is a string.
Conclusion
The advantage of the loadworld() version is you can assign other variables at the same time you load the world. For example, in XCLIENT I use the loadworld function and at the same time I load the world i do some other operations like below:
Code:
currentworld.caption = worldnum
(this is much easier then adding that line of code for every world button u have)
This tutorial might be a little confusing for some but i tried to write it so it wouldnt be. Enjoy
-
-
-
-
This thread is all of my scripts and tutorials. I hope this helps people as i see posts asking about autospammers and world switchers all the time. Along with things people always want to know about I have a tutorial on how to use INI files which i find to be very useful, especially for a client. XCLIENT itself stores 22 settings and variables in an INI file.
If you find errors make sure you tell me so i can fix them. If you have suggestions for tutorials PM/AIM/MSN me and i'll try to make it happen.
*This thread is locked to keep people from asking things here. If you have a question or want to report an error PM/AIM/MSN me.
Quick Links:
[Tutorial #1] World Switcher
[Tutorial #2] AutoSpammer
[Tutorial #3] Reading/Writing INI Files
[Tutorial #4] StealRS2
[Tutorial #5] AutoClicker
[Tutorial #6] Multi-User Auth System (PHP & MySQL)
[Tutorial #1] World Switcher (might be out-dated)
Alot of people want to include this in their client, and what would a client be without it. This tutorial explains how to make a world switcher two similar ways.
Skill Level: Medium
What you will need:
Visual Basic Standard/Pro/Enterprise (Im Using Version 6 Enterprise)
Basic Knowledge of Visual Basic
About 15 Minutes
Steps:
Step 1: Setting up the Form
You can set this up a few ways. You can use pictures, buttons, labels, alot of things. It doesnt matter what you use as long as they are named server1, server2, and so on.
Step 2: The Code
This is a function to get the worlds prefix. I recommend using this as its the easiest to update. You give this function a world number 1 through 121 and it returns that worlds prefix. (This method required you use the loadworld function given below and use the loadworld() code for the buttons/labels/whatever you use)
Code:
Private Sub getprefix(ByVal server As String)
Select Case server
Case 1
tempprefix = "ul2"
Case 2
tempprefix = "ul4"
Case 3
tempprefix = "po3"
Case 4
tempprefix = "po4"
Case 5
tempprefix = "po5"
Case 6
tempprefix = "po6"
Case 7
tempprefix = "above2"
Case 8
tempprefix = "above3"
Case 9
tempprefix = "above4"
Case 10
tempprefix = "jolt7"
Case 11
tempprefix = "jolt8"
Case 12
tempprefix = "jolt9"
Case 13
tempprefix = "nl3"
Case 14
tempprefix = "nl4"
Case 15
tempprefix = "uk2"
Case 16
tempprefix = "uk3"
Case 17
tempprefix = "tor1"
Case 18
tempprefix = "tor2"
Case 19
tempprefix = "nl7"
Case 20
tempprefix = "nl8"
Case 21
tempprefix = "nl11"
Case 22
tempprefix = "nl1"
Case 23
tempprefix = "uk4"
Case 24
tempprefix = "uk5"
Case 25
tempprefix = "nl12"
Case 26
tempprefix = "ul5"
Case 27
tempprefix = "nl5"
Case 28
tempprefix = "nl6"
Case 29
tempprefix = "ul6"
Case 30
tempprefix = "po7"
Case 31
tempprefix = "po8"
Case 32
tempprefix = "ul1"
Case 33
tempprefix = "at1"
Case 34
tempprefix = "at2"
Case 35
tempprefix = "at3"
Case 36
tempprefix = "at4"
Case 37
tempprefix = "tor3"
Case 38
tempprefix = "planet1"
Case 39
tempprefix = "planet2"
Case 40
tempprefix = "planet3"
Case 41
tempprefix = "planet4"
Case 42
tempprefix = "po2"
Case 43
tempprefix = "sl11"
Case 44
tempprefix = "at6"
Case 45
tempprefix = "planet5"
Case 46
tempprefix = "planet6"
Case 47
tempprefix = "above5"
Case 48
tempprefix = "above6"
Case 49
tempprefix = "ams1"
Case 50
tempprefix = "ams2"
Case 51
tempprefix = "ams3"
Case 52
tempprefix = "ams4"
Case 53
tempprefix = "ams5"
Case 54
tempprefix = "ams6"
Case 55
tempprefix = "ch1"
Case 56
tempprefix = "nl10"
Case 57
tempprefix = "ch3"
Case 58
tempprefix = "ch4"
Case 59
tempprefix = "ch5"
Case 60
tempprefix = "ch6"
Case 61
tempprefix = "se1"
Case 62
tempprefix = "se2"
Case 63
tempprefix = "se3"
Case 64
tempprefix = "se4"
Case 65
tempprefix = "se5"
Case 66
tempprefix = "se6"
Case 67
tempprefix = "jolt10"
Case 68
tempprefix = "jolt11"
Case 69
tempprefix = "jolt12"
Case 70
tempprefix = "sl10"
Case 71
tempprefix = "uk7"
Case 72
tempprefix = "sl1"
Case 73
tempprefix = "sl3"
Case 74
tempprefix = "sl4"
Case 75
tempprefix = "sl5"
Case 76
tempprefix = "sl6"
Case 77
tempprefix = "sl6"
Case 78
tempprefix = "sl7"
Case 79
tempprefix = "sl8"
Case 80
tempprefix = "jolt1"
Case 81
tempprefix = "jolt2"
Case 82
tempprefix = "jolt3"
Case 83
tempprefix = "jolt4"
Case 84
tempprefix = "jolt5"
Case 85
tempprefix = "ny1"
Case 86
tempprefix = "ny2"
Case 87
tempprefix = "ny4"
Case 88
tempprefix = "ny5"
Case 89
tempprefix = "ny6"
Case 90
tempprefix = "ny7"
Case 91
tempprefix = "ny8"
Case 92
tempprefix = "nl9"
Case 93
tempprefix = "mi1"
Case 94
tempprefix = "mi2"
Case 95
tempprefix = "mi3"
Case 96
tempprefix = "mi4"
Case 97
tempprefix = "mi5"
Case 98
tempprefix = "mi6"
Case 99
tempprefix = "mi7"
Case 100
tempprefix = "mi8"
Case 101
tempprefix = "at7"
Case 102
tempprefix = "at8"
Case 103
tempprefix = "at9"
Case 104
tempprefix = "at10"
Case 106
tempprefix = "uk9"
Case 107
tempprefix = "au1"
Case 108
tempprefix = "au2"
Case 109
tempprefix = "au3"
Case 110
tempprefix = "au4"
Case 111
tempprefix = "au5"
Case 112
tempprefix = "au6"
Case 113
tempprefix = "tor4"
Case 114
tempprefix = "tor5"
Case 115
tempprefix = "tor6"
Case 117
tempprefix = "swe1"
Case 118
tempprefix = "swe2"
Case 119
tempprefix = "swe3"
Case 120
tempprefix = "swe4"
Case 121
tempprefix = "swe5"
End Select
End Sub
This code is for the buttons/menu. As stated above your buttons must be labeled to match the code. (server1, server2, and so on) The variable, quality, is an integer and if it is 1 low-quality is used and if it is 0 high-quality is used. (This must be defined before the buttons are clicked, on form load or something)
There should be a peice of code like this for each button/menu item:
Code:
Private Sub server1_Click()
loadworld (1)
End Sub
The following code is for the loadworld function. This function takes a world number and loads the given world. Using this function requires you have the getprefix function from the beginning of the tutorial. As before, quality is either 1 for low-quality or 0 for high-quality. The tempprefix variable is created by the getprefix function and is a string.
Code:
Private Sub loadworld(ByVal worldnum As String)
getprefix (worldnum)
WebBrowser.Navigate ("http://" & tempprefix & ".runescape.com/lang/en/aff/runescape/game.ws?lowmem=" & quality & "&plugin=0&affiliate=runescape")
End Sub
Conclusion
The advantage of the loadworld() version is you can assign other variables at the same time you load the world. For example, in XCLIENT I use the loadworld function and at the same time I load the world i do some other operations like below:
Code:
currentworld.caption = worldnum
(this is much easier then adding that line of code for every world button u have)
This tutorial might be a little confusing for some but i tried to write it so it wouldnt be. Enjoy

