Swoo

Member
hi,

i dont get it, how can i create a recipe with gamemaster account? ... eg. fieryBlade?
:eek:
 
first, you need to find recipenumber.
they are placed in craftsystem.
so, if you want to receive fieryblade's recipe, it must be placed in DefBlacksmith.cs
Now, you'll know exact number of item.

use this command

[add recipescroll (number)

command will generate a recipe scroll for fieryblade.
 
thank u so much :)

system says

usage: RecipeScroll Int32 recipeID

i tried [add recipescroll (302)

do u know what int32 meant?
 
system says

usage: RecipeScroll Int32 recipeID

i tried [add recipescroll (302)

do u know what int32 meant?
 
Here is a number : 307.9300721

if you want to use only integers, you need to use int

so, this number's integer part is 307

if you want to use all part of the number, you need to use double.

Now this is example

int number = (int)( 307.9300721 );
the value of 'number' is '307'

double number = (double)( 307.9300721 );
the value of 'number' is '307.9300721'
 
Int32 is a 32 bit real whole number, an integer. A signed int (which is what you will use 99% of the time) has a range of -2,147,483,648 to -2,147,483,647.
And unsigned int allows you to use the whole range of a 32bit number in the positive scale. The range being 0 to 4294967295.

Then there are longs which are 64bit numbers which are HUGE and also floats and doubles which are floating point numbers.

These are all things that you will absolutely need to know when programing. You should familiarize yourself with each of the built in types in c#. https://msdn.microsoft.com/en-us/library/ya5y69ds.aspx
 

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back