[Guide] Adding mounts to Tera-Shock Java Server

What you mean? I just wanna know how to edit those files.
Dian - [Guide] Adding mounts to Tera-Shock Java Server - RaGEZONE Forums
 
Hi dear... Dian.
Can you activate climbing cliffs or ladder rutine?
If it's hard to ...
Do you know about using the exact GM command "--goto"?
 
Hi dear... Dian.
Can you activate climbing cliffs or ladder rutine?
If it's hard to ...
Do you know about using the exact GM command "--goto"?
It's not the thread for that.

For the --goto command, watch the source file ./gameserver/scripts/commands/WorldCommand.java

Code:
case "goto":
{
    String[] args = values.split(" ");


    if(args.length > 1 && "-p".equals(args[1]))
    {
        Player target = World.getPlayer(args[0]);


        if(target != null)
            player.teleToLocation(target.getLoc());


        break;
    }
    if(args.length == 4)
    {
        float x = Float.parseFloat(args[0]);
        float y = Float.parseFloat(args[1]);
        float z = Float.parseFloat(args[2]);


        int continent = Integer.parseInt(args[3]);


        player.teleToLocation(continent, x, y, z);
    }
    else
    {
                    // получаем таблицу городов
        TownTable townTable = TownTable.getInstance();


        // получаем искомый город
        TownInfo town = townTable.getTown(values);


        // обновляем ид зоны
        player.setZoneId(town.getZone());


        // телепортим его в центр города
        player.teleToLocation(town.getCenter());
    }


    break;
}

you have 3 way:
first you use the "-p" arg so your command is like "--goto [user] -p"
second, you specify the location so command is "-- goto [X] [Y] [Z] [continent]
and the last way is tu specify the town : "--goto [town name]
 
The written answers are stopped.
So I joined the Delta membership.


Thanks to Luciole.

I v tested
It is only in this case.
For --goto [TOWN]
Only, in TOWN.XML
XXX_XXX type (XXX is capitalized)

and...


so I
Once I saw added.
like this,


<-! Описание города ->
<Town name = "MATHAR_SPIRE" id = "13002" zone = "13">
<-! Описание данных связанных с пегасами ->
<Pegas local = "100000" portal = "85000" landing = "110000">
<Portal x = "83237" y = "- 78630" z = "- 993.1643" />
<Landing x = "70737.81" y = "- 69701.25" z = "- 3346.0034" />
</ Pegas>


<-! Центр города ->
<Center x = "728767.0" y = "- 73060.0" z = "- 1500.0" />
</ Town>


But,
It did not work. :w00t:
 
Last edited:
I finished landing to Mathar_spire Hmmm.
but. does not climb rutine. and nevertheless, not even --goto.
As currently available methods is a portal.
and the coordinates of the center. here is Successful image.

Well, from now on ...
I should only portal operations, for a while
I used the coordinates, 73100 -72900 -1000 13001 (x y z "13001= Island of Dawn")
and used Potal center coodinate on Town.xml
Finally,
In Town.Xml
MATHAR_SPIRE 13002 to register
I used the ( --goto MATHAR_SPIRE ) and
succeded. It operates.

<!-- описание города -->
<town name="TOWER_BASE" id="13001" zone="13" >
<!-- описание данных связанных с пегасами -->
<pegas local="100000" portal="85000" landing="110000" >
<portal x="83237" y="-78630" z="-993.1643" />
<landing x="70737.81" y="-69701.25" z="-3346.0034" />
</pegas>

<!-- центр города -->
<center x="66604.0" y="-79853.0" z="-2994.0" />
</town>


<!-- опи?ание го?ода -->
<town name="MATHAR_SPIRE" id="13002" zone="13" >
<!-- опи?ание данн?? ?в?занн?? ? пега?ами -->
<pegas local="100000" portal="85000" landing="110000" >
<portal x="83237" y="-78630" z="-993.1643" />
<landing x="70737.81" y="-69701.25" z="-3346.0034" />
</pegas>

<!-- ?ен?? го?ода -->
<center x="73100.0" y="-72900.0" z="-1000.0" />
</town>

To give Luciole deep appreciation !!! :ott:

now..
Portal and Portal scrolls, items suitable device or traders
and if only the recovery of the entire quest,
Going to be a decent server.
 
Last edited:
Back