Page 1 of 2
how to put npc's in?
PostPosted: Sat Feb 17, 2007 6:02 am
by hog
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.
PostPosted: Sat Feb 17, 2007 10:51 am
by ZioRed
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).
PostPosted: Thu Mar 01, 2007 4:36 am
by hog
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
PostPosted: Thu Mar 01, 2007 9:32 am
by ZioRed
You'll find several scripts in the DOWNLOAD USER FILES section:
PostPosted: Thu Mar 01, 2007 4:52 pm
by hog
omg awsome thank you so much, ill try when when i get home from work ;p ill get back to ya
PostPosted: Thu Mar 01, 2007 6:15 pm
by morgan54
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

PostPosted: Thu Mar 01, 2007 6:16 pm
by Etaew
All downloads are cut short unexpectedly, not sure why yet.
PostPosted: Thu Mar 01, 2007 6:20 pm
by morgan54
Ok

thanks ^^
PostPosted: Fri Mar 02, 2007 12:31 am
by hog
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!!
PostPosted: Fri Mar 02, 2007 6:38 am
by morgan54
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

PostPosted: Fri Mar 02, 2007 7:03 am
by hog
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 ;]
PostPosted: Fri Mar 02, 2007 7:21 am
by morgan54
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
PostPosted: Fri Mar 02, 2007 7:38 am
by hog
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

PostPosted: Fri Mar 02, 2007 7:42 am
by morgan54
There is no problem
Good night ^^
PostPosted: Sat Mar 03, 2007 1:14 am
by hog
hey morgan that website witht hat script doesnt work for what ever reason, not sure why ;[