Pages

Showing posts with label Tera. Show all posts
Showing posts with label Tera. Show all posts

Add Mount Tera

[Guide] Adding mounts to Tera-Shock Java Server
To add mounts in the mounting system of Tera Shock Java, follow the next steps:
edit the file: data/items/commons/manuals.xml and add the lines:
<common id="20" type="other" name="Riding Skill: Bay Gelding" itemLevel="11" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="21" type="other" name="Riding Skill: Fast Bay Gelding" itemLevel="40" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="41" type="other" name="Riding Skill: Fast White Stallion" itemLevel="20" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="166" type="other" name="Riding Skill: Arcadian Dapple" itemLevel="20" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="167" type="other" name="Riding Skill: Chestnut Gelding" itemLevel="20" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="168" type="other" name="Riding Skill: Velikan Grey" itemLevel="20" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="169" type="other" name="Riding Skill: Pinto" itemLevel="20" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="170" type="other" name="Riding Skill: Blue Roan" itemLevel="20" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="306" type="other" name="Riding Skill: Fast Arcadian Dapple" itemLevel="20" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="307" type="other" name="Riding Skill: Fast Pinto" itemLevel="20" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="336" type="other" name="Riding Skill: Fast Velikan Grey" itemLevel="20" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="350" type="other" name="Riding Skill: Federation Charger" itemLevel="1" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="351" type="other" name="Riding Skill: Veteran Federation Charger" itemLevel="1" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="384" type="other" name="Riding Skill: Jeweled Lion" itemLevel="60" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="385" type="other" name="Riding Skill: Tawny Huntress" itemLevel="60" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="412" type="other" name="Riding Skill: White Stallion" itemLevel="11" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="413" type="other" name="Riding Skill: Arcadian Dapple" itemLevel="11" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="414" type="other" name="Riding Skill: Blue Roan" itemLevel="11" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="415" type="other" name="Riding Skill: Velikan Grey" itemLevel="11" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="416" type="other" name="Riding Skill: Pinto" itemLevel="11" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="417" type="other" name="Riding Skill: Regal Frostlion" itemLevel="11" tradable="false" sellable="false" bank="false" guildBank="false" />
 <common id="425" type="other" name="Riding Skill: Velik's Festival Horse" itemLevel="1" tradable="false" sellable="false" bank="false" guildBank="false" />
Next step: Edit the line in the source-code of java\game\tera\gameserver\scripts\items\ and Edit the file: ItemExecutorType.java
find the code:
EVENT_REWARD_BOX(EventRewardBox.class, 0, 408, 409, 410, 411),
 SKILL_LEARN_ITEM(SkillLearnItem.class, 0, 20),
 BARBECUE_ITEMS(BarbecueItem.class, 0, 5027);
And Replace to:
EVENT_REWARD_BOX(EventRewardBox.class, 0, 408, 409, 410, 411),
 SKILL_LEARN_ITEM(SkillLearnItem.class, 0, 20, 21, 41, 166, 167, 168, 169, 170, 306, 307, 336, 350, 351, 384, 385, 412, 413, 414, 415, 416, 417, 425),
 BARBECUE_ITEMS(BarbecueItem.class, 0, 5027);
Now edit the file: java\game\tera\gameserver\scripts\items\SkillLearnItem.java and find the code:
skillTable.put(20, table.getSkills(-15, 67219975));
Type enter and add the lines:
skillTable.put(21, table.getSkills(-15, 67219976));
skillTable.put(41, table.getSkills(-15, 67219978));
skillTable.put(166, table.getSkills(-15, 67219991));
skillTable.put(167, table.getSkills(-15, 67219980));
skillTable.put(168, table.getSkills(-15, 67219981));
skillTable.put(169, table.getSkills(-15, 67219982));
skillTable.put(170, table.getSkills(-15, 67219983));
skillTable.put(306, table.getSkills(-15, 67219985));
skillTable.put(307, table.getSkills(-15, 67219986));
skillTable.put(336, table.getSkills(-15, 67220054));
skillTable.put(350, table.getSkills(-15, 67219988));
skillTable.put(351, table.getSkills(-15, 67219989));
skillTable.put(384, table.getSkills(-15, 67220061));
skillTable.put(385, table.getSkills(-15, 67220062));
skillTable.put(412, table.getSkills(-15, 67219990));
skillTable.put(413, table.getSkills(-15, 67219991));
skillTable.put(414, table.getSkills(-15, 67219992));
skillTable.put(415, table.getSkills(-15, 67219981));
skillTable.put(416, table.getSkills(-15, 67219982));
skillTable.put(417, table.getSkills(-15, 67219996));
skillTable.put(425, table.getSkills(-15, 67220056));
Recompile and have fun!

Dian
Ragezone
Read more ...

Tera Online

[Tutorial] Connecting to your java server over the internet
this tutorial will teach you how to connect to your java Tera server over the internet.
Assuming you have followed my other tutorial here on how to compile the java server and connect to it locally,
we will start where we left off in that one.

What you will need:
The compiled java server by Angelis86 (see my other tutorial on how to compile it.)
The launcher by Angelis86
HxD or similar (hexeditor)
Notepad++
XAMPP or similar (webserver)
List.uk
7zip or WinRar

Step 1: Configuring and installing list.uk
Go to your htdocs folder where you installed XAMPP (www folder for others) and make a new folder called tera, then another in that one called launcher
and finally a folder in launcher called realm. It should look like this:
C:\xampp\htdocs\tera\launcher\realm
Download list.uk and put it in the realm folder.
Next right click list.uk and choose edit with Notepad++.
It should look like this:

