Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 18:25

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

Advertisement



[Help] Sending gifts via Npcs.

Discussion on [Help] Sending gifts via Npcs. within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
NosRaible's Avatar
 
elite*gold: 0
Join Date: Jun 2018
Posts: 121
Received Thanks: 42
[Help] Sending gifts via Npcs.

I know this is possible but can anyone show me an example to how to send gifts when the players dialog with the npcs?

I checked the source codes and realized something in Nrunhandler but it comes to me hardcoded
NosRaible is offline  
Old 07/11/2019, 19:48   #2

 
Blowa's Avatar
 
elite*gold: 48
Join Date: Jan 2010
Posts: 647
Received Thanks: 1,789
Quote:
Originally Posted by NosRaible View Post
I know this is possible but can anyone show me an example to how to send gifts when the players dialog with the npcs?

I checked the source codes and realized something in Nrunhandler but it comes to me hardcoded
"Hardcoded" does not mean you can not do that, it's just bullshit to get a copy paste because you are not able to do it by yourself.

Just learn programming, OnDialog Event-> SendGiftToPlayer so hard
Blowa is offline  
Thanks
3 Users
Old 07/14/2019, 14:44   #3
 
elite*gold: 0
Join Date: Jun 2019
Posts: 20
Received Thanks: 6
I'll give you an example.

Code:
case Your_Own_Nrun:
{
if (npc.Id == 9999) //This check is NOT needed
{
 //Add if statement?
 //Add Check for AlreadyGotGift
 //Add Gift to session
}
}
break;
You can also check the Name ?? Or MenuType if you do ClientModding.

I would prefer doing ClientModding, so add your own NRun, and add it to NRun Handler and check the Type. Its easy though
Prophecy_ is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Keine Items an NPCs Verkaufen/Keine Penya von NPCs erhalten
11/18/2013 - Flyff Private Server - 3 Replies
Weis jemand zufällig was ich machen muss damit Spieler garkeine Items mehr an NPCs verkaufen können oder zumindest keine Penya durch den Verkauf von Items an NPCs mehr bekommen? Danke im vorraus.
[Request] Sending SOULBOUND items via Mail
02/13/2012 - Rift - 1 Replies
Sending SOULBOUND items via Mail. Hi. is there any application that will let me send Soulbound item to my other character ? Can any1 make it if there isn't?
[Need Help] rPE - how block packet for sending to server?
06/04/2011 - General Coding - 2 Replies
Hello. I don't know how block some packet in rPE. In WPE - checkbox "Block" Can anyone help with example custom filter for rPE to block packet?
Help with sending packets in autoit
08/16/2010 - AutoIt - 1 Replies
ive been lookin around different sites for ways to send packets to the game server. the only examples i see is to create a server and a client which i dont need, i think. well to the point now, can someone lead me in a direction or tell me how to send packets to a game? also if i send packets then that means i dont need the game to be active, correct? Because in autoit when u use keys u need to have the game active, and control send does not work. ty
Need help sending a packet !
02/28/2010 - Kal Online - 1 Replies
i've got a Question and i hope some1 can help me there is an item at a NPC that u can buy 1 only each time .. and i need to buy 1000000 of it so i need to send the packet to buy this item 1000000 times when i try to sniff the packet to buy this item i got : Packet type : 0x18 format : m arguments : (unknown character) so ... how can i send that (unknown character) as an argument ?? in the code that (unknown character) is displayed from "(DWORD)va_arg(args,DWORD)" when i tried to save...



All times are GMT +1. The time now is 18:28.


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.