Register for your free account! | Forgot your password?

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

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

Advertisement



[Release] Fix parsing act7

Discussion on [Release] Fix parsing act7 within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2019
Posts: 19
Received Thanks: 12
[Release] Fix parsing act7

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; }
Ritahxyel is offline  
Thanks
5 Users
Old 12/16/2019, 01:48   #2
 
Irelia<3's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 243
Received Thanks: 59
Thanks buddy good job nice.....
Irelia<3 is offline  
Old 12/16/2019, 03:30   #3
 
MANUEL PERES's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 297
Received Thanks: 74
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
#========================================================
MANUEL PERES is offline  
Thanks
2 Users
Old 12/16/2019, 16:00   #4
 
elite*gold: 0
Join Date: Aug 2019
Posts: 97
Received Thanks: 3
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?
Cucalon is offline  
Thanks
1 User
Old 12/16/2019, 19:16   #5
 
MANUEL PERES's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 297
Received Thanks: 74
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
MANUEL PERES is offline  
Old 12/17/2019, 18:51   #6
 
elite*gold: 0
Join Date: Aug 2019
Posts: 97
Received Thanks: 3
You have discord?

Quote:
Originally Posted by MANUEL PERES View Post
ONLY SPEAKING ENGLISH GERMAN
You have discord?
Cucalon is offline  
Old 12/17/2019, 19:02   #7
 
elite*gold: 0
Join Date: Jul 2019
Posts: 29
Received Thanks: 0
Quote:
Originally Posted by Cucalon View Post
You have discord?



You have discord?

Is Kint 😂😂
Nagisa Shiota is offline  
Old 04/09/2020, 15:59   #8
 
elite*gold: 0
Join Date: Jul 2012
Posts: 145
Received Thanks: 7
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 :
If I change it, save it and create the folder again, these errors come out, what am I doing wrong?



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.
mauricelein is offline  
Old 04/09/2020, 23:53   #9
 
elite*gold: 0
Join Date: Oct 2018
Posts: 26
Received Thanks: 0
Item.cs
ItemInstanceDtO.cs

this not changen, Have you anydesk ? btw Discord?
Hexagonlimit is offline  
Reply


Similar Threads Similar Threads
[04.09.13] GigaByte v2.6 [FIX, FIX, FIX, FIX AND FIX]
09/11/2013 - WarRock Hacks, Bots, Cheats & Exploits - 79 Replies
http://www.elitepvpers.com/forum/warrock-hacks-bot s-cheats-exploits/2843300-11-09-gigabyte-public-v2 -7-a.html
Be ahead for ACT7 WTS +9 DN Hunter set in SIZ
04/28/2011 - Dekaron Trading - 3 Replies
as title says, +9DN Hunter set... USD or DIL through pay pal... Kakarot for MM. PM me if interested Also taking Items of equivalent value Just shoot me an offer :D Be ready for act 7 :handsdown::handsdown:
dekaron act7 new dance (must have)
03/15/2010 - Dekaron Private Server - 12 Replies
YouTube - dekaron act7 new dance hacked watch to the end for more info .... :D
[MOD] act7 weapons
02/24/2010 - Dekaron Private Server - 16 Replies
HI guys, iam not actually new here ,just made this acc for other purpose Anyway because there isnt any action 7 weapons out there yet, i made new weapons for every class and i wanted to share them with all! I call them act7 weapons xD You can freely use them in any server and make lvl170 or lvl200 weapon set for your server if u want, all files are named 21.dds etc so these dosnt replace anything in data folder! NB! All weapons are free to use in any server, but please dont edit them,...



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


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