Register for your free account! | Forgot your password?

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

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

Advertisement



Prestige system in item

Discussion on Prestige system in item within the Nostale forum part of the MMORPGs category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2017
Posts: 397
Received Thanks: 60
Prestige system in item

1: Opennos.GameObject.Item.SpecialItem
Code:
case 5000:
                    session.Character.PrestigeFunction(inv);
                    break;
2: Opennos.GameObject.Character

Code:
        public void PrestigeFunction(ItemInstance inv)
        {
            if (Session.Character.MapInstance != null)
            {
                if (Session.Character.Inventory.Any(s => s.Type == InventoryType.Wear))
                {
                    Session.SendPacket(UserInterfaceHelper.GenerateMsg(Language.Instance.GetMessageFromKey("EQ_NOT_EMPTY"), 0));
                    return;
                }

                if (Session.Character.Prestige < 30 && Session.Character.Level == 99 && Session.Character.HeroLevel == 50)
                {
                    Session.Character.Prestige++;
                    ServerManager.Shout(Name + " est passé prestige " + Prestige);
                    Session.Character.Level = 1;
                    Session.Character.HeroLevel = 0;
                    Session.Character.JobLevel = 1;
                    Session.Character.JobLevelXp = 0;
                    Session.Character.HeroXp = 0;
                    Session.Character.LevelXp = 0;
                    Session.SendPacket(Session.Character.GenerateLev());
                    Session.SendPacket(Session.Character.GenerateLevelUp());
                    Session.SendPacket(Session.Character.GenerateStat());
                    Session.Character.Inventory.RemoveItemFromInventory(inv.Id);
                    ServerManager.Instance.ChangeMap(Session.Character.CharacterId, 1, 80, 116);            
                    Session.SendPacket(Session.Character.GenerateSay(
                    Language.Instance.GetMessageFromKey("PRESTIGE_UP"), 0));
                }
                else
                {
                    Session.SendPacket("msg 4 Tu n'as pas le niveau requis !");
                }
            }
        }
3: Opennos.GameObject.Character(CharacterLife)

Code:
#region buff prestige
            if (PrestigeBuff.AddSeconds(30) <= DateTime.Now)
            {

                    if (Session.Character.Prestige >= 1)
                    {
                        AddBuff(new Buff(242, Level), BattleEntity);
                       
                    }
                    else
                    {
                        RemoveBuff(242);
                    }

                    if (Session.Character.Prestige >= 5)
                    {
                        AddBuff(new Buff(118, Level), BattleEntity);
                     
                    }
                    else
                    {
                        RemoveBuff(118);
                    }

                    if (Session.Character.Prestige >= 10)
                    {
                        AddBuff(new Buff(332, Level), BattleEntity);
                        
                    }
                    else
                    {
                        RemoveBuff(332);
                    }

                    if (Session.Character.Prestige >= 15)
                    {
                        AddBuff(new Buff(246, Level), BattleEntity);
                        
                    }
                    else
                    {
                        RemoveBuff(246);
                    }

                    if (Session.Character.Prestige >= 25)
                    {
                        AddBuff(new Buff(245, Level), BattleEntity);
                    }
                    else
                    {
                        RemoveBuff(245);
                    }

                    if (Session.Character.Prestige >= 29)
                    {

                        AddBuff(new Buff(411, Level), BattleEntity);
                       
                    }
                    else
                    {
                       RemoveBuff(411);
                    }
                    PrestigeBuff = DateTime.Now;
                
               
            }
            #endregion
4: Opennos.GameObject.Character GenerateLevelUp()

Code:
Prestige : {PrestigeLevel}
/!\ Ne pas oublier de rajouter vos public object { get; set; } "I forgot the name" '-'.
redbull2905 is offline  
Old 11/22/2019, 04:56   #2
 
InnoTx's Avatar
 
elite*gold: 100
Join Date: Dec 2016
Posts: 342
Received Thanks: 82
yeah it doesnt allready exist that you copy paste one more time

btw. use switch instead of so much if´s lol
InnoTx is offline  
Thanks
1 User
Old 11/22/2019, 10:30   #3

 
Blowa's Avatar
 
elite*gold: 148
Join Date: Jan 2010
Posts: 654
Received Thanks: 1,774
Best copy paste 2019, release more copy paste that you don't understand please
Amazing
Blowa is offline  
Thanks
1 User
Old 11/22/2019, 14:02   #4
 
elite*gold: 0
Join Date: Jul 2017
Posts: 397
Received Thanks: 60
Quote:
Originally Posted by InnoTx View Post
yeah it doesnt allready exist that you copy paste one more time

btw. use switch instead of so much if´s lol
and you who takes the codes of the other sources to add them to yours shut up a little you start to worry about making your connoisseur when I see all your help threads This prestige does not exist on any other source it's batti who created it

Quote:
Originally Posted by val77 View Post
Best copy paste 2019, release more copy paste that you don't understand please
Amazing
When you know nothing, do not say anything you're still worse than innotx
redbull2905 is offline  
Old 11/22/2019, 14:05   #5
 
InnoTx's Avatar
 
elite*gold: 100
Join Date: Dec 2016
Posts: 342
Received Thanks: 82
Quote:
Originally Posted by redbull2905 View Post
and you who takes the codes of the other sources to add them to yours shut up a little you start to worry about making your connoisseur when I see all your help threads This prestige does not exist on any other source it's batti who created it
its batti who created it and you release it ? xDDDD


I would rather stay quiet in your place before you even more embarrass yourself.
InnoTx is offline  
Old 11/22/2019, 14:07   #6
 
elite*gold: 0
Join Date: Jul 2017
Posts: 397
Received Thanks: 60
This code is create for a very long time and it does not bother him.
Go back do your little waiter or everything is bug please
redbull2905 is offline  
Old 01/18/2020, 14:37   #7



 
IceTrailer's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 2,070
Received Thanks: 821
#closed
IceTrailer is offline  
Closed Thread


Similar Threads Similar Threads
Class Reborn Cap 110 - Dg 11- Pvp System- Uniques System -Job System- Coin System
04/09/2018 - SRO PServer Advertising - 17 Replies
http://i.epvpimg.com/HXIucab.jpg http://i.epvpimg.com/Ht37fab.png https://www.youtube.com/watch?v=1vJSSpEqTZw http://i.epvpimg.com/Ht37fab.png Site ClassReborn Online
Class Reborn Cap 110 - Dg 11- Pvp System- Uniques System -Job System- Coin System
02/18/2018 - SRO PServer Advertising - 2 Replies
http://i.epvpimg.com/HXIucab.jpg http://i.epvpimg.com/Ht37fab.png Site Download
server files + client pet system full + prestige system
01/12/2013 - Metin2 PServer Guides & Strategies - 1 Replies
link in the youtube: http://*******/HDvel
Call of Duty 10th Prestige+ Alles Freischalten / 10th Prestige bzw. LvlHack
01/09/2011 - Call of Duty - 10 Replies
1.0.175 patch proofed <--- ich poste einen unlocker / lvl hack für Call of duty 6 - patch 1.0.175 proofed ... -> ES IST NICHT VON MIR <- nicht das ich alle lohrbeeren ernte ;)...



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


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.