Field 'FreeItem_ID' doesn't have a default value

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

Field 'FreeItem_ID' doesn't have a default value

Postby geshii » Tue Dec 01, 2009 7:44 pm

Field 'FreeItem_ID' doesn't have a default value
Code: Select all
StarterEquipment starter = null;
starter = new StarterEquipment();
starter.ObjectId = item.Name;
starter.Class = Convert.ToString(10);
GameServer.Database.AddNewObject(starter);
I get error ''''''''' Field 'FreeItem_ID' doesn't have a default value'''''''''' with this..

How do i populate that? theres no starter.FreeItem_ID and i would have thought it woulda been starter.ObjectId but ive put that to item.Name and still it says that?

Any help ? =)
Everyone think it could be Mirage. Since the second post. This is the winter, and since he does not have friends, he is certainly roaming here, trying to hack one or two servers.


New Trainer fixed up by Geshii ! removed free_leather_vest and free_cloth_vest etc and added just free_vest free_legs !! It 100% working.


Please try help me here! :(
geshii
DOL Acolyte
 
Posts: 143
Joined: Sat Oct 31, 2009 12:42 pm

Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 1 guest