purpose: To change the names and places of teleports on dodian (devolution) sources
Difficulty: 1-2 depends on how well u can read lmfao
Assumed Knowledge: you can read...
need: You need a source and MoparScape client
Server Base: Devolution v7
Classes Modified: client.java
Procedure:
Step 1: ok well first ill be telling you how to change the names of the teleports and seccondly how to change where they tele you to...
Step 2: Ok so first i want you to run your Mopar client and log into server, now find the teleport you want to change. move your mouse over it and right click you will see an ok and a number. this number is what were looking for, copy each of the numbers from the teleport buttons that you wish to change on a piece of paper.
Step 3: no open your client.java and search for 13037 you should see somthing like this
this where you put the stuff in for what you want it to say (13037 is yanille) ok now it only shows you 5 of the teleport options the rest are default.
now the reason i showed you 2 different ones is because there are 2 different ways of doing this
this is important!!
the yanille teleport requires 3 runes
and the seers requires 2 runes
this is important!!
ok now if you login on mopar agian and right click the yanille teleport youll see it says 13035 and when you look at the code above it says 13037
if you right click seers teleport it says 13045 and the code says 13047
this is the way they all are so if your tele button says 13095 you will need to put a 13097 if was 15035 you would need to put 15037 always 2 more then what the button says.
ok now the next part see on yanille and seers the next line is 1 more then the first?
for yanille it goes 13037 for first line then 13038 for next line
and for seers it goes 13047 for first line and 13048 for next
keep this in mind as when u make ur own ull need to remember this the first and seccond are always 1 appart
now that you have the first 2 lines done its time to move to the next 2 or 3 lines depending on how many runes you need...
if your teleport requires 2 runes like seers youll notice that the third line is 3 numbers above the seccond this is true for all teleports that require 2 different runes and the fourth number is 1 higher then the third.
so for seers its 13045 for button and the code first line is 13047 seccond line is 13048 third is 13051 and fourth is 13052
sendQuest("Seers Teleport", 13047);
sendQuest("Visit the land of trees", 13048);
sendQuest("@[email protected]/0", 13051);
sendQuest("@[email protected]/0", 13052);[/code]
if your teleport requires 3 runes like yanille youll notice the third line is 4 numbers higher then the seccond this is true for all spells that require 3 different runes and the fourth number is 1 higher then the third and the fifth number is 1 higher then the fourth, so for yanille its 13035 for the button 13037 is the first number in the code 13038 is the seccond number the third is 4 higher so its 13042 the fourth is 1 higher so its 13043 and lastly the fifth is 1 higher then that one its 13044
now that we know the basics we can now add to these codes (either changing them or adding to make other buttons say things)
step4: now to make the teleports go where you want them to, log into your game and teleport to the place you want to change the coords to, do not move once you have teleported. not type ::mypos and get the coords of the spot you are standing in
now open your client.java and search for the xcoord (search until you find somthing like this)
Code:
triggerTele(3210, 3424, 0, false);
(make sure both X and Y coords match what is in the code you found)
now get the coords of where you want it to tele to and add them in there
for instance chage
Code:
triggerTele(3210, 3424, 0, false);
to
Code:
triggerTele(3500, 3500, 0, false);
to tele you to a different place
btw its like this
Code:
triggerTele(Xcoord, Ycoord, hight, false);
thank you and i hope this servers you well
Credits: ~Burnout~