Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 23:44

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

Advertisement



Help opennos box

Discussion on Help opennos box within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2016
Posts: 58
Received Thanks: 0
Post Help opennos box

for box random items and box with items i want only like here
case 5841:
int rnd = ServerManager.RandomNumber(0, 1000);
short[] vnums = null;
if (rnd < 900)
{
vnums = new short[] { 4356, 4357, 4358, 4359 };
}
else
{
vnums = new short[] { 4360, 4361, 4362, 4363 };
}
session.Character.GiftAdd(vnums[ServerManager.RandomNumber(0, 4)], 1);
session.Character.Inventory.RemoveItemFromInventor y(inv.Id);
break;

but something new some ideas ?
and im not speaking about 302 box. im speaking about all other boxes like otto box etc
PoliRot is offline  
Old 02/16/2018, 21:09   #2
 
0Lucifer0's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,005
Received Thanks: 1,018
You can use every all other box like the 302 one. Just add the correct info in the database if its not working that mean that there is a little regression somewhere to fix because it was working before
0Lucifer0 is offline  
Thanks
1 User
Old 02/16/2018, 21:29   #3
 
elite*gold: 0
Join Date: Jun 2016
Posts: 58
Received Thanks: 0
Yea but i need to put the id id on specialitem.cs case:5302 id of the oto costume box it will not work because i need to add in specialitem.cs the id 5302 all this vnums = new short[] { 4356, 4357, 4358, 4359 };
}
else
{
vnums = new short[] { 4360, 4361, 4362, 4363 };
}
session.Character.GiftAdd(vnums[ServerManager.RandomNumber(0, 4)], 1);
session.Character.Inventory.RemoveItemFromInventor y(inv.Id);
but im stuck what info i should to add for random box or box like fox receive only the 2 part of the fox costume like box id 5302: for get this 2 id 4177 and 4179
PoliRot is offline  
Old 02/18/2018, 17:46   #4
 
elite*gold: 0
Join Date: Apr 2011
Posts: 130
Received Thanks: 18
Create box in database....not specialitem.cs lol
Modix is offline  
Reply


Similar Threads Similar Threads
[HELP]I need help for put Loot in the Box Opennos
08/12/2018 - Nostale - 2 Replies
Good, I am looking for help to put that when opening my boxes in opennos, of a 100% item, or a random one, I am willing to pay for it, greetings ^^
Opennos raid Box
11/27/2017 - Nostale - 3 Replies
Hi how to i can add box from raid after finish raid? :)
[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 ..
OpenNos system random box
06/02/2017 - Nostale Trading - 1 Replies
Hi everyone, I did a system on the random box if you want contact me discord : Worldie#8750 (It pays) #Paypal



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


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.