Starter kits

Welcome to the Life is Feudal: MMO community! Here you can ask your basic starters questions.

Azdesertmike
True Believer
 
Posts: 1
Joined: 04 Apr 2015, 07:02

Starter kits

Post by Azdesertmike » 26 Jul 2015, 21:11

How do you change your configure file on your server so new people get a starter kit with certain things in it


Gms0012
 
Posts: 166
Joined: 23 Feb 2015, 08:49

Re: Starter kits

Post by Gms0012 » 31 Jul 2015, 15:40

USE lif_1;

DELIMITER $$


CREATE
DEFINER = 'YOURDBUSER'@'localhost'
TRIGGER lif_1.character_after_insert
AFTER INSERT
ON lif_1.`character`
FOR EACH ROW
BEGIN
SET @backpack = f_createContainer(NEW.RootContainerID, 458, 0);
SET @temp = f_insertNewItemInventory(@backpack, 1060, 50, 100, 50000, 50000, '', ''); /* silver coins */
SET @temp = f_insertNewItemInventory(@backpack, 974, 50, 25, 50000, 50000, '', ''); /* 25x q50 Apple Buns */
SET @temp = f_insertNewItemInventory(@backpack, 38, 50, 1, 50000, 50000, '', ''); /* torch */
SET @temp = f_insertNewItemInventory(@backpack, 1059, 50, 100, 50000, 50000, '', ''); /* copper coins */
END
$$

DELIMITER ;
Image


Neverlamer7
 
Posts: 50
Joined: 04 Aug 2017, 07:23

Re: Starter kits

Post by Neverlamer7 » 01 Jul 2018, 12:00

Where to put that shit?

Return to Newcomer Section