Jump to content

mem981

Members
  • Posts

    26
  • Joined

  • Last visited

Recent Profile Visitors

1347 profile views

mem981's Achievements

  1. 1. I add new stats, and many more, sorry I can't list them all because there are so many features 2. I checking log, deleted NpcEditor.frm and NpcEditor.cs, and paste old NpcEditor.frm and NpcEditor.cs from backup project (my backup not bug).. I build complete but still "Specified argument was out of the range of valid values" When save in NPC editor - I tried coppy NpcEditor.frm and NpcEditor.cs from bug project to my backup project and not bug??, it's working 3. I think a value is wrong type or bigger than max value int (I tried looking for it but can't find it). my database Playerdata and Gamedata Npc.cs (server) If you don't mind, I can send my project to you. Thanks for reminding me, I feel like I really haven't made an effort <3
  2. frmNpc.cs NpcBase.cs can u read my source
  3. I've been looking for the bug all day but can't find it, I'm probably dying
  4. when I click save in Editor Form(NPC editor). this error -------------------------------------------------------------------------------- 2021-10-05 04:14:11.234 [Error] Message: Specified argument was out of the range of valid values. Stack: at Intersect.Models.LookupUtils.GetGameObjectType(Type type) in G:\PROJECT\Main\Main\Intersect-Engine-prerelease\Intersect (Core)\Models\LookupUtils.cs:line 102 at Intersect.Models.DatabaseObject`1.get_Type() in G:\PROJECT\Main\Main\Intersect-Engine-prerelease\Intersect (Core)\Models\DatabaseObject.cs:line 49 at Intersect.Editor.Networking.PacketSender.SendSaveObject(IDatabaseObject obj) in G:\PROJECT\Main\Main\Intersect-Engine-prerelease\Intersect.Editor\Networking\PacketSender.cs:line 169 at Intersect.Editor.Forms.Editors.FrmNpc.btnSave_Click(Object sender, EventArgs e) in G:\PROJECT\Main\Main\Intersect-Engine-prerelease\Intersect.Editor\Forms\Editors\frmNpc.cs:line 77 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at DarkUI.Controls.DarkButton.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) -------------------------------------------------------------------------------- my code frmNpc.cs NpcBase.cs tks for help!
  5. this is my Project, Is there any reason for this error?
  6. A normal day I code, I test no problem. The next day, when I reopened it and tried to build it, I got this problem. pls help me, i love this pj so much :((
  7. Adjust the appearance style for each effect type? time float/...
  8. Default SendActionMsg too small, I want change font, size, style.... like this. Thanks
  9. I wan creat map only for a player, party and guild. - Dungeon - Guild house...
  10. do i need to add StatsGiven[] in this line??? location (intersect.Server/Database/Item.cs) public virtual void Set(Item item) { ItemId = item.ItemId; Quantity = item.Quantity; BagId = item.BagId; Bag = item.Bag; for (var i = 0; i < (int) Stats.StatCount; i++) { StatBuffs[i] = item.StatBuffs[i]; } //My line---------------------------------- for (var i = 0; i < (int) Stats.StatCount; i++) { StatsGiven[i] = item.StatsGiven[i]; } ///--------------------------- }
  11. i don't know how to make VitalBuff[] and i'm also afraid it will cause error!
  12. Test StatAddAllocations[1] += 1000; PacketSender.SendChatMsg(this, StatAddAllocations[1].ToString(), ChatMessageType.Bank, Color.Yellow); work! but how to add value to character?? StatAddAllocations[0] is Damage StatAddAllocations[1] is Magicdamage
  13. I just realized that Stats Given[23] = 0, but Stats Buff[23] has a value in inter.sever/database/item.cs I have set but StatBuff[23] and [24] has value
×
×
  • Create New...