Help Adding Teleport System by Int16

Status
Not open for further replies.
Newbie Spellweaver
Joined
Dec 6, 2022
Messages
17
Reaction score
2
Hello, I want to add the system release by Sir Int16, I love his release it has drop added. Now so far I got these errors.



But then I change the following to
WIDC_LISTBOX -> WIDC_LISTBOX1
WIDC_BUTTON -> WIDC_BUTTON1
WIDC_CUSTOM -> WIDC_CUSTOM1

After that I compile the source again and voila no error, but after running the client, I got in on the game, then after pressing the desired key which is "V" the client crash

This is the error log message I found inside Client/Log folder
-----> 2023/ 1/15 13:36:18 GetDlgItem : nID=785 not Found.

Also I tried to do this and because its not included on the tutorial, so I'm not sure if I did the right thing
----------> ( and dont forget to define the packet "PACKETTYPE_TELE16" )

like this

#ifdef __SYS_TELE16#define PACKETTYPE_TELE16 (DWORD)0xAA000011#endif
on MsgHdr.h

This is the original thread of the released teleport system by Sir Int16
------------> [RELEASE] reworked teleporter + drops - RaGEZONE - MMO development community

Thanks, I really want to try and add this feature tt:
PS. I am using VS22 V19 of Sir Ketchup
 

Attachments

You must be registered for see attachments list
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
The image clearly states that:
Code:
WIDC_LISTBOX
WIDC_BUTTON
WIDC_CUSTOM
is not defined.

Also not sure why you put the packet like this:
Code:
#ifdef __SYS_TELE16#define PACKETTYPE_TELE16 (DWORD)0xAA000011#endif

When it should be something like
Code:
#ifdef __SYS_TELE16
#define PACKETTYPE_TELE16 (DWORD)0xAA000011
#endif

There is no need to change the button names simply revert it back and define them in resData.h and it won't crash lol.

I mean honestly if you follow his instructions it works flawlessly, js.
 
Upvote 0
Newbie Spellweaver
Joined
Dec 6, 2022
Messages
17
Reaction score
2
I've got this debug error, I manage to compile it but it still crash whenever i press "V" so I debug the client and here's what I get



:*:
 

Attachments

You must be registered for see attachments list
Upvote 0
Newbie Spellweaver
Joined
Oct 4, 2022
Messages
38
Reaction score
54
- define the packet in MsgHdr.h
- make sure every element from the resdata.inc is also defined in resdata.h
- make sure you add the resource files (teleport16.inc/.txt.txt) in your resource and merge it
- also add the images from the teleport locations in your client/theme folder

and just a quick note that if you change or add serversided stuff ( xyz cooridates or worldid ) you need a world server rrestart
 
Upvote 0
Newbie Spellweaver
Joined
Dec 6, 2022
Messages
17
Reaction score
2
this is the step I've miss that I didn't know

adding teleport16.inc & teleport16.txt.txt in resource.txt
and it works now
tt:

Thanks Sir Ketchup and Sir Int16

 
Upvote 0
Status
Not open for further replies.