[Release] Fix parsing act7

12/16/2019 01:45 Ritahxyel#1
Opennos.Data -> NpcMonsterDTO:

CHANGE:

Code:
public sbyte DarkResistance {get; set; }

public sbyte FireResistance {get; set; }
 
public sbyte LightResistance {get; set; }

public sbyte WaterResistance {get; set; }
BY:

Code:
public short DarkResistance {get; set; }

public short FireResistance {get; set; }

public short LightResistance {get; set; }

public short WaterResistance {get; set; }
ImportFactory:

CHANGE

Code:
npc.FireResistance = Convert.ToSByte (currentLine [4]);
npc.WaterResistance = Convert.ToSByte (currentLine [5]);
npc.LightResistance = Convert.ToSByte (currentLine [6]);
npc.DarkResistance = Convert.ToSByte (currentLine [7]);
BY

Code:
npc.FireResistance = Convert.ToInt16 (currentLine [4]);
npc.WaterResistance = Convert.ToInt16 (currentLine [5]);
npc.LightResistance = Convert.ToInt16 (currentLine [6]);
npc.DarkResistance = Convert.ToInt16 (currentLine [7]);
SEARCH: ImportNpcMonsters() in import factory

CHANGE:

Code:
 int[] basicHp = new int[100];
            int[] basicMp = new int[100];
            int[] basicXp = new int[100];
            int[] basicJXp = new int[100];
BY

Code:
 int[] basicHp = new int[101];
            int[] basicMp = new int[101];
            int[] basicXp = new int[101];
            int[] basicJXp = new int[101];
Opennos.DAL.EF

CHANGE:

Code:
public short DarkResistance {get; set; }

public short FireResistance {get; set; }
 
public short LightResistance {get; set; }

public short WaterResistance {get; set; }
BY :

Code:
public int DarkResistance {get; set; }

public int FireResistance {get; set; }
 
public int LightResistance {get; set; }

public int WaterResistance {get; set; }
12/16/2019 01:48 Irelia<3#2
Thanks buddy :) good job nice.....
12/16/2019 03:30 MANUEL PERES#3
The problem is with this monster.

Because of the level it's at
Code:
#========================================================
	VNUM	3029
	NAME	zts5333e
	LEVEL	100
	RACE	1	2
	ATTRIB	4	250	150	150	110	150
	HP/MP	17300000	160000
	EXP	1300000	4100
	PREATT	0	0	20	10	2400
	SETTING	3029	0	0	50	0	0
	ETC	536873984	0	0	0	0	0	1	0
	PETINFO	0	0	0	0
	EFF	7649	0	0
	ZSKILL	0	4	5	4	6	0	0
	WINFO	0	0	10
	WEAPON	100	4	1900	3400	700	20	300
	AINFO	0	10
	ARMOR	100	830	830	700	300
	SKILL	684	100	0	681	100	0	682	100	0	683	100	0	680	0	2
	PARTNER	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
	BASIC	0	0	0	0	0	11	-380	320	3	2	0	0	0	0	0	11	-380	320	2	2	0	0	0	0	0	11	-380	320	1	2	0	0	0	0	0	45	-16	392	0	0	0	0	0	0	0	5	-200	0	4	2
	CARD	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
	MODE	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
	ITEM	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0	-1	0	0
#========================================================
:kappa:
12/16/2019 16:00 Cucalon#4
Error CS0266 No se puede convertir implícitamente el tipo 'int' en 'short'. Ya existe una conversión explícita (compruebe si le falta una conversión) .

Which I can fix this?
12/16/2019 19:16 MANUEL PERES#5
Quote:
Originally Posted by Cucalon View Post
Error CS0266 No se puede convertir implícitamente el tipo 'int' en 'short'. Ya existe una conversión explícita (compruebe si le falta una conversión) .

Which I can fix this?
ONLY SPEAKING ENGLISH GERMAN
12/17/2019 18:51 Cucalon#6
You have discord?

Quote:
Originally Posted by MANUEL PERES View Post
ONLY SPEAKING ENGLISH GERMAN
You have discord?
12/17/2019 19:02 Nagisa Shiota#7
Quote:
Originally Posted by Cucalon View Post
You have discord?



You have discord?

Is Kint 😂😂
04/09/2020 15:59 mauricelein#8
Opennos.DAL.EF

CHANGE:

Code:
public short DarkResistance {get; set; }

public short FireResistance {get; set; }
 
public short LightResistance {get; set; }

public short WaterResistance {get; set; }
BY :

Code:
public int DarkResistance {get; set; }

public int FireResistance {get; set; }
 
public int LightResistance {get; set; }

public int WaterResistance {get; set; }
[/quote]



OPENNOS.DAL.EF
How to change it ? Wen i Seache it show my the source
NpcMonster.Data
Item.cs
ItemInstanceDtO.cs


NpcMonsterDTO [IS Change]
ImportFactory [IS Change]
ImportNpcMonsters() in import factory [IS Change]

Opennos.DAL.EF

CHANGE:

Code:
public short DarkResistance {get; set; }
public short FireResistance {get; set; }
public short LightResistance {get; set; }
public short WaterResistance {get; set; }

BY :

Code:
public int DarkResistance {get; set; }
public int FireResistance {get; set; }
public int LightResistance {get; set; }
public int WaterResistance {get; set; }



I am supposed to change it in OPENNOS.DAL.EF I don't quite understand the last one

Quote:
Originally Posted by MANUEL PERES View Post
My parse no have error the error have ImportFactory

See this would you be fine for you : [Only registered and activated users can see links. Click Here To Register...]
If I change it, save it and create the folder again, these errors come out, what am I doing wrong?

[Only registered and activated users can see links. Click Here To Register...]

I have it Change to


Opennos.Data -> NpcMonsterDTO
ImportFactory
ImportFactory ImportNpcMonsters()

how to Searche Opennos.DAL.EF
found it ItemInstanceDTO.cs & ItemDTO.cs Right?



OPENNOS.DAL.EF (ItemInstanceMapper.cs)
I have errors by ItemInstanceMapper.cs whit
output.DarkResistance = input.DarkResistance;
output.FireResistance = input.FireResistance;
output.LightResistance = input.LightResistance;
output.WaterResistance = input.WaterResistance;

Alles neu erstellen: 13 erfolgreich, 14 fehlerhaft, 0 übersprungen
All new Created 13 Usefull, 14 Error, 0 Skippet



Thanks for your help. :) :handsdown:
04/09/2020 23:53 Hexagonlimit#9
Item.cs
ItemInstanceDtO.cs

this not changen, Have you anydesk ? btw Discord?