Register for your free account! | Forgot your password?

You last visited: Today at 07:50

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

Advertisement



Custom teleport bug,

Discussion on Custom teleport bug, within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
GhosTsReapeR's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 189
Received Thanks: 12
Custom teleport bug,

Hello guys,


So, i added a new custom teleport, using this query :

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

/* Put your settings here */
SET @Teleport = 'PVP_ZONE' -- any name you want ex: PK_ZONE or PVP_ZONE
SET @CHARNAME1 = 'CHARNAME1' -- Teleport position
SET @CHARNAME2 = 'CHARNAME2' -- Spawn position after teleport
SET @OwnTeleport = 1  -- Target teleport ID ex: 1 for Jangan - 5 for Hotan - 20 for Constantinople
SET @Fee = 50000  -- Gold amount to Pass the teleport
SET @RequiredLVL = 0  -- minimum level required to teleport 0 for no restriction - ex:90 lvl 90 and higher can teleport
/* settings area end here */

IF EXISTS (SELECT CodeName128 FROM _RefObjCommon WHERE CodeName128 = 'STORE_'+@Teleport)
 BEGIN
  raiserror('The stated teleportname of %s is already exist!',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\teleport01.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\teleport01.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)

  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)
  
  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!'

i also set it to be teleported from jangan.
It worked fine, all good, no bugs, Then i put all Media lines in media.pk2, and just restarted client, it was there, the name, everything, just didnt work, so i restarted the server, now anyone who is near to Jangan's teleportation npc crashes, insta crash, no talks, no delay, anyone goes near there crashes.
any suggestions?
GhosTsReapeR is offline  
Old 05/03/2013, 00:45   #2
 
Ninja_Stylez's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 307
Received Thanks: 48
Make auto-update with the newest files, people get crashes because they don't have the lines for the teleports, happens to me often on my test server when I forgot to add the lines for new teleports
Ninja_Stylez is offline  
Old 05/03/2013, 11:07   #3
 
GhosTsReapeR's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 189
Received Thanks: 12
It crashes everybody, not just the ones that doesn't have the lines, I have the lines & I crash too, so I disabled it until I find a solution, when its disabled, it crashes when you click on it, when its enabled, it crashes anyone in its area, with like 200 radius around it.
GhosTsReapeR is offline  
Old 05/03/2013, 11:30   #4
 
Ninja_Stylez's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 307
Received Thanks: 48
delete this one and add a new one under new name.. when I had similliar problem I deleted all lines objcommon/teleport/telelink etc..
Ninja_Stylez is offline  
Old 05/03/2013, 23:49   #5
 
GhosTsReapeR's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 189
Received Thanks: 12
this is my 3rd time trying, all same problem, I can post the lines for you if you want to
GhosTsReapeR is offline  
Old 05/04/2013, 00:21   #6
 
elite*gold: 0
Join Date: Sep 2007
Posts: 32
Received Thanks: 14
Yes if you can post the lines i will try and figure out whats wrong
xaxpaperxclipx is offline  
Old 05/04/2013, 00:42   #7
 
Schickl's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,064
Received Thanks: 539
probably some files are missing

post the dump file

btw: that script is horrifying. Hope you didn't create it yourself
Using IDENTITY_INSERT here really is not good...
Schickl is offline  
Old 05/04/2013, 01:29   #8
 
GhosTsReapeR's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 189
Received Thanks: 12
Here're the lines,


From DB:

_RefObjCommon "Note first 0 is because I disabled it because of the crash"
Code:
0	43448	STORE_Uniques_Arena	Uniques_Arena	xxx	SN_STORE_Uniques_Arena	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	25000	0	1221	-33	1327	0	0	50	50	30	0	quest\teleport01.bsr	xxx	xxx	xxx	xxx	83
_RefTeleLink
Code:
1	1	224	100000	0	0	0	1	101	999	0	0	0	0	0	0	0	0	0	0	0	0
_RefTeleport "Note first 0 is because I disabled it because of the crash"
Code:
0	224	GATE_Uniques_Arena	STORE_Uniques_Arena	43448	SN_STORE_Uniques_Arena	32471	960	217	948	30	0	0	1	1	0

