Database: compare table 'character' column 'AccountID' to table 'account' column 'ID' and set isGM to 1
|USEFUL LINKS|
TgTemplar Explains why you need isGM = 1
What's DEDICATED mean? WTH are we talking about??
Prolasis Goes over some of the database on Youtube
Official response to GM Commands [They added a nice itemID lookup for us]
Life is Feudal - VPS/Dedicated Server Setup Guide
Skill Tree - SkillID's
Vamyan's Scheduled Server Restart Script
9/27/2014 - GM Mode Patch (0.2.0.0) is out!
Commands now available for Client Based (Create World) Servers
~ in-game for console
/gm (duh)
/gm password (using the password set in world_X.xml [GM friends can use])
/add "Heavy Targe Shield" 1 100 20000 (quantity 1, quality 100, durability 200) <creds: TorZar / Nazgul111>
/add apple 100 100 (adds apple stack to inv. no " needed on single words. Quality of 100 fills hunger from 0)
/add 41 1 50 20000 (ObjectID in \Life is Feudal Your Own\data\cm_equipTypes.xml)
/complete [KeyBind=B] (while aiming/targeted at an un-built structure)
/alignment # (-1000~1000) <creds: TgTemplar>
/Reagents (Gives you a LOT of alchemical goods. A LOT) [you weren't kidding.. jesus] <creds: TgTemplar>
/delobj [KeyBind=N] (removes targeted/aimed at object) <creds: Kobiwaldi (won a cookie for this)>
/addobj 520 (places a "School (wooden)" at your feet, location and direction based on char pos/direction - obj ID found in DB table 'objects_types' column 'ID') <creds: Kobiwaldi / TorZar>
/setmystat # 75 (0 = str, 1 = agi, 2 = wil, 3 = int, 4 = con | sets stat, appears to max at 110???) <creds: Kobiwaldi / TorZar>
/setmyskill 41 100 (Set skill 2H blades mastery to 100, ID's found in DB table 'skill_type' column 'ID') <creds: Various Mentions/PM's>
/setmyskill "Piercing mastery" -90 (Subtracts 90 from the skill)
F8 FLY
F7 EXIT FLY
[Disabled 0.2.0.0]God Mode (See "|CUSTOM GM BINDINGS/SCRIPTING|" below [Simple Version] Not really god mode, but.. meh.. )
[Disabled 0.2.0.0]/effectadd # # # (#1=effect #2=magnitute #3=duration (-1 = infinite) [effect list in \Life is Feudal Your Own Dedicated Server\data\cm_effects.xml) <creds: Kobiwaldi & ty Hambeast>
/weather Fair (Fair / Cloudy / Shower) <creds: Admins for correct states>
/grow (4x for noticing change) <creds: Admins >
Manual Banning DB: Compare table 'character' column 'AccountID' to table 'account' colum 'ID' and set 'IsActive' to 0
ON THE HUNT: TO BE DISCOVERED ~ IF EXIST
(some may be built-in dev cheats? not necessarily just GM tools)
teleport
time of day (Managed to get time to fly by. 1 day in 1 min.. was testing console commands.. 'set[TAB to complete line](random#)' Playing around too fast, don't know which it was)
set max skill cap (fixing server skillcap setting in next update?)
set hard/soft health/stam
flatten area
suggestions?
|Unrelated but helpful|
Manually connect to server:
joinToRemoteServer("IP:PORT","PASSWORD") (if no password use "") <creds: Arrakis09>
|CUSTOM GM BINDINGS/SCRIPTING|
ALT+M (@ title screen will connect you directly to the server you specify)
Z (Will toggle /GM MODE)
[Disabled 0.2.0.0]ALT+Z (God Mode skills) [I haven't dug to see why this function triggers 2x yet]
ALT+Z (New GM char all max stats/all skills)
ALT+N (Gives a few basic items for a 'newbie pack' if you want to encourage some new players)
NOTE: Toggling FLY (F8 then F7) resets /GM and GodMode
Steam\SteamApps\common\Life is Feudal Your Own\scripts\client\init.cs (Section found at line 133)
- Code: Select all
// Default player key bindings
//exec("scripts/client/default.bind.cs");
exec("scripts/client/default.bindCommands.cs");
exec("scripts/client/torbinds.cs"); //<-- ADD THIS LINE
Steam\SteamApps\common\Life is Feudal Your Own\scripts\client\
ADD FILE torbinds.cs
- Code: Select all
//AUTO-CONNECT TO (FAVORITE/OWN) SERVER FROM TITLE SCREEN WITH ALT+M - AVOIDING SERVER LIST DELAY
GlobalActionMap.bindCmd(keyboard, "alt m", "", "joinToRemoteServer(\"###.###.###.###:28000\",\"\");");
//Z = TOGGLE GM MODE
moveMap.bindCmd(keyboard, z, "doSlashCommand(\"/GM password\");");
//ALT+N = NEWBIE PACK TO PASS OUT
GlobalActionMap.bind(keyboard, "alt n", newbiePack);
//ALT+Z = NEW GM CHAR. ALL SKILLS & STATS
GlobalActionMap.bind(keyboard, "alt z", allSkills);
function allSkills()
{
warn("ALL SKILLS");
doSlashCommand("/setmystat 0 110");
doSlashCommand("/setmystat 1 110");
doSlashCommand("/setmystat 2 110");
doSlashCommand("/setmystat 3 110");
doSlashCommand("/setmystat 4 110");
for(%i = 1; %i < 66; %i++)
{
%commandToSend = "/setmyskill " @ %i @ " 90";
doSlashCommand(%commandToSend);
}
}
function newbiePack()
{
warn("NewbiePack");
doSlashCommand("/ADD 458 1"); //backpack
doSlashCommand("/ADD 40 1 100 50000"); //shovel
doSlashCommand("/ADD 555 1 100 50000"); //practice sword
doSlashCommand("/ADD 48 1 100 50000"); //pickaxe
doSlashCommand("/ADD 45 1 100 50000"); //primitive axe
doSlashCommand("/ADD 51 1 100 50000"); //saw
doSlashCommand("/ADD 33 1 100 50000"); //sickle
doSlashCommand("/ADD 974 25 50 50000"); //semiSuperAppleBuns
doSlashCommand("/ADD 885 1 50"); //helm
doSlashCommand("/ADD 886 1 50"); //chest
doSlashCommand("/ADD 887 1 50"); //arms
doSlashCommand("/ADD 888 1 50"); //gaunlets
doSlashCommand("/ADD 889 1 50"); //leggings
doSlashCommand("/ADD 890 1 50"); //boots
}