• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Starting items on The Forgotten Server 0.3.5

Fippex

Mapper
Joined
Jan 28, 2009
Messages
497
Reaction score
3
Location
Sweden ofc ;)
Hello everyone, I tried use my old script for the start eq with the ingame account manager, but it didn't work, so i hope somone here can help me with this, and i've got no idea how to change the eq you start with? So i hope you can help me with this, anyway the script they use looks like this anyone know how to chaneg it? I will rep for help etc!
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="First Items" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="yes">
	<config name="firstitems_config"><![CDATA[
		config = {
			storage = 30001,
			items = {2050, 2382}
		}
	]]></config>
	<event type="login" name="FirstItems" event="script"><![CDATA[
		domodlib('firstitems_config')

		function onLogin(cid)
			if(getPlayerStorageValue(cid, config.storage) > 0) then
				return true
			end

			for _, id in ipairs(config.items) do
				doPlayerAddItem(cid, id, 1)
			end

			if(getPlayerSex(cid) == PLAYERSEX_FEMALE) then
				doPlayerAddItem(cid, 2651, 1)
			else
				doPlayerAddItem(cid, 2650, 1)
			end

			doAddContainerItem(doPlayerAddItem(cid, 1987, 1), 2674, 1)
			setPlayerStorageValue(cid, config.storage, 1)
			return true
		end
	]]></event>
</mod>


Hopes for help!
// Kindly regards Fippex!
 
I just deleted firstitems.xml and added the firstitems.lua in creature scripts and in login but u still start with few extra shit but no big deal
 
Back
Top