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

[7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

Is there any way to make every new account premium upon creation?
Create creaturescript login function and add
local storage = 7001
function onLogin(cid)
if getPlayerStorageValue(cid, storage) == -1 then
doPlayerAddPremiumDays(cid, 99)
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You have received 99 days of premium account, enjoy it!")
setPlayerStorageValue(cid, 30004, 1)
setGlobalStorageValue(getPlayerAccountId(cid),1)
end

setPlayerStorageValue(cid, storage, 1)
return TRUE
end
 
I've tried using the guide to convert maps but when i chose 0.6.0 theres no 7.6 alternative. Any thoughts?
 
How to add premium days?

Cant reply.
And where is outfits settings?
 
Last edited by a moderator:
How I can enable this outfit?

NDfL545.png
 
How I can add share party exp ? And how I can add rope 7.4, I mean if there is a item on the hole the rope don't work.
 
I got few questions:
1 - exp by killing player is now working here, any solutions?
2 - seems like the events there I try to register on login.lua are ignored.
3 - xp shared any idea how to implement it?
 
If someone could pull the fixes I have granted in the thread, and some fixes anyone has posted is truly appreciated (git).
 
Back
Top