[FAQ] HellmouthSource

06/25/2011 09:04 UnoAmigos#271
Can i possibly open it to Visual Studio 2008 ...???
06/25/2011 14:10 agathom#272
Quote:
Originally Posted by UnoAmigos View Post
Can i possibly open it to Visual Studio 2008 ...???
ofcourse amigo... pwede kaau xD
06/25/2011 18:26 pro4never#273
Quote:
Originally Posted by UnoAmigos View Post
Can i possibly open it to Visual Studio 2008 ...???
It's designed using 2010 and .net 4.0... I'm positive you could convert it but it's not something I strongly support.

Visual studio 2010 is an awesome program and well worth the hour or so to download.
06/25/2011 18:29 monsterlee#274
Who can help me a lot of monsters and NPC, because he is Asian should not fluent in English. Please help me through teamviwer or you can share the available resources of monsters and NPC
07/03/2011 07:59 killersub#275
so for example. (sorry for the noob-ness)

if I were to make a mobs system (which I am currently making) how would I make the mobs handle the item drops? it seems like I am having a bit of problem on items. not that many problems on Silvers and CPs though.

here is what I have so far for Item dropping on mobs. (some stuff mentioned is not implemented) take a look at the code in the red (which means the things that are not implemented, therefore the code still needs a bit of fixing):

Code:
#region Items
            if (Program.Rate(Program.ItemDropRate))
            {
                int quality = 5;
                if (Calculations.ChanceSuccess(1.8))
                    quality = 6;
                if (Calculations.ChanceSuccess(0.8))
                    quality = 7;
                if (Calculations.ChanceSuccess(0.08))
                    quality = 8;
                if (Calculations.ChanceSuccess(0.008))
                    quality = 9;

                int times = 50;
                List<uint> itemdroplist = ItemDropCache[Level];
            retry:
                times--;
                int generateItemId = Program.Rnd.Next(itemdroplist.Count);
                uint id = itemdroplist[generateItemId];
                if ([COLOR="Red"]Database.ConquerItemInformation.BaseInfos[/COLOR][id].Level > 121 && times > 0)
                    goto retry;
                id = (id / 10) * 10 + (uint)quality;
                if (![COLOR="red"]Database.ConquerItemInformation.BaseInfos[/COLOR].ContainsKey(id))
                {
                    id = itemdroplist[generateItemId];
                }
                if (id >= 724350 && id <= 724499)
                    goto retry;
                if (id >= 800000 && id <= 899999)
                    goto retry;
                var infos = [COLOR="red"]Database.ConquerItemInformation.BaseInfos[/COLOR][id];
                ushort X = Owner.X, Y = Owner.Y;
                Map Map = Program.Maps[Owner.MapID];
                if (Map.SelectCoordonates(ref X, ref Y))
                {
                    FloorItem floorItem = new FloorItem(true);
                    floorItem.Item = new [COLOR="Red"]ConquerItem[/COLOR](true);
                    floorItem.Item.Color = (Enum.Color)Program.Rnd.Next(4, 8);
                    floorItem.Item.ID = id;
                    floorItem.Item.MaximDurability = infos.Durability;
                    if (quality >= 6)
                        floorItem.Item.Durability = (ushort)(infos.Durability - Program.Rnd.Next(500));
                    else
                        floorItem.Item.Durability = (ushort)(Program.Rnd.Next(infos.Durability / 10));
                    floorItem.Item.UID = [COLOR="red"]ConquerItem.ItemUID.Next[/COLOR];
                    floorItem.ValueType = FloorItem.FloorValueType.Item;
                    floorItem.ItemID = id;
                    floorItem.MapID = Owner.MapID;
                    floorItem.MapObjType = MapObjectType.Item;
                    floorItem.X = X;
                    floorItem.Y = Y;
                    floorItem.Type = FloorItem.Drop;
                    floorItem.OnFloor = Time32.Now;
                    floorItem.ItemColor = floorItem.Item.Color;
                    floorItem.UID = FloorItem.FloorUID.Next;
                    while (Map.Npcs.ContainsKey(floorItem.UID))
                        floorItem.UID = FloorItem.FloorUID.Next;
                    Map.AddFloorItem(floorItem);
                    SendScreenSpawn(floorItem);
                }
            }
            #endregion
I set a random value for item drops and the multiplier for them in Program.cs btw :)

thanks for any help you can hep me with, sir. :handsdown:
07/03/2011 13:41 pro4never#276
Item ids do not start at 1 and go to count.

You need to roll based on valid item ranges.

I suggest looking at existing sources for examples.... for example hybrid's manifesto source.
07/04/2011 16:02 master-uchija#277
hi could help me with something I do all my server is correct but when I put a note inside the any and start uploading and neck finishes do not need it please help me. I'm just a beginner but want to learn thanks
07/04/2011 16:03 master-uchija#278
hi could help me with something I do all my server is correct but when I put a note inside the any and start uploading and neck finishes do not need it please help me. I'm just a beginner but want to learn thanks
07/14/2011 16:12 Heartless-boi#279
how do i make gm/pm accounts?
07/14/2011 23:12 pro4never#280
.... if you read the faq you'd know that now wouldn't you? :P
07/15/2011 22:30 Heartless-boi#281
Quote:
Originally Posted by pro4never View Post
.... if you read the faq you'd know that now wouldn't you? :P
which number i do i put in permission?I try 1,5,6,7,8 no work
07/16/2011 02:28 pro4never#282
Quote:
Originally Posted by Heartless-boi View Post
which number i do i put in permission?I try 1,5,6,7,8 no work
If you look at the commands they are all something like if permission > 5 iirc. So anything above 5 should work as a permission... What command isn't 'working'?
07/21/2011 08:42 Andrew.A#283
Erm I'm just getting Server Maintenance or Congested whenever I try and log in. Any ideas why? I followed the video.
07/21/2011 08:48 BaussHacker#284
Quote:
Originally Posted by Andrew.A View Post
Erm I'm just getting Server Maintenance or Congested whenever I try and log in. Any ideas why? I followed the video.
Are you using Hamachi or your network IP?
07/21/2011 08:59 Andrew.A#285
Network IP.

Could anyone maybe help me on TeamViewer?