|
You last visited: Today at 01:36
Advertisement
[Release/OpenNos] Prestige System
Discussion on [Release/OpenNos] Prestige System within the Nostale forum part of the MMORPGs category.
08/16/2018, 00:33
|
#46
|
elite*gold: 30
Join Date: Sep 2014
Posts: 587
Received Thanks: 315
|
Quote:
Originally Posted by 0Lucifer0
He is taking about the last 2 things. With google translate which didn’t translated truc and he didn’t read after google translation.... he basicly want to have the prestige in the name and do something with stats. But the name var shouldn’t be changed and there is no details of what he want to do on stats...
|
hm i might be blind but where can you see that he is trying to do something with the current sessions name?
|
|
|
08/16/2018, 00:39
|
#47
|
elite*gold: 0
Join Date: May 2009
Posts: 1,005
Received Thanks: 1,019
|
Not session name but charname “add the +1 on the name“
|
|
|
08/16/2018, 09:29
|
#48
|
elite*gold: 30
Join Date: Sep 2014
Posts: 587
Received Thanks: 315
|
Quote:
Originally Posted by 0Lucifer0
Not session name but charname “add the +1 on the name“
|
ah yeah i am actually blind sorry xD
|
|
|
09/02/2018, 13:34
|
#49
|
elite*gold: 0
Join Date: Jul 2017
Posts: 380
Received Thanks: 60
|
I still have a problem. I managed to put the P0 in front of the nicks
the problem is when the prestige passes, the P0 becomes P1 but after a disconnect and reconnect or restart the server It becomes again in P0 and also the players sees their P0 but other players do not see it display
|
|
|
09/02/2018, 16:05
|
#50
|
elite*gold: 0
Join Date: Jun 2018
Posts: 27
Received Thanks: 2
|
Quote:
Originally Posted by redbull2905
I still have a problem. I managed to put the P0 in front of the nicks
the problem is when the prestige passes, the P0 becomes P1 but after a disconnect and reconnect or restart the server It becomes again in P0 and also the players sees their P0 but other players do not see it display
|
Code ?
|
|
|
09/02/2018, 16:31
|
#51
|
elite*gold: 0
Join Date: Jul 2017
Posts: 380
Received Thanks: 60
|
/// <summary>
/// $Prestige
/// </summary>
/// <param name="prestigePacket"></param>
public void Prestige(PrestigePacket prestigePacket)
{
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.Level == 250 && Session.Character.HeroLevel == 100)
{
CommunicationServiceClient.Instance.SendMessageToC haracter(new SCSCharacterMessage
{
DestinationCharacterId = null,
SourceCharacterId = Session.Character.CharacterId,
SourceWorldId = ServerManager.Instance.WorldId,
Message = $"{Session.Character.Name} est passé prestige{Session.Character.PrestigeLevel}",
Type = MessageType.Shout
});
Session.Character.ChangeClass(ClassType.Adventurer );
Session.Character.Prestige += 1;
Session.Character.Level = 1;
Session.Character.HeroLevel = 0;
Session.Character.JobLevel = 1;
Session.Character.HPMax += 5000;
Session.Character.MPMax += 5000;
Session.Character.DistanceDefence += 500;
Session.Character.MagicalDefence += 500;
Session.Character.Defence += 500;
Session.Character.GiftAdd(1, 1, 8, 10);
Session.Character.GiftAdd(8, 1, 8, 10);
Session.Character.GiftAdd(12, 1, 8, 10);
Session.Character.GenerateLev();
Session.Character.GenerateLevelUp();
ServerManager.Instance.ChangeMap(Session.Character .CharacterId);
Session.SendPacket(StaticPacketHelper.Cancel(2));
}
else
{
Session.SendPacket("msg 4 Tu n'as pas le niveau requis !");
}
}
|
|
|
09/02/2018, 21:55
|
#52
|
elite*gold: 0
Join Date: May 2009
Posts: 1,005
Received Thanks: 1,019
|
Quote:
Originally Posted by redbull2905
I still have a problem. I managed to put the P0 in front of the nicks
the problem is when the prestige passes, the P0 becomes P1 but after a disconnect and reconnect or restart the server It becomes again in P0 and also the players sees their P0 but other players do not see it display
|
There are two packets(in and cinfo) and you are not reloading the variable
|
|
|
09/02/2018, 22:32
|
#53
|
elite*gold: 0
Join Date: Jul 2017
Posts: 380
Received Thanks: 60
|
for the display problem it's good now there is the problem of P1 repeating P0 after disconnection or reboot
|
|
|
09/11/2018, 16:00
|
#54
|
elite*gold: 0
Join Date: Sep 2016
Posts: 75
Received Thanks: 15
|
My eyes are burning
Quote:
Originally Posted by redbull2905
for the display problem it's good now there is the problem of P1 repeating P0 after disconnection or reboot
|
This is a different problem... you are not saving the **** Prestige Level so after reboot the Prestige is back to 0 and that's why you have P0 after logging back in...
|
|
|
02/05/2019, 21:01
|
#55
|
elite*gold: 0
Join Date: Jan 2018
Posts: 13
Received Thanks: 1
|
Hello good afternoon, I would like to know how to do the migration, I see the fact of making the migration and being able to keep the prestige but that the file I have to put or that the code I have to put in order to make the migration
|
|
|
02/05/2019, 21:39
|
#56
|
elite*gold: 0
Join Date: May 2009
Posts: 1,005
Received Thanks: 1,019
|
Doesn’t seems like you searched a lot before asking...
|
|
|
02/05/2019, 21:44
|
#57
|
elite*gold: 0
Join Date: Jan 2018
Posts: 36
Received Thanks: 69
|
I don't actually get the question here.
Pretending that your Problem is, that you don't know how to use the code..
The answer ist literally the first Post..
Quote:
Originally Posted by ImTheReal
Hey folks,
Step 1: Add a CommandPacket!
- For this action, you need to visit /OpenNos.GameObjects/Packets/CommandPackets. You need to create a class, which is called "PrestigePacket.cs".
Step 2: Creating a Handler!
- Visit /OpenNos.Handler/CommandPacketHandler.cs
After you opened it up, you can create a new Code.
|
There is nothing to add to those two steps besides that you might not've reached the Requirements yet.
Quote:
Originally Posted by ImTheReal
Requirements
To add the Code: Knowledge 4/10
To edit it the way you want: 5/10
To add more benefits, or recode it: 7/10
|
|
|
|
02/05/2019, 23:51
|
#58
|
elite*gold: 0
Join Date: Jan 2018
Posts: 13
Received Thanks: 1
|
That has not saved me the level of prestige, there must be a migration so that there is a level saved, no?
|
|
|
02/06/2019, 01:26
|
#59
|
elite*gold: 100
Join Date: Dec 2016
Posts: 342
Received Thanks: 82
|
Quote:
Originally Posted by AnayC
That has not saved me the level of prestige, there must be a migration so that there is a level saved, no?
|
Session.Character.Save();
Does that awnser ur Question?
|
|
|
02/06/2019, 02:08
|
#60
|
elite*gold: 0
Join Date: Jan 2018
Posts: 13
Received Thanks: 1
|
Quote:
Originally Posted by InnoTx
Session.Character.Save();
Does that awnser ur Question?
|
I regret to say that my question does not answer, there must be a field or table where the level information is stored, not?:confuso:
|
|
|
|
|
Similar Threads
|
OpenNos "The project 'OpenNos.Login' failed to build."
06/19/2019 - Nostale - 11 Replies
Hello! When I put in update-database in Visual Studio I get the 'The project 'OpenNos.Login' failed to build.' error. I already did what was on the troubleshoot before I put it in. I've been at this for hours and I can't figure it out. Can someone help me please?
|
[OpenNos] Prestige level not saving
02/13/2019 - Nostale - 0 Replies
Hey Community.
after a lot of try and do i dont get the prestigeLevel safe....
i looked a lot of Threads but it still dont safe .. could someone help me ?
btw. i use the Cracked Ciapa Source.
its done i just Set AutomaticMigrationsEnabled = true;
|
[OpenNos] ¿How to select the project OpenNos.DAL.EF?
05/04/2018 - Nostale - 4 Replies
Hello, I have a problem with my visual studio 2017, it turns out that to be able to give the update-database command I must have the project OpenNos.DAL.EF But the thing is that in my visual studio there is no option to select the project ... I need help!:D:D
|
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
|
[opennos]The project 'OpenNos.Login' failed to build.
08/03/2017 - Nostale - 9 Replies
Hello I have a problem with the package manager console to run the update- database command to opennos soon as I executes the command, he said: The project ' opennos.login ' failed to build
What to do? I made the updates to Microsoft Visual Studio thank you ..
|
All times are GMT +2. The time now is 01:36.
|
|