PLEASE READ:
Below where it says CDATA with a bunch of = marks, disregard them, they are not supposed to be there.
For some reason they won't disappear when i delete them from the post. To clarify its supposed to say <![CDATA[ Localhost]]> etc instead of all the = marks.
<serverlist>
    <server>
        <id>1</id>
        <ip>127.0.0.1</ip>
        <port>7811</port>
        <category sort="2">PVP</category>
        <name raw_name="Localhost">
            <=!=[=C=D=A=T=A=[ Localhost]=]=>
        </name>
        <crowdness sort="1">None</crowdness>
        <open sort="1">Low</open>
        <permission_mask>0x00000000</permission_mask>
        <server_stat>0x00000000</server_stat>
        <popup>
            <=!=[=C=D=A=T=A=[ Unable to access the server at this time. ]=]=>
        </popup>
        <language>en</language>
    </server>
    <server>
        <id>3</id>
        <ip>91.121.152.111</ip>
        <port>7811</port>
        <category sort="2">PVP</category>
        <name raw_name="Angelis Server">
            <=!=[=C=D=A=T=A[ Angelis Server ]=]=>
        </name>
        <crowdness sort="5">None</crowdness>
        <open sort="4">Low</open>
        <permission_mask>0x00000000</permission_mask>
        <server_stat>0x00000000</server_stat>
        <popup>
            <=!=[=C=D=A=T=A=[ Unable to access the server at this time. ]=]=>
        </popup>
        <language>en</language>
    </server>
</serverlist>
Edit the ip of the first Localhost server ip (or both if you like) to your ip.
Save the file.
The next step is to open ports in your router. 7811 TCP/UDP to your internal ip address where the server is located.
You can get the internal IP by going into cmd (Windows key + R and type cmd) and typing ipconfig.
It's the one that says IPv4 and starts (usually) with 192.168....
I will not go into opening the ports further since every router is different. A quick google search on your router should yield the results.


Step 2: Hex editing the Tera launcher.
Extract the launcher to where you installed Tera.
Install HxD and open it.
Open the Tera.en.exe in HxD and click Ctrl + F and type http and search.
Now where it says http://91.121.152.111/tera/launcher/realm/list.uk edit this line letter for letter to your ip address and path to list.uk.
To edit it letter for letter, mark the letter with your mouse and replace it with the letter of your choice.
WARNING! DO NOT ADD letters, if you do you change the bytes of the file and it breaks!


Make sure your path ends with 6B 00 and continues with 00 all the way to the four ÿÿÿÿ.
The letters should now look like this:
....http://127.0.0.1/tera/launcher/realm/list.uk................
where 127.0.0.1 is your ip address.
And the whole block look something like this:
00 00 00 00 68 74 74 70 3A 2F 2F 31 32 37 2E 30  ....http://127.0
2E 30 2E 31 2F 74 65 72 61 2F 6C 61 75 6E 63 68  .0.1/tera/launch
65 72 2F 72 65 61 6C 6D 2F 6C 69 73 74 2E 75 6B  er/realm/list.uk
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
Now save the file.
Next start the java server and test the edited tera.en.exe by
starting Launch.bat. Type your credentials and choose en as language.
If the Launch.bat closes and the game don't start you haven't followed the hex step correctly! Redo it and do it right.
If it doesn't close and the game starts you are ready to send this file to the computers you want to connect with over the internet.

Congratulations if you followed all steps correctly you can now connect over the internet!
Enjoy!

zoraswe
Ragezone
Read more ...

Tera Localhost

1-Have the client On-Tera
2-Have Tera server files updated
3-Have the launcher edited to localhost:
Open hexadecimal launcher with an editor and look for this line hexadecimal values: 68 74 74 70
Then we will go something like this:
String
http://10.0.0.4/launcher/servers/serlistenglis.en
Hex
68 74 74 70 3A 2F 2F 31 30 2E 30 2E 30 2E 34 2F 6C 61 75 6E 63 68 65 72 2F 73 65 72 76 65 72 73 2F 73 65 72 6C 69 73 74 65 6E 67 6C 69 73 2E 65 6E
What is under Hex replace this code:
68 74 74 70 3A 2F 2F 63 61 6C 6C 6F 73 74 2F 68 6F 6C 61 75 6E 63 68 65 72 2F 73 65 72 76 65 72 2F 73 65 72 6C 69 73 74 65 6E 67 6C 69 73 2E 65 6E
Save the changes and have our laucher edited to localhost.
4-Make a file called serlistenglis.en with notepad and put this inside:
<? Xml version = "1.0" encoding = "utf-8"> 


<serverlist> 


<server> 
<id> 1 </ id> 
<ip> 127.0.0.1 </ ip> 
<port> 11101 </ port> 
<category> PvE </ category> 
<name raw_name="nombre of server"> 
<! [CDATA [name of server]=]=> 
</ Name> 
sort="1"> <crowdness Average </ crowdness> 
sort="1"> <open Open </ open> 
<permission_mask> 0x00000000 </ permission_mask> 
<server_stat> 0x00000001 </ server_stat> 
<popup> 
<! [CDATA [Play Now. ]=]=> 
</ Popup> 
<language> en </ language> 
</ Server> 


</ Serverlist> 
5-Make a folder called "launcher" and inside this folder make another called "server" and inside this folder put the file serlistenglis.en.
6-Then put the folder "launcher" in C: \ wamp \ www.
7-Make a shortcut launcher we edited above.
8-Edit the shortcut on the part where it says "target" with this code: C: \ On-Tera \ Launcher.exe TERA-1 3f713c8832442409908b28c3ea3ad6a1 0 1 test in
9-Turn on our server
10 In WampServer on, run the launcher shortcut
11 In the list of servers appears our server with the name we gave above.

jorge1978
Ragezone
Read more ...