From the media I have this :

teleportbuilding.txt
Code:
1	43448	STORE_Uniques_Arena	Uniques_Arena	xxx	SN_STORE_Uniques_Arena	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	25000	0	1221	-33	1327	0	0	50	50	30	0	quest\teleport01.bsr	xxx	xxx	xxx	xxx	83
teleportdata.txt
Code:
1	224	GATE_Uniques_Arena	43448	SN_STORE_Uniques_Arena	32471	960	217	948	30	0	0	1	1	0
teleportlink.txt
Code:
1	1	224	100000	0	0	0	1	101	999	0	0	0	0	0	0	0	0	0	0	0	0

There you go, good luck finding whats wrong.
GhosTsReapeR is offline  
Old 05/04/2013, 02:00   #9
 
Schickl's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,064
Received Thanks: 539
Since the client crashes I think that something is missing(a file in the pk2 or w/e)
that's why I asked for the dump file
Schickl is offline  
Old 05/04/2013, 03:00   #10
 
IceAmStiel's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 1,058
Received Thanks: 1,118
For the sake of readability lol (even tho the php formatting screws it again haha)

PHP Code:
SET NOCOUNT ON;

Declare    @
Tel_NAME        varchar(128),
        @
refChar_1        varchar(32),
        @
refChar_2        varchar(32),
        @
OwnTeleport    int,
        @
Fee            int,
        @
req_Level        int,
        @
ObjID            int,
        @
RegionID        smallint,
        @
Pos_X            real,
        @
Pos_Y            real,
        @
Pos_Z            real,
        @
ObjLink        int,
        @
TelID            int,
        @
WorldID        smallint;
SELECT    @Tel_NAME        'PVP_ZONE5',
        @
refChar_1        'Melrin',
        @
refChar_2        'ALO',
        @
OwnTeleport    1,
        @
Fee            500,
        @
req_Level        0;


