Put a breakpoint at the top of that method, then follow it down and step into the MySql wrapper. See where the program crashes (it should tell you as you step over the null reference). It probably helps to know what a null reference is.
Quote:
The null keyword is a literal that represents a null reference, one that does not refer to any object. null is the default value of reference-type variables. NullReferenceException is common. It indicates that you are trying to access member fields, or function types, on an object reference that points to null.
For info on how to debug your server, use my tutorial (below).
After breakpointing, it says that "command" and "reader" are Null. I have no idea why is it null. I haven't experience this before, when I added loading the NPC through MySQL.
After breakpointing, it says that "command" and "reader" are Null. I have no idea why is it null. I haven't experience this before, when I added loading the NPC through MySQL.
See if the constructor runs into any problems. It might be that it can't find the table, and thus something isn't being initialized in the constructor. Are you positive that the server is set up correctly? If you are, see what happens in the constructor. Step through it.
I don't know what to call this one, but anyway I name it as "caller" Okay, I tried breakpointing the "caller" which is "LoadNpcs();" and this one thing here appeared.
And I think this is causing the problem.
Edit:
-LoadNPC is a method, which is not valid in the given context.
I don't know what to call this one, but anyway I name it as "caller" Okay, I tried breakpointing the "caller" which is "LoadNpcs();" and this one thing here appeared.
And I think this is causing the problem.
Edit:
-LoadNPC is a method, which is not valid in the given context.
I don't think that would be the problem. It wouldn't compile if there was a missing reference to a method. Try stepping into it using the tutorial I created. Step through each line and see exactly what isn't being initialized. You can mouse over the variables as I've mentioned in the tutorial.
SF MOD - FHM LOADING MAP 09/22/2013 - Soldier Front Hacks, Bots, Cheats & Exploits - 5 Replies FHM LOADING MAP
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak -ash3/1237775_245094872306482_161287111_n.jpg
Download link: CLICK ME
Instructions:
1. Extract the file (pass: kurimaw)
2. Copy and Paste the files.. menu_52(FHM loading map) and menu_65 (chix ads wall)
to SF FOLDER/DATA/MENU
3. Don't forget to back up the original file
D.O Not Loading 06/16/2013 - DarkOrbit - 9 Replies Heys guys my darkorbit is not loading up it gets full way on the loading bar and just stops
KGC Loading FIX 09/15/2012 - Grand Chase - 2 Replies this is a fix to the kgc loading problem
(when you select a server it shuts off)
please try if it will work for you too
basically you just turn of aero, the glass like interface, if you're using windows vista, 7 or 8
switch to windows 7 basic theme
if it fails then you need to upgrade your graphics card*
that's about it tried it and worked for me and i don't even have an integrated graphics xD
and if this happens in PH (rebirth) this could help o_o
D/C when loading into a map. 07/23/2010 - Dekaron Private Server - 2 Replies After I change my character into GM and add all the exp and money, I get on my client and login. Then it loads for loa map and at the end of the loading ... it pauses for couple seconds .. Then the Loa Map screen comes up and out of no where the client d/c. How do I come around in fixing this? :confused:
now loading 06/27/2009 - Grand Chase Philippines - 1 Replies why is that my gc... when i start the game in dungoen... it is always in NOW LOADING///.......