• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

"Svargrond arena" for TFS 0.3.2 100% working.

Everything is working for me, but not the reward room. For the greenhorn level, it doesn't get the goblet, for the others it does. And whenever I grab a reward, and I click again it doesn't say "You already have~" or something like that.

Thanks alot for the script though!
 
Thx for this.
I search this WORKING script long time.
ealse thx for request for tfs 3.0
 
when i talk to havar i get this

:
19:29 Halvar: Hello Debiel! Do you want to make arena?
19:29 Debiel [100]: yes
19:29 Halvar: You test will be greenshore level. If you want enter you must pay 1000 gp and have 30 level. Wanna try?
19:29 Debiel [100]: yes
19:29 Halvar: Now you can go to test.

and nothing will happen.
 
uhm let me explain i dont use ur map cause i got my own svargrond and i just pull all script to my server what do i need more:p
 
[03/04/2009 15:19:09] Lua Script Error: [MoveEvents Interface]
[03/04/2009 15:19:09] data/movements/scripts/arenaroom.lua:eek:nStepIn

[03/04/2009 15:19:09] luaDoCreateMonster(). Monster name(kreebosh the exile) not found

[03/04/2009 15:19:09] Lua Script Error: [MoveEvents Interface]
[03/04/2009 15:19:09] data/movements/scripts/arenaroom.lua:eek:nStepIn

[03/04/2009 15:19:09] luaDoCreateNpc(). Npc name(kreebosh the exile) not found
 
it works thanks but if i am at the i killed the last monster and i try to walk trough teleport it says this 16:10 You have done the arena 2 . Go and choose your prize. and if i wanna walk trough teleport again it says this
16:10 First kill monster!
 
men where does it takes you those teleports
in the screenshot?
screenshot_2009-04-14-9-55-55.png
 
Last edited:
uhm ;/


Code:
[14/04/2009 17:45:47] [Warning - Event::loadScript] Can not load script (data/creaturescripts/scripts/login.lua)
[14/04/2009 17:45:47] data/creaturescripts/scripts/login.lua:53: 'end' expected (to close 'if' at line 50) near '<eof>'


my login.lua

Code:
function onLogin(cid)
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		for i = PLAYERLOSS_EXPERIENCE, PLAYERLOSS_ITEMS do
			doPlayerSetLossPercent(cid, i, loss)
		end
	end

	if(InitHistory == 0) then
        local historyPage = addEvent(historyPage, 60000, {})
        InitHistory = historyPage
    end
 
 	registerCreatureEvent(cid, "Mail")
	registerCreatureEvent(cid, "GuildMotd")
	registerCreatureEvent(cid, "PlayerDeath")
	registerCreatureEvent(cid, "KilledMonstersCounter")
    	registerCreatureEvent(cid, "advance")
	return TRUE
end


function historyPage(parameters)
    local historyPage = addEvent(historyPage, 60000, {})
    if (tonumber(os.date("%d")) ~= getGlobalStorageValue(23456)) then
        setGlobalStorageValue(23456, (tonumber(os.date("%d"))))
        db.executeQuery("UPDATE `players` SET `onlinetime7`=players.onlinetime6, `onlinetime6`=players.onlinetime5, `onlinetime5`=players.onlinetime4, `onlinetime4`=players.onlinetime3, `onlinetime3`=players.onlinetime2, `onlinetime2`=players.onlinetime1, `onlinetime1`=players.onlinetimetoday, `onlinetimetoday`=0;")
        db.executeQuery("UPDATE `players` SET `exphist7`=players.exphist6, `exphist6`=players.exphist5, `exphist5`=players.exphist4, `exphist4`=players.exphist3, `exphist3`=players.exphist2, `exphist2`=players.exphist1, `exphist1`=players.experience-players.exphist_lastexp, `exphist_lastexp`=players.experience;")
    end
    db.executeQuery("UPDATE `players` SET `onlinetimetoday`=players.onlinetimetoday+60, `onlinetimeall`=players.onlinetimeall+60 WHERE `online` = 1;")
end  


registerCreatureEvent(cid, "PlayerKill")
    if (InitArenaScript ~= 0) then
    InitArenaScript = 1
    -- make arena rooms free
        for i = 42300, 42309 do
            setGlobalStorageValue(i, 0)
            setGlobalStorageValue(i+100, 0)
        end
    end
    -- if he did not make full arena 1 he must start from zero
    if getPlayerStorageValue(cid, 42309) < 1 then
        for i = 42300, 42309 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 2 he must start from zero
    if getPlayerStorageValue(cid, 42319) < 1 then
        for i = 42310, 42319 do
            setPlayerStorageValue(cid, i, 0)
        end


waht is wrong? using tfs 0.3.2 :)
 
Back
Top