Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 23:29

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

Advertisement



Opcode 0x7046 - Opening NPC - Client crashes

Discussion on Opcode 0x7046 - Opening NPC - Client crashes within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2014
Posts: 34
Received Thanks: 16
Opcode 0x7046 - Opening NPC - Client crashes

Hey all,

I want to open the NPC and sell some items.

I am working with proxy, so with the client running.

If i send the opcode 0x7046:

[C -> S][7046]
54 02 00 00 T...............
01 ................

The client crashes.
But if i open the NPC one time via client first and close it, my code works.

Seems like if i do it just without the client, there are so informations missing?!
But which infos?
All packets are redirected to the client..
Any1 have done this so?
Is the client doing something internally if it opens the NPC?

Thanks.

****** EDIT ******

Ok, there is no need to "open" the NPC!

Just selecting and interacting with it is enough!
mxii is offline  
Old 09/15/2015, 22:48   #2
 
elite*gold: 11
Join Date: May 2009
Posts: 617
Received Thanks: 589
54 02 00 00 this part of packet is NPC's Unique ID which sent in spawn or group spawn packet so It's dynamic ID for NPC.You should parse spawn packets to do this operation
qoaway is offline  
Old 09/17/2015, 08:05   #3
 
elite*gold: 0
Join Date: Oct 2014
Posts: 34
Received Thanks: 16
yes, i know.

see my edit, i already solved it.

but thanks for your reply!
mxii is offline  
Old 09/18/2015, 08:33   #4
 
elite*gold: 0
Join Date: Feb 2009
Posts: 46
Received Thanks: 5
the problem source is the client , so if u working in a clientless tool u will not face any dc .
if u work in a client based tool u need to block the server replay packet (b045,b046) from reaching the client via proxy (phconnector support blocking opcode)

and what do u mean by ? explain that pls
Quote:
there is no need to "open" the NPC!

Just selecting and interacting with it is enough
theking200051 is offline  
Old 09/18/2015, 09:13   #5
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,840
Received Thanks: 4,672
Quote:
Originally Posted by theking200051 View Post
the problem source is the client , so if u working in a clientless tool u will not face any dc .
if u work in a client based tool u need to block the server replay packet (b045,b046) from reaching the client via proxy (phconnector support blocking opcode)

and what do u mean by ? explain that pls
That it isn't needed to "open" the NPC like leftclick->buy/sell stuff

The only thing you need is to select the NPC and buy you stuff via packets.
Devsome is offline  
Old 09/19/2015, 01:57   #6

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Remember when you buy items from the NPC, you gotta show them on your inventory because they wont just 'appear'.
You have to fake the pick up packet, as far as i remember, it was some time ago.
sarkoplata is offline  
Old 09/19/2015, 10:03   #7
 
elite*gold: 0
Join Date: Oct 2014
Posts: 34
Received Thanks: 16
Quote:
Originally Posted by theking200051 View Post
the problem source is the client , so if u working in a clientless tool u will not face any dc .
if u work in a client based tool u need to block the server replay packet (b045,b046) from reaching the client via proxy (phconnector support blocking opcode)

and what do u mean by ? explain that pls
You don't have to send the packet with opcode 0x7046, just selecting is enought to "speak" with the NPC.

@sarkoplata: yes, your are right! The client isnt prepared to receive buy-responses cause he did not initiate the buy process.
You have to block these packets and simulate them as pick-up packets.
mxii is offline  
Old 11/06/2018, 02:53   #8
 
elite*gold: 0
Join Date: Jun 2010
Posts: 28
Received Thanks: 14
Quote:
Originally Posted by mxii View Post
You don't have to send the packet with opcode 0x7046, just selecting is enought to "speak" with the NPC.

@sarkoplata: yes, your are right! The client isnt prepared to receive buy-responses cause he did not initiate the buy process.
You have to block these packets and simulate them as pick-up packets.
How ? How Im gonan block packets and send fake response please some body help me ?

Someone gonna help me please ?
oksn123 is offline  
Reply


Similar Threads Similar Threads
Client crashes
06/24/2014 - Metin2 Private Server - 2 Replies
Hi epvpers! Unfortunately I need some help.... I have a fresh installed server on VPS. Everything works fine until I click on a NPC. If I click on those NPC's who sell items, the client crashes immediately with the well known "??????? error". My question is what can this cause? And how can I solve it. (franzi sf whit Hungarian mob and item proto and quests) Thanks :)
[HELP] Client crashes at 99.9%
12/27/2011 - Dekaron Private Server - 7 Replies
So basically as the title says, my client crashes at 99.9%. does anyone know how to fix this?
Client Crashes.
03/25/2011 - WarRock - 6 Replies
Hallo, G1 weiss, dass bei manchen das WarRock crashed, und arbeitet schon daran. Also das heisst grob übersetzt, dass sie schon wissen das es crashed, und sie bereits daran arbeiten. Quelle Also falls es halt jemanden Interessiert =)
omg my client.. still crashes
05/30/2010 - SRO Private Server - 13 Replies
my sro client still crashes i delete dumb folder and setting folder.. but still it much crashes like 5-6 or 7 it finnaly log in or some times some times.. but plss help how i login in once=( with no crash:(
Client Crashes at TG
10/31/2006 - Conquer Online 2 - 4 Replies
Like many of you I cant leave my high lvl trojan at tg since, but after 10 minutes I leave him at TG i get kicked or a client error from the server. Is there a way to fix this problem? Thanks for your time -Roco



All times are GMT +1. The time now is 23:29.


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.