Register for your free account! | Forgot your password?

You last visited: Today at 21:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[FAQ] HellmouthSource

Discussion on [FAQ] HellmouthSource within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old 06/25/2011, 09:04   #271
 
UnoAmigos's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 192
Received Thanks: 107
Can i possibly open it to Visual Studio 2008 ...???
UnoAmigos is offline  
Old 06/25/2011, 14:10   #272
 
elite*gold: 0
Join Date: Feb 2007
Posts: 240
Received Thanks: 22
Quote:
Originally Posted by UnoAmigos View Post
Can i possibly open it to Visual Studio 2008 ...???
ofcourse amigo... pwede kaau xD
agathom is offline  
Old 06/25/2011, 18:26   #273
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
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.
pro4never is offline  
Thanks
2 Users
Old 06/25/2011, 18:29   #274
 
elite*gold: 0
Join Date: Aug 2010
Posts: 1
Received Thanks: 0
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
monsterlee is offline  
Old 07/03/2011, 07:59   #275
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
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.
killersub is offline  
Old 07/03/2011, 13:41   #276
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
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.
pro4never is offline  
Old 07/04/2011, 16:02   #277
 
master-uchija's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 5
Received Thanks: 0
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
master-uchija is offline  
Old 07/04/2011, 16:03   #278
 
master-uchija's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 5
Received Thanks: 0
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
master-uchija is offline  
Old 07/14/2011, 16:12   #279
 
elite*gold: 0
Join Date: Mar 2011
Posts: 8
Received Thanks: 0
how do i make gm/pm accounts?
Heartless-boi is offline  
Old 07/14/2011, 23:12   #280
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
.... if you read the faq you'd know that now wouldn't you? :P
pro4never is offline  
Old 07/15/2011, 22:30   #281
 
elite*gold: 0
Join Date: Mar 2011
Posts: 8
Received Thanks: 0
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
Heartless-boi is offline  
Old 07/16/2011, 02:28   #282
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
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'?
pro4never is offline  
Old 07/21/2011, 08:42   #283
 
elite*gold: 0
Join Date: Aug 2007
Posts: 187
Received Thanks: 45
Erm I'm just getting Server Maintenance or Congested whenever I try and log in. Any ideas why? I followed the video.
Andrew.A is offline  
Old 07/21/2011, 08:48   #284
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
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?
BaussHacker is offline  
Old 07/21/2011, 08:59   #285
 
elite*gold: 0
Join Date: Aug 2007
Posts: 187
Received Thanks: 45
Network IP.

Could anyone maybe help me on TeamViewer?
Andrew.A is offline  

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.