how to put npc's in?

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

Moderator: Support Team

how to put npc's in?

Postby hog » Sat Feb 17, 2007 6:02 am

k got server going, but i have no clue how to get the script Buffbot.cs to get into game? do i just DL it and do like /mob create DOL.GS.Scripts.Buffbot? or is there somethign im missing b/c i rly cant figure out how to put a buffbot in, a trainer, teleporter, plz help, thnx.
hog
DOL Initiate
 
Posts: 21
Joined: Sat Feb 17, 2007 6:00 am

Postby ZioRed » Sat Feb 17, 2007 10:51 am

you're right, copy the script in the "/scripts" folder and type in game:
Code: Select all
/mob create DOL.GS.Scripts.BuffBot <RealmID>
where <RealmID> is the ID of the Realm in which the BuffBot is (1:Alb; 2:Mid; 3:Hib)

..so for any other custom NPC, but the class declaration (DOL.GS.Scripts) can change regarding to the "namespace" and "class" declations inside the script (they're all CASE-SENSITIVE).
DOL Developer Team
Quick links: Support | Bug Tracker | Browse SVN

Do you like this project and are you a shard admin/developer?
Then please pick up a task from the Missing Features List.
User avatar
ZioRed
Inactive Staff Member
 
Posts: 460
Joined: Thu Dec 29, 2005 11:08 am
Website: http://ziored.spaces.live.com
Location: Italy

Postby hog » Thu Mar 01, 2007 4:36 am

srry was gone on vacation to hawaii anyways well i tried /mob create DOL.GS.Scripts.BuffBot and i get the error says there was an error creating the instance, so im not sure if its the script i have, if u can just send me a buffbot script a ulti trainer, a teleporter and tell me what im doing wrong i put the script in the scripts folder and go in game and do it, or is there somethign im missing? thnx
hog
DOL Initiate
 
Posts: 21
Joined: Sat Feb 17, 2007 6:00 am

Postby ZioRed » Thu Mar 01, 2007 9:32 am

You'll find several scripts in the DOWNLOAD USER FILES section:
DOL Developer Team
Quick links: Support | Bug Tracker | Browse SVN

Do you like this project and are you a shard admin/developer?
Then please pick up a task from the Missing Features List.
User avatar
ZioRed
Inactive Staff Member
 
Posts: 460
Joined: Thu Dec 29, 2005 11:08 am
Website: http://ziored.spaces.live.com
Location: Italy

Postby hog » Thu Mar 01, 2007 4:52 pm

omg awsome thank you so much, ill try when when i get home from work ;p ill get back to ya
hog
DOL Initiate
 
Posts: 21
Joined: Sat Feb 17, 2007 6:00 am

Postby morgan54 » Thu Mar 01, 2007 6:15 pm

Hi, the free equipement npc is not full, is it normal ?
break;
}
#endregion Large Shield
#region Harp
case "Harp":
{
GiveItem(player, E
This is the end of the file :(
morgan54
DOL Enthusiast
 
Posts: 237
Joined: Wed Apr 13, 2005 9:19 am
Location: France

Postby Etaew » Thu Mar 01, 2007 6:16 pm

All downloads are cut short unexpectedly, not sure why yet.
Retired DOL Enthusiast | Blog
User avatar
Etaew
Inactive Staff Member
 
Posts: 7602
Joined: Mon Oct 13, 2003 5:04 pm
Website: http://etaew.net
Location: England

Postby morgan54 » Thu Mar 01, 2007 6:20 pm

Ok :) thanks ^^
morgan54
DOL Enthusiast
 
Posts: 237
Joined: Wed Apr 13, 2005 9:19 am
Location: France

Postby hog » Fri Mar 02, 2007 12:31 am

wow im smart, well what was wrong is i put the scipts in C://DOL server/scripts.. but the deal is is that i run the dol server icon that is in the release folder, so i whent inside there, opened scipts int hat folder and first time boom.. it worked, thnx a ton!!
hog
DOL Initiate
 
Posts: 21
Joined: Sat Feb 17, 2007 6:00 am

Postby morgan54 » Fri Mar 02, 2007 6:38 am

For the people who want the equipment.cs script, i have found a website link where you can download :p

http://www.webstyle-studio.de/Equipment.cs

I download and open the file and it is full :)
morgan54
DOL Enthusiast
 
Posts: 237
Joined: Wed Apr 13, 2005 9:19 am
Location: France

Postby hog » Fri Mar 02, 2007 7:03 am

hey morgan i need liek a couple things intil i can finish server and im wondering if you could help me out
1. Teleporter that i can customize to goto 3 diffrent spots
2. Bp Merchant with cap stat gear
3. NPC With Free starting gear
4. figure out how to make rp x5 and bp x10
5. figre out how to get the right spec points for each class
6. get rr3 and lvl 5 mob (only want lvl 5 trainer b/c its a tank server and made custom tank trainers of each tank so they didnt make a healer)
7. AN effect merch
8. Proc merch.
9. Envenom Merch
10. RR morph merch

i know its quite a list but if u can help me out that would be awsome, it just that all i need are these things and im done with my server ;]
hog
DOL Initiate
 
Posts: 21
Joined: Sat Feb 17, 2007 6:00 am

Postby morgan54 » Fri Mar 02, 2007 7:21 am

Hi :p First sorry for my english, because i'm french :p

1. Teleporter that i can customize to goto 3 diffrent spots

Into ...server\scripts\customnpc you have teleport Alb / Hib / Mid files
Just change locations and region :)

2. Bp Merchant with cap stat gear

For Bp Merchant sorry I don't know how does it work :(
Try to go to http://www.rumandcode.com

3. NPC With Free starting gear

http://www.webstyle-studio.de/Equipment.cs
/mob create DOL.GS.Scripts.Equipement
It give Old epic / mount / weapon and cloak
I think you can modify it (about 10000 lines into the file lol)

4. figure out how to make rp x5 and bp x10

Into your ServerProperty.sql (or xml) file you have xp_rate and rp_rate :p

5. figre out how to get the right spec points for each class

Don't understand this, normally your class have automatically her spec points at each level up

6. get rr3 and lvl 5 mob (only want lvl 5 trainer b/c its a tank server and made custom tank trainers of each tank so they didnt make a healer)

You can go ...server\scripts\gameevents and you have the file named DOLTestServer.cs
At the end of the file you have a thing like this
public static void DOLTestCharacterCreation(DOLEvent e, object sender, EventArgs args)
{
CharacterEventArgs chArgs = args as CharacterEventArgs;
if (chArgs == null)
return;

//We want our new characters to start with some money
chArgs.Character.Gold = 50; // begin with 50gold
chArgs.Character.Level = 5; // start at lv5
chArgs.Character.RealmPoints = 61750; // start at RR3
chArgs.Character.BountyPoints = 100; // start with 100 bounty points
chArgs.Character.SkillSpecialtyPoints = 14; // at level 5 you have 14 skillpoints
//chArgs.Character.Strength = chArgs.Character.Strength + 20; // You can start your character (all) with more strengh or constitution ...

// since at least money loot is available we dont need start money
}
Just Add or Retire // before the chArgs.Character to activate or not the "bonus".

7. AN effect merch

Try http://www.rumandcode.com
You should find what you want here

8. Proc merch.

Try http://www.rumandcode.com
You should find what you want here

9. Envenom Merch

You should have this in mob.xml or mob.sql, or just download one and copy the line of an envenom merchant to your database and change his loc and region

10. RR morph merch

Try http://www.rumandcode.com
You should find what you want here
morgan54
DOL Enthusiast
 
Posts: 237
Joined: Wed Apr 13, 2005 9:19 am
Location: France

Postby hog » Fri Mar 02, 2007 7:38 am

wow awsome ty so much! i got that script in there for rr3 and lvl 5 and bp and rp's so awsome and fast 2 ;p alright well i need to goto bed goto work tomarrow ill talk to u more ;p and dl some scripts from rumandcode, NN ty tons again :D
hog
DOL Initiate
 
Posts: 21
Joined: Sat Feb 17, 2007 6:00 am

Postby morgan54 » Fri Mar 02, 2007 7:42 am

:P
There is no problem :)

Good night ^^
morgan54
DOL Enthusiast
 
Posts: 237
Joined: Wed Apr 13, 2005 9:19 am
Location: France

Postby hog » Sat Mar 03, 2007 1:14 am

hey morgan that website witht hat script doesnt work for what ever reason, not sure why ;[
hog
DOL Initiate
 
Posts: 21
Joined: Sat Feb 17, 2007 6:00 am


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 1 guest