Register for your free account! | Forgot your password?

You last visited: Today at 21:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Custom Teleport crashes

Discussion on Custom Teleport crashes within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 962
Received Thanks: 650
Custom Teleport crashes

Hi,

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

Any idea?
magicanoo is offline  
Old 07/12/2013, 11:43   #2
 
elite*gold: 200
Join Date: Nov 2008
Posts: 1,263
Received Thanks: 679
wrong teleportdata, check it
flozz is offline  
Thanks
1 User
Old 07/12/2013, 12:35   #3
 
elite*gold: 0
Join Date: May 2013
Posts: 1,447
Received Thanks: 1,046
as flozz said wrong teleportdata, hint: not everything u see in the table _RefTeleport has to be in the textdata too ^^
Anonymous-6723 is offline  
Thanks
1 User
Old 07/12/2013, 17:42   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 962
Received Thanks: 650
Interesting..

Thanks guys,problem fixed.
magicanoo is offline  
Old 11/21/2013, 14:45   #5
 
blapanda's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 760
Do you mind explaining what you've done?
I have the same issue, crashing near my custom teleporter.
My teleportdata:

Code:
....x	27860	704	640	1722	10	0	0	62
1	204	GATE_ARENA_EVENT_GHOST_A_GATE	0	***	28120	1276	221	219	10	0	0	85
1	205	GATE_ARENA_EVENT_GHOST_B_GATE	0	***	28120	1276	221	219	10	0	0	85
1	206	GATE_EU_TO_JUPITER_FIELD	41780	SN_JUPITER_FIELD_TO_EU	25158	1506	476	27	50	0	0	1
1	207	GATE_JUPITER_FIELD_TO_EU	41781	SN_EU_TO_JUPITER_FIELD	23498	253	-204	1519	50	1	0	90
1	208	GATE_JUPITER_FIELD_TO_JUPITER	41782	SN_JUPITER_TO_JUPITER_FIELD	22219	837	475	1901	50	1	0	90
1	209	GATE_JUPITER_A_1	41783	SN_JUPITER_A_1_GATE_1	32236	950	880	900	25	0	0	86
1	210	GATE_JUPITER_A_2	41784	SN_JUPITER_A_2_GATE_1	32236	830	880	900	25	0	0	88
1	211	GATE_JUPITER_B_1	41785	SN_JUPITER_B_1_GATE_1ATE	-32746	-2	1	-137	25	0	0	87
1	212	GATE_JUPITER_B_2	41786	SN_JUPITER_B_2_GATE_1ATE	-32746	-3	1	-131	25	0	0	89
1	213	GATE_JUPITER_B2_START	41787	SN_JUPITER_B_2_GATE_1ATE	-32746	1080	1	630	25	0	0	89
1	214	GATE_JUPITER_B1_START	41788	SN_JUPITER_B_1_GATE_1ATE	-32746	1700	1	900	25	0	0	87
1	215	GATE_JUPITER_B1_1_TO_JUPITER	41789	SN_JUPITER_B_1_GATE_1ATE	-32746	-1423	1	839	50	0	0	87
1	216	GATE_JUPITER_B1_2_TO_JUPITER	41790	SN_JUPITER_B_1_GATE_1ATE	-32746	46	1	-1697	50	0	0	87
1	217	GATE_JUPITER_B2_1_TO_JUPITER	41791	SN_JUPITER_B_1_GATE_1ATE	-32746	-1418	1	838	50	0	0	89
1	218	GATE_JUPITER_B2_2_TO_JUPITER	41792	SN_JUPITER_B_1_GATE_1ATE	-32746	48	1	-1698	50	0	0	89
1	219	GATE_JUPITER_A0_START	41793	SN_JUPITER_A0_START_GATE_1	32236	950	880	900	25	0	0	93
1	220	GATE_JUPITER_B0_START	41794	SN_JUPITER_B0_START_GATE_1	-32746	-2	1	-137	25	0	0	94
1	221	GATE_JUPITER_B0_1	41795	SN_JUPITER_B0_1_GATE	-32746	46	1	-1697	25	0	0	94
1	222	GATE_JUPITER_B0_2	41796	SN_JUPITER_B0_2_GATE	-32746	-1423	1	839	25	0	0	94
1	223	GATE_JUPITER_B0_3	41797	SN_JUPITER_B0_3_GATE	-32746	1700	1	900	25	0	0	94
//Custom Teleporter
1	224	GATE_Graveyard	41798	SN_STORE_Graveyard	23980	997	277	558	30	0	0	1
blapanda is offline  
Old 11/21/2013, 15:01   #6
 
Kape7's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,298
Does the objectID exists on teleportbuilding.txt?
Kape7 is offline  
Old 11/21/2013, 21:04   #7
 
blapanda's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 760
Quote:
Originally Posted by Synx7 View Post
Does the objectID exists on teleportbuilding.txt?
Yep it does. I will just post the references of any string:

teleportdata.txt
Code:
1	224	GATE_GRAVEYARD	41798	SN_STORE_GRAVEYARD	23980	997	277	558	30	0	0	1	1	0
teleportbuilding.txt
Code:
1	41798	STORE_GRAVEYARD	GRAVEYARD	xxx	SN_STORE_GRAVEYARD	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	23980	0	1137	292	461	0	0	50	50	30	0	quest\teleport01.bsr	xxx	xxx	xxx	xxx	81
teleportlink.txt
Code:
1	1	224	1000	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
1	224	1	1000	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
textdata_object.txt
Code:
1	SN_STORE_GRAVEYARD	??? ??? ?? ???	0	0	0	0	0	Graveyard	Graveyard	0	0	0	0	0	0

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).

Download:

Virusscannadoodle (0/47):
blapanda is offline  
Old 11/22/2013, 22:15   #8
 
elite*gold: 0
Join Date: Feb 2008
Posts: 962
Received Thanks: 650
"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.
magicanoo is offline  
Old 11/23/2013, 00:29   #9
 
blapanda's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 760
Quote:
Originally Posted by magicanoo View Post
"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.
blapanda is offline  
Old 11/23/2013, 10:02   #10
 
elite*gold: 0
Join Date: Feb 2008
Posts: 962
Received Thanks: 650
Quote:
Originally Posted by blapanda View Post
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?
magicanoo is offline  
Old 11/23/2013, 14:22   #11
 
blapanda's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 760
Quote:
Originally Posted by magicanoo View Post
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).

What for map related issues could be the problem?
blapanda is offline  
Old 11/23/2013, 16:46   #12
 
elite*gold: 0
Join Date: Feb 2008
Posts: 962
Received Thanks: 650
Did you check the correct WorldID ?
Also show a picture of the error message you get in gameserver.
magicanoo is offline  
Old 11/23/2013, 18:16   #13
 
blapanda's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 760
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!
blapanda is offline  
Old 06/29/2017, 06:20   #14
 
elite*gold: 0
Join Date: Sep 2013
Posts: 26
Received Thanks: 1
Sasafizo

Quote:
Originally Posted by blapanda View Post
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 ..
sasafizo is offline  
Reply


Similar Threads Similar Threads
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



All times are GMT +1. The time now is 21:20.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.