• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

TeleportSystem+Some Source etc..

Skilled Illusionist
Joined
Mar 20, 2009
Messages
374
Reaction score
378
Huh i frogot for the assas block + idk how to do but i will try


P.S: if someone got the Assassin OffSet would be nice if he post it here thank you .


Code:
if (command.beginWith("/fort") && player->GetGState() != 256)
{
                     player->Teleport(0,267634,243008);
                     player->PlayerMessage("*You are successfully teleported to Temporary Fort of Geum-Ohee Castle.");
}
else if(command.beginWith("/fort") && player->GetGState() == 256)
{
                     player->PlayerMessage("#You can't teleport in Assasin mode.");
};
thats how i did it
 
Last edited:
Elite Diviner
Joined
Feb 28, 2013
Messages
401
Reaction score
145
Does This Work on sirix engine that has removed KalOnline Word with your own KalServer Name and Logo ?
 
Master Summoner
Joined
Feb 8, 2011
Messages
506
Reaction score
79
Code:
if (command.beginWith("/fort") && player->GetGState() != 256)
 {
               player->Teleport(0,267634,243008);
               player->Notice("Teleported to Temporary Fort");
}
thats how i did it

yea darn it work's so i made onther one like only if player is assassin gstate he can use the command so normal player cant who dont use the assass mask
like this
Maybe it is useful for someone:
Code:
if (command == "/PvP" && CChar__IsGState((int)thispointer,256))
			
		{	
			int Coords[2];

			Coords[0] = x; //x point
			Coords[1] = x; //y point

			int nMap = 0; //nMap?=Map

                  CPlayer__Teleport((int)thispointer, nMap, (int)Coords, 0,1);         
		  Write(thispointer,60,"ss","Teleport","~You are successfully teleported to PvP arena.");
		}
 
Junior Spellweaver
Joined
Nov 1, 2013
Messages
144
Reaction score
36
its really nice teleport sytem and cool but for some reason it crashes my main server and idk why so if u have an idea to fix it let me know please
 
I'm not here
Joined
Aug 19, 2007
Messages
328
Reaction score
42
If somebody wants to advance this system and got a use for it, this might help.
You can ignore the Z coordinate, also you can ingnore the name, I only used the name as command to teleport to that coordinates ;)

Code:
//X    Y    Z    Name    Description    [TAB am Ende]

255771    288753    0    pub    pub_of_giant_bird    
258051    259341    0    nar    narootuh    
264971    262481    0    cargo    cargo_station    
266060    284961    0    mine    geum_oh_mine    
                    
                    

// Others:

224275    307637    0    safehill    safehill    
237126    286010    0    foe    FoE    
241600    282533    37166    foe_iron    FoE_Irons    
240504    278991    40845    foe_wood    FoE_Woods    
237347    275913    38731    foe_water    FoE_Waters    
227391    276863    39084    foe_fire    FoE_Fires    
261103    231399    0    devil1    Devils_Bow_Twinblade    
260574    231260    0    devil2    Devils_Bow_Twinblade2    
258014    229822    0    devil3    Devils_Spears    
257780    231801    0    devil4    Devils    
267697    226492    0    dcastle    Devil_Castle    
337932    272522    18659    emok    emok    
344431    266767    16749    emok1    emok_Dragons    
345862    269430    16949    emok2    emok_BigSpotDragons    
                    
                    
// Dungeon 1:

282484    236814    0    1    D1_Eingang    
51630    34082    0    1.0    D1_R0    
52018    34455    0    1.1    D1_R1    
50943    35212    0    1.2    D1_R2    
51801    35816    0    1.3    D1_R3    
50945    37729    0    1.6    D1_R6    
51878    38318    0    1.7    D1_R7    
50774    38885    0    1.8    D1_R8    
50794    40288    0    1.10    D1_R10    
                    
                    
// Dungeon 2:

242764    298040    19958    2    D2_Eingang    
4576    1909    19858    2.2.1    D2_F2_R1    
3624    2480    19858    2.2.2    D2_F2_R2    
3910    2380    19858    2.2.2w    D2_F2_R2_Wand    
3677    3431    19958    2.2.3    D2_F2_R3    
3435    3442    19723    2.2.4    D2_F2_R4    
4734    4199    19723    2.2.5    D2_F2_R5    
3577    6701    19958    2.2.9    D2_F2_R9    
3910    6801    19858    2.2.9w    D2_F2_R9_WAND    
4329    7006    19968    2.2.10s    D2_F2_R10_Safezone    
6329    2071    19723    2.3.1    D2_F3_R1    
6329    3222    19723    2.3.2    D2_F3_R2    
6329    4373    19723    2.3.3    D2_F3_R3    
5749    6690    19858    2.3.4    D2_Commander    
                    
                    
// Dungeon 3:

281302    250210    30003    3    D3_Eingang    
55355    21683    30003    3.2    D3_F2    
4249    34781    30003    3.3    D3_F3    
22755    38021    30003    3.4    D3_F4    
4206    20754    30003    3.4.1    D3_F4_R1    
5167    20750    30003    3.4.2    D3_F4_R2    
6127    20754    30003    3.4.3    D3_F4_R3    
4190    19781    30003    3.4.4    D3_F4_R4    
5163    19761    30003    3.4.5    D3_F4_R5    
6155    19776    30003    3.4.6    D3_F4_R6    
4218    18811    30003    3.4.7    D3_F4_R7    
5193    18789    30003    3.4.8    D3_F4_R8    
6176    18808    30003    3.4.9    D3_F4_R9    
3966    17903    30003    3.5    D3_F5    
21542    20737    30003    3.5.1    D3_F5_R1    
20595    19776    30003    3.5.2    D3_F5_R2    
21543    19771    30003    3.5.3    D3_F5_R3    
22530    19777    30003    3.5.4    D3_F5_R4    
21550    18779    30003    3.5.5    D3_F5_R5    
                    
                    
// Dungeon 4:

227424    318651    0    4    D4_Eingang    
18618    53796    29983    4.2    D4_F2    
37168    50682    29841    4.3    D4_F3    
4736    52014    31872    4.4    D4_F4    
3910    51761    31718    4.4.1    D4_F4_LA-Spawn    
3857    68844    32012    4.5    D4_F5    
4121    66950    31684    4.5.1    D4_F5_LA-Spawn    
20075    68392    31877    4.6    D4_F6    
20596    68442    31549    4.6.1    D4_F6_1st-Spawn    
20887    67263    31680    4.6.2    D4_F6_2nd-Spawn    
                    
                    
// Dungeon 5:

235887    279854    44700    5    D5_Eingang    
70169    56774    23801    5.2    D5_F2    
86544    53150    23801    5.3    D5_F3    
102856    52401    23801    5.4    D5_F4    
118660    53200    23801    5.5    D5_F5    
139456    51210    23801    5.6    D5_F6    
155380    52657    23801    5.7    D5_F7    
75307    42330    23801    5.8    D5_F8    
96267    39732    23801    5.9    D5_F9    
100829    40894    24001    5.10    D5_F10    


// DT: (duel tournament)

214700    280711    0    dt1    DT_A1    
214343    280728    0    dt0    DT_A1_View
 
Back
Top