• 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!

account manager rep++

Calon

Experienced Member
Joined
Feb 6, 2009
Messages
1,070
Reaction score
21
how can i let new players after making account in account manager he have a promotion ?

also how can i change the item vocation such as paladin armor i need make it also for sorcerer where i can do it ?
 
2.
you need the change the firstitems.lua in creature script
3.
for promotion you need to add somethink in the login lua but repp me for the first one if I helped u
 
how can i let new players after making account in account manager he have a promotion ?
Lua:
local storage =   --put any emty sotrage
function onlogin(cid)
if getPlayerStorageValue(cid,storage) < 0 then
   doPlayerSetPromotionLevel(cid, 1)
  setPlayerStorageValue(cid,storage,1)
end
return true
end
also how can i change the item vocation such as paladin armor i need make it also for sorcerer where i can do it ?
try searchin in movement.xml --> search for item id , you will find somthng like that under equip function , edit it to your desired vocations
Code:
<vocation id="1"/>
		<vocation id="5" showInDescription="0"/>
		<vocation id="2"/>
		<vocation id="6" showInDescription="0"/>
 
i put in login.lua
local storage = --put any emty sotrage
function onlogin(cid)
if getPlayerStorageValue(cid,storage) < 0 then
doPlayerSetPromotionLevel(cid, 1)
setPlayerStorageValue(cid,storage,1)
end
return true
end
and still auto promotion not working
 
Ah plz! add this code in creature.lua, make a new file :
Code:
<event type="login" name="balance" event="script" value="xxxx.lua"/>
or if you want to add in login.lua then use that: [before last return true in the script]
Lua:
local storage = --put any emty sotrage
if getPlayerStorageValue(cid,storage) < 0 then
doPlayerSetPromotionLevel(cid, 1)
setPlayerStorageValue(cid,storage,1)
end
return true
end
 
Back
Top