Power Source CO HELP!!!!

07/26/2009 10:38 roycu#1
Hey ok so i used this guide here,
, and got my server all up and working ^^ its awesome however i cant do much...i can mess with spawns and monsters, useing Navicat, and spawn items using GM powers, BUT i wanna learn how to change DROP RATE, ADD NPC's, make CUSTOM SHOPS, if possible add NEW maps, and if possible update my server to 5065 or whatever the newest privte server is currently PLEASE HELP! you can replay here or email me at [Only registered and activated users can see links. Click Here To Register...]!


List of what i need/have

what i have
  • Pserver created by this guide
  • Client 5017
  • knowlege of C#
  • a working server
  • able to spawn mobs

List of what i need
  • Npc spawn/custom shops
  • Custom maps
  • Server update to 5065 or newest possible
  • Change drop rate


THANKS ALOT IN ADVANCE FOR ANY HELP :mofo:

mitch
07/26/2009 10:43 cloudwind360#2
5065 is a tq binary sir
07/26/2009 11:30 roycu#3
a what? lol do you know how to make my server have custom npcs and stuff? i dont really care abotu the update :P
07/26/2009 12:10 Arcotemple:)#4
if you wanna update to the latest patch posible then go coemu
07/26/2009 12:14 roycu#5
ok, what if i dont care and stay with this? how can i spawn npcs/custom shops and maybe a custom map? oh and main thing change drop rate? thanks :D
07/26/2009 12:18 Arcotemple:)#6
how about you search :/
07/26/2009 12:20 roycu#7
i did but none of the resaluts are for power sorce i just wanna know hwo to add npcs/drop rate...
07/26/2009 13:27 ~*NewDuuDe*~#8
Search for lotf.
Its the same.
07/26/2009 18:37 roycu#9
ok thanks =] can one of you add me on msn?
07/26/2009 18:56 f0am#10
Custom Map = Client Editing ( Major )

Custom Shops = Client Editing ( Minor )

Custom NPCs = Client Editing ( Name = Minor, Model = Medium, Type = Minor )

Drops = Source Editing ( Entities.cs )

NPC Dialog & Control = Source Editing ( Client.cs )

Mob Spawn, NPC Spawn = DataBase Editing ( MYSQL , Minor )

Custom Mobs = Either DataBase Editing or Client Editing ( Minor, Major )
07/26/2009 19:03 roycu#11
k you know alot how do i do all that? lol
07/26/2009 19:08 f0am#12
Quote:
Originally Posted by f0am View Post
Custom Map = Client Editing ( Major )

Custom Shops = Client Editing ( Minor )

Custom NPCs = Client Editing ( Name = Minor, Model = Medium, Type = Minor )

Drops = Source Editing ( Entities.cs )

NPC Dialog & Control = Source Editing ( Client.cs )

Mob Spawn, NPC Spawn = DataBase Editing ( MYSQL , Minor )

Custom Mobs = Either DataBase Editing or Client Editing ( Minor, Major )
Quote:
Originally Posted by roycu View Post
k you know alot how do i do all that? lol
im not gonna give you codes or anything, but ill give you examples of what i know or where to look

Custom Map = UnKnown ( Ask Zaitochi or something...idk his name, he succeded in that )

Custom Shops = Shop.dat

Custom NPCs = NPC.ini

Drops = Entities.cs look at the other drops there is tons!

NPC Dialog & Control = search in source for CurrentNPC == 7500

Mob Spawn, NPC Spawn = Take a look at other ones in there and you will get it

Custom Mobs = either in mobs table u edit it or in monsters.dat in client.


I want you to look at these first, try to do it on your own. and i dont want to see can someone give me codes, and eveyone else, dont give him codes till we hear from him saying that he tried and also a code of his that he tried to do for any of these. thx :handsdown:
07/26/2009 19:38 roycu#13
what did i do wrong i want dragonballs to drop like crazy as a exparament and none drop this is what i did

else
{
if (Other.ChanceSuccess(1000))
{
string Item = "1088000-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
World.ItemDrops(item);



1088000 is code for db but NONE will drop?
07/26/2009 20:16 n0mansland#14
EDIT:

Looks like you completely made it wrong.. Here's an example of how to do it..

Code:
                        if ((Other.ChanceSuccess(1.5)) || (BossMob && Other.ChanceSuccess(50)))
                        {
                            byte Repeat = 1;
                            if ((Other.ChanceSuccess(0.1)) || (BossMob && Other.ChanceSuccess(50)))
                                Repeat = 2;
                            if ((Other.ChanceSuccess(0.03)) || (BossMob && Other.ChanceSuccess(40)))
                                Repeat = 3;
                            if (BossMob && Other.ChanceSuccess(25))
                                Repeat = 4;
                            if (BossMob && Other.ChanceSuccess(5))
                                Repeat = 5;
                            for (int i = 0; i < Repeat; i++)
                            {
                                string Item = "1088001-0-0-0-0-0";
                                DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
                                World.ItemDrops(item);
                            }
                        }
You don't have to Mob it drops for..


EDIT: AGAIN

Keep reading it wrong.. 1 sec I'll try looking it up.. You could always do || MOB || MOB and every mob you want continue it

EDIT:

Here's a cheap way on doing it XD

Code:
                        foreach (DictionaryEntry DE in World.AllChars)
                        {
                            Character Charr = (Character)DE.Value;
                            if (Charr.Level >= 1 && Other.ChanceSuccess(100000.0))
                            {
                                string Item = "1088000-0-0-0-0-0";
                                DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
                                World.ItemDrops(item);
                            }
                        }
It checks if you are level 1 or higher and if you are DBs drop like mad.
07/26/2009 20:29 roycu#15
lol sorry im completly new :( where do you put what mob it drops for? lol its prob in plain sight im just blinde :(