ok, created a quick npc to teleport you to the ship and for some odd reason i get console errors..Never would have guessed something this simple could get errors...but funny thing is...the NPC works
NPC:
Code:
#region Ship Map Enter
case 9083:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hello, would you like to take a Cruise on the SS Minnow?"));
GC.AddSend(Packets.NPCLink("Yes, I would.", 1));
GC.AddSend(Packets.NPCLink("No, I dont want to right now.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
GC.MyChar.Teleport(9999, 87, 79);
break;
}
#endregion
ERRORS:
Code:
Starting to load DMaps.
Loading 9999 : C:\CodeEmperionCO\map/map/ship.DMap
Plus all the others that I deleted from this post to save space.
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative
and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at NewestCOServer.DMaps.GetMapStatus(UInt16 Map) in C:\rock test server\rikar
do updated\DMap.cs:line 65
at NewestCOServer.Game.Character.Teleport(UInt16 Map, UInt16 X, UInt16 Y) in
C:\rock test server\rikardo updated\Game\Character.cs:line 2374
at NewestCOServer.PacketHandling.NPCDialog.Handle(GameClient GC, Byte[] Data,
UInt32 NPC, Byte Control) in C:\rock test server\rikardo updated\PacketHandling
\NPCDialog.cs:line 9487
That error looks like u didnt do it right are you sure the DMaps.cs goto the right file to load dmaps ? because it looks like it loads maps from C:\XodeEmperionCO\map/map/****.DMap and then in the invalid error it loads from
C:\rock test server\rikardo updated\PacketHandling
\NPCDialog.cs:line 9487 so....
That error looks like u didnt do it right are you sure the DMaps.cs goto the right file to load dmaps ? because it looks like it loads maps from C:\XodeEmperionCO\map/map/****.DMap and then in the invalid error it loads from
C:\rock test server\rikardo updated\PacketHandling
\NPCDialog.cs:line 9487 so....
yeah its loaded correctly, that line 9487 is the teleport coordinates which is why I dont understand what the problem is, im thinking maybe it has something to do with the map ID # because this is the first time I've ever had an error with teleporting. Like I said though, the NPC works and teleports me, it just gets those errors when I use it.
I will change the map ID and see if i still get the error
That error looks like u didnt do it right are you sure the DMaps.cs goto the right file to load dmaps ? because it looks like it loads maps from C:\XodeEmperionCO\map/map/****.DMap and then in the invalid error it loads from
C:\rock test server\rikardo updated\PacketHandling
\NPCDialog.cs:line 9487 so....
Why did you name it sh*t.dmap?
Its supposed to be ship.dmap.
Server crashes at the part when it starts loading Dmaps... which is the first thing. Why? It says access to the file location of the file GameMap.ani is denied.
ether ship dc bug 04/09/2010 - RF Online - 0 Replies i want to know if there is a chance to dupe about the dc bug when you enter the ship that lands in ether
[Release] God Ship Db But Chinese 09/18/2009 - EO PServer Guides & Releases - 44 Replies i found this db on chinese site
http://www.youxisl.com/d/file/zs/wzmb/yx/20090409 /e81955bc0869494350d5545e84ed2561.jpg
more info
u can look here
Online Translation, Translation Software and Translation Servers : SYSTRAN
this site is translated
Download Link
From Here
please hit thanks if helped