I'm adding a new teleport buildings,and everything seems fine on both client and server side,but whenever I click on the option "Select Teleport area" the client crashes..
I added the structure line to characterdata aswell as teleportbuilding,modified telelink.txt,textdate_object.txt and teleportdata.txt
I am using this query for the process of adding the teleport object and teleport spot near the object
Code:
USE SRO_VT_SHARD
DECLARE @Teleport VARCHAR (64)
DECLARE @CHARNAME1 VARCHAR (30)
DECLARE @CHARNAME2 VARCHAR (30)
DECLARE @OwnTeleport INT
DECLARE @Fee INT
DECLARE @RequiredLVL INT
SET @Teleport = 'GRAVEYARD'
SET @CHARNAME1 = 'TELEPORT1' -- Teleport position
SET @CHARNAME2 = 'TELEPORT2' -- Spawn position
SET @OwnTeleport = 1
SET @Fee = 1000
SET @RequiredLVL = 0
IF EXISTS (SELECT CodeName128 FROM _RefObjCommon WHERE CodeName128 = 'STORE_'+@Teleport)
BEGIN
raiserror('The stated teleportname of %s is already existing!',11,1,@Teleport);
RETURN;
END
DECLARE @MAXOBJ INT = (SELECT MAX (ID) FROM _RefObjCommon)+1
DECLARE @REGION1 INT SET @REGION1 = (SELECT (LatestRegion) FROM _Char WHERE CharName16 = @CHARNAME1)
DECLARE @POSX1 INT SET @POSX1 = (SELECT (POSX) FROM _Char WHERE CharName16 = @CHARNAME1)
DECLARE @POSY1 INT SET @POSY1 = (SELECT (POSY) FROM _Char WHERE CharName16 = @CHARNAME1)
DECLARE @POSZ1 INT SET @POSZ1 = (SELECT (POSZ) FROM _Char WHERE CharName16 = @CHARNAME1)
DECLARE @LINK INT = (SELECT MAX (ID) FROM _RefObjStruct)+1
SET IDENTITY_INSERT _RefObjCommon ON
INSERT INTO _RefObjCommon (Service,ID,CodeName128,ObjName128,OrgObjCodeName128,NameStrID128,DescStrID128,CashItem,Bionic,TypeID1,TypeID2,TypeID3,TypeID4,DecayTime,Country,Rarity,CanTrade,CanSell,CanBuy,CanBorrow,CanDrop,CanPick,CanRepair,CanRevive,CanUse,CanThrow,Price,CostRepair,CostRevive,CostBorrow,KeepingFee,SellPrice,ReqLevelType1,ReqLevel1,ReqLevelType2,ReqLevel2,ReqLevelType3,ReqLevel3,ReqLevelType4,ReqLevel4,MaxContain,RegionID,Dir,OffsetX,OffsetY,OffsetZ,Speed1,Speed2,Scale,BCHeight,BCRadius,EventID,AssocFileObj128,AssocFileDrop128,AssocFileIcon128,AssocFile1_128,AssocFile2_128,Link) VALUES
(1,@MAXOBJ,'STORE_'+@Teleport,@Teleport,'xxx','SN_STORE_'+@Teleport,'xxx',0,0,4,1,1,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,-1,0,-1,0,-1,0,-1,@REGION1,0,@POSX1,@POSY1,@POSZ1,0,0,50,50,30,0,'quest\ins_quest_teleport.bsr','xxx','xxx','xxx','xxx',@link)
SET IDENTITY_INSERT _RefObjCommon OFF
print ''
print 'Add the following line to teleportbuilding.txt @server_dep\silkroad\textdata folder'
print '1 '+CONVERT(varchar(max),@MAXOBJ)+' '+'STORE_'+@Teleport+' '+@Teleport+' xxx '+'SN_STORE_'+@Teleport+' xxx 0 0 4 1 1 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 0 -1 0 -1 0 -1 0 -1 '+CONVERT(varchar(max),@REGION1)+' 0 '+CONVERT(varchar(max),@POSX1)+' '+CONVERT(varchar(max),@POSY1)+' '+CONVERT(varchar(max),@POSZ1)+' 0 0 50 50 30 0 quest\ins_quest_teleport.bsr xxx xxx xxx xxx '+CONVERT(varchar(max),@link)
print ''
print 'Add the following line to textdata_object.txt @server_dep\silkroad\textdata folder'
print ''
print '1 '+'SN_STORE_'+@Teleport+' '+@Teleport
print ''
print ''
SET IDENTITY_INSERT _RefObjStruct ON
INSERT INTO _RefObjStruct (ID,Dummy_Data) VALUES
(@LINK,0)
SET IDENTITY_INSERT _RefObjStruct OFF
DECLARE @MAXTELID INT = (SELECT MAX (ID) FROM _RefTeleport)+1
DECLARE @WORLDID INT = (SELECT (WorldID) FROM _Char where CharName16 = @CHARNAME2)
DECLARE @REGION2 INT SET @REGION2 = (SELECT (LatestRegion) FROM _Char WHERE CharName16 = @CHARNAME2)
DECLARE @POSX2 INT SET @POSX2 = (SELECT (POSX) FROM _Char WHERE CharName16 = @CHARNAME2)
DECLARE @POSY2 INT SET @POSY2 = (SELECT (POSY) FROM _Char WHERE CharName16 = @CHARNAME2)
DECLARE @POSZ2 INT SET @POSZ2 = (SELECT (POSZ) FROM _Char WHERE CharName16 = @CHARNAME2)
SET IDENTITY_INSERT _RefTeleport ON
INSERT INTO _RefTeleport (Service,ID,CodeName128,AssocRefObjCodeName128,AssocRefObjID,ZoneName128,GenRegionID,GenPos_X,GenPos_Y,GenPos_Z,GenAreaRadius,CanBeResurrectPos,CanGotoResurrectPos,GenWorldID,BindInteractionMask,FixedService) VALUES
(1,@MAXTELID,'GATE_'+@Teleport,'STORE_'+@Teleport,@MAXOBJ,'SN_STORE_'+@Teleport,@REGION2,@POSX2,@POSY2,@POSZ2,30,0,0,@WORLDID,1,0)
SET IDENTITY_INSERT _RefTeleport OFF
print ''
print 'Add the following line to teleportdata.txt @server_dep\silkroad\textdata folder'
print '1 '+CONVERT(varchar(max),@MAXTELID)+' '+'GATE_'+@Teleport+' '+CONVERT(varchar(max),@MAXOBJ)+' '+'SN_STORE_'+@Teleport+' '+CONVERT(varchar(max),@REGION2)+' '+CONVERT(varchar(max),@POSX2)+' '+CONVERT(varchar(max),@POSY2)+' '+CONVERT(varchar(max),@POSZ2)+' 30 0 0 '+CONVERT(varchar(max),@WORLDID)+' 1 0'
print ''
print ''
IF @RequiredLVL = 0
BEGIN
INSERT INTO _RefTeleLink (Service,OwnerTeleport,TargetTeleport,Fee,RestrictBindMethod,RunTimeTeleportMethod,CheckResult,Restrict1,Data1_1,Data1_2,Restrict2,Data2_1,Data2_2,Restrict3,Data3_1,Data3_2,Restrict4,Data4_1,Data4_2,Restrict5,Data5_1,Data5_2) VALUES
(1,@OwnTeleport,@MAXTELID,@Fee,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
INSERT INTO _RefTeleLink (Service,OwnerTeleport,TargetTeleport,Fee,RestrictBindMethod,RunTimeTeleportMethod,CheckResult,Restrict1,Data1_1,Data1_2,Restrict2,Data2_1,Data2_2,Restrict3,Data3_1,Data3_2,Restrict4,Data4_1,Data4_2,Restrict5,Data5_1,Data5_2) VALUES
(1,@MAXTELID,@OwnTeleport,@Fee,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
print ''
print 'Add the following lines to teleportlink.txt @server_dep\silkroad\textdata folder'
print '1 '+CONVERT(varchar(max),@OwnTeleport)+' '+CONVERT(varchar(max),@MAXTELID)+' '+CONVERT(varchar(max),@Fee)+' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'
print '1 '+CONVERT(varchar(max),@MAXTELID)+' '+CONVERT(varchar(max),@OwnTeleport)+' '+CONVERT(varchar(max),@Fee)+' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'
print ''
END
ELSE BEGIN
INSERT INTO _RefTeleLink (Service,OwnerTeleport,TargetTeleport,Fee,RestrictBindMethod,RunTimeTeleportMethod,CheckResult,Restrict1,Data1_1,Data1_2,Restrict2,Data2_1,Data2_2,Restrict3,Data3_1,Data3_2,Restrict4,Data4_1,Data4_2,Restrict5,Data5_1,Data5_2) VALUES
(1,@OwnTeleport,@MAXTELID,@Fee,0,0,0,1,@RequiredLVL,999,0,0,0,0,0,0,0,0,0,0,0,0)
print ''
print ''
print 'Add the following line to teleportlink.txt @server_dep\silkroad\textdata folder'
print '1 '+CONVERT(varchar(max),@OwnTeleport)+' '+CONVERT(varchar(max),@MAXTELID)+' '+CONVERT(varchar(max),@Fee)+' 0 0 0 1 '+CONVERT(varchar(max),@RequiredLVL)+' 999 0 0 0 0 0 0 0 0 0 0 0 0'
print ''
END
print ''
print 'Done!'
The teleporter should be working ... but it doesn't. Firstly tried it on the old login screen, the "china_wharf", but since, I am as well being unable to load my character (shows an error with S1022 or something like that, server is offline, etc. blah blah), so I thought setting a test teleporter at the Tomb, south-east of jangan.
PS: I am always backing up my database, before trying something. If I am messing up something, and I will for sure, so I will be save upon retry. The files are in a stable state of the backup. No new adjustments, no custom teleporters, etc. just a regular vsro package.
As well, here are the 4 documents for the media.pk2.
Maybe there is something which is conflicting within the custom teleporter? Though, I cannot figure out which one conflicts anyway, since I removed the custom teleport relevant strings of the txt-files (media.pk2 wasn't clean, though, it was from EmpireSRO Fetih_1453).
"Crashes near the custom teleporter" isn't the same as "Crashes after clicking on it".
My problem occurred because I added an extra column to the custom teleportdata row.
If you pointing it this way, it is meant "Right after being teleported, you will see the ground texture for a second and you will crash insta, without any errors".
Hope this will make it more clearly to understand.
If you pointing it this way, it is meant "Right after being teleported, you will see the ground texture for a second and you will crash insta, without any errors".
Hope this will make it more clearly to understand.
Then,it's map-related issue not a teleport-related.Your teleport works fine,but double check the area that you're teleported to,can you warp there?
Then,it's map-related issue not a teleport-related.Your teleport works fine,but double check the area that you're teleported to,can you warp there?
If I disable the teleporter (server and client sided), walk around there - it will work as usual.
It is the Tomb region, since China_Wharf didn't work, or won't work (not being able to login, if I set my coordinates upon that place).
Well fck it, since no one is willing to offer any help. As well, fixed this issue on my own way. Took me more than 2 days, but fck it, yes.
Well, going to ask on maxigame, since THAT community is helping each other.
Most of you are ******** around "oqe turks r stupit yea krall kyng" etc. but they are more like a chain and helping each other. Get a slice of it!
Well fck it, since no one is willing to offer any help. As well, fixed this issue on my own way. Took me more than 2 days, but fck it, yes.
Well, going to ask on maxigame, since THAT community is helping each other.
Most of you are ******** around "oqe turks r stupit yea krall kyng" etc. but they are more like a chain and helping each other. Get a slice of it!
Please tell me how did you fix it i have the same problem ..
Custom teleport bug, 05/09/2015 - SRO Private Server - 19 Replies Hello guys,
So, i added a new custom teleport, using this query :
USE SRO_VT_SHARD
DECLARE @Teleport VARCHAR (64)
DECLARE @CHARNAME1 VARCHAR (30)
Problem With CUstom teleport items 06/25/2010 - EO PServer Hosting - 4 Replies ok so i did everything i get it on my toons names right codes seem right
but when i click to use it. it puts it on like its a pieace of armor any1 tell me were i went wrong?
theres the code i created for it but dunno were i went wrong any help?
M2 Multihack 1.8, Custom Teleport 1.2 06/12/2008 - Metin2 - 2 Replies Moin , moin ^^
Ich habe ein problem mit diesen Cheats: M2 Multihack 1.8, Custom Teleport 1.2 ...:confused:
Egal wann ich die öffne , jedes mal kommt ein Fenster mit : "Unexpected error"
Aber Multihack Selector 1.7 funkzioniert !
Wenn jemand das gleiche problem hatte , und / oder weis wie ich das beheben könnte bitte einfach mal melden ^^
Würde mich freuen :D
METIN2 CUSTOM TELEPORT 1.2 WITH MAP SELECTOR HELP 05/05/2008 - Metin2 - 4 Replies METIN2 CUSTOM TELEPORT 1.2 WITH MAP SELECTOR I cant download file
the web site is dont working .... :mad:
LINK >http://www.elitepvpers.com/forum/metin-2-hacks- bots-cheats-exploits-macros/115448-release-metin2- custom-teleport-1-2-map-selector.html
http://www.gamehack.helloweb.eu/showthread.php?t= 198
please link too CUSTOM TELEPORT 1.2
[RELEASE] METIN2 CUSTOM TELEPORT 1.0 02/14/2008 - Metin2 - 5 Replies USCITA NUOVA VERSIONE........e che versione !!!
NEW RELEASE OUT SEE LINK !!
Metin2 Custom Teleport 1.2 Con Map Selector - GAME HACKING FORUM