IF 
exists (SELECT 1 FROM dbo._RefObjCommon with(NOLOCKWHERE CodeName128 'STORE_' + @Tel_NAME)
    
BEGIN
        RAISERROR
('Stated teleportname %s already exists!'111, @Tel_NAME);
        RETURN;
    
END


SELECT    
@RegionID    LatestRegion,
        @
Pos_X        PosX,
        @
Pos_Y        PosY,
        @
Pos_Z        PosZ    FROM dbo._Char WHERE CharName16 = @refChar_1;


INSERT INTO    dbo._RefObjStruct SELECT 0;
SELECT    @ObjLink        = @@IDENTITY;


INSERT INTO    dbo._RefObjCommon    ([Service],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,'STORE_'+@Tel_NAME,@Tel_NAME,'xxx','SN_STORE_' + @Tel_NAME,'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,@RegionID,0,@Pos_X,@Pos_Y,@Pos_Z,0,0,50,50,30,0,'quest\teleport01.bsr','xxx','xxx','xxx','xxx',@ObjLink)
SELECT    @ObjID        = @@IDENTITY;


SELECT    'server_dep\silkroad\textdata\teleportbuilding.txt »' 'Destination file', * FROM dbo._RefObjCommon with(NOLOCKWHERE ID = @ObjID;
SELECT    'server_dep\silkroad\textdata\textdata_object.txt »' 'Destination file'1'SN_STORE_' + @Tel_NAME'''''''''''''', @Tel_NAME;


SELECT    @WorldID    WorldID,
        @
RegionID    LatestRegion,
        @
Pos_X        PosX,
        @
Pos_Y        PosY,
        @
Pos_Z        PosZ    FROM dbo._Char WHERE CharName16 = @refChar_1;


INSERT INTO    dbo._RefTeleport    ([Service],CodeName128,AssocRefObjCodeName128,AssocRefObjID,ZoneName128,GenRegionID,GenPos_X,GenPos_Y,GenPos_Z,GenAreaRadius,CanBeResurrectPos,CanGotoResurrectPos,GenWorldID,BindInteractionMask,FixedService)
VALUES                            (1,'GATE_'+@Tel_NAME,'STORE_'+@Tel_NAME,@ObjID,'SN_STORE_'+@Tel_NAME,@RegionID,@Pos_X,@Pos_Y,@Pos_Z,30,0,0,@WorldID,1,0);
SELECT    @TelID    = @@IDENTITY;


SELECT 'server_dep\silkroad\textdata\teleportdata.txt »' 'Destination file', [Service], IDCodeName128AssocRefObjIDZoneName128GenRegionIDGenPos_XGenPos_YGenPos_ZGenAreaRadiusCanBeResurrectPosCanGotoResurrectPosGenWorldID FROM dbo._RefTeleport with(NOLOCKWHERE ID = @TelID;


INSERT INTO    dbo._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,@TelID,@Fee,0,0,0,CASE WHEN @req_Level 0 THEN 1 ELSE 0 END,@req_Level,CASE WHEN @req_Level 0 THEN 999 ELSE 0 END,0,0,0,0,0,0,0,0,0,0,0,0);
INSERT INTO    dbo._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,@TelID,@OwnTeleport,@Fee,0,0,0,CASE WHEN @req_Level 0 THEN 1 ELSE 0 END,@req_Level,CASE WHEN @req_Level 0 THEN 999 ELSE 0 END,0,0,0,0,0,0,0,0,0,0,0,0);

SELECT    'server_dep\silkroad\textdata\teleportlink.txt »' 'Destination file'1, @OwnTeleport, @TelID, @Fee000, CASE WHEN @req_Level 0 THEN 1 ELSE 0 END, @req_Level, CASE WHEN @req_Level 0 THEN 999 ELSE 0 END000000000000 UNION ALL
SELECT    
'server_dep\silkroad\textdata\teleportlink.txt »' 'Destination file'1, @TelID, @OwnTeleport, @Fee000, CASE WHEN @req_Level 0 THEN 1 ELSE 0 END, @req_Level, CASE WHEN @req_Level 0 THEN 999 ELSE 0 END000000000000;


SET NOCOUNT OFF;

RAISERROR('Transaction for teleport %s successfully completed!'101, @Tel_NAME); 

(Doesn't mean that the query is flawless)

AND PEOPLE use the might of the identity property!
Attached Files
File Type: txt Blablubb_Query.txt (4.3 KB, 38 views)
IceAmStiel is offline  
Thanks
1 User
Old 05/04/2013, 03:26   #11
 
elite*gold: 0
Join Date: Sep 2007
Posts: 32
Received Thanks: 14
Quote:
Originally Posted by GhosTsReapeR View Post
Here're the lines,


From DB:

_RefObjCommon "Note first 0 is because I disabled it because of the crash"
Code:
0	43448	STORE_Uniques_Arena	Uniques_Arena	xxx	SN_STORE_Uniques_Arena	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	25000	0	1221	-33	1327	0	0	50	50	30	0	quest\teleport01.bsr	xxx	xxx	xxx	xxx	83
_RefTeleLink
Code:
1	1	224	100000	0	0	0	1	101	999	0	0	0	0	0	0	0	0	0	0	0	0
_RefTeleport "Note first 0 is because I disabled it because of the crash"
Code:
0	224	GATE_Uniques_Arena	STORE_Uniques_Arena	43448	SN_STORE_Uniques_Arena	32471	960	217	948	30	0	0	1	1	0

From the media I have this :

teleportbuilding.txt
Code:
1	43448	STORE_Uniques_Arena	Uniques_Arena	xxx	SN_STORE_Uniques_Arena	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	25000	0	1221	-33	1327	0	0	50	50	30	0	quest\teleport01.bsr	xxx	xxx	xxx	xxx	83
teleportdata.txt
Code:
1	224	GATE_Uniques_Arena	43448	SN_STORE_Uniques_Arena	32471	960	217	948	30	0	0	1	1	0
teleportlink.txt
Code:
1	1	224	100000	0	0	0	1	101	999	0	0	0	0	0	0	0	0	0	0	0	0

There you go, good luck finding whats wrong.
From what i See your spawning a teleport building right in front of the jangan teleporter,
Code:
25000	0	1221	-33	1327
also check and see if the teleport building bsr is in your data.pk2 Data\res\quest\teleport01.bsr

try changing the xyz to this
Code:
32471	960	217	948
in both RefObjcommon and teleportbuilding.txt
xaxpaperxclipx is offline  
Old 05/04/2013, 03:36   #12
 
Kape7's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,298
Quote:
Originally Posted by GhosTsReapeR View Post
Here're the lines,


From DB:

_RefObjCommon "Note first 0 is because I disabled it because of the crash"
Code:
0	43448	STORE_Uniques_Arena	Uniques_Arena	xxx	SN_STORE_Uniques_Arena	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	25000	0	1221	-33	1327	0	0	50	50	30	0	quest\teleport01.bsr	xxx	xxx	xxx	xxx	83
_RefTeleLink
Code:
1	1	224	100000	0	0	0	1	101	999	0	0	0	0	0	0	0	0	0	0	0	0
_RefTeleport "Note first 0 is because I disabled it because of the crash"
Code:
0	224	GATE_Uniques_Arena	STORE_Uniques_Arena	43448	SN_STORE_Uniques_Arena	32471	960	217	948	30	0	0	1	1	0

From the media I have this :

teleportbuilding.txt
Code:
1	43448	STORE_Uniques_Arena	Uniques_Arena	xxx	SN_STORE_Uniques_Arena	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	25000	0	1221	-33	1327	0	0	50	50	30	0	quest\teleport01.bsr	xxx	xxx	xxx	xxx	83
teleportdata.txt
Code:
1	224	GATE_Uniques_Arena	43448	SN_STORE_Uniques_Arena	32471	960	217	948	30	0	0	1	1	0
teleportlink.txt
Code:
1	1	224	100000	0	0	0	1	101	999	0	0	0	0	0	0	0	0	0	0	0	0

There you go, good luck finding whats wrong.
Not sure if that's the problem, but set the last number to 0 on teleportbuilding.txt, not 83, which is the ID from the _RefObjStruct table on the db (dummy).
Kape7 is offline  
Old 05/06/2013, 08:43   #13
 
GhosTsReapeR's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 189
Received Thanks: 12
Quote:
Originally Posted by xaxpaperxclipx View Post
From what i See your spawning a teleport building right in front of the jangan teleporter,
Code:
25000	0	1221	-33	1327
also check and see if the teleport building bsr is in your data.pk2 Data\res\quest\teleport01.bsr

try changing the xyz to this
Code:
32471	960	217	948
in both RefObjcommon and teleportbuilding.txt


teleport01.bsr is in there, I tried changing the xyz as you suggested, it stopped crashing at jangan, but now it crashes after I teleport to the other side.

Also, posted the dump file in attachements.


VirusTotal scan :
Attached Files
File Type: rar Crash dump file.rar (18.9 KB, 11 views)
GhosTsReapeR is offline  
Old 05/06/2013, 08:47   #14
 
GhosTsReapeR's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 189
Received Thanks: 12
Quote:
Originally Posted by Synx7 View Post
Not sure if that's the problem, but set the last number to 0 on teleportbuilding.txt, not 83, which is the ID from the _RefObjStruct table on the db (dummy).
Nothing changes.
GhosTsReapeR is offline  
Old 05/06/2013, 09:32   #15
 
Kape7's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,298
Quote:
Originally Posted by GhosTsReapeR View Post
teleport01.bsr is in there, I tried changing the xyz as you suggested, it stopped crashing at jangan, but now it crashes after I teleport to the other side.

Also, posted the dump file in attachements.


VirusTotal scan :
-_-

ASSERT("prim\mtrl\quest\teleport01.bmt Loading Failed.")

That file is missing on your Data.pk2.
Kape7 is offline  
Reply


Similar Threads Similar Threads
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?
[RELEASE] METIN2 CUSTOM TELEPORT 1.2 WITH MAP SELECTOR
10/15/2008 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 48 Replies
NEW RELEASE OUT 1.2 WITH MAP SELECTOR Simply click on a point into the map inside the cheat, press teleport and you are teleported in your clicked place. WORK WITH NO PATCHE VER. OF METIN, AND METIN.US 1- start game 2- start cheat 3- login into game and start play
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 07:50.


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.