Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 08:58

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

Advertisement



[How to] implement Act 7 main quest + teleport

Discussion on [How to] implement Act 7 main quest + teleport within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
ZzFedeStorMzZ's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 10
Received Thanks: 15
[HowTo] implement Act 7 main quest + teleport

First you need to go and add 2 Map npc in the database

Port Alveus Npc (where you get main act 7 quest):

MapNpcId: 9308
Dialog: 11017
Effect: 0
EffectDelay:4750
IsDisabled: False
IsMoving: Flase
IsSitting: False
MapId: 145 -> Port Alveus
MapX: 50
MapY: 28
NpcVNum: 3093
Position: 2

Mortaz Npc (the one you need to talk with):

MapNpcId: Id you want (I used 20001) -> There's no n_run for this npc
Dialog: 11007
Effect: 0
EffectDelay:4750
IsDisabled: False
IsMoving: Flase
IsSitting: False
MapId: 170-> Mortaz
MapX: 91
MapY: 68
NpcVNum: 3109
Position: 0

Then add in Teleporters:

//Tp to map

Index: 0
MapId: 2631
MapNpcId: 20001 -> (the Mortaz one)
MapX: 7
MapY: 47

//Tps back

Index: 170
MapId: 170
MapNpcId: 14924 -> (Npc to tp back)
MapX: 91
MapY: 64

Index: 145
MapId: 145
MapNpcId: 14924 -> (Npc to tp back)
MapX: 53
MapY: 28

-----------------

For Importing Teleports from packet.txt:
In the Source search for -> ImportTeleporters()
Change:
Code:
o[1].Equals("16") || o[1].Equals("26") || o[1].Equals("45") || o[1].Equals("301") || o[1].Equals("132") || o[1].Equals("5002") || o[1].Equals("5012")
To:
Code:
o[1].Equals("335") || o[1].Equals("336") || o[1].Equals("16") || o[1].Equals("26") || o[1].Equals("45") || o[1].Equals("301") || o[1].Equals("132") || o[1].Equals("5002") || o[1].Equals("5012")
-----------------

After this go to the source OpenNos.GameObject -> Npc -> NRunHandler.cs

add these cases before the default one:

Code:
case 332:
                    if (npc == null)
                    {
                        return;
                    }

                    Session.Character.AddQuest(6500);
                    break;

case 334:
                    tp = npc?.Teleporters?.FirstOrDefault(s => s.Index == packet.Type);
                    if (tp != null)
                    {
                        ServerManager.Instance.ChangeMap(Session.Character.CharacterId, tp.MapId, tp.MapX, tp.MapY);
                    }
                    break;

case 335:
                    tp = npc?.Teleporters?.FirstOrDefault(s => s.Index == packet.Type);
                    if (tp != null)
                    {
                        ServerManager.Instance.ChangeMap(Session.Character.CharacterId, tp.MapId, tp.MapX, tp.MapY);
                    }
                    break;
                    
case 336:
                    tp = npc?.Teleporters?.FirstOrDefault(s => s.Index == packet.Type);
                    if (tp != null)
                    {
                        ServerManager.Instance.ChangeMap(Session.Character.CharacterId, tp.MapId, tp.MapX, tp.MapY);
                    }
                    break;
ZzFedeStorMzZ is offline  
Thanks
1 User
Old 12/21/2019, 13:10   #2
 
ZzFedeStorMzZ's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 10
Received Thanks: 15
I made a mess before but now It's fixed >.<
ZzFedeStorMzZ is offline  
Old 12/24/2019, 17:56   #3
 
elite*gold: 0
Join Date: Aug 2019
Posts: 97
Received Thanks: 3
The ship of act7 don't work bro
Cucalon is offline  
Old 12/24/2019, 21:57   #4
 
elite*gold: 0
Join Date: Dec 2011
Posts: 13
Received Thanks: 5
Quote:
Originally Posted by Cucalon View Post
The ship of act7 don't work bro
is working bro ^^
orgi100 is offline  
Reply


Similar Threads Similar Threads
Suche jemand der act 2- act 4 zieht hell zahle mit diablo 3 gold
06/09/2012 - Diablo 3 Trading - 0 Replies
hey Suche wie in Titel schon steht ein rush hell act 2 ab kull - act 4 diablo pn me mit preis oder ingame Battletag: Raven#2322
Suche Rush act 2 hell -act 4 hell
06/09/2012 - Diablo 3 Trading - 0 Replies
Hey Wenn sich jemand gold dazu verdinnen will einfach im spiel anschreiben Raven#2322 preis ist verhandelbar zahle mit Diablo 3 gold Push nun von act 2 kull bis act 4 diablo rush gesucht pn hier oder ingame



All times are GMT +1. The time now is 08:59.


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.