Register for your free account! | Forgot your password?

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

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

Advertisement



Parser MapMonster

Discussion on Parser MapMonster within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
pauvm1618's Avatar
 
elite*gold: 0
Join Date: Dec 2017
Posts: 135
Received Thanks: 28
Parser MapMonster

An error occurred while updating the entries. See the inner exception for details.
System.Data.Entity.Infrastructure.DbUpdateExceptio n: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: Instrucción INSERT en conflicto con la restricción FOREIGN KEY 'FK__MapMonste__MapId__22D5121F'. El conflicto ha aparecido en la base de datos 'opennos', tabla 'dbo.Map', column 'MapId'.
Se terminó la instrucción.
at System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.InternalExecuteNo nQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at System.Data.Entity.Infrastructure.Interception.Int ernalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
at System.Data.Entity.Infrastructure.Interception.DbC ommandDispatcher.NonQuery(DbCommand command, DbCommandInterceptionContext interceptionContext)
at System.Data.Entity.Core.Mapping.Update.Internal.Dy namicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)
at System.Data.Entity.Core.Mapping.Update.Internal.Up dateTranslator.Update()
--- End of inner exception stack trace ---
at System.Data.Entity.Core.Mapping.Update.Internal.Up dateTranslator.Update()
at System.Data.Entity.Core.Objects.ObjectContext.Exec uteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
at System.Data.Entity.Core.Objects.ObjectContext.Save ChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)
at System.Data.Entity.SqlServer.DefaultSqlExecutionSt rategy.Execute[TResult](Func`1 operation)
at System.Data.Entity.Core.Objects.ObjectContext.Save ChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)
at System.Data.Entity.Internal.InternalContext.SaveCh anges()
--- End of inner exception stack trace ---
at System.Data.Entity.Internal.InternalContext.SaveCh anges()
at OpenNos.DAL.DAO.MapMonsterDAO.Insert(IEnumerable`1 mapMonsters) in C:\Users\Pau\Desktop\Source\nosbyte-latest\OpenNos.DAL.DAO\MapMonsterDAO.cs:line 79

I get this error when parsing the mapmonster, anyone can help? (Cryless source)
pauvm1618 is offline  
Old 12/21/2019, 13:00   #2
 
Irelia<3's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 243
Received Thanks: 59
@


Search on your Source.
"dbo.MapMonster"

and thisable on this Screenshot the foreignKey
and kill the foreignKey on your Database on the table: MapMonsters -> Foreign Key

Regards Irelia<3

BTW: i wish all Epvp Members nicly holiday and i hope i can help all members on this time it is Christmas.
Irelia<3 is offline  
Old 12/21/2019, 14:25   #3
 
pauvm1618's Avatar
 
elite*gold: 0
Join Date: Dec 2017
Posts: 135
Received Thanks: 28
still doesnt work
pauvm1618 is offline  
Old 12/21/2019, 20:23   #4
 
0Lucifer0's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,005
Received Thanks: 1,018
Quote:
Originally Posted by Irelia<3 View Post
@


Search on your Source.
"dbo.MapMonster"

and thisable on this Screenshot the foreignKey
and kill the foreignKey on your Database on the table: MapMonsters -> Foreign Key

Regards Irelia<3

BTW: i wish all Epvp Members nicly holiday and i hope i can help all members on this time it is Christmas.
So remove code until it works ? Why not just fix it by adding a check ?
0Lucifer0 is offline  
Old 12/21/2019, 20:34   #5
 
Irelia<3's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 243
Received Thanks: 59
@

Whats for check? i mean the ForeignKey is false on this side i think is a complicate with a PrimaryKey another DBO Key
Irelia<3 is offline  
Old 12/21/2019, 20:39   #6
 
0Lucifer0's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,005
Received Thanks: 1,018
Quote:
Originally Posted by Irelia<3 View Post
@

Whats for check? i mean the ForeignKey is false on this side i think is a complicate with a PrimaryKey another DBO Key
The foreign key is totally legit. You just want to check your constraint is respected. A monster can’t be on a map that doesn’t exist. So just check that the map of every monsters exist and remove those that doesn’t.
0Lucifer0 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
French Parser- English parser
02/23/2018 - Nostale - 1 Replies
Hello, I am looking for a parser English or French, who would act 6 and new thanks
C++ - "Terme-Parser" in C - "Terme-Parser" umwandeln
12/13/2010 - C/C++ - 11 Replies
Ich hab mir einen Parser gebastelt, der mir einfach Terme löst und das Ergebniss zurückgibt. Das ganze habe ich mit C / C++ gemacht, ich bin aber gezwungen das ganze in reinen C - Code umzuwandeln. Ich habe mich auch schon versucht, aber da ich wirklich extrem wenig und ungern Elemente aus C verwende bin ich gescheitert. Hier mein C/C++ Code: #include <iostream> #include <string.h> #include <stdio.h>
Parser
04/08/2009 - FFXI Exploits, Hacks, Bots, Tools & Macros - 0 Replies
Hello, sorry i have been looking for a parser for some time and have tried many different ones and none seem to work in some way or another, most of the time its compatibility issues (vista x64) or some .net framework problem or something. The ones i did get working only displayed my data (which was innacurate btw) and did not display anyone elses data that was in the party. If anyone can help it would be greatly appreciated, thanks ^^
FFXI Parser
04/06/2006 - FFXI Exploits, Hacks, Bots, Tools & Macros - 10 Replies
FFXI Parser Für alle die jemanden was beweisen müssen ;D Setup Download



All times are GMT +1. The time now is 12:24.


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.