Register for your free account! | Forgot your password?

You last visited: Today at 11:23

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

 

[Release]enter/exit TG

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2009
Posts: 143
Received Thanks: 154
[Release]enter/exit TG

Adds Boxer in tc, adds script to BoxerHuang inside TG to let you out.
Paste code in NPCTalk.cs
Code:
#region TC Boxer
                    case 600076:
                        {
                            switch (LinkBack)
                            {
                                case 0:
                                    {
                                        Text("If you are level 20 or above you may train the the training ground. Would youlike me to teleport you there for 1000 silver?", Client);
                                        Link("Yes, please.", 1, Client);
                                        Link("No, thanks.", 255, Client);
                                        Finish(Client);
                                        return;
                                    }
                                case 1:
                                    {
                                        Teleport(Client, 217, 215, 1039);
                                    }
                                    return;
                            }
                            return;
                        }
                    #endregion
                #region Leave TG
                    case 600075:
                        {
                            switch (LinkBack)
                            {
                                case 0:
                                    {
                                        Text("Although nothing will be consumed here, you cannot level up as fast as slaying the monsters. Shall I teleport you out?", Client);
                                        Link("Yes, please.", 1, Client);
                                        Link("No, thanks.", 255, Client);
                                        Finish(Client);
                                        return;
                                    }
                                case 1:
                                    {
                                        Teleport(Client, 430, 380, 1002);
                                    }
                                    return;
                            }
                            return;
                        }
                    #endregion
Intert into database:
Code:
600076	600076	6440	Boxer	1002	350	335	1	2
kinda useless since im pretty sure tg dummies arent added but w.e its all I can do for practise atm.



Jay10291 is offline  
Thanks
1 User
Old   #2
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
In my opinion that is a useless release and other people can do that.I'm sorry for this reply but that is true..


Sp!!ke is offline  
Old   #3
 
elite*gold: 0
Join Date: Oct 2009
Posts: 123
Received Thanks: 21
Quote:
Originally Posted by Jay10291 View Post
Adds Boxer in tc, adds script to BoxerHuang inside TG to let you out.
Paste code in NPCTalk.cs
Code:
#region TC Boxer
                    case 600076:
                        {
                            switch (LinkBack)
                            {
                                case 0:
                                    {
                                        Text("If you are level 20 or above you may train the the training ground. Would youlike me to teleport you there for 1000 silver?", Client);
                                        Link("Yes, please.", 1, Client);
                                        Link("No, thanks.", 255, Client);
                                        Finish(Client);
                                        return;
                                    }
                                case 1:
                                    {
                                        Teleport(Client, 217, 215, 1039);
                                    }
                                    return;
                            }
                            return;
                        }
                    #endregion
                #region Leave TG
                    case 600075:
                        {
                            switch (LinkBack)
                            {
                                case 0:
                                    {
                                        Text("Although nothing will be consumed here, you cannot level up as fast as slaying the monsters. Shall I teleport you out?", Client);
                                        Link("Yes, please.", 1, Client);
                                        Link("No, thanks.", 255, Client);
                                        Finish(Client);
                                        return;
                                    }
                                case 1:
                                    {
                                        Teleport(Client, 430, 380, 1002);
                                    }
                                    return;
                            }
                            return;
                        }
                    #endregion
Intert into database:
Code:
600076	600076	6440	Boxer	1002	350	335	1	2
kinda useless since im pretty sure tg dummies arent added but w.e its all I can do for practise atm.
only teleport?
thesamuraivega is offline  
Old   #4
 
elite*gold: 0
Join Date: Apr 2007
Posts: 142
Received Thanks: 15
Quote:
Originally Posted by thesamuraivega View Post
only teleport?
Why you are facepalming? "only teleport" At least he made something, just to get better at coding. And that ain't so bad as for his first attempt/release.

So, nice job, Jay.


Secrets-man is offline  
Old   #5
 
elite*gold: 0
Join Date: Apr 2011
Posts: 73
Received Thanks: 12
Quote:
Originally Posted by thesamuraivega View Post
only teleport?
Did you expect a quest before teleporting into TG?
Secured is offline  
Old   #6
 
elite*gold: 0
Join Date: Oct 2009
Posts: 123
Received Thanks: 21
Quote:
Originally Posted by Secrets-man View Post
Why you are facepalming? "only teleport" At least he made something, just to get better at coding. And that ain't so bad as for his first attempt/release.

So, nice job, Jay.
Quote:
Originally Posted by Secured View Post
Did you expect a quest before teleporting into TG?
Code:
                                #region Enter TG NPCs
                                case 101602://TwinCity
                                case 101616://BirdMan
                                case 101614://DesertCity
                                case 101620://PheonixCity
                                case 101618://ApeCity
                                    {
                                        switch (LinkBack)
                                        {
                                            case 0:
                                                {

                                                    Text("Want to go to training grounds? You need to pay me 1000 silvers to do that.", Client);
                                                    Link("Yeah.", 1, Client);
                                                    Link("Just passing by", 255, Client);
                                                    Finish(Client);

                                                }
                                                return;
                                            case 1:
                                                {
                                                    if (Client.Money >= 1000)
                                                    {
                                                        Client.Money -= 1000;
                                                        Teleport(215, 215, 1039, Client);
                                                        Text("Ok. Here you are. You can only hit dummies that are of your level or lower.", Client);
                                                        Link("Ok then.", 255, Client);
                                                        Finish(Client);
                                                    }
                                                    else
                                                    {
                                                        Text("As i said... you need 1000 silvers. Why do i need to repeat myself?", Client);
                                                        Link("Alright alright.", 255, Client);
                                                        Finish(Client);

                                                    }
                                                }
                                                return;
                                        }
                                        return;
                                    }
                                #endregion
Leave TG:

Code:
                                #region Leave TG
                                case 600075:
                                    {
                                        switch (LinkBack)
                                        {
                                            case 0:
                                                {
                                                    Text("Do you want to leave this place?", Client);
                                                    Link("Yeah.", 1, Client);
                                                    Link("No, I'll stay here.", 255, Client);
                                                    Finish(Client);
                                                }
                                                return;
                                            case 1:
                                                {


                                                    if (Client.PrevMap == 1002) Teleport(Client, 430, 380, 1002);//TwinCity
                                                    else if (Client.PrevMap == 1015) Teleport(Client, 717, 571, 1015);//BirdMan
                                                    else if (Client.PrevMap == 1000) Teleport(Client, 500, 650, 1000);//DesertCity
                                                    else if (Client.PrevMap == 1011) Teleport(Client, 188, 264, 1011);//PheonixCity
                                                    else if (Client.PrevMap == 1020) Teleport(Client, 565, 562, 1020);//ApeCity
                                                }
                                                return;
                                        }
                                    }

                                    return;
                                #endregion


thesamuraivega is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Release] Metin2 Render Enter Page FL3Me
Hi all, We add graphics do metin2 I hope you like :) Demo: Enter Page v10 Demo Enter Page v11 Demo Download Link:
35 Replies - Metin2 PServer Guides & Strategies
[Release]Another Labyrinth NPC Code Pay with CPs to Enter Lab 1-4
This NPC let enter you to Lab 1-4 for CPs I added a Guide how to change the Prices case 1152: { if (Control == 0) { ...
8 Replies - CO2 PServer Guides & Releases
[Release]enter and exit guild arena
just open up npc talk and put the code on top of a code yes i named it niggerislands you can change the text
2 Replies - CO2 PServer Guides & Releases
Exit sometimes... Didnt write anithing just exit... PLS HELP
The problem is : I can play for a few minutes and after just exit Didnt write out anithnig... What can i do? What will be the problem ? Pls...
1 Replies - SRO Ask the Experts



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


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.