Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 20:08

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

Advertisement



Problem loading Raids and Ts

Discussion on Problem loading Raids and Ts within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 51
Received Thanks: 2
Problem loading Raids and Ts

I have a problem when i try to load the instances like TS and Raids. This is the error:
Here the code where the load crashes:
Here the Database (is just test):
prani95 is offline  
Old 09/05/2017, 10:19   #2



 
IceTrailer's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 2,070
Received Thanks: 821
There is a NullReferenceException
Set breakpoints and try to find out which value is null.
If you did, add an if condition like

Code:
if (myVariable == null)
{
    continue; // or rather "return;"
}
IceTrailer is offline  
Thanks
1 User
Old 09/05/2017, 11:02   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 51
Received Thanks: 2
The problem is here:
Code:
public IEnumerable<ScriptedInstanceDTO> LoadByMap(short mapId)
        {
            using (var context = DataAccessHelper.CreateContext())
            {
                foreach (ScriptedInstance timespaceObject in context.ScriptedInstance.Where(c => c.MapId.Equals(mapId)))
                {
                    if (_mapper.Map<ScriptedInstanceDTO>(timespaceObject) != null)
                    {
                        yield return _mapper.Map<ScriptedInstanceDTO>(timespaceObject);
                    }
                }
            }
        }
But i can t find a solution :/
prani95 is offline  
Old 09/05/2017, 11:18   #4



 
IceTrailer's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 2,070
Received Thanks: 821
Since I have neither the source nor the time to do that for you,

set a breakpoint at the marked line and step over to find out whose value is null.

IceTrailer is offline  
Thanks
1 User
Old 09/05/2017, 11:31   #5
 
elite*gold: 0
Join Date: Oct 2012
Posts: 51
Received Thanks: 2
_mapper is null:

Thanks for all your help, i will find a way to solve this (hope that) or i will wait someone who can help me
prani95 is offline  
Old 09/05/2017, 11:51   #6



 
IceTrailer's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 2,070
Received Thanks: 821
Okay that's what I thought.
Then use the following code


And from now on you shouldn't get this error at this point anymore.

For any reason _mapper doesn't get intialized, maybe later I have time to have a look at the source.
Which files do you have? And did you change something?
IceTrailer is offline  
Old 09/05/2017, 12:23   #7
 
elite*gold: 0
Join Date: Oct 2012
Posts: 51
Received Thanks: 2
Thanks, i m using nosmagic files and adding a lot of things from the latest update in opennos.
prani95 is offline  
Old 09/05/2017, 12:33   #8



 
IceTrailer's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 2,070
Received Thanks: 821
Then you did something wrong.

You should search for a null initialization (_mapper = <return value which is null>) or have to search if it gets initialized at all.
IceTrailer is offline  
Thanks
1 User
Old 09/05/2017, 12:54   #9
 
elite*gold: 0
Join Date: Oct 2012
Posts: 51
Received Thanks: 2

Sorry i had forget to put here the mapper. Thanks for all of your time.
prani95 is offline  
Reply


Similar Threads Similar Threads
Loading Interface [Start Loading]
08/27/2018 - SRO Private Server - 2 Replies
Hey.. I need some help. So I decided to ask the experts from ElitePvPers , because I know they can resolve my rookie problem. So , I did some Loading Interfaces for Start_Loading_0* , i edited it.. i converted it from DDS/BMP/PNG to DDJ , imported it to media.pk2 , but after I press start to enter in client , it's a white window screen.. What can I do?.. I'll give here a link , maybe someone can fix my files please. GirlShare - Download Launchers.rar Please , I hope somebody will...
ROSE Online launches Sea of Dawn and Exalter Raids
08/09/2012 - User Submitted News - 0 Replies
http://i.epvpimg.com/cVtSf.jpg Gravity Interactive has announced today that they have launched the new story arc, Sea of Dawn, for their popular anime MMORPG, ROSE Online. ROSE online is a free-roaming massive multiplayer online role-playing game (MMORPG) featuring anime inspired graphics and a really enjoyable game environment for the players and public in general. As every role playing game (RPG), you are supposed to jump into the battle and start fighting a great amount of...
WTS Level 50 DPS Warrior, T1 and T2 raids ready + EON ALPHA
07/30/2012 - Rift Trading - 5 Replies
Hello, guys! Since i stopped playing RIFT, i decided to sell my account. It's not active right now cause gametime expired. Accounts is consisted of: (for screenshots just scroll down :D) 1. Main char: -Guardian DPS Warrior LVL 50 -geared well enough for T1 and T2 raids -few hundreds of platinum (i'm not sure how much exactly, and since my gametime expired, i have no idea how to check)
What character for PvP and raids ?
10/27/2009 - Lineage 2 - 0 Replies
Hey guys, What character can be best used for PvP and raids ? And if possible tell me how to play it well.



All times are GMT +1. The time now is 20:09.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.