GameManager.Instance.AddExpServer (ci.entityId, skill.Id, xp);
EntityPlayer ep = GameManager.Instance.World.Players.dict [ci.entityId];
ci.SendPackage(new NetPackageConsoleCmdClient("giveselfskillxp " + skillName+" "+xp, true));
Yeah, Coppis version wasn't used as the game had one itself. But that one was only working for local players (e.g. the host on a listen server). It will be fixed in A15, will see if I can get a workaround in the mod for A14 though.Has anyone gotten spawnscouts to work?
Thanks for looking into it and the workaroundIt doesn't work because AddExpServer method doesn't work the same way AddScoreServer does. It only sends package to server and not to clients....
https://7dtd.illy.bz/wiki/Server%20fixes#MaprenderingHow do I render the map using this?
Part of the upcoming version, but not yet at a point where it's really of much use.Hey alloc, can you add a player search bar in the web map ?
As stated just a bunch of posts above.The givexp command is broken.
They aren't loaded from files but from gamedata. Use the mod interface with custom item icons and they will work fine.Is it possible to Change the path where the Icons are loaded from like in previous Versions? With that we can add our custom Icons.
thx got it workingThey aren't loaded from files but from gamedata. Use the mod interface with custom item icons and they will work fine.
Added API executeconsolecommand: Executes a console command and returns result. Uses the same permission checks as would apply to any ingame user
So just add a new js file with code like this?Just add the command as GET parameter 'command', that's it.
var myfunction = function() {
$.getJSON( "../api/executeconsolecommand?llp") [color="#FF8C00"]<-- Format???[/color]
.done(function(data) {
//do things with returned data here
})