Postman & Banker & Books

Share files with other Dawn of Light users

Moderator: Support Team

Postman & Banker & Books

Postby Dre » Fri Nov 04, 2011 6:53 pm

Some useful scripts and NPC:
  • Postman: You can send many items to any player (even you, if you want to use it as a vault, the player can be disconnected).
  • Banker: He can protect your money (in a server where you can lose money with death, steal,...) and write check to send it with the postman (transform money to an item).
  • Books: You can write a book directly in game with a feather pen, some ink and a blank scroll.
  • Copyist: He can duplicate your book so you can send many copy of it with the Postman.
  • Librarian: He have many books so you can read many story.

Theses scripts have been tested since 3 or 4 years on Amtenael and I don't have any bug with it (I translated many of them so some mistake can be here).

For books:
Code: Select all
INSERT INTO `itemtemplate` (`ItemTemplate_ID`, `Id_nb`, `Name`, `Level`, `Durability`, `MaxDurability`, `Condition`, `MaxCondition`, `Quality`, `DPS_AF`, `SPD_ABS`, `Hand`, `Type_Damage`, `Object_Type`, `Item_Type`, `Color`, `Emblem`, `Effect`, `Weight`, `Model`, `Extension`, `Bonus`, `Bonus1`, `Bonus2`, `Bonus3`, `Bonus4`, `Bonus5`, `ExtraBonus`, `Bonus1Type`, `Bonus2Type`, `Bonus3Type`, `Bonus4Type`, `Bonus5Type`, `ExtraBonusType`, `IsPickable`, `IsDropable`, `MaxCount`, `PackSize`, `Charges`, `MaxCharges`, `SpellID`, `ProcSpellID`, `Realm`, `IsTradable`, `Bonus6`, `Bonus7`, `Bonus8`, `Bonus9`, `Bonus10`, `Bonus6Type`, `Bonus7Type`, `Bonus8Type`, `Bonus9Type`, `Bonus10Type`, `Charges1`, `MaxCharges1`, `SpellID1`, `ProcSpellID1`, `PoisonSpellID`, `PoisonMaxCharges`, `PoisonCharges`, `CanDropAsLoot`, `AllowedClasses`, `CanUseEvery`, `PackageID`, `Flags`, `BonusLevel`, `Description`, `IsIndestructible`, `IsNotLosingDur`, `LevelRequirement`, `Price`, `ClassType`, `ProcChance`, `SalvageYieldID`, `TranslationId`, `ExamineArticle`, `MessageArticle`) VALUES
('703dfc19-7f49-4dd8-ab71-5a2be1fce07a', 'feather', 'Feather pen', 0, 50000, 50000, 50000, 50000, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 'AmteCreator', 0, 0, '', 0, 0, 0, 10000, '', 0, NULL, NULL, NULL, NULL),
('96fcfbe9-69c7-4067-be7d-59fb151f05e1', 'ink_syn', 'Synthetic ink', 0, 50000, 50000, 100, 100, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 229, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 'AmteCreator', 0, 0, '', 0, 0, 0, 10, '', 0, NULL, NULL, NULL, NULL),
('7d012756-6c1d-4212-bd61-466604284065', 'corrector', 'Acid', 0, 50000, 50000, 50000, 50000, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 495, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 'AmteCreator', 0, 0, '', 0, 0, 0, 1000, '', 0, NULL, NULL, NULL, NULL),
('89035086-eabe-41ff-9c58-2a1133824cd2', 'scroll', 'Blank scroll', 0, 50000, 50000, 50000, 50000, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 499, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 'AmteCreator', 0, 0, '', 0, 0, 0, 1000, '', 0, NULL, NULL, NULL, NULL);

All items with Id_nb starts with 'ink_' can be used so you can create blood ink (for example blood of dragon).
The condition of ink is the number of lines you can write with it.
Attachments
Books.rar
Books (Librarian, Copyist and /book command)
(6.01 KiB) Downloaded 117 times
Bank.rar
Banker NPC
(3.25 KiB) Downloaded 114 times
Postman.rar
Postman NPC
(3.54 KiB) Downloaded 157 times
Last edited by Dre on Sat Nov 05, 2011 11:45 am, edited 3 times in total.
Dre
Developer
 
Posts: 199
Joined: Fri Oct 29, 2004 6:24 pm

Re: Postman & Banker

Postby Tolakram » Fri Nov 04, 2011 7:03 pm

Thanks Dre, good stuff.
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 8940
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: Postman & Banker

Postby Dunnerholl » Fri Nov 04, 2011 9:56 pm

Nice idea with the books :)
Dunnerholl
Developer
 
Posts: 1226
Joined: Mon Sep 08, 2008 8:39 pm

Re: Postman & Banker

Postby Graveen » Fri Nov 04, 2011 9:57 pm

TY Dre, nice !
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 11974
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Postman & Banker

Postby Hiatus » Sat Nov 05, 2011 4:28 am

The bank check command needs to be changed to

Code: Select all
/bank check <Copper> <Silver> <Gold> <Platinum>



Right now it's /banque check which won't work, I'm guessing you translated these scripts?


Thank you Dre! :)
Graveen wrote:If you can't see the problem, then this is the problem :mrgreen:
User avatar
Hiatus
Support Team
 
Posts: 261
Joined: Sat Apr 30, 2011 3:54 pm

Re: Postman & Banker

Postby Dre » Sat Nov 05, 2011 10:15 am

Yes, I translated these scripts.

It's fixed, thank you Hiatus. :)
Dre
Developer
 
Posts: 199
Joined: Fri Oct 29, 2004 6:24 pm

Re: Postman & Banker & Books

Postby Dre » Sat Nov 05, 2011 11:44 am

Add: books :)
Dre
Developer
 
Posts: 199
Joined: Fri Oct 29, 2004 6:24 pm

Re: Postman & Banker & Books

Postby Argo » Sat Nov 05, 2011 12:09 pm

haven't tried it yet but sounds awesome. gj dre :)
Möge Gott sein zwischen Dir und dem Leid, an allen dunklen und verlassenen Orten, die Du erreichen wirst.
Argo
Server Team
 
Posts: 1699
Joined: Thu Sep 18, 2008 6:21 pm
Location: Berlin, Germany

Re: Postman & Banker & Books

Postby Graveen » Sat Nov 05, 2011 12:24 pm

I'll include this in GSS, if Dre does not see any problem. Such a thing need more than being in userfiles.

If you think about valuable scripts than can be included in GSS, feel free to tell me (note: you must provide the appropriate mapping in Humberton :D)
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 11974
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Postman & Banker & Books

Postby Dre » Sun Nov 06, 2011 3:04 am

Graveen wrote:If you think about valuable scripts than can be included in GSS, feel free to tell me (note: you must provide the appropriate mapping in Humberton :D)


There are a lack of admin's commands (or GM) and configuration to manage the library, the postman (a limit of items per players or account, many checks in a rvr server where you can't send an item to an enemy realm) and many others.

I don't think we can add it to GSS without changes. :/
Dre
Developer
 
Posts: 199
Joined: Fri Oct 29, 2004 6:24 pm


Return to User Files

Who is online

Users browsing this forum: No registered users and 1 guest