Full Version : Core Problem... or Script Problem...
xmlspawner >>Troubleshooting >>Core Problem... or Script Problem...


<< Prev | Next >>

VertiCody- 08-11-2006
ok, it's with XMLSpawner2.cs
I'll post this first... then I'll talk about errors.

EDIT: Script too big...  

VertiCody- 08-11-2006
CODE
+ Customs/XmlSpawner2/XmlSpawner2.cs:
   CS0029: Line 9209: Cannot implicitly convert type 'System.Collections.ArrayL
ist' to 'System.Collections.Generic.List<Server.Tile>'


#define TRACE
#define RUNUO2RC1

with those 2, is I keep like that, it ask's me to delete playermobile and core error...

if I only do the runuo2rc1 then when we try to login it give me a core error

this is the error line since the first post didn't get all the script.
CODE
#else
  List<Server.Tile> tiles = map.GetTilesAt(new Point2D(X, Y), true, true, true);
#endif

ArteGordon- 08-12-2006

If you are running RC1 then you want them to look like this

//#define TRACE
#define RUNUO2RC1

those lines are not causing your playermobile problems. They may be allowing the compiler to continue which then reveals other problems that you have, but no xmlspawner system makes any changes to the serialization of playermobiles, so that is due to some other change that you made.

VertiCody- 08-12-2006
QUOTE (ArteGordon @ August 12, 2006 10:46 am)
If you are running RC1 then you want them to look like this

//#define TRACE
#define RUNUO2RC1

those lines are not causing your playermobile problems. They may be allowing the compiler to continue which then reveals other problems that you have, but no xmlspawner system makes any changes to the serialization of playermobiles, so that is due to some other change that you made.

ok, thanks, I think I know what the problem is. I was tired last night so I couldnt think right... tongue.gif

Nott32- 08-14-2006
Having same problem :S
*EDIT* Fixed it (soo tired, I didnt read the post above right sorry)

cearbhalyn- 09-20-2006
HIya, new to this, so please bear with me. I am having the same problem with line

Errors:
+ custom/XmlSpawner2.cs:
CS0029: Line 9376: Cannot impicitly convert type 'System.Collections.Arraylist' to 'System.Collections.Generic.List<Server.Tile>'


the area in question is this:

#if(RUNUO2RC1)
ArrayList tiles = map.GetTilesAt(new Point2D(X, Y), true, true, true);
#else
List<Server.Tile> tiles = map.GetTilesAt(new Point2D(X, Y), true, true, true);
#endif
if (tiles == null) return false;


I saw someone said something about altering stuff.. but this is straight Runuo 2 install, which loaded ok...then I installed XMLspawner2 plain, without making any optional changes. so nothing is altered
Anyway, any help you can give is appreciated smile.gif and thank you in advance smile.gif


Ok figured out what you guys were talking about. its in the heading of the spawner. I didnt see it, I went directly to the problem line. Anyway smile.gif thank you for the help smile.gif even if it wasnt directed at me... got the base line up and running smile.gif, now to figure out how to use it , and add other xml things smile